Compare commits
54 Commits
e8e49640de
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 51c5709a79 | |||
| d16ee97d98 | |||
| 287dca3534 | |||
| 728b1abebc | |||
| 60f84112c6 | |||
| 6f3263f36a | |||
| 77c7870201 | |||
| 3b76682616 | |||
| 5a3a5eaf41 | |||
| 950a6a6817 | |||
| d74c1b67e3 | |||
| a5f21f6000 | |||
| 5c7782de7a | |||
| 4d7d4bb266 | |||
| 779085b2f1 | |||
| 8c71af93f3 | |||
| fea7a7f750 | |||
| 2e54329ee2 | |||
| d75c259350 | |||
| 492394d3a0 | |||
| 11c681e1ad | |||
| 78f84bd7b8 | |||
| 78b10e4f3a | |||
| b01c355492 | |||
| b0a99ca55f | |||
| a834c7a004 | |||
| ddc72dd78d | |||
| 05bbee4b25 | |||
| d439481822 | |||
| e4b2b47a02 | |||
| f2f532c985 | |||
| e5430526ae | |||
| 8d640b082f | |||
| 671839bbea | |||
| 8c4cdbf659 | |||
| 57970d0f44 | |||
| abd99cd1a5 | |||
| a06e625cbd | |||
| 1129f4017f | |||
| cfe9a7160d | |||
| f979d4fa34 | |||
| daf13e5e59 | |||
| ccfa1d3afa | |||
| 4de51b663d | |||
| 1784c750f3 | |||
| b1fbd556e2 | |||
| 2f9ea432f4 | |||
| 7e97bf9fc9 | |||
| b14010f77b | |||
| bef9c41f31 | |||
| ab7c6e53fe | |||
| 23850acf0f | |||
| fa67ae5e7c | |||
| 8353c6c97d |
@@ -3,6 +3,36 @@ 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"]
|
||||
ENTRYPOINT ["java", \
|
||||
"-Xms1g", \
|
||||
"-Xmx2g", \
|
||||
|
||||
# GC 설정 (G1GC 최적화)
|
||||
"-XX:+UseG1GC", \
|
||||
"-XX:MaxGCPauseMillis=100", \
|
||||
"-XX:G1HeapRegionSize=8m", \
|
||||
"-XX:InitiatingHeapOccupancyPercent=20", \
|
||||
|
||||
# OutOfMemoryError 대응
|
||||
"-XX:+HeapDumpOnOutOfMemoryError", \
|
||||
"-XX:HeapDumpPath=/logs/heapdump-%t.hprof", \
|
||||
"-XX:+ExitOnOutOfMemoryError", \
|
||||
|
||||
# GC 로깅 (문제 분석용)
|
||||
"-Xlog:gc*:logs/gc.log:time,tags", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
|
||||
# 메모리 최적화
|
||||
"-XX:+UseCompressedOops", \
|
||||
"-XX:+UseCompressedClassPointers", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
"-XX:MaxMetaspaceSize=256m", \
|
||||
|
||||
# 네트워크 최적화
|
||||
"-Djava.net.preferIPv4Stack=true", \
|
||||
|
||||
"-Djava.io.tmpdir=/tmp", \
|
||||
"-Dfile.encoding=UTF-8", \
|
||||
"-Djava.awt.headless=true", \
|
||||
"-Dspring.profiles.active=dev", \
|
||||
"-jar", "/admintool.jar"]
|
||||
@@ -3,6 +3,38 @@ 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"]
|
||||
ENTRYPOINT ["java", \
|
||||
# 메모리 설정
|
||||
"-Xms1g", \
|
||||
"-Xmx4g", \
|
||||
|
||||
# GC 설정 (G1GC 최적화)
|
||||
"-XX:+UseG1GC", \
|
||||
"-XX:MaxGCPauseMillis=100", \
|
||||
"-XX:G1HeapRegionSize=8m", \
|
||||
"-XX:InitiatingHeapOccupancyPercent=20", \
|
||||
|
||||
# OutOfMemoryError 대응
|
||||
"-XX:+HeapDumpOnOutOfMemoryError", \
|
||||
"-XX:HeapDumpPath=/logs/heapdump-%t.hprof", \
|
||||
"-XX:+ExitOnOutOfMemoryError", \
|
||||
|
||||
# GC 로깅 (문제 분석용)
|
||||
"-Xlog:gc*:logs/gc.log:time,tags", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
|
||||
# 메모리 최적화
|
||||
"-XX:+UseCompressedOops", \
|
||||
"-XX:+UseCompressedClassPointers", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
"-XX:MaxMetaspaceSize=256m", \
|
||||
|
||||
# 네트워크 최적화
|
||||
"-Djava.net.preferIPv4Stack=true", \
|
||||
|
||||
"-Djava.io.tmpdir=/tmp", \
|
||||
"-Dfile.encoding=UTF-8", \
|
||||
"-Djava.awt.headless=true", \
|
||||
|
||||
"-Dspring.profiles.active=live", \
|
||||
"-jar", "/admintool.jar"]
|
||||
@@ -3,6 +3,36 @@ 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"]
|
||||
ENTRYPOINT ["java", \
|
||||
"-Xms1g", \
|
||||
"-Xmx2g", \
|
||||
|
||||
# GC 설정 (G1GC 최적화)
|
||||
"-XX:+UseG1GC", \
|
||||
"-XX:MaxGCPauseMillis=100", \
|
||||
"-XX:G1HeapRegionSize=8m", \
|
||||
"-XX:InitiatingHeapOccupancyPercent=20", \
|
||||
|
||||
# OutOfMemoryError 대응
|
||||
"-XX:+HeapDumpOnOutOfMemoryError", \
|
||||
"-XX:HeapDumpPath=/logs/heapdump-%t.hprof", \
|
||||
"-XX:+ExitOnOutOfMemoryError", \
|
||||
|
||||
# GC 로깅 (문제 분석용)
|
||||
"-Xlog:gc*:logs/gc.log:time,tags", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
|
||||
# 메모리 최적화
|
||||
"-XX:+UseCompressedOops", \
|
||||
"-XX:+UseCompressedClassPointers", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
"-XX:MaxMetaspaceSize=256m", \
|
||||
|
||||
# 네트워크 최적화
|
||||
"-Djava.net.preferIPv4Stack=true", \
|
||||
|
||||
"-Djava.io.tmpdir=/tmp", \
|
||||
"-Dfile.encoding=UTF-8", \
|
||||
"-Djava.awt.headless=true", \
|
||||
"-Dspring.profiles.active=qa", \
|
||||
"-jar", "/admintool.jar"]
|
||||
@@ -3,6 +3,37 @@ 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"]
|
||||
ENTRYPOINT ["java", \
|
||||
"-Xms1g", \
|
||||
"-Xmx4g", \
|
||||
|
||||
# GC 설정 (G1GC 최적화)
|
||||
"-XX:+UseG1GC", \
|
||||
"-XX:MaxGCPauseMillis=100", \
|
||||
"-XX:G1HeapRegionSize=8m", \
|
||||
"-XX:InitiatingHeapOccupancyPercent=20", \
|
||||
|
||||
# OutOfMemoryError 대응
|
||||
"-XX:+HeapDumpOnOutOfMemoryError", \
|
||||
"-XX:HeapDumpPath=/logs/heapdump-%t.hprof", \
|
||||
"-XX:+ExitOnOutOfMemoryError", \
|
||||
|
||||
# GC 로깅 (문제 분석용)
|
||||
"-Xlog:gc*:logs/gc.log:time,tags", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
|
||||
# 메모리 최적화
|
||||
"-XX:+UseCompressedOops", \
|
||||
"-XX:+UseCompressedClassPointers", \
|
||||
"-XX:+UseStringDeduplication", \
|
||||
"-XX:MaxMetaspaceSize=256m", \
|
||||
|
||||
# 네트워크 최적화
|
||||
"-Djava.net.preferIPv4Stack=true", \
|
||||
|
||||
"-Djava.io.tmpdir=/tmp", \
|
||||
"-Dfile.encoding=UTF-8", \
|
||||
"-Djava.awt.headless=true", \
|
||||
|
||||
"-Dspring.profiles.active=stage", \
|
||||
"-jar", "/admintool.jar"]
|
||||
@@ -18,7 +18,7 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=dev' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Trunk-Admintool-Dev-BackEnd/gradlew clean build -x test -Pprofile=dev' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ pipeline {
|
||||
DOCKER_NAME = 'admintool-back-live'
|
||||
DOCKER_PORT = '23450'
|
||||
DOCKERFILE_NAME = 'Dockerfile.live'
|
||||
META_FOLDER = 'metadata/*'
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
}
|
||||
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Live-BackEnd-Full/gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -135,6 +134,12 @@ pipeline {
|
||||
--name ${DOCKER_NAME} \
|
||||
--restart=always \
|
||||
--log-opt max-size=10m \
|
||||
--memory=6g \
|
||||
--memory-swap=6g \
|
||||
--cpus="1.8" \
|
||||
--cpu-shares=1024 \
|
||||
--oom-kill-disable=false \
|
||||
--oom-score-adj=100 \
|
||||
-e TZ=\${TZ:-Asia/Seoul} \
|
||||
-v ./admintool/log:/logs \
|
||||
-v ./admintool/upload:/upload \
|
||||
|
||||
76
Jenkinsfile.live.metadata
Normal file
76
Jenkinsfile.live.metadata
Normal file
@@ -0,0 +1,76 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
environment {
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
}
|
||||
|
||||
stages {
|
||||
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('SSH Tunneling Stop') {
|
||||
steps {
|
||||
script {
|
||||
sh '/home/admintool/ssh-tunneling-live.sh stop; /home/admintool/ssh-tunneling-live.sh status'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Live-BackEnd/gradlew clean build -x test -Pprofile=live' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ pipeline {
|
||||
DOCKER_NAME = 'admintool-back-qa'
|
||||
DOCKER_PORT = '23450'
|
||||
DOCKERFILE_NAME = 'Dockerfile.qa'
|
||||
META_FOLDER = 'metadata/*'
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
}
|
||||
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Stable-Admintool-QA-BackEnd-Full/gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
Jenkinsfile.qa.metadata
Normal file
99
Jenkinsfile.qa.metadata
Normal file
@@ -0,0 +1,99 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
environment {
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
DOCKER_NAME = 'admintool-back-qa'
|
||||
}
|
||||
|
||||
stages {
|
||||
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('Docker Container Restart'){
|
||||
steps{
|
||||
// aws command
|
||||
sshPublisher(
|
||||
publishers: [
|
||||
sshPublisherDesc(
|
||||
configName: 'qa-backend',
|
||||
transfers: [
|
||||
sshTransfer(
|
||||
execCommand: """
|
||||
docker restart ${DOCKER_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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Stable-Admintool-QA-BackEnd/gradlew clean build -x test -Pprofile=qa' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ pipeline {
|
||||
DOCKER_NAME = 'admintool-back-stage'
|
||||
DOCKER_PORT = '23450'
|
||||
DOCKERFILE_NAME = 'Dockerfile.stage'
|
||||
META_FOLDER = 'metadata/*'
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
}
|
||||
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Stage-Backend-Full/gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -135,6 +134,12 @@ pipeline {
|
||||
--name ${DOCKER_NAME} \
|
||||
--restart=always \
|
||||
--log-opt max-size=10m \
|
||||
--memory=6g \
|
||||
--memory-swap=6g \
|
||||
--cpus="1.8" \
|
||||
--cpu-shares=1024 \
|
||||
--oom-kill-disable=false \
|
||||
--oom-score-adj=100 \
|
||||
-e TZ=\${TZ:-Asia/Seoul} \
|
||||
-v ./admintool/log:/logs \
|
||||
-v ./admintool/upload:/upload \
|
||||
|
||||
99
Jenkinsfile.stage.metadata
Normal file
99
Jenkinsfile.stage.metadata
Normal file
@@ -0,0 +1,99 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
environment {
|
||||
META_FOLDER = 'metadata/**'
|
||||
REMOTE_META_FOLDER = 'admintool'
|
||||
DOCKER_NAME = 'admintool-back-stage'
|
||||
}
|
||||
|
||||
stages {
|
||||
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('Docker Container Restart'){
|
||||
steps{
|
||||
// aws command
|
||||
sshPublisher(
|
||||
publishers: [
|
||||
sshPublisherDesc(
|
||||
configName: 'stage-backend',
|
||||
transfers: [
|
||||
sshTransfer(
|
||||
execCommand: """
|
||||
docker restart ${DOCKER_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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,7 @@ pipeline {
|
||||
stage('Gradle Build') {
|
||||
steps {
|
||||
script {
|
||||
sh 'chmod +x gradlew' //gradle 권한 설정
|
||||
sh './gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
|
||||
sh '/var/lib/jenkins/workspace/Product-Admintool-Stage-Backend/gradlew clean build -x test -Pprofile=stage' //빌드 test는 하지않는다
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ 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;
|
||||
|
||||
@@ -37,13 +36,10 @@ public class IndicatorsResult {
|
||||
//Retention
|
||||
@JsonProperty("retention")
|
||||
private List<Retention> retentionList;
|
||||
//Segment
|
||||
@JsonProperty("start_dt")
|
||||
private String startDt;
|
||||
@JsonProperty("end_dt")
|
||||
private String endDt;
|
||||
@JsonProperty("segment")
|
||||
private List<Segment> segmentList;
|
||||
//플레이타임
|
||||
@JsonProperty("playtime")
|
||||
private List<Playtime> playtimeList;
|
||||
|
||||
@@ -0,0 +1,131 @@
|
||||
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.*;
|
||||
import org.springframework.data.mongodb.core.query.Criteria;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class IndicatorsAssetsLoadService extends IndicatorsLogLoadServiceBase {
|
||||
public IndicatorsAssetsLoadService(
|
||||
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
|
||||
) {
|
||||
super(mongoTemplate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime, "logDay");
|
||||
|
||||
GroupOperation groupOperation = Aggregation.group("logDay")
|
||||
.sum("gold").as("gold")
|
||||
.sum("sapphire").as("sapphire")
|
||||
.sum("calium").as("calium")
|
||||
.sum("ruby").as("ruby")
|
||||
.sum("item_11570001").as("item_11570001")
|
||||
.sum("item_11570002").as("item_11570002")
|
||||
.sum("item_13080002").as("item_13080002")
|
||||
.sum("item_13080004").as("item_13080004")
|
||||
.sum("item_13080005").as("item_13080005")
|
||||
.sum("item_13080006").as("item_13080006")
|
||||
.sum("item_13080007").as("item_13080007")
|
||||
.sum("item_13080008").as("item_13080008")
|
||||
.sum("item_13080009").as("item_13080009")
|
||||
.count().as("userCount");
|
||||
|
||||
ProjectionOperation projection = Aggregation.project()
|
||||
.andExclude("_id")
|
||||
.and("_id").as(AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
.and("gold").as("gold")
|
||||
.and("sapphire").as("sapphire")
|
||||
.and("calium").as("calium")
|
||||
.and("ruby").as("ruby")
|
||||
.and("item_11570001").as("item_11570001") //강화잉크
|
||||
.and("item_11570002").as("item_11570002") //연성잉크
|
||||
.and("item_13080002").as("item_13080002") //퀘스트 메달
|
||||
.and("item_13080004").as("item_13080004") //보급품 메달
|
||||
.and("item_13080005").as("item_13080005") //제작 메달
|
||||
.and("item_13080006").as("item_13080006") //315 포드
|
||||
.and("item_13080007").as("item_13080007") //316 포드
|
||||
.and("item_13080008").as("item_13080008") //317 포드
|
||||
.and("item_13080009").as("item_13080009") //318 포드
|
||||
.and("userCount").as("userCount");
|
||||
|
||||
List<AggregationOperation> operations = List.of(
|
||||
Aggregation.match(criteria),
|
||||
groupOperation,
|
||||
projection,
|
||||
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
);
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
return mongoTemplate.aggregate(
|
||||
aggregation.withOptions(AggregationOptions.builder().allowDiskUse(true).build())
|
||||
, AdminConstants.MONGO_DB_COLLECTION_ASSETS
|
||||
, clazz
|
||||
).getMappedResults();
|
||||
}
|
||||
|
||||
public <T extends IndicatorsLog> List<T> getAssetsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime, "logDay");
|
||||
|
||||
GroupOperation groupOperation = Aggregation.group("logDay")
|
||||
.sum("gold").as("gold")
|
||||
.sum("sapphire").as("sapphire")
|
||||
.sum("calium").as("calium")
|
||||
.sum("ruby").as("ruby")
|
||||
.sum("item_11570001").as("item_11570001")
|
||||
.sum("item_11570002").as("item_11570002")
|
||||
.sum("item_13080002").as("item_13080002")
|
||||
.sum("item_13080004").as("item_13080004")
|
||||
.sum("item_13080005").as("item_13080005")
|
||||
.sum("item_13080006").as("item_13080006")
|
||||
.sum("item_13080007").as("item_13080007")
|
||||
.sum("item_13080008").as("item_13080008")
|
||||
.sum("item_13080009").as("item_13080009")
|
||||
.count().as("userCount");
|
||||
|
||||
ProjectionOperation projection = Aggregation.project()
|
||||
.andExclude("_id")
|
||||
.and("logDay").as(AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
.and("gold").as("gold")
|
||||
.and("sapphire").as("sapphire")
|
||||
.and("calium").as("calium")
|
||||
.and("ruby").as("ruby")
|
||||
.and("item_11570001").as("item_11570001")
|
||||
.and("item_11570002").as("item_11570002")
|
||||
.and("item_13080002").as("item_13080002")
|
||||
.and("item_13080004").as("item_13080004")
|
||||
.and("item_13080005").as("item_13080005")
|
||||
.and("item_13080006").as("item_13080006")
|
||||
.and("item_13080007").as("item_13080007")
|
||||
.and("item_13080008").as("item_13080008")
|
||||
.and("item_13080009").as("item_13080009")
|
||||
.and("userCount").as("userCount");
|
||||
|
||||
List<AggregationOperation> operations = List.of(
|
||||
Aggregation.match(criteria),
|
||||
groupOperation,
|
||||
projection,
|
||||
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
);
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
return mongoTemplate.aggregate(
|
||||
aggregation.withOptions(AggregationOptions.builder().allowDiskUse(true).build())
|
||||
, AdminConstants.MONGO_DB_COLLECTION_ASSETS
|
||||
, clazz
|
||||
).getMappedResults();
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.caliverse.admin.Indicators.Indicatorsservice.aggregationservice;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
@@ -25,7 +26,8 @@ public class IndicatorsAuLoadService extends IndicatorsLogLoadServiceBase {
|
||||
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime);
|
||||
List<AggregationOperation> operations = setDefaultOperation(criteria);
|
||||
// List<AggregationOperation> operations = setDefaultOperation(criteria);
|
||||
List<AggregationOperation> operations = new ArrayList<>();
|
||||
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
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.bson.Document;
|
||||
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.*;
|
||||
import org.springframework.data.mongodb.core.query.Criteria;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class IndicatorsCurrencyLoadService extends IndicatorsLogLoadServiceBase {
|
||||
public IndicatorsCurrencyLoadService(
|
||||
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
|
||||
) {
|
||||
super(mongoTemplate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
|
||||
return getCurrencyLogData(startTime, endTime, "Acquire", clazz);
|
||||
}
|
||||
|
||||
public <T extends IndicatorsLog> List<T> getCurrencyLogData(String startTime, String endTime, String deltaType, Class<T> clazz) {
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime, "logDay");
|
||||
|
||||
UnwindOperation unwindOperation = Aggregation.unwind("currencies");
|
||||
|
||||
MatchOperation matchOp = Aggregation.match(
|
||||
Criteria.where("currencies.amountDeltaType").is(deltaType)
|
||||
);
|
||||
|
||||
AggregationOperation groupOp = context -> new Document("$group",
|
||||
new Document("_id", new Document("logDay", "$logDay")
|
||||
.append("currencyType", "$currencies.currencyType")
|
||||
.append("action", "$currencies.action")
|
||||
)
|
||||
.append("actionAmount", new Document("$sum", "$currencies.deltaAmount"))
|
||||
);
|
||||
|
||||
AggregationOperation groupOp2 = context -> new Document("$group",
|
||||
new Document("_id", new Document("logDay", "$_id.logDay")
|
||||
.append("currencyType", "$_id.currencyType")
|
||||
)
|
||||
.append("totalDeltaAmount", new Document("$sum", "$actionAmount"))
|
||||
.append("actions", new Document("$push",
|
||||
new Document("k", "$_id.action").append("v", "$actionAmount")
|
||||
))
|
||||
);
|
||||
|
||||
AddFieldsOperation addFieldsOp = Aggregation.addFields()
|
||||
.addField("actionSummary")
|
||||
.withValue(ArrayOperators.ArrayToObject.arrayToObject("$actions"))
|
||||
.build();
|
||||
|
||||
AggregationOperation projectOp = context -> new Document("$project", new Document()
|
||||
.append("_id", 0)
|
||||
.append("logDay", "$_id.logDay")
|
||||
.append("currencyType", "$_id.currencyType")
|
||||
.append("totalDeltaAmount", 1)
|
||||
.append("actionSummary", 1)
|
||||
);
|
||||
|
||||
List<AggregationOperation> operations = List.of(
|
||||
Aggregation.match(criteria),
|
||||
unwindOperation,
|
||||
matchOp,
|
||||
groupOp,
|
||||
groupOp2,
|
||||
addFieldsOp,
|
||||
projectOp,
|
||||
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
);
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
return mongoTemplate.aggregate(
|
||||
aggregation.withOptions(AggregationOptions.builder().allowDiskUse(true).build())
|
||||
, AdminConstants.MONGO_DB_COLLECTION_CURRENCY
|
||||
, clazz
|
||||
).getMappedResults();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
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.bson.Document;
|
||||
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.*;
|
||||
import org.springframework.data.mongodb.core.query.Criteria;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class IndicatorsItemLoadService extends IndicatorsLogLoadServiceBase {
|
||||
public IndicatorsItemLoadService(
|
||||
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
|
||||
) {
|
||||
super(mongoTemplate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
|
||||
return getItemsLogData(startTime, endTime, "Acquire", clazz);
|
||||
}
|
||||
|
||||
public <T extends IndicatorsLog> List<T> getItemsLogData(String startTime, String endTime, String deltaType, Class<T> clazz) {
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime, "logDay");
|
||||
|
||||
UnwindOperation unwindOperation = Aggregation.unwind("itemDetails");
|
||||
UnwindOperation unwindOperation2 = Aggregation.unwind("itemDetails.items");
|
||||
|
||||
MatchOperation matchOp = Aggregation.match(
|
||||
Criteria.where("itemDetails.items.countDeltaType").is(deltaType)
|
||||
);
|
||||
|
||||
AggregationOperation groupOp = context -> new Document("$group",
|
||||
new Document("_id", new Document("logDay", "$logDay")
|
||||
.append("itemMID", "$itemDetails.items.itemMID")
|
||||
.append("action", "$itemDetails.items.action")
|
||||
)
|
||||
.append("actionCount", new Document("$sum", "$itemDetails.items.deltaCount"))
|
||||
.append("itemName", new Document("$first", "$itemDetails.items.itemName"))
|
||||
);
|
||||
|
||||
AggregationOperation groupOp2 = context -> new Document("$group",
|
||||
new Document("_id", new Document("logDay", "$_id.logDay")
|
||||
.append("itemMID", "$_id.itemMID")
|
||||
)
|
||||
.append("totalDeltaCount", new Document("$sum", "$actionCount"))
|
||||
.append("itemName", new Document("$first", "$itemName"))
|
||||
.append("actions", new Document("$push",
|
||||
new Document("k", "$_id.action").append("v", "$actionCount")
|
||||
))
|
||||
);
|
||||
|
||||
AddFieldsOperation addFieldsOp = Aggregation.addFields()
|
||||
.addField("actionSummary")
|
||||
.withValue(ArrayOperators.ArrayToObject.arrayToObject("$actions"))
|
||||
.build();
|
||||
|
||||
AggregationOperation projectOp = context -> new Document("$project", new Document()
|
||||
.append("_id", 0)
|
||||
.append("logDay", "$_id.logDay")
|
||||
.append("itemId", "$_id.itemMID")
|
||||
.append("itemName", 1)
|
||||
.append("totalDeltaCount", 1)
|
||||
.append("actionSummary", 1)
|
||||
);
|
||||
|
||||
List<AggregationOperation> operations = List.of(
|
||||
Aggregation.match(criteria),
|
||||
unwindOperation,
|
||||
unwindOperation2,
|
||||
matchOp,
|
||||
groupOp,
|
||||
groupOp2,
|
||||
addFieldsOp,
|
||||
projectOp,
|
||||
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
);
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
return mongoTemplate.aggregate(
|
||||
aggregation.withOptions(AggregationOptions.builder().allowDiskUse(true).build())
|
||||
, AdminConstants.MONGO_DB_COLLECTION_ITEM
|
||||
, clazz
|
||||
).getMappedResults();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
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.bson.Document;
|
||||
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.*;
|
||||
import org.springframework.data.mongodb.core.query.Criteria;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class IndicatorsRetentionLoadService extends IndicatorsLogLoadServiceBase {
|
||||
public IndicatorsRetentionLoadService(
|
||||
@Qualifier("mongoIndicatorTemplate") MongoTemplate mongoTemplate
|
||||
) {
|
||||
super(mongoTemplate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends IndicatorsLog> List<T> getIndicatorsLogData(String startTime, String endTime, Class<T> clazz) {
|
||||
LookupOperation lookupOperation = LookupOperation.newLookup()
|
||||
.from("userCreate")
|
||||
.localField("userGuid")
|
||||
.foreignField("userGuid")
|
||||
.as("userInfo");
|
||||
|
||||
UnwindOperation unwindOperation = Aggregation.unwind("userInfo");
|
||||
|
||||
Criteria criteria = makeCriteria(startTime, endTime, "userInfo.logDay");
|
||||
|
||||
AddFieldsOperation addFieldsOp = Aggregation.addFields()
|
||||
.addField("createDate")
|
||||
.withValue(DateOperators.dateFromString("$userInfo.logDay"))
|
||||
.addField("loginDate")
|
||||
.withValue(DateOperators.dateFromString("$logDay"))
|
||||
.build();
|
||||
|
||||
AggregationOperation addFieldsOp2 = context -> new Document("$addFields",
|
||||
new Document("daysSinceCreate",
|
||||
new Document("$dateDiff", new Document()
|
||||
.append("startDate", "$createDate")
|
||||
.append("endDate", "$loginDate")
|
||||
.append("unit", "day")
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
MatchOperation matchOp = Aggregation.match(
|
||||
Criteria.where("daysSinceCreate").gte(1).lte(30)
|
||||
);
|
||||
|
||||
AggregationOperation groupOp = context -> new Document("$group",
|
||||
new Document("_id", new Document("cohortDate", "$userInfo.logDay")
|
||||
.append("userGuid", "$userGuid"))
|
||||
.append("loginDays", new Document("$addToSet", "$daysSinceCreate"))
|
||||
);
|
||||
|
||||
AggregationOperation groupOp2 = context -> new Document("$group",
|
||||
new Document("_id", "$_id.cohortDate")
|
||||
.append("totalUsers", new Document("$sum", 1))
|
||||
.append("d1_retained", new Document("$sum",
|
||||
new Document("$cond", List.of(
|
||||
new Document("$in", List.of(1, "$loginDays")),
|
||||
1,
|
||||
0
|
||||
))
|
||||
))
|
||||
.append("d7_retention_users", new Document("$sum",
|
||||
new Document("$cond", List.of(
|
||||
new Document("$gt", List.of(
|
||||
new Document("$size", new Document("$filter", new Document()
|
||||
.append("input", "$loginDays")
|
||||
.append("cond", new Document("$and", List.of(
|
||||
new Document("$gte", List.of("$$this", 1)),
|
||||
new Document("$lte", List.of("$$this", 7)))
|
||||
))
|
||||
)),
|
||||
0
|
||||
)),
|
||||
1,
|
||||
0
|
||||
))
|
||||
))
|
||||
.append("d30_retention_users", new Document("$sum",
|
||||
new Document("$cond", List.of(
|
||||
new Document("$gt", List.of(
|
||||
new Document("$size", new Document("$filter", new Document()
|
||||
.append("input", "$loginDays")
|
||||
.append("cond", new Document("$and", List.of(
|
||||
new Document("$gte", List.of("$$this", 1)),
|
||||
new Document("$lte", List.of("$$this", 30)))
|
||||
))
|
||||
)),
|
||||
0
|
||||
)),
|
||||
1,
|
||||
0
|
||||
))
|
||||
))
|
||||
);
|
||||
|
||||
AggregationOperation lookupOp = context -> new Document("$lookup",
|
||||
new Document("from", "userCreate")
|
||||
.append("let", new Document("cohortDate", "$_id"))
|
||||
.append("pipeline", List.of(
|
||||
new Document("$match", new Document("$expr",
|
||||
new Document("$eq", List.of("$logDay", "$$cohortDate"))
|
||||
)),
|
||||
new Document("$count", "totalCreated")
|
||||
))
|
||||
.append("as", "cohortInfo")
|
||||
);
|
||||
|
||||
UnwindOperation unwindOp = Aggregation.unwind("cohortInfo", true);
|
||||
|
||||
AggregationOperation projectOp = context -> new Document("$project", new Document()
|
||||
.append("_id", 0)
|
||||
.append("logDay", "$_id")
|
||||
.append("totalCreate", new Document("$ifNull", List.of("$cohortInfo.totalCreated", 0)))
|
||||
.append("totalActiveUsers", "$totalUsers")
|
||||
.append("d1_users", 1)
|
||||
.append("d7_users", 1)
|
||||
.append("d30_users", 1)
|
||||
.append("d1_rate", new Document("$cond", List.of(
|
||||
new Document("$gt", List.of("$cohortInfo.totalCreated", 0)),
|
||||
new Document("$multiply", List.of(
|
||||
new Document("$divide", List.of("$d1_retained", "$cohortInfo.totalCreated")),
|
||||
100
|
||||
)),
|
||||
0
|
||||
)))
|
||||
.append("d7_rate", new Document("$cond", List.of(
|
||||
new Document("$gt", List.of("$cohortInfo.totalCreated", 0)),
|
||||
new Document("$multiply", List.of(
|
||||
new Document("$divide", List.of("$d7_retention_users", "$cohortInfo.totalCreated")),
|
||||
100
|
||||
)),
|
||||
0
|
||||
)))
|
||||
.append("d30_rate", new Document("$cond", List.of(
|
||||
new Document("$gt", List.of("$cohortInfo.totalCreated", 0)),
|
||||
new Document("$multiply", List.of(
|
||||
new Document("$divide", List.of("$d30_retention_users", "$cohortInfo.totalCreated")),
|
||||
100
|
||||
)),
|
||||
0
|
||||
)))
|
||||
);
|
||||
|
||||
List<AggregationOperation> operations = List.of(
|
||||
lookupOperation,
|
||||
unwindOperation,
|
||||
Aggregation.match(criteria),
|
||||
addFieldsOp,
|
||||
addFieldsOp2,
|
||||
matchOp,
|
||||
groupOp,
|
||||
groupOp2,
|
||||
lookupOp,
|
||||
unwindOp,
|
||||
projectOp,
|
||||
Aggregation.sort(Sort.Direction.ASC, AdminConstants.MONGO_DB_KEY_LOGDAY)
|
||||
);
|
||||
|
||||
Aggregation aggregation = Aggregation.newAggregation(operations);
|
||||
|
||||
return mongoTemplate.aggregate(
|
||||
aggregation.withOptions(AggregationOptions.builder().allowDiskUse(true).build())
|
||||
, AdminConstants.MONGO_DB_COLLECTION_LOGIN
|
||||
, clazz
|
||||
).getMappedResults();
|
||||
}
|
||||
}
|
||||
@@ -1,19 +1,12 @@
|
||||
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 {
|
||||
|
||||
@@ -29,7 +22,7 @@ public abstract class IndicatorsLogLoadServiceBase implements IndicatorsLogLoadS
|
||||
return new Criteria()
|
||||
.andOperator(
|
||||
Criteria.where(dateFieldName).gte(startDate),
|
||||
Criteria.where(dateFieldName).lt(endDate)
|
||||
Criteria.where(dateFieldName).lte(endDate)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -37,31 +30,6 @@ public abstract class IndicatorsLogLoadServiceBase implements IndicatorsLogLoadS
|
||||
{
|
||||
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<AggregationOperation> setDefaultOperation(Criteria criteria){
|
||||
|
||||
List<AggregationOperation> operations = new ArrayList<>();
|
||||
|
||||
operations.add(Aggregation.match(criteria));
|
||||
operations.add(getDefaultProjectOperationName());
|
||||
|
||||
return operations;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class AssetsIndicatorInfo implements IndicatorsLog {
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private Double gold;
|
||||
private Double sapphire;
|
||||
private Double calium;
|
||||
private Double ruby;
|
||||
private Integer item_11570001;
|
||||
private Integer item_11570002;
|
||||
private Integer item_13080002;
|
||||
private Integer item_13080004;
|
||||
private Integer item_13080005;
|
||||
private Integer item_13080006;
|
||||
private Integer item_13080007;
|
||||
private Integer item_13080008;
|
||||
private Integer item_13080009;
|
||||
private Integer userCount;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "currency")
|
||||
public class CurrencyDetailLogInfo extends LogInfoBase{
|
||||
private String id;
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private String action;
|
||||
private String logTime;
|
||||
private String currencyType;
|
||||
private String amountDeltaType;
|
||||
private Double deltaAmount;
|
||||
private Double currencyAmount;
|
||||
|
||||
public CurrencyDetailLogInfo(String id,
|
||||
String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
String action,
|
||||
String logTime,
|
||||
String currencyType,
|
||||
String amountDeltaType,
|
||||
Double deltaAmount,
|
||||
Double currencyAmount
|
||||
) {
|
||||
super(StatisticsType.CURRENCY);
|
||||
|
||||
this.id = id;
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.action = action;
|
||||
this.logTime = logTime;
|
||||
this.currencyType = currencyType;
|
||||
this.amountDeltaType = amountDeltaType;
|
||||
this.deltaAmount = deltaAmount;
|
||||
this.currencyAmount = currencyAmount;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class CurrencyIndicatorInfo implements IndicatorsLog {
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private Double totalDeltaAmount;
|
||||
private Map<String, Double> actionSummary;
|
||||
private String currencyType;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "currency")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}")
|
||||
})
|
||||
public class CurrencyItemLogInfo extends LogInfoBase{
|
||||
private String id;
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private String action;
|
||||
private String logTime;
|
||||
private String currencyType;
|
||||
private String amountDeltaType;
|
||||
private Double deltaAmount;
|
||||
private Double currencyAmount;
|
||||
private String itemIDs;
|
||||
|
||||
public CurrencyItemLogInfo(String id,
|
||||
String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
String action,
|
||||
String logTime,
|
||||
String currencyType,
|
||||
String amountDeltaType,
|
||||
Double deltaAmount,
|
||||
Double currencyAmount,
|
||||
String itemIDs
|
||||
) {
|
||||
super(StatisticsType.CURRENCY);
|
||||
|
||||
this.id = id;
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.action = action;
|
||||
this.logTime = logTime;
|
||||
this.currencyType = currencyType;
|
||||
this.amountDeltaType = amountDeltaType;
|
||||
this.deltaAmount = deltaAmount;
|
||||
this.currencyAmount = currencyAmount;
|
||||
this.itemIDs = itemIDs;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.logs.Indicatordomain.CurrencyMongoLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "currency")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}")
|
||||
})
|
||||
public class CurrencyLogInfo extends LogInfoBase{
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private Double sapphireAcquired;
|
||||
private Double sapphireConsumed;
|
||||
private Double sapphireNet;
|
||||
private Double goldAcquired;
|
||||
private Double goldConsumed;
|
||||
private Double goldNet;
|
||||
private Double caliumAcquired;
|
||||
private Double caliumConsumed;
|
||||
private Double caliumNet;
|
||||
private Double beamAcquired;
|
||||
private Double beamConsumed;
|
||||
private Double beamNet;
|
||||
private Double rubyAcquired;
|
||||
private Double rubyConsumed;
|
||||
private Double rubyNet;
|
||||
private Integer totalCurrencies;
|
||||
private List<CurrencyMongoLog.currency> currencies;
|
||||
|
||||
public CurrencyLogInfo(String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
Double sapphireAcquired,
|
||||
Double sapphireConsumed,
|
||||
Double sapphireNet,
|
||||
Double goldAcquired,
|
||||
Double goldConsumed,
|
||||
Double goldNet,
|
||||
Double caliumAcquired,
|
||||
Double caliumConsumed,
|
||||
Double caliumNet,
|
||||
Double beamAcquired,
|
||||
Double beamConsumed,
|
||||
Double beamNet,
|
||||
Double rubyAcquired,
|
||||
Double rubyConsumed,
|
||||
Double rubyNet,
|
||||
Integer totalCurrencies,
|
||||
List<CurrencyMongoLog.currency> currencies
|
||||
) {
|
||||
super(StatisticsType.CURRENCY);
|
||||
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.sapphireAcquired = sapphireAcquired;
|
||||
this.sapphireConsumed = sapphireConsumed;
|
||||
this.sapphireNet = sapphireNet;
|
||||
this.goldAcquired = goldAcquired;
|
||||
this.goldConsumed = goldConsumed;
|
||||
this.goldNet = goldNet;
|
||||
this.caliumAcquired = caliumAcquired;
|
||||
this.caliumConsumed = caliumConsumed;
|
||||
this.caliumNet = caliumNet;
|
||||
this.beamAcquired = beamAcquired;
|
||||
this.beamConsumed = beamConsumed;
|
||||
this.beamNet = beamNet;
|
||||
this.rubyAcquired = rubyAcquired;
|
||||
this.rubyConsumed = rubyConsumed;
|
||||
this.rubyNet = rubyNet;
|
||||
this.totalCurrencies = totalCurrencies;
|
||||
this.currencies = currencies;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "item")
|
||||
public class ItemDetailLogInfo extends LogInfoBase{
|
||||
private String id;
|
||||
private String logDay;
|
||||
private String logTime;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private String action;
|
||||
private Integer itemId;
|
||||
private String itemName;
|
||||
private String itemTypeLarge;
|
||||
private String itemTypeSmall;
|
||||
private String countDeltaType;
|
||||
private Integer deltaCount;
|
||||
private Integer stackCount;
|
||||
|
||||
public ItemDetailLogInfo(String id,
|
||||
String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
String action,
|
||||
String logTime,
|
||||
Integer itemId,
|
||||
String itemName,
|
||||
String itemTypeLarge,
|
||||
String itemTypeSmall,
|
||||
String countDeltaType,
|
||||
Integer deltaCount,
|
||||
Integer stackCount
|
||||
) {
|
||||
super(StatisticsType.ITEM);
|
||||
|
||||
this.id = id;
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.action = action;
|
||||
this.logTime = logTime;
|
||||
this.itemId = itemId;
|
||||
this.itemName = itemName;
|
||||
this.itemTypeLarge = itemTypeLarge;
|
||||
this.itemTypeSmall = itemTypeSmall;
|
||||
this.countDeltaType = countDeltaType;
|
||||
this.deltaCount = deltaCount;
|
||||
this.stackCount = stackCount;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class ItemIndicatorInfo implements IndicatorsLog {
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private Long totalDeltaCount;
|
||||
private Map<String, Double> actionSummary;
|
||||
private String itemId;
|
||||
private String itemName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.logs.Indicatordomain.ItemMongoLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "item")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}")
|
||||
})
|
||||
public class ItemLogInfo extends LogInfoBase{
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private Integer totalItems;
|
||||
private List<ItemMongoLog.ItemDetail> itemDetails;
|
||||
private List<ItemMongoLog.ItemTypeLargeStat> itemTypeLargeStats;
|
||||
|
||||
public ItemLogInfo(String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
Integer totalItems,
|
||||
List<ItemMongoLog.ItemDetail> itemDetails,
|
||||
List<ItemMongoLog.ItemTypeLargeStat> itemTypeLargeStats
|
||||
) {
|
||||
super(StatisticsType.ITEM);
|
||||
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.totalItems = totalItems;
|
||||
this.itemDetails = itemDetails;
|
||||
this.itemTypeLargeStats = itemTypeLargeStats;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.Indicators.Indicatordomain.IndicatorsLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class RetentionInfo implements IndicatorsLog {
|
||||
private String logDay;
|
||||
private Integer totalCreate;
|
||||
private Integer totalActiveUsers;
|
||||
private Integer d1_users;
|
||||
private Integer d7_users;
|
||||
private Integer d30_users;
|
||||
private Integer d1_rate;
|
||||
private Integer d7_rate;
|
||||
private Integer d30_rate;
|
||||
|
||||
public RetentionInfo(String logDay,
|
||||
Integer totalCreate,
|
||||
Integer totalActiveUsers,
|
||||
Integer d1_users,
|
||||
Integer d7_users,
|
||||
Integer d30_users,
|
||||
Integer d1_rate,
|
||||
Integer d7_rate,
|
||||
Integer d30_rate
|
||||
) {
|
||||
|
||||
this.logDay = logDay;
|
||||
this.totalCreate = totalCreate;
|
||||
this.totalActiveUsers = totalActiveUsers;
|
||||
this.d1_users = d1_users;
|
||||
this.d7_users = d7_users;
|
||||
this.d30_users = d30_users;
|
||||
this.d1_rate = d1_rate;
|
||||
this.d7_rate = d7_rate;
|
||||
this.d30_rate = d30_rate;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "assets")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}", background = true),
|
||||
@CompoundIndex(name = "logDay_idx", def = "{'logDay': 1}", background = true)
|
||||
})
|
||||
public class SnapshotLogInfo extends LogInfoBase{
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private Double gold;
|
||||
private Double sapphire;
|
||||
private Double calium;
|
||||
private Double ruby;
|
||||
private Integer item_11570001;
|
||||
private Integer item_11570002;
|
||||
private Integer item_13080002;
|
||||
private Integer item_13080004;
|
||||
private Integer item_13080005;
|
||||
private Integer item_13080006;
|
||||
private Integer item_13080007;
|
||||
private Integer item_13080008;
|
||||
private Integer item_13080009;
|
||||
private LocalDateTime lastLogoutTime;
|
||||
|
||||
public SnapshotLogInfo(String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
Double gold,
|
||||
Double sapphire,
|
||||
Double calium,
|
||||
Double ruby,
|
||||
Integer item_11570001,
|
||||
Integer item_11570002,
|
||||
Integer item_13080002,
|
||||
Integer item_13080004,
|
||||
Integer item_13080005,
|
||||
Integer item_13080006,
|
||||
Integer item_13080007,
|
||||
Integer item_13080008,
|
||||
Integer item_13080009,
|
||||
LocalDateTime lastLogoutTime
|
||||
|
||||
) {
|
||||
super(StatisticsType.SNAPSHOT);
|
||||
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.gold = gold;
|
||||
this.sapphire = sapphire;
|
||||
this.calium = calium;
|
||||
this.ruby = ruby;
|
||||
this.item_11570001 = item_11570001;
|
||||
this.item_11570002 = item_11570002;
|
||||
this.item_13080002 = item_13080002;
|
||||
this.item_13080004 = item_13080004;
|
||||
this.item_13080005 = item_13080005;
|
||||
this.item_13080006 = item_13080006;
|
||||
this.item_13080007 = item_13080007;
|
||||
this.item_13080008 = item_13080008;
|
||||
this.item_13080009 = item_13080009;
|
||||
this.lastLogoutTime = lastLogoutTime;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,7 +16,10 @@ public enum StatisticsType {
|
||||
SERVER_INFO,
|
||||
MONEY,
|
||||
USER_CREATE,
|
||||
USER_LOGIN
|
||||
USER_LOGIN,
|
||||
CURRENCY,
|
||||
ITEM,
|
||||
SNAPSHOT
|
||||
;
|
||||
|
||||
public static StatisticsType getStatisticsType(String type) {
|
||||
|
||||
@@ -2,19 +2,29 @@ package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "userCreate")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}")
|
||||
})
|
||||
public class UserCreateLogInfo extends LogInfoBase{
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String createdTime;
|
||||
private LocalDateTime createdTime;
|
||||
|
||||
public UserCreateLogInfo(String logDay, String accountId, String userGuid, String userNickname, String createdTime) {
|
||||
public UserCreateLogInfo(String logDay, String accountId, String userGuid, String userNickname, LocalDateTime createdTime) {
|
||||
super(StatisticsType.USER_CREATE);
|
||||
|
||||
this.logDay = logDay;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class UserLoginDetailLogInfo extends LogInfoBase{
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private LocalDateTime loginTime;
|
||||
private LocalDateTime logoutTime;
|
||||
private String serverType;
|
||||
private String languageType;
|
||||
private Double playtime;
|
||||
|
||||
public UserLoginDetailLogInfo(String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
LocalDateTime loginTime,
|
||||
LocalDateTime logoutTime,
|
||||
String serverType,
|
||||
String languageType,
|
||||
Double playtime
|
||||
) {
|
||||
super(StatisticsType.USER_LOGIN);
|
||||
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.loginTime = loginTime;
|
||||
this.logoutTime = logoutTime;
|
||||
this.serverType = serverType;
|
||||
this.languageType = languageType;
|
||||
this.playtime = playtime;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,6 +2,9 @@ package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndex;
|
||||
import org.springframework.data.mongodb.core.index.CompoundIndexes;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.util.List;
|
||||
@@ -10,9 +13,15 @@ import java.util.Map;
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "userLogin")
|
||||
@CompoundIndexes({
|
||||
@CompoundIndex(name = "logDay_userGuid_idx", def = "{'logDay': 1, 'userGuid': 1}")
|
||||
})
|
||||
|
||||
public class UserLoginLogInfo extends LogInfoBase{
|
||||
@Indexed
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
@Indexed
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private List<Map<String, Object>> sessions;
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.caliverse.admin.Indicators.indicatorrepository;
|
||||
|
||||
import com.caliverse.admin.Indicators.entity.CurrencyLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorCurrencyRepository extends MongoRepository<CurrencyLogInfo, String> {
|
||||
boolean existsByLogDayAndUserGuid(String logDay, String userGuid);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.caliverse.admin.Indicators.indicatorrepository;
|
||||
|
||||
import com.caliverse.admin.Indicators.entity.ItemLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorItemRepository extends MongoRepository<ItemLogInfo, String> {
|
||||
boolean existsByLogDayAndUserGuid(String logDay, String userGuid);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.caliverse.admin.Indicators.indicatorrepository;
|
||||
|
||||
import com.caliverse.admin.Indicators.entity.SnapshotLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorSnapshotRepository extends MongoRepository<SnapshotLogInfo, String> {
|
||||
boolean existsByLogDayAndUserGuid(String logDay, String userGuid);
|
||||
}
|
||||
@@ -4,4 +4,5 @@ import com.caliverse.admin.Indicators.entity.UserCreateLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorUserCreateRepository extends MongoRepository<UserCreateLogInfo, String> {
|
||||
boolean existsByLogDayAndUserGuid(String logDay, String userGuid);
|
||||
}
|
||||
|
||||
@@ -4,4 +4,5 @@ import com.caliverse.admin.Indicators.entity.UserLoginLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorUserLoginRepository extends MongoRepository<UserLoginLogInfo, String> {
|
||||
boolean existsByLogDayAndUserGuid(String logDay, String userGuid);
|
||||
}
|
||||
|
||||
@@ -4,40 +4,83 @@ 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 com.caliverse.admin.domain.entity.log.LogStatus;
|
||||
import com.caliverse.admin.global.common.constants.CommonConstants;
|
||||
import com.caliverse.admin.global.common.utils.CommonUtils;
|
||||
import com.caliverse.admin.mongodb.service.BusinessLogService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
public class MessageHandlerService {
|
||||
|
||||
private final RabbitMqService rabbitMqService;
|
||||
private final BusinessLogService businessLogService;
|
||||
|
||||
public MessageHandlerService(RabbitMqService rabbitMqService) {
|
||||
public MessageHandlerService(RabbitMqService rabbitMqService, BusinessLogService businessLogService) {
|
||||
this.rabbitMqService = rabbitMqService;
|
||||
this.businessLogService = businessLogService;
|
||||
}
|
||||
|
||||
private void logMessage(LogStatus logStatus, String message, String queName, String serverName, Object content){
|
||||
CompletableFuture<String> logFuture = businessLogService.logMessageQueue(
|
||||
logStatus,
|
||||
message,
|
||||
CommonUtils.getAdmin() == null ? CommonConstants.SYSTEM : CommonUtils.getAdmin().getEmail(),
|
||||
CommonUtils.getClientIp() == null ? CommonConstants.SYSTEM : CommonUtils.getClientIp(),
|
||||
queName,
|
||||
serverName,
|
||||
content
|
||||
);
|
||||
|
||||
logFuture.whenComplete((result, throwable) -> {
|
||||
if (throwable != null) {
|
||||
log.warn("MessageQueue Business log failed for info: {}, error: {}", CommonUtils.objectByString(content), throwable.getMessage());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void sendUserKickMessage(String userGuid, String serverName, String reason){
|
||||
var user_kick_builder = ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder();
|
||||
user_kick_builder.setUserGuid(userGuid);
|
||||
user_kick_builder.setKickReasonMsg(String.format("backoffice %s", reason));
|
||||
user_kick_builder.setLogoutReasonType(LogoutReasonType.LogoutReasonType_None);
|
||||
try {
|
||||
var user_kick_builder = ServerMessage.MOS2GS_NTF_USER_KICK.newBuilder();
|
||||
user_kick_builder.setUserGuid(userGuid);
|
||||
user_kick_builder.setKickReasonMsg(String.format("backoffice %s", reason));
|
||||
user_kick_builder.setLogoutReasonType(LogoutReasonType.LogoutReasonType_None);
|
||||
|
||||
rabbitMqService.SendMessage(user_kick_builder.build(), serverName);
|
||||
rabbitMqService.SendMessage(user_kick_builder.build(), serverName);
|
||||
|
||||
log.info("Send User Kick Message to Server: {}, user: {}", serverName, userGuid);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendUserKickMessage",
|
||||
serverName,
|
||||
user_kick_builder.build()
|
||||
);
|
||||
}catch(Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("User Kick Fail UserGuid: %s, reason: %s, error: %s", userGuid, reason, e.getMessage()),
|
||||
"sendUserKickMessage",
|
||||
serverName,
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public void sendNoticeMessage(List<String> serverList, String type, List<OperationSystemMessage> msgList, List<OperationSystemMessage> 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);
|
||||
@@ -45,33 +88,154 @@ public class MessageHandlerService {
|
||||
for (String server : serverList) {
|
||||
rabbitMqService.SendMessage(noticeBuilder.build(), server);
|
||||
}
|
||||
|
||||
log.info("Send Notice Message to Server: {}, type: {}", serverList.toString(), type);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendNoticeMessage",
|
||||
serverList.toString(),
|
||||
noticeBuilder.build()
|
||||
);
|
||||
}catch (Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("Send Notice Fail Type: %s, senderList: %s, msgList: %s, error: %s", type, senderList.toString(), msgList.toString(), e.getMessage()),
|
||||
"sendNoticeMessage",
|
||||
serverList.toString(),
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public void sendMailMessage(String serverName, String userGuid, String mailType, List<OperationSystemMessage> titleList, List<OperationSystemMessage> msgList
|
||||
, List<MailItem> itemList, List<OperationSystemMessage> senderList){
|
||||
var mail_builder = ServerMessage.MOS2GS_NTF_MAIL_SEND.newBuilder();
|
||||
mail_builder.setUserGuid(userGuid);
|
||||
mail_builder.setMailType(mailType);
|
||||
try {
|
||||
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);
|
||||
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);
|
||||
|
||||
log.info("Send Mail Message to Server: {}, user: {}", serverName, userGuid);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendMailMessage",
|
||||
serverName,
|
||||
mail_builder.build()
|
||||
);
|
||||
}catch (Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("Send Mail Fail UserGuid: %s, mailType: %s, senderList: %s, titleList: %s, itemList: %s, error: %s",
|
||||
userGuid, mailType, senderList.toString(), titleList.toString(), itemList.toString(), e.getMessage()),
|
||||
"sendMailMessage",
|
||||
serverName,
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public void sendBannerMessage(String serverName){
|
||||
try {
|
||||
var banner_builder = ServerMessage.MOS2GS_NTF_UPDATE_BANNER.newBuilder();
|
||||
|
||||
rabbitMqService.SendMessage(banner_builder.build(), serverName);
|
||||
|
||||
log.info("Send Banner Message to Server: {}", serverName);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendBannerMessage",
|
||||
serverName,
|
||||
banner_builder.build()
|
||||
);
|
||||
}catch(Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("Banner Fail error: %s", e.getMessage()),
|
||||
"sendBannerMessage",
|
||||
serverName,
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public void sendQuestTaskCompleteMessage(String serverName, String accountId, int reqId, String questKey, int taskId){
|
||||
try {
|
||||
var quest_task_builder = ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETE.newBuilder();
|
||||
quest_task_builder.setAccountId(accountId);
|
||||
quest_task_builder.setReqId(reqId);
|
||||
quest_task_builder.setQuestKey(questKey);
|
||||
quest_task_builder.setTaskId(taskId);
|
||||
|
||||
rabbitMqService.SendMessage(quest_task_builder.build(), serverName);
|
||||
|
||||
log.info("Send Quest Task Complete Message to Server: {}, accountId: {}, questKey: {}, taskId: {}", serverName, accountId, questKey, taskId);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendQuestTaskCompleteMessage",
|
||||
serverName,
|
||||
quest_task_builder.build()
|
||||
);
|
||||
}catch(Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("Quest Task Complete Fail accountId: %s, questKey: %s, taskId: %s, error: %s", accountId, questKey, taskId, e.getMessage()),
|
||||
"sendQuestTaskCompleteMessage",
|
||||
serverName,
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public void sendRankingScheduleMessage(String serverName){
|
||||
try {
|
||||
var ranking_schedule_builder = ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULE.newBuilder();
|
||||
|
||||
rabbitMqService.SendMessage(ranking_schedule_builder.build(), serverName);
|
||||
|
||||
log.info("Send Ranking Schedule Message to Server: {}", serverName);
|
||||
|
||||
logMessage(
|
||||
LogStatus.SUCCESS,
|
||||
"",
|
||||
"sendRankingScheduleMessage",
|
||||
serverName,
|
||||
ranking_schedule_builder.build()
|
||||
);
|
||||
}catch(Exception e){
|
||||
log.error(e.getMessage());
|
||||
logMessage(
|
||||
LogStatus.FAILURE,
|
||||
String.format("Ranking Schedule Fail error: %s", e.getMessage()),
|
||||
"sendRankingScheduleMessage",
|
||||
serverName,
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code BannerType}
|
||||
*/
|
||||
public enum BannerType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>BannerType_None = 0;</code>
|
||||
*/
|
||||
BannerType_None(0),
|
||||
/**
|
||||
* <code>BannerType_MainMenu = 1;</code>
|
||||
*/
|
||||
BannerType_MainMenu(1),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>BannerType_None = 0;</code>
|
||||
*/
|
||||
public static final int BannerType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>BannerType_MainMenu = 1;</code>
|
||||
*/
|
||||
public static final int BannerType_MainMenu_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 BannerType 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 BannerType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return BannerType_None;
|
||||
case 1: return BannerType_MainMenu;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<BannerType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
BannerType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<BannerType>() {
|
||||
public BannerType findValueByNumber(int number) {
|
||||
return BannerType.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(35);
|
||||
}
|
||||
|
||||
private static final BannerType[] VALUES = values();
|
||||
|
||||
public static BannerType 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 BannerType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:BannerType)
|
||||
}
|
||||
|
||||
@@ -14,6 +14,11 @@ public final class DefineCommon {
|
||||
registerAllExtensions(
|
||||
(com.google.protobuf.ExtensionRegistryLite) registry);
|
||||
}
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_ServerUrlWithLanguage_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_ServerUrlWithLanguage_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_ServerUrl_descriptor;
|
||||
static final
|
||||
@@ -104,6 +109,21 @@ public final class DefineCommon {
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MoneyDeltaAmount_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchUserInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchUserInfo_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchStatusInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchStatusInfo_fieldAccessorTable;
|
||||
static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_MatchRegionInfo_descriptor;
|
||||
static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_MatchRegionInfo_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
@@ -114,275 +134,331 @@ public final class DefineCommon {
|
||||
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"
|
||||
"imestamp.proto\"K\n\025ServerUrlWithLanguage\022" +
|
||||
"\037\n\010langType\030\001 \001(\0162\r.LanguageType\022\021\n\ttarg" +
|
||||
"etUrl\030\002 \001(\t\"j\n\tServerUrl\022%\n\rserverUrlTyp" +
|
||||
"e\030\001 \001(\0162\016.ServerUrlType\0226\n\026serverUrlWith" +
|
||||
"Languages\030\002 \003(\0132\026.ServerUrlWithLanguage\"" +
|
||||
"4\n\013ChannelInfo\022\017\n\007channel\030\001 \001(\005\022\024\n\014traff" +
|
||||
"iclevel\030\002 \001(\005\"\264\001\n\021ServerConnectInfo\022\022\n\ns" +
|
||||
"erverAddr\030\001 \001(\t\022\022\n\nserverPort\030\002 \001(\005\022\013\n\003o" +
|
||||
"tp\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\nmyhomeInfo\030" +
|
||||
"\007 \001(\0132\013.MyHomeInfoH\000B\016\n\014instanceType\"[\n\n" +
|
||||
"MyHomeInfo\022\022\n\nmyhomeGuid\030\001 \001(\t\022\022\n\nmyhome" +
|
||||
"Name\030\002 \001(\t\022%\n\rmyhomeUgcInfo\030\003 \001(\0132\016.Myho" +
|
||||
"meUgcInfo\"\257\001\n\rMyhomeUgcInfo\022\020\n\010roomType\030" +
|
||||
"\001 \001(\005\022\017\n\007version\030\002 \001(\005\022)\n\016frameworkInfos" +
|
||||
"\030\003 \003(\0132\021.UgcFrameworkInfo\022#\n\013anchorInfos" +
|
||||
"\030\004 \003(\0132\016.UgcAnchorInfo\022+\n\020crafterBeaconP" +
|
||||
"os\030\005 \003(\0132\021.CrafterBeaconPos\"\311\001\n\020UgcFrame" +
|
||||
"workInfo\022\026\n\016interiorItemId\030\001 \001(\005\022\r\n\005floo" +
|
||||
"r\030\002 \001(\005\022\037\n\ncoordinate\030\003 \001(\0132\013.Coordinate" +
|
||||
"\022\033\n\010rotation\030\004 \001(\0132\t.Rotation\022\022\n\nmateria" +
|
||||
"lId\030\005 \001(\005\022<\n\031UgcFrameworkMaterialInfos\030\006" +
|
||||
" \003(\0132\031.UgcFrameworkMaterialInfo\"\226\001\n\030UgcF" +
|
||||
"rameworkMaterialInfo\022\014\n\004type\030\001 \001(\t\022\022\n\nma" +
|
||||
"terialId\030\002 \001(\005\022\034\n\014color_mask_r\030\003 \001(\0132\006.C" +
|
||||
"olor\022\034\n\014color_mask_g\030\004 \001(\0132\006.Color\022\034\n\014co" +
|
||||
"lor_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\na" +
|
||||
"nchorType\030\002 \001(\t\022\017\n\007tableId\030\003 \001(\005\022\022\n\nenti" +
|
||||
"tyGuid\030\004 \001(\t\022\037\n\ncoordinate\030\005 \001(\0132\013.Coord" +
|
||||
"inate\022\033\n\010rotation\030\006 \001(\0132\t.Rotation\"F\n\020Cr" +
|
||||
"afterBeaconPos\022\022\n\nanchorGuid\030\001 \001(\t\022\036\n\020cr" +
|
||||
"afterBeaconPos\030\002 \001(\0132\004.Pos\"-\n\nCoordinate" +
|
||||
"\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\010Rot" +
|
||||
"ation\022\r\n\005Pitch\030\001 \001(\002\022\013\n\003Yaw\030\002 \001(\002\022\014\n\004Rol" +
|
||||
"l\030\003 \001(\002\"\177\n\rStringProfile\0228\n\rstringProfil" +
|
||||
"e\030\001 \003(\0132!.StringProfile.StringProfileEnt" +
|
||||
"ry\0324\n\022StringProfileEntry\022\013\n\003key\030\001 \001(\t\022\r\n" +
|
||||
"\005value\030\002 \001(\t:\0028\001\"H\n\020UserLocationInfo\022\021\n\t" +
|
||||
"isChannel\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\022\025\n\rchannelNu" +
|
||||
"mber\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\006am" +
|
||||
"ount\030\001 \001(\001\"G\n\020MoneyDeltaAmount\022#\n\tdeltaT" +
|
||||
"ype\030\001 \001(\0162\020.AmountDeltaType\022\016\n\006amount\030\002 " +
|
||||
"\001(\001\"\300\001\n\rMatchUserInfo\022\020\n\010userGuid\030\001 \001(\t\022" +
|
||||
"\022\n\nserverName\030\002 \001(\t\022\022\n\ngameModeId\030\003 \001(\005\022" +
|
||||
"\024\n\014matchGroupId\030\004 \001(\t\022\016\n\006region\030\005 \001(\t\022-\n" +
|
||||
"\tstartTime\030\006 \001(\0132\032.google.protobuf.Times" +
|
||||
"tamp\022 \n\006status\030\007 \001(\0162\020.MatchStatusType\"s" +
|
||||
"\n\017MatchStatusInfo\022 \n\006status\030\001 \001(\0162\020.Matc" +
|
||||
"hStatusType\022\021\n\tmatchStep\030\002 \001(\005\022\023\n\013waitTi" +
|
||||
"meSec\030\003 \001(\005\022\026\n\016waitTimeMaxSec\030\004 \001(\005\"J\n\017M" +
|
||||
"atchRegionInfo\022\014\n\004Name\030\001 \001(\t\022\030\n\020TextStri" +
|
||||
"ngMetaId\030\002 \001(\t\022\017\n\007PingUrl\030\003 \001(\t*\373\001\n\010Modu" +
|
||||
"leId\022\021\n\rModuleId_None\020\000\022\036\n\032ModuleId_Dyna" +
|
||||
"moDbConnector\020\001\022\035\n\031ModuleId_MongoDbConne" +
|
||||
"ctor\020\002\022\033\n\027ModuleId_RedisConnector\020\003\022\'\n#M" +
|
||||
"oduleId_RedisWithLuaScriptExecutor\020\004\022\036\n\032" +
|
||||
"ModuleId_RabbitMqConnector\020\005\022\030\n\024ModuleId" +
|
||||
"_S3Connector\020\006\022\035\n\031ModuleId_ProudNetListe" +
|
||||
"ner\020\007*D\n\010BoolType\022\021\n\rBoolType_None\020\000\022\021\n\r" +
|
||||
"BoolType_True\020\001\022\022\n\016BoolType_False\020\002*R\n\013A" +
|
||||
"ccountType\022\024\n\020AccountType_None\020\000\022\026\n\022Acco" +
|
||||
"untType_Google\020\001\022\025\n\021AccountType_Apple\020\002*" +
|
||||
"J\n\017ServiceCategory\022\030\n\024ServiceCategory_No" +
|
||||
"ne\020\000\022\035\n\031ServiceCategory_Caliverse\020\001*y\n\013S" +
|
||||
"erviceType\022\024\n\020ServiceType_None\020\000\022\023\n\017Serv" +
|
||||
"iceType_Dev\020\001\022\022\n\016ServiceType_Qa\020\002\022\025\n\021Ser" +
|
||||
"viceType_Stage\020\003\022\024\n\020ServiceType_Live\020\004*\305" +
|
||||
"\005\n\rServerUrlType\022\026\n\022ServerUrlType_None\020\000" +
|
||||
"\022%\n!ServerUrlType_BillingApiServerUrl\020\001\022" +
|
||||
"$\n ServerUrlType_ChatAiApiServerUrl\020\002\022$\n" +
|
||||
" ServerUrlType_MyhomeEditGuideUrl\020\003\022&\n\"S" +
|
||||
"erverUrlType_WebLinkUrlSeasonPass\020\004\022)\n%S" +
|
||||
"erverUrlType_CaliumConverterWebGuide\020\005\022$" +
|
||||
"\n ServerUrlType_S3ResourceImageUrl\020\006\022 \n\034" +
|
||||
"ServerUrlType_RentalGuideURL\020\007\022%\n!Server" +
|
||||
"UrlType_LandAuctionWebGuide\020\010\022$\n ServerU" +
|
||||
"rlType_LandManageGuideURL\020\t\022&\n\"ServerUrl" +
|
||||
"Type_Calium_Exchange_Web1\020\n\022&\n\"ServerUrl" +
|
||||
"Type_Calium_Exchange_Web2\020\013\022$\n ServerUrl" +
|
||||
"Type_WebLinkURLCurrency\020\014\022\'\n#ServerUrlTy" +
|
||||
"pe_WebLinkURLSeasonPass1\020\r\022\'\n#ServerUrlT" +
|
||||
"ype_WebLinkURLSeasonPass2\020\016\022\'\n#ServerUrl" +
|
||||
"Type_WebLinkURLSeasonPass3\020\017\022\'\n#ServerUr" +
|
||||
"lType_WebLinkURLSeasonPass4\020\020\022\'\n#ServerU" +
|
||||
"rlType_WebLinkURLSeasonPass5\020\021*\270\002\n\nServe" +
|
||||
"rType\022\023\n\017ServerType_None\020\000\022\024\n\020ServerType" +
|
||||
"_Login\020\001\022\026\n\022ServerType_Channel\020\002\022\024\n\020Serv" +
|
||||
"erType_Indun\020\003\022\023\n\017ServerType_Chat\020\004\022\025\n\021S" +
|
||||
"erverType_GmTool\020\005\022\023\n\017ServerType_Auth\020\006\022" +
|
||||
"\026\n\022ServerType_Manager\020\007\022\025\n\021ServerType_Ug" +
|
||||
"qApi\020\010\022\027\n\023ServerType_UgqAdmin\020\t\022\030\n\024Serve" +
|
||||
"rType_UgqIngame\020\n\022\030\n\024ServerType_BrokerAp" +
|
||||
"i\020\013\022\024\n\020ServerType_Match\020\014*\255\001\n\023AutoScaleS" +
|
||||
"erverType\022\034\n\030AutoScaleServerType_None\020\000\022" +
|
||||
"\035\n\031AutoScaleServerType_Login\020\001\022\034\n\030AutoSc" +
|
||||
"aleServerType_Game\020\002\022\035\n\031AutoScaleServerT" +
|
||||
"ype_Indun\020\003\022\034\n\030AutoScaleServerType_Chat\020" +
|
||||
"\004*_\n\016GameServerType\022\027\n\023GameServerType_No" +
|
||||
"ne\020\000\022\032\n\026GameServerType_Channel\020\001\022\030\n\024Game" +
|
||||
"ServerType_Indun\020\002*\224\001\n\nDeviceType\022\023\n\017Dev" +
|
||||
"iceType_None\020\000\022\030\n\024DeviceType_WindowsPC\020\001" +
|
||||
"\022\025\n\021DeviceType_IPhone\020\005\022\022\n\016DeviceType_Ma" +
|
||||
"c\020\006\022\025\n\021DeviceType_Galaxy\020\013\022\025\n\021DeviceType" +
|
||||
"_Oculus\020\017*S\n\006OsType\022\017\n\013OsType_None\020\000\022\024\n\020" +
|
||||
"OsType_MsWindows\020\001\022\022\n\016OsType_Android\020\002\022\016" +
|
||||
"\n\nOsType_Ios\020\003*\215\001\n\014PlatformType\022\025\n\021Platf" +
|
||||
"ormType_None\020\000\022\032\n\026PlatformType_WindowsPc" +
|
||||
"\020\001\022\027\n\023PlatformType_Google\020\002\022\031\n\025PlatformT" +
|
||||
"ype_Facebook\020\003\022\026\n\022PlatformType_Apple\020\004*\216" +
|
||||
"\001\n\023AccountCreationType\022\034\n\030AccountCreatio" +
|
||||
"nType_None\020\000\022\036\n\032AccountCreationType_Norm" +
|
||||
"al\020\001\022\034\n\030AccountCreationType_Test\020\002\022\033\n\027Ac" +
|
||||
"countCreationType_Bot\020\003*\300\003\n\014ContentsType" +
|
||||
"\022\025\n\021ContentsType_None\020\000\022\027\n\023ContentsType_" +
|
||||
"MyHome\020\001\022\032\n\026ContentsType_DressRoom\020\002\022\030\n\024" +
|
||||
"ContentsType_Concert\020\003\022\026\n\022ContentsType_M" +
|
||||
"ovie\020\004\022\031\n\025ContentsType_Instance\020\005\022\030\n\024Con" +
|
||||
"tentsType_Meeting\020\006\022!\n\035ContentsType_Beac" +
|
||||
"onCreateRoom\020\007\022\037\n\033ContentsType_BeaconEdi" +
|
||||
"tRoom\020\010\022 \n\034ContentsType_BeaconDraftRoom\020" +
|
||||
"\t\022\031\n\025ContentsType_EditRoom\020\n\022$\n Contents" +
|
||||
"Type_BeaconCustomizeRoom\020\013\022\033\n\027ContentsTy" +
|
||||
"pe_BattleRoom\020\014\022\036\n\032ContentsType_ArcadeRu" +
|
||||
"nning\020\r\022\031\n\025ContentsType_GameRoom\020\016*\264\001\n\010C" +
|
||||
"harRace\022\021\n\rCharRace_None\020\000\022\023\n\017CharRace_L" +
|
||||
"atino\020\001\022\026\n\022CharRace_Caucasian\020\002\022\024\n\020CharR" +
|
||||
"ace_African\020\003\022\033\n\027CharRace_Northeastasian" +
|
||||
"\020\004\022\027\n\023CharRace_Southasian\020\005\022\034\n\030CharRace_" +
|
||||
"Pacificislander\020\006*\224\001\n\022AuthAdminLevelType" +
|
||||
"\022\033\n\027AuthAdminLevelType_None\020\000\022\037\n\033AuthAdm" +
|
||||
"inLevelType_GmNormal\020\001\022\036\n\032AuthAdminLevel" +
|
||||
"Type_GmSuper\020\002\022 \n\034AuthAdminLevelType_Dev" +
|
||||
"eloper\020\003*d\n\014LanguageType\022\025\n\021LanguageType" +
|
||||
"_None\020\000\022\023\n\017LanguageType_ko\020\001\022\023\n\017Language" +
|
||||
"Type_en\020\002\022\023\n\017LanguageType_ja\020\004*S\n\013Produc" +
|
||||
"tType\022\024\n\020ProductType_None\020\000\022\030\n\024ProductTy" +
|
||||
"pe_Currency\020\001\022\024\n\020ProductType_Item\020\002*\201\001\n\017" +
|
||||
"LoginMethodType\022\030\n\024LoginMethodType_None\020" +
|
||||
"\000\022$\n LoginMethodType_ClientStandalone\020\001\022" +
|
||||
".\n*LoginMethodType_SsoAccountAuthWithLau" +
|
||||
"ncher\020\002*\313\001\n\026LoginFailureReasonType\022\037\n\033Lo" +
|
||||
"ginFailureReasonType_None\020\000\022.\n*LoginFail" +
|
||||
"ureReasonType_ProcessingException\020\001\022/\n+L" +
|
||||
"oginFailureReasonType_AuthenticationFail" +
|
||||
"ed\020\002\022/\n+LoginFailureReasonType_UserValid" +
|
||||
"CheckFailed\020\003*\270\001\n\020LogoutReasonType\022\031\n\025Lo" +
|
||||
"goutReasonType_None\020\000\022\"\n\036LogoutReasonTyp" +
|
||||
"e_ExitToService\020\001\022 \n\034LogoutReasonType_En" +
|
||||
"terToGame\020\002\022\035\n\031LogoutReasonType_GoToGame" +
|
||||
"\020\003\022$\n LogoutReasonType_DuplicatedLogin\020\004" +
|
||||
"*\307\003\n\022AccountSactionType\022\033\n\027AccountSactio" +
|
||||
"nType_None\020\000\022!\n\035AccountSactionType_BadBh" +
|
||||
"avior\020\001\022*\n&AccountSactionType_Invappropr" +
|
||||
"ivateName\020\002\022&\n\"AccountSactionType_CashTr" +
|
||||
"ansaction\020\003\022\'\n#AccountSactionType_GameIn" +
|
||||
"terference\020\004\022*\n&AccountSactionType_Servi" +
|
||||
"ceInterference\020\005\022+\n\'AccountSactionType_A" +
|
||||
"ccountImpersonation\020\006\022\037\n\033AccountSactionT" +
|
||||
"ype_BugAbuse\020\007\022%\n!AccountSactionType_Ill" +
|
||||
"egalProgram\020\010\022(\n$AccountSactionType_Pers" +
|
||||
"onalInfo_Leak\020\t\022)\n%AccountSactionType_Ad" +
|
||||
"minImpersonation\020\n*w\n\016ServerMoveType\022\027\n\023" +
|
||||
"ServerMoveType_None\020\000\022\030\n\024ServerMoveType_" +
|
||||
"Force\020\001\022\027\n\023ServerMoveType_Auto\020\002\022\031\n\025Serv" +
|
||||
"erMoveType_Return\020\003*\336\001\n\017PlayerStateType\022" +
|
||||
"\030\n\024PlayerStateType_None\020\000\022\032\n\026PlayerState" +
|
||||
"Type_Online\020\001\022\031\n\025PlayerStateType_Sleep\020\002" +
|
||||
"\022\037\n\033PlayerStateType_DontDistrub\020\003\022\033\n\027Pla" +
|
||||
"yerStateType_Offline\020\004\022\033\n\027PlayerStateTyp" +
|
||||
"e_Dormant\020\005\022\037\n\033PlayerStateType_LeaveMemb" +
|
||||
"er\020\006*\200\001\n\017AmountDeltaType\022\030\n\024AmountDeltaT" +
|
||||
"ype_None\020\000\022\033\n\027AmountDeltaType_Acquire\020\001\022" +
|
||||
"\033\n\027AmountDeltaType_Consume\020\002\022\031\n\025AmountDe" +
|
||||
"ltaType_Merge\020\003*\257\001\n\016CountDeltaType\022\027\n\023Co" +
|
||||
"untDeltaType_None\020\000\022\026\n\022CountDeltaType_Ne" +
|
||||
"w\020\001\022\031\n\025CountDeltaType_Update\020\002\022\032\n\026CountD" +
|
||||
"eltaType_Acquire\020\003\022\032\n\026CountDeltaType_Con" +
|
||||
"sume\020\004\022\031\n\025CountDeltaType_Delete\020\005*\236\001\n\014Cu" +
|
||||
"rrencyType\022\025\n\021CurrencyType_None\020\000\022\025\n\021Cur" +
|
||||
"rencyType_Gold\020\001\022\031\n\025CurrencyType_Sapphir" +
|
||||
"e\020\002\022\027\n\023CurrencyType_Calium\020\003\022\025\n\021Currency" +
|
||||
"Type_Beam\020\004\022\025\n\021CurrencyType_Ruby\020\005*\304\002\n\022P" +
|
||||
"rogramVersionType\022\033\n\027ProgramVersionType_" +
|
||||
"None\020\000\022(\n$ProgramVersionType_MetaSchemaV" +
|
||||
"ersion\020\001\022&\n\"ProgramVersionType_MetaDataV" +
|
||||
"ersion\020\002\022&\n\"ProgramVersionType_DbSchemaV" +
|
||||
"ersion\020\003\022$\n ProgramVersionType_PacketVer" +
|
||||
"sion\020\004\022&\n\"ProgramVersionType_ResourceVer" +
|
||||
"sion\020\005\022$\n ProgramVersionType_ConfigVersi" +
|
||||
"on\020\006\022#\n\037ProgramVersionType_LogicVersion\020" +
|
||||
"\007*\216\004\n\025PartyMemberActionType\022\036\n\032PartyMemb" +
|
||||
"erActionType_None\020\000\022 \n\034PartyMemberAction" +
|
||||
"Type_Invite\020\001\022&\n\"PartyMemberActionType_I" +
|
||||
"nviteAccept\020\002\022&\n\"PartyMemberActionType_I" +
|
||||
"nviteReject\020\003\022 \n\034PartyMemberActionType_S" +
|
||||
"ummon\020\004\022&\n\"PartyMemberActionType_SummonA" +
|
||||
"ccept\020\005\022&\n\"PartyMemberActionType_SummonR" +
|
||||
"eject\020\006\022,\n(PartyMemberActionType_PartyIn" +
|
||||
"stance_Join\020\007\022-\n)PartyMemberActionType_P" +
|
||||
"artyInstance_Leave\020\010\022%\n!PartyMemberActio" +
|
||||
"nType_PartyLeader\020\t\022#\n\037PartyMemberAction" +
|
||||
"Type_JoinParty\020\n\022$\n PartyMemberActionTyp" +
|
||||
"e_LeaveParty\020\013\022\"\n\036PartyMemberActionType_" +
|
||||
"BanParty\020\014*\217\001\n\023UserBlockPolicyType\022\034\n\030Us" +
|
||||
"erBlockPolicyType_None\020\000\022+\n\'UserBlockPol" +
|
||||
"icyType_Access_Restrictions\020\001\022-\n)UserBlo" +
|
||||
"ckPolicyType_Chatting_Restrictions\020\002*\334\003\n" +
|
||||
"\023UserBlockReasonType\022\034\n\030UserBlockReasonT" +
|
||||
"ype_None\020\000\022$\n UserBlockReasonType_Bad_Be" +
|
||||
"havior\020\001\022*\n&UserBlockReasonType_Inapprop" +
|
||||
"riate_Name\020\002\022(\n$UserBlockReasonType_Cash" +
|
||||
"_Transaction\020\003\022)\n%UserBlockReasonType_Ga" +
|
||||
"me_Interference\020\004\022,\n(UserBlockReasonType" +
|
||||
"_Service_Interference\020\005\022-\n)UserBlockReas" +
|
||||
"onType_Account_Impersonation\020\006\022!\n\035UserBl" +
|
||||
"ockReasonType_Bug_Abuse\020\007\022\'\n#UserBlockRe" +
|
||||
"asonType_Illegal_Program\020\010\022*\n&UserBlockR" +
|
||||
"easonType_Personal_Info_Leak\020\t\022+\n\'UserBl" +
|
||||
"ockReasonType_Asmin_Impersonation\020\n*\224\001\n\026" +
|
||||
"EntityAlertTriggerType\022\037\n\033EntityAlertTri" +
|
||||
"ggerType_None\020\000\0222\n.EntityAlertTriggerTyp" +
|
||||
"e_ItemExpireWarningBefore\020\001\022%\n!EntityAle" +
|
||||
"rtTriggerType_ItemExpire\020\002*W\n\025EntityAler" +
|
||||
"tMethodType\022\036\n\032EntityAlertMethodType_Non" +
|
||||
"e\020\000\022\036\n\032EntityAlertMethodType_Mail\020\001*\327\001\n\017" +
|
||||
"MatchStatusType\022\030\n\024MatchStatusType_NONE\020" +
|
||||
"\000\022\034\n\030MatchStatusType_RESERVED\020\001\022\034\n\030Match" +
|
||||
"StatusType_PROGRESS\020\002\022\033\n\027MatchStatusType" +
|
||||
"_SUCCESS\020\003\022\032\n\026MatchStatusType_CANCEL\020\004\022\033" +
|
||||
"\n\027MatchStatusType_TIMEOUT\020\005\022\030\n\024MatchStat" +
|
||||
"usType_FAIL\020\006*i\n\017MatchCancelType\022\030\n\024Matc" +
|
||||
"hCancelType_NONE\020\000\022\032\n\026MatchCancelType_NO" +
|
||||
"RMAL\020\001\022 \n\034MatchCancelType_DISCONNECTED\020\002" +
|
||||
"*:\n\nBannerType\022\023\n\017BannerType_None\020\000\022\027\n\023B" +
|
||||
"annerType_MainMenu\020\001B/\n+com.caliverse.ad" +
|
||||
"min.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 =
|
||||
internal_static_ServerUrlWithLanguage_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
internal_static_ServerUrlWithLanguage_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ServerUrlWithLanguage_descriptor,
|
||||
new java.lang.String[] { "LangType", "TargetUrl", });
|
||||
internal_static_ServerUrl_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_ServerUrl_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ServerUrl_descriptor,
|
||||
new java.lang.String[] { "ServerUrlType", "TargetUrl", });
|
||||
new java.lang.String[] { "ServerUrlType", "ServerUrlWithLanguages", });
|
||||
internal_static_ChannelInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
getDescriptor().getMessageTypes().get(2);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(3);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(6);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(7);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(8);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(9);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(10);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(11);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(12);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(13);
|
||||
internal_static_StringProfile_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_StringProfile_descriptor,
|
||||
@@ -394,29 +470,47 @@ public final class DefineCommon {
|
||||
internal_static_StringProfile_StringProfileEntry_descriptor,
|
||||
new java.lang.String[] { "Key", "Value", });
|
||||
internal_static_UserLocationInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(13);
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(15);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(16);
|
||||
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);
|
||||
getDescriptor().getMessageTypes().get(17);
|
||||
internal_static_MoneyDeltaAmount_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MoneyDeltaAmount_descriptor,
|
||||
new java.lang.String[] { "DeltaType", "Amount", });
|
||||
internal_static_MatchUserInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(18);
|
||||
internal_static_MatchUserInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchUserInfo_descriptor,
|
||||
new java.lang.String[] { "UserGuid", "ServerName", "GameModeId", "MatchGroupId", "Region", "StartTime", "Status", });
|
||||
internal_static_MatchStatusInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(19);
|
||||
internal_static_MatchStatusInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchStatusInfo_descriptor,
|
||||
new java.lang.String[] { "Status", "MatchStep", "WaitTimeSec", "WaitTimeMaxSec", });
|
||||
internal_static_MatchRegionInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(20);
|
||||
internal_static_MatchRegionInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_MatchRegionInfo_descriptor,
|
||||
new java.lang.String[] { "Name", "TextStringMetaId", "PingUrl", });
|
||||
com.google.protobuf.TimestampProto.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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 GameModeDeadType}
|
||||
*/
|
||||
public enum GameModeDeadType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeDeadType_None = 0;</code>
|
||||
*/
|
||||
GameModeDeadType_None(0),
|
||||
/**
|
||||
* <code>GameModeDeadType_ByOthers = 1;</code>
|
||||
*/
|
||||
GameModeDeadType_ByOthers(1),
|
||||
/**
|
||||
* <code>GameModeDeadType_Fall = 2;</code>
|
||||
*/
|
||||
GameModeDeadType_Fall(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeDeadType_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeDeadType_ByOthers = 1;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_ByOthers_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeDeadType_Fall = 2;</code>
|
||||
*/
|
||||
public static final int GameModeDeadType_Fall_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 GameModeDeadType 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 GameModeDeadType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeDeadType_None;
|
||||
case 1: return GameModeDeadType_ByOthers;
|
||||
case 2: return GameModeDeadType_Fall;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeDeadType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeDeadType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeDeadType>() {
|
||||
public GameModeDeadType findValueByNumber(int number) {
|
||||
return GameModeDeadType.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(40);
|
||||
}
|
||||
|
||||
private static final GameModeDeadType[] VALUES = values();
|
||||
|
||||
public static GameModeDeadType 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 GameModeDeadType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeDeadType)
|
||||
}
|
||||
|
||||
@@ -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 GameModeKickReason}
|
||||
*/
|
||||
public enum GameModeKickReason
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeKickReason_None = 0;</code>
|
||||
*/
|
||||
GameModeKickReason_None(0),
|
||||
/**
|
||||
* <code>GameModeKickReason_LoadingTimeExpired = 1;</code>
|
||||
*/
|
||||
GameModeKickReason_LoadingTimeExpired(1),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeKickReason_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeKickReason_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeKickReason_LoadingTimeExpired = 1;</code>
|
||||
*/
|
||||
public static final int GameModeKickReason_LoadingTimeExpired_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 GameModeKickReason 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 GameModeKickReason forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeKickReason_None;
|
||||
case 1: return GameModeKickReason_LoadingTimeExpired;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeKickReason>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeKickReason> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeKickReason>() {
|
||||
public GameModeKickReason findValueByNumber(int number) {
|
||||
return GameModeKickReason.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(39);
|
||||
}
|
||||
|
||||
private static final GameModeKickReason[] VALUES = values();
|
||||
|
||||
public static GameModeKickReason 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 GameModeKickReason(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeKickReason)
|
||||
}
|
||||
|
||||
@@ -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 GameModeObjectInfo}
|
||||
*/
|
||||
public final class GameModeObjectInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeObjectInfo)
|
||||
GameModeObjectInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeObjectInfo.newBuilder() to construct.
|
||||
private GameModeObjectInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeObjectInfo() {
|
||||
anchorGuid_ = "";
|
||||
isActive_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeObjectInfo();
|
||||
}
|
||||
|
||||
@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_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.class, com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ANCHORGUID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object anchorGuid_ = "";
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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 ISACTIVE_FIELD_NUMBER = 2;
|
||||
private int isActive_ = 0;
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
@java.lang.Override public int getIsActiveValue() {
|
||||
return isActive_;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isActive_);
|
||||
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(anchorGuid_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, anchorGuid_);
|
||||
}
|
||||
if (isActive_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
|
||||
output.writeEnum(2, isActive_);
|
||||
}
|
||||
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 (isActive_ != com.caliverse.admin.domain.RabbitMq.message.BoolType.BoolType_None.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, 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.GameModeObjectInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo other = (com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo) obj;
|
||||
|
||||
if (!getAnchorGuid()
|
||||
.equals(other.getAnchorGuid())) return false;
|
||||
if (isActive_ != other.isActive_) 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) + ISACTIVE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + isActive_;
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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.GameModeObjectInfo 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 GameModeObjectInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeObjectInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.class, com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
anchorGuid_ = "";
|
||||
isActive_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeObjectInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result = new com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.anchorGuid_ = anchorGuid_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 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.GameModeObjectInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo.getDefaultInstance()) return this;
|
||||
if (!other.getAnchorGuid().isEmpty()) {
|
||||
anchorGuid_ = other.anchorGuid_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (other.isActive_ != 0) {
|
||||
setIsActiveValue(other.getIsActiveValue());
|
||||
}
|
||||
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: {
|
||||
isActive_ = 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 java.lang.Object anchorGuid_ = "";
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAnchorGuid() {
|
||||
anchorGuid_ = getDefaultInstance().getAnchorGuid();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @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 isActive_ = 0;
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
@java.lang.Override public int getIsActiveValue() {
|
||||
return isActive_;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @param value The enum numeric value on the wire for isActive to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsActiveValue(int value) {
|
||||
isActive_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType result = com.caliverse.admin.domain.RabbitMq.message.BoolType.forNumber(isActive_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.BoolType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @param value The isActive to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsActive(com.caliverse.admin.domain.RabbitMq.message.BoolType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
isActive_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsActive() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
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:GameModeObjectInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeObjectInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeObjectInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeObjectInfo>() {
|
||||
@java.lang.Override
|
||||
public GameModeObjectInfo 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<GameModeObjectInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeObjectInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeObjectInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 GameModeObjectInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeObjectInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The anchorGuid.
|
||||
*/
|
||||
java.lang.String getAnchorGuid();
|
||||
/**
|
||||
* <code>string anchorGuid = 1;</code>
|
||||
* @return The bytes for anchorGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getAnchorGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The enum numeric value on the wire for isActive.
|
||||
*/
|
||||
int getIsActiveValue();
|
||||
/**
|
||||
* <code>.BoolType isActive = 2;</code>
|
||||
* @return The isActive.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.BoolType getIsActive();
|
||||
}
|
||||
@@ -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 GameModePlayerState}
|
||||
*/
|
||||
public enum GameModePlayerState
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModePlayerState_None = 0;</code>
|
||||
*/
|
||||
GameModePlayerState_None(0),
|
||||
/**
|
||||
* <code>GameModePlayerState_Join = 1;</code>
|
||||
*/
|
||||
GameModePlayerState_Join(1),
|
||||
/**
|
||||
* <code>GameModePlayerState_LoadComplete = 2;</code>
|
||||
*/
|
||||
GameModePlayerState_LoadComplete(2),
|
||||
/**
|
||||
* <code>GameModePlayerState_Wait = 3;</code>
|
||||
*/
|
||||
GameModePlayerState_Wait(3),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModePlayerState_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModePlayerState_Join = 1;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_Join_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModePlayerState_LoadComplete = 2;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_LoadComplete_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModePlayerState_Wait = 3;</code>
|
||||
*/
|
||||
public static final int GameModePlayerState_Wait_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 GameModePlayerState 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 GameModePlayerState forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModePlayerState_None;
|
||||
case 1: return GameModePlayerState_Join;
|
||||
case 2: return GameModePlayerState_LoadComplete;
|
||||
case 3: return GameModePlayerState_Wait;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModePlayerState>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModePlayerState> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModePlayerState>() {
|
||||
public GameModePlayerState findValueByNumber(int number) {
|
||||
return GameModePlayerState.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(38);
|
||||
}
|
||||
|
||||
private static final GameModePlayerState[] VALUES = values();
|
||||
|
||||
public static GameModePlayerState 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 GameModePlayerState(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModePlayerState)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,819 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code GameModeRewardResult}
|
||||
*/
|
||||
public final class GameModeRewardResult extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeRewardResult)
|
||||
GameModeRewardResultOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeRewardResult.newBuilder() to construct.
|
||||
private GameModeRewardResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeRewardResult() {
|
||||
userGuid_ = "";
|
||||
rewardType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeRewardResult();
|
||||
}
|
||||
|
||||
@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_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
|
||||
}
|
||||
|
||||
public static final int USERGUID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object userGuid_ = "";
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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 REWARDTYPE_FIELD_NUMBER = 2;
|
||||
private int rewardType_ = 0;
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
@java.lang.Override public int getRewardTypeValue() {
|
||||
return rewardType_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int COMMONRESULT_FIELD_NUMBER = 3;
|
||||
private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasCommonResult() {
|
||||
return commonResult_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
|
||||
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 (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
|
||||
output.writeEnum(2, rewardType_);
|
||||
}
|
||||
if (commonResult_ != null) {
|
||||
output.writeMessage(3, getCommonResult());
|
||||
}
|
||||
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 (rewardType_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.GameModeRewardType_None.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, rewardType_);
|
||||
}
|
||||
if (commonResult_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, getCommonResult());
|
||||
}
|
||||
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.GameModeRewardResult)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other = (com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult) obj;
|
||||
|
||||
if (!getUserGuid()
|
||||
.equals(other.getUserGuid())) return false;
|
||||
if (rewardType_ != other.rewardType_) return false;
|
||||
if (hasCommonResult() != other.hasCommonResult()) return false;
|
||||
if (hasCommonResult()) {
|
||||
if (!getCommonResult()
|
||||
.equals(other.getCommonResult())) 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) + REWARDTYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + rewardType_;
|
||||
if (hasCommonResult()) {
|
||||
hash = (37 * hash) + COMMONRESULT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCommonResult().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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.GameModeRewardResult 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 GameModeRewardResult}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeRewardResult)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
userGuid_ = "";
|
||||
rewardType_ = 0;
|
||||
commonResult_ = null;
|
||||
if (commonResultBuilder_ != null) {
|
||||
commonResultBuilder_.dispose();
|
||||
commonResultBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResult_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.userGuid_ = userGuid_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.rewardType_ = rewardType_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.commonResult_ = commonResultBuilder_ == null
|
||||
? commonResult_
|
||||
: commonResultBuilder_.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.GameModeRewardResult) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance()) return this;
|
||||
if (!other.getUserGuid().isEmpty()) {
|
||||
userGuid_ = other.userGuid_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (other.rewardType_ != 0) {
|
||||
setRewardTypeValue(other.getRewardTypeValue());
|
||||
}
|
||||
if (other.hasCommonResult()) {
|
||||
mergeCommonResult(other.getCommonResult());
|
||||
}
|
||||
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: {
|
||||
rewardType_ = input.readEnum();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 16
|
||||
case 26: {
|
||||
input.readMessage(
|
||||
getCommonResultFieldBuilder().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 userGuid_ = "";
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUserGuid() {
|
||||
userGuid_ = getDefaultInstance().getUserGuid();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @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 rewardType_ = 0;
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
@java.lang.Override public int getRewardTypeValue() {
|
||||
return rewardType_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @param value The enum numeric value on the wire for rewardType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRewardTypeValue(int value) {
|
||||
rewardType_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType result = com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.forNumber(rewardType_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @param value The rewardType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRewardType(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
rewardType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRewardType() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
rewardType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.caliverse.admin.domain.RabbitMq.message.CommonResult commonResult_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder> commonResultBuilder_;
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
public boolean hasCommonResult() {
|
||||
return ((bitField0_ & 0x00000004) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult() {
|
||||
if (commonResultBuilder_ == null) {
|
||||
return commonResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
} else {
|
||||
return commonResultBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder setCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
commonResult_ = value;
|
||||
} else {
|
||||
commonResultBuilder_.setMessage(value);
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder setCommonResult(
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder builderForValue) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
commonResult_ = builderForValue.build();
|
||||
} else {
|
||||
commonResultBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder mergeCommonResult(com.caliverse.admin.domain.RabbitMq.message.CommonResult value) {
|
||||
if (commonResultBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000004) != 0) &&
|
||||
commonResult_ != null &&
|
||||
commonResult_ != com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance()) {
|
||||
getCommonResultBuilder().mergeFrom(value);
|
||||
} else {
|
||||
commonResult_ = value;
|
||||
}
|
||||
} else {
|
||||
commonResultBuilder_.mergeFrom(value);
|
||||
}
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public Builder clearCommonResult() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
commonResult_ = null;
|
||||
if (commonResultBuilder_ != null) {
|
||||
commonResultBuilder_.dispose();
|
||||
commonResultBuilder_ = null;
|
||||
}
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder getCommonResultBuilder() {
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return getCommonResultFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder() {
|
||||
if (commonResultBuilder_ != null) {
|
||||
return commonResultBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return commonResult_ == null ?
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult.getDefaultInstance() : commonResult_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder>
|
||||
getCommonResultFieldBuilder() {
|
||||
if (commonResultBuilder_ == null) {
|
||||
commonResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult, com.caliverse.admin.domain.RabbitMq.message.CommonResult.Builder, com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder>(
|
||||
getCommonResult(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
commonResult_ = null;
|
||||
}
|
||||
return commonResultBuilder_;
|
||||
}
|
||||
@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:GameModeRewardResult)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeRewardResult)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeRewardResult>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeRewardResult>() {
|
||||
@java.lang.Override
|
||||
public GameModeRewardResult 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<GameModeRewardResult> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeRewardResult> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface GameModeRewardResultOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeRewardResult)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
java.lang.String getUserGuid();
|
||||
/**
|
||||
* <code>string UserGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The enum numeric value on the wire for rewardType.
|
||||
*/
|
||||
int getRewardTypeValue();
|
||||
/**
|
||||
* <code>.GameModeRewardType RewardType = 2;</code>
|
||||
* @return The rewardType.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardType getRewardType();
|
||||
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return Whether the commonResult field is set.
|
||||
*/
|
||||
boolean hasCommonResult();
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
* @return The commonResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResult getCommonResult();
|
||||
/**
|
||||
* <code>.CommonResult CommonResult = 3;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.CommonResultOrBuilder getCommonResultOrBuilder();
|
||||
}
|
||||
@@ -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 GameModeRewardResultWithRank}
|
||||
*/
|
||||
public final class GameModeRewardResultWithRank extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:GameModeRewardResultWithRank)
|
||||
GameModeRewardResultWithRankOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use GameModeRewardResultWithRank.newBuilder() to construct.
|
||||
private GameModeRewardResultWithRank(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private GameModeRewardResultWithRank() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new GameModeRewardResultWithRank();
|
||||
}
|
||||
|
||||
@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_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RANK_FIELD_NUMBER = 1;
|
||||
private int rank_ = 0;
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRank() {
|
||||
return rank_;
|
||||
}
|
||||
|
||||
public static final int REWARDRESULT_FIELD_NUMBER = 2;
|
||||
private com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult rewardResult_;
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasRewardResult() {
|
||||
return rewardResult_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult() {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder() {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
|
||||
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 (rewardResult_ != null) {
|
||||
output.writeMessage(2, getRewardResult());
|
||||
}
|
||||
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 (rewardResult_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, getRewardResult());
|
||||
}
|
||||
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.GameModeRewardResultWithRank)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank other = (com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank) obj;
|
||||
|
||||
if (getRank()
|
||||
!= other.getRank()) return false;
|
||||
if (hasRewardResult() != other.hasRewardResult()) return false;
|
||||
if (hasRewardResult()) {
|
||||
if (!getRewardResult()
|
||||
.equals(other.getRewardResult())) 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();
|
||||
if (hasRewardResult()) {
|
||||
hash = (37 * hash) + REWARDRESULT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRewardResult().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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.GameModeRewardResultWithRank 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 GameModeRewardResultWithRank}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:GameModeRewardResultWithRank)
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRankOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.class, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.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;
|
||||
rewardResult_ = null;
|
||||
if (rewardResultBuilder_ != null) {
|
||||
rewardResultBuilder_.dispose();
|
||||
rewardResultBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_GameModeRewardResultWithRank_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.rank_ = rank_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.rewardResult_ = rewardResultBuilder_ == null
|
||||
? rewardResult_
|
||||
: rewardResultBuilder_.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.GameModeRewardResultWithRank) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank.getDefaultInstance()) return this;
|
||||
if (other.getRank() != 0) {
|
||||
setRank(other.getRank());
|
||||
}
|
||||
if (other.hasRewardResult()) {
|
||||
mergeRewardResult(other.getRewardResult());
|
||||
}
|
||||
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: {
|
||||
input.readMessage(
|
||||
getRewardResultFieldBuilder().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 rank_ ;
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRank() {
|
||||
return rank_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @param value The rank to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRank(int value) {
|
||||
|
||||
rank_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRank() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
rank_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult rewardResult_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder> rewardResultBuilder_;
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
public boolean hasRewardResult() {
|
||||
return ((bitField0_ & 0x00000002) != 0);
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult() {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
return rewardResult_ == null ? com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
} else {
|
||||
return rewardResultBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder setRewardResult(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult value) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
rewardResult_ = value;
|
||||
} else {
|
||||
rewardResultBuilder_.setMessage(value);
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder setRewardResult(
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder builderForValue) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
rewardResult_ = builderForValue.build();
|
||||
} else {
|
||||
rewardResultBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder mergeRewardResult(com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult value) {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0) &&
|
||||
rewardResult_ != null &&
|
||||
rewardResult_ != com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance()) {
|
||||
getRewardResultBuilder().mergeFrom(value);
|
||||
} else {
|
||||
rewardResult_ = value;
|
||||
}
|
||||
} else {
|
||||
rewardResultBuilder_.mergeFrom(value);
|
||||
}
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public Builder clearRewardResult() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
rewardResult_ = null;
|
||||
if (rewardResultBuilder_ != null) {
|
||||
rewardResultBuilder_.dispose();
|
||||
rewardResultBuilder_ = null;
|
||||
}
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder getRewardResultBuilder() {
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return getRewardResultFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder() {
|
||||
if (rewardResultBuilder_ != null) {
|
||||
return rewardResultBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return rewardResult_ == null ?
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.getDefaultInstance() : rewardResult_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder>
|
||||
getRewardResultFieldBuilder() {
|
||||
if (rewardResultBuilder_ == null) {
|
||||
rewardResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult.Builder, com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder>(
|
||||
getRewardResult(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
rewardResult_ = null;
|
||||
}
|
||||
return rewardResultBuilder_;
|
||||
}
|
||||
@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:GameModeRewardResultWithRank)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:GameModeRewardResultWithRank)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<GameModeRewardResultWithRank>
|
||||
PARSER = new com.google.protobuf.AbstractParser<GameModeRewardResultWithRank>() {
|
||||
@java.lang.Override
|
||||
public GameModeRewardResultWithRank 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<GameModeRewardResultWithRank> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GameModeRewardResultWithRank> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultWithRank getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 GameModeRewardResultWithRankOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:GameModeRewardResultWithRank)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 rank = 1;</code>
|
||||
* @return The rank.
|
||||
*/
|
||||
int getRank();
|
||||
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return Whether the rewardResult field is set.
|
||||
*/
|
||||
boolean hasRewardResult();
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
* @return The rewardResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResult getRewardResult();
|
||||
/**
|
||||
* <code>.GameModeRewardResult rewardResult = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.GameModeRewardResultOrBuilder getRewardResultOrBuilder();
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeRewardType}
|
||||
*/
|
||||
public enum GameModeRewardType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeRewardType_None = 0;</code>
|
||||
*/
|
||||
GameModeRewardType_None(0),
|
||||
/**
|
||||
* <code>GameModeRewardType_GetPickUpPod = 1;</code>
|
||||
*/
|
||||
GameModeRewardType_GetPickUpPod(1),
|
||||
/**
|
||||
* <code>GameModeRewardType_ObtainedByOwningForTime = 2;</code>
|
||||
*/
|
||||
GameModeRewardType_ObtainedByOwningForTime(2),
|
||||
/**
|
||||
* <code>GameModeRewardType_FinishRankReward = 3;</code>
|
||||
*/
|
||||
GameModeRewardType_FinishRankReward(3),
|
||||
/**
|
||||
* <code>GameModeRewardType_MinRespawnBonusReward = 4;</code>
|
||||
*/
|
||||
GameModeRewardType_MinRespawnBonusReward(4),
|
||||
/**
|
||||
* <code>GameModeRewardType_UnfinishRankReward = 5;</code>
|
||||
*/
|
||||
GameModeRewardType_UnfinishRankReward(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeRewardType_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeRewardType_GetPickUpPod = 1;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_GetPickUpPod_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeRewardType_ObtainedByOwningForTime = 2;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_ObtainedByOwningForTime_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModeRewardType_FinishRankReward = 3;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_FinishRankReward_VALUE = 3;
|
||||
/**
|
||||
* <code>GameModeRewardType_MinRespawnBonusReward = 4;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_MinRespawnBonusReward_VALUE = 4;
|
||||
/**
|
||||
* <code>GameModeRewardType_UnfinishRankReward = 5;</code>
|
||||
*/
|
||||
public static final int GameModeRewardType_UnfinishRankReward_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 GameModeRewardType 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 GameModeRewardType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeRewardType_None;
|
||||
case 1: return GameModeRewardType_GetPickUpPod;
|
||||
case 2: return GameModeRewardType_ObtainedByOwningForTime;
|
||||
case 3: return GameModeRewardType_FinishRankReward;
|
||||
case 4: return GameModeRewardType_MinRespawnBonusReward;
|
||||
case 5: return GameModeRewardType_UnfinishRankReward;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeRewardType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeRewardType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeRewardType>() {
|
||||
public GameModeRewardType findValueByNumber(int number) {
|
||||
return GameModeRewardType.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(41);
|
||||
}
|
||||
|
||||
private static final GameModeRewardType[] VALUES = values();
|
||||
|
||||
public static GameModeRewardType 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 GameModeRewardType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeRewardType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code GameModeState}
|
||||
*/
|
||||
public enum GameModeState
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>GameModeState_None = 0;</code>
|
||||
*/
|
||||
GameModeState_None(0),
|
||||
/**
|
||||
* <code>GameModeState_Loading = 1;</code>
|
||||
*/
|
||||
GameModeState_Loading(1),
|
||||
/**
|
||||
* <code>GameModeState_Created = 2;</code>
|
||||
*/
|
||||
GameModeState_Created(2),
|
||||
/**
|
||||
* <code>GameModeState_Destroyed = 3;</code>
|
||||
*/
|
||||
GameModeState_Destroyed(3),
|
||||
/**
|
||||
* <code>GameModeState_Wait = 11;</code>
|
||||
*/
|
||||
GameModeState_Wait(11),
|
||||
/**
|
||||
* <code>GameModeState_Ready = 12;</code>
|
||||
*/
|
||||
GameModeState_Ready(12),
|
||||
/**
|
||||
* <code>GameModeState_Play = 13;</code>
|
||||
*/
|
||||
GameModeState_Play(13),
|
||||
/**
|
||||
* <code>GameModeState_Result = 14;</code>
|
||||
*/
|
||||
GameModeState_Result(14),
|
||||
/**
|
||||
* <code>GameModeState_RewardSummary = 15;</code>
|
||||
*/
|
||||
GameModeState_RewardSummary(15),
|
||||
/**
|
||||
* <code>GameModeState_End = 16;</code>
|
||||
*/
|
||||
GameModeState_End(16),
|
||||
/**
|
||||
* <pre>
|
||||
*TPS FFA <20><><EFBFBD><EFBFBD> FFA<46><41><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* </pre>
|
||||
*
|
||||
* <code>GameModeState_Rounding = 31;</code>
|
||||
*/
|
||||
GameModeState_Rounding(31),
|
||||
/**
|
||||
* <code>GameModeState_RoundWait = 32;</code>
|
||||
*/
|
||||
GameModeState_RoundWait(32),
|
||||
/**
|
||||
* <code>GameModeState_RoundEndAll = 33;</code>
|
||||
*/
|
||||
GameModeState_RoundEndAll(33),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>GameModeState_None = 0;</code>
|
||||
*/
|
||||
public static final int GameModeState_None_VALUE = 0;
|
||||
/**
|
||||
* <code>GameModeState_Loading = 1;</code>
|
||||
*/
|
||||
public static final int GameModeState_Loading_VALUE = 1;
|
||||
/**
|
||||
* <code>GameModeState_Created = 2;</code>
|
||||
*/
|
||||
public static final int GameModeState_Created_VALUE = 2;
|
||||
/**
|
||||
* <code>GameModeState_Destroyed = 3;</code>
|
||||
*/
|
||||
public static final int GameModeState_Destroyed_VALUE = 3;
|
||||
/**
|
||||
* <code>GameModeState_Wait = 11;</code>
|
||||
*/
|
||||
public static final int GameModeState_Wait_VALUE = 11;
|
||||
/**
|
||||
* <code>GameModeState_Ready = 12;</code>
|
||||
*/
|
||||
public static final int GameModeState_Ready_VALUE = 12;
|
||||
/**
|
||||
* <code>GameModeState_Play = 13;</code>
|
||||
*/
|
||||
public static final int GameModeState_Play_VALUE = 13;
|
||||
/**
|
||||
* <code>GameModeState_Result = 14;</code>
|
||||
*/
|
||||
public static final int GameModeState_Result_VALUE = 14;
|
||||
/**
|
||||
* <code>GameModeState_RewardSummary = 15;</code>
|
||||
*/
|
||||
public static final int GameModeState_RewardSummary_VALUE = 15;
|
||||
/**
|
||||
* <code>GameModeState_End = 16;</code>
|
||||
*/
|
||||
public static final int GameModeState_End_VALUE = 16;
|
||||
/**
|
||||
* <pre>
|
||||
*TPS FFA <20><><EFBFBD><EFBFBD> FFA<46><41><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
* </pre>
|
||||
*
|
||||
* <code>GameModeState_Rounding = 31;</code>
|
||||
*/
|
||||
public static final int GameModeState_Rounding_VALUE = 31;
|
||||
/**
|
||||
* <code>GameModeState_RoundWait = 32;</code>
|
||||
*/
|
||||
public static final int GameModeState_RoundWait_VALUE = 32;
|
||||
/**
|
||||
* <code>GameModeState_RoundEndAll = 33;</code>
|
||||
*/
|
||||
public static final int GameModeState_RoundEndAll_VALUE = 33;
|
||||
|
||||
|
||||
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 GameModeState 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 GameModeState forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return GameModeState_None;
|
||||
case 1: return GameModeState_Loading;
|
||||
case 2: return GameModeState_Created;
|
||||
case 3: return GameModeState_Destroyed;
|
||||
case 11: return GameModeState_Wait;
|
||||
case 12: return GameModeState_Ready;
|
||||
case 13: return GameModeState_Play;
|
||||
case 14: return GameModeState_Result;
|
||||
case 15: return GameModeState_RewardSummary;
|
||||
case 16: return GameModeState_End;
|
||||
case 31: return GameModeState_Rounding;
|
||||
case 32: return GameModeState_RoundWait;
|
||||
case 33: return GameModeState_RoundEndAll;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GameModeState>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GameModeState> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GameModeState>() {
|
||||
public GameModeState findValueByNumber(int number) {
|
||||
return GameModeState.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(37);
|
||||
}
|
||||
|
||||
private static final GameModeState[] VALUES = values();
|
||||
|
||||
public static GameModeState 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 GameModeState(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GameModeState)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 취소 타입
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf enum {@code MatchCancelType}
|
||||
*/
|
||||
public enum MatchCancelType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchCancelType_NONE = 0;</code>
|
||||
*/
|
||||
MatchCancelType_NONE(0),
|
||||
/**
|
||||
* <code>MatchCancelType_NORMAL = 1;</code>
|
||||
*/
|
||||
MatchCancelType_NORMAL(1),
|
||||
/**
|
||||
* <code>MatchCancelType_DISCONNECTED = 2;</code>
|
||||
*/
|
||||
MatchCancelType_DISCONNECTED(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchCancelType_NONE = 0;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>MatchCancelType_NORMAL = 1;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_NORMAL_VALUE = 1;
|
||||
/**
|
||||
* <code>MatchCancelType_DISCONNECTED = 2;</code>
|
||||
*/
|
||||
public static final int MatchCancelType_DISCONNECTED_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 MatchCancelType 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 MatchCancelType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchCancelType_NONE;
|
||||
case 1: return MatchCancelType_NORMAL;
|
||||
case 2: return MatchCancelType_DISCONNECTED;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchCancelType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchCancelType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchCancelType>() {
|
||||
public MatchCancelType findValueByNumber(int number) {
|
||||
return MatchCancelType.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(34);
|
||||
}
|
||||
|
||||
private static final MatchCancelType[] VALUES = values();
|
||||
|
||||
public static MatchCancelType 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 MatchCancelType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchCancelType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,149 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf enum {@code MatchGameStateType}
|
||||
*/
|
||||
public enum MatchGameStateType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchGameStateType_None = 0;</code>
|
||||
*/
|
||||
MatchGameStateType_None(0),
|
||||
/**
|
||||
* <code>MatchGameStateType_Idle = 1;</code>
|
||||
*/
|
||||
MatchGameStateType_Idle(1),
|
||||
/**
|
||||
* <code>MatchGameStateType_Ready = 2;</code>
|
||||
*/
|
||||
MatchGameStateType_Ready(2),
|
||||
/**
|
||||
* <code>MatchGameStateType_Start = 3;</code>
|
||||
*/
|
||||
MatchGameStateType_Start(3),
|
||||
/**
|
||||
* <code>MatchGameStateType_Finish = 4;</code>
|
||||
*/
|
||||
MatchGameStateType_Finish(4),
|
||||
/**
|
||||
* <code>MatchGameStateType_Destroy = 5;</code>
|
||||
*/
|
||||
MatchGameStateType_Destroy(5),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchGameStateType_None = 0;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>MatchGameStateType_Idle = 1;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Idle_VALUE = 1;
|
||||
/**
|
||||
* <code>MatchGameStateType_Ready = 2;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Ready_VALUE = 2;
|
||||
/**
|
||||
* <code>MatchGameStateType_Start = 3;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Start_VALUE = 3;
|
||||
/**
|
||||
* <code>MatchGameStateType_Finish = 4;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Finish_VALUE = 4;
|
||||
/**
|
||||
* <code>MatchGameStateType_Destroy = 5;</code>
|
||||
*/
|
||||
public static final int MatchGameStateType_Destroy_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 MatchGameStateType 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 MatchGameStateType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchGameStateType_None;
|
||||
case 1: return MatchGameStateType_Idle;
|
||||
case 2: return MatchGameStateType_Ready;
|
||||
case 3: return MatchGameStateType_Start;
|
||||
case 4: return MatchGameStateType_Finish;
|
||||
case 5: return MatchGameStateType_Destroy;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchGameStateType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchGameStateType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchGameStateType>() {
|
||||
public MatchGameStateType findValueByNumber(int number) {
|
||||
return MatchGameStateType.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(42);
|
||||
}
|
||||
|
||||
private static final MatchGameStateType[] VALUES = values();
|
||||
|
||||
public static MatchGameStateType 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 MatchGameStateType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchGameStateType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,824 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 리전 핑 체크를 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchRegionInfo}
|
||||
*/
|
||||
public final class MatchRegionInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchRegionInfo)
|
||||
MatchRegionInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchRegionInfo.newBuilder() to construct.
|
||||
private MatchRegionInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchRegionInfo() {
|
||||
name_ = "";
|
||||
textStringMetaId_ = "";
|
||||
pingUrl_ = "";
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchRegionInfo();
|
||||
}
|
||||
|
||||
@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_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object name_ = "";
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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 TEXTSTRINGMETAID_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object textStringMetaId_ = "";
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getTextStringMetaId() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
textStringMetaId_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
textStringMetaId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int PINGURL_FIELD_NUMBER = 3;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object pingUrl_ = "";
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getPingUrl() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
pingUrl_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getPingUrlBytes() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
pingUrl_ = 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(name_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textStringMetaId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, textStringMetaId_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pingUrl_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pingUrl_);
|
||||
}
|
||||
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(textStringMetaId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, textStringMetaId_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pingUrl_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pingUrl_);
|
||||
}
|
||||
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.MatchRegionInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo) obj;
|
||||
|
||||
if (!getName()
|
||||
.equals(other.getName())) return false;
|
||||
if (!getTextStringMetaId()
|
||||
.equals(other.getTextStringMetaId())) return false;
|
||||
if (!getPingUrl()
|
||||
.equals(other.getPingUrl())) 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) + TEXTSTRINGMETAID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTextStringMetaId().hashCode();
|
||||
hash = (37 * hash) + PINGURL_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getPingUrl().hashCode();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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.MatchRegionInfo 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 리전 핑 체크를 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchRegionInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchRegionInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
name_ = "";
|
||||
textStringMetaId_ = "";
|
||||
pingUrl_ = "";
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchRegionInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.name_ = name_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.textStringMetaId_ = textStringMetaId_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.pingUrl_ = pingUrl_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchRegionInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo.getDefaultInstance()) return this;
|
||||
if (!other.getName().isEmpty()) {
|
||||
name_ = other.name_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.getTextStringMetaId().isEmpty()) {
|
||||
textStringMetaId_ = other.textStringMetaId_;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.getPingUrl().isEmpty()) {
|
||||
pingUrl_ = other.pingUrl_;
|
||||
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: {
|
||||
name_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
textStringMetaId_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 18
|
||||
case 26: {
|
||||
pingUrl_ = 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 name_ = "";
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = getDefaultInstance().getName();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @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 textStringMetaId_ = "";
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
public java.lang.String getTextStringMetaId() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
textStringMetaId_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes() {
|
||||
java.lang.Object ref = textStringMetaId_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
textStringMetaId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @param value The textStringMetaId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextStringMetaId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
textStringMetaId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTextStringMetaId() {
|
||||
textStringMetaId_ = getDefaultInstance().getTextStringMetaId();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @param value The bytes for textStringMetaId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTextStringMetaIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
textStringMetaId_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object pingUrl_ = "";
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
public java.lang.String getPingUrl() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
pingUrl_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getPingUrlBytes() {
|
||||
java.lang.Object ref = pingUrl_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
pingUrl_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @param value The pingUrl to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setPingUrl(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
pingUrl_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPingUrl() {
|
||||
pingUrl_ = getDefaultInstance().getPingUrl();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @param value The bytes for pingUrl to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setPingUrlBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
pingUrl_ = 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:MatchRegionInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchRegionInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchRegionInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchRegionInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchRegionInfo 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<MatchRegionInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchRegionInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRegionInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchRegionInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchRegionInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The name.
|
||||
*/
|
||||
java.lang.String getName();
|
||||
/**
|
||||
* <code>string Name = 1;</code>
|
||||
* @return The bytes for name.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getNameBytes();
|
||||
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The textStringMetaId.
|
||||
*/
|
||||
java.lang.String getTextStringMetaId();
|
||||
/**
|
||||
* <code>string TextStringMetaId = 2;</code>
|
||||
* @return The bytes for textStringMetaId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getTextStringMetaIdBytes();
|
||||
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The pingUrl.
|
||||
*/
|
||||
java.lang.String getPingUrl();
|
||||
/**
|
||||
* <code>string PingUrl = 3;</code>
|
||||
* @return The bytes for pingUrl.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getPingUrlBytes();
|
||||
}
|
||||
@@ -0,0 +1,898 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code MatchRoomInfo}
|
||||
*/
|
||||
public final class MatchRoomInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchRoomInfo)
|
||||
MatchRoomInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchRoomInfo.newBuilder() to construct.
|
||||
private MatchRoomInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchRoomInfo() {
|
||||
roomId_ = "";
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchRoomInfo();
|
||||
}
|
||||
|
||||
@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_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ROOMID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object roomId_ = "";
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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 TEAMS_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> teams_;
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> getTeamsList() {
|
||||
return teams_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList() {
|
||||
return teams_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTeamsCount() {
|
||||
return teams_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index) {
|
||||
return teams_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index) {
|
||||
return teams_.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(roomId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roomId_);
|
||||
}
|
||||
for (int i = 0; i < teams_.size(); i++) {
|
||||
output.writeMessage(2, teams_.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(roomId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, roomId_);
|
||||
}
|
||||
for (int i = 0; i < teams_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, teams_.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.MatchRoomInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo) obj;
|
||||
|
||||
if (!getRoomId()
|
||||
.equals(other.getRoomId())) return false;
|
||||
if (!getTeamsList()
|
||||
.equals(other.getTeamsList())) 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();
|
||||
if (getTeamsCount() > 0) {
|
||||
hash = (37 * hash) + TEAMS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTeamsList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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.MatchRoomInfo 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 MatchRoomInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchRoomInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchRoomInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
roomId_ = "";
|
||||
if (teamsBuilder_ == null) {
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
} else {
|
||||
teams_ = null;
|
||||
teamsBuilder_.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_MatchRoomInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo(this);
|
||||
buildPartialRepeatedFields(result);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
teams_ = java.util.Collections.unmodifiableList(teams_);
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.teams_ = teams_;
|
||||
} else {
|
||||
result.teams_ = teamsBuilder_.build();
|
||||
}
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.roomId_ = roomId_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchRoomInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo.getDefaultInstance()) return this;
|
||||
if (!other.getRoomId().isEmpty()) {
|
||||
roomId_ = other.roomId_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (teamsBuilder_ == null) {
|
||||
if (!other.teams_.isEmpty()) {
|
||||
if (teams_.isEmpty()) {
|
||||
teams_ = other.teams_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.addAll(other.teams_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.teams_.isEmpty()) {
|
||||
if (teamsBuilder_.isEmpty()) {
|
||||
teamsBuilder_.dispose();
|
||||
teamsBuilder_ = null;
|
||||
teams_ = other.teams_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
teamsBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getTeamsFieldBuilder() : null;
|
||||
} else {
|
||||
teamsBuilder_.addAllMessages(other.teams_);
|
||||
}
|
||||
}
|
||||
}
|
||||
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: {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo m =
|
||||
input.readMessage(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.parser(),
|
||||
extensionRegistry);
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(m);
|
||||
} else {
|
||||
teamsBuilder_.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 roomId_ = "";
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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;
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRoomId() {
|
||||
roomId_ = getDefaultInstance().getRoomId();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @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.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> teams_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureTeamsIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
teams_ = new java.util.ArrayList<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo>(teams_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder> teamsBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> getTeamsList() {
|
||||
if (teamsBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(teams_);
|
||||
} else {
|
||||
return teamsBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public int getTeamsCount() {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.size();
|
||||
} else {
|
||||
return teamsBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.get(index);
|
||||
} else {
|
||||
return teamsBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder setTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder setTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo value) {
|
||||
if (teamsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addTeams(
|
||||
int index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder builderForValue) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder addAllTeams(
|
||||
java.lang.Iterable<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo> values) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, teams_);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder clearTeams() {
|
||||
if (teamsBuilder_ == null) {
|
||||
teams_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public Builder removeTeams(int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
ensureTeamsIsMutable();
|
||||
teams_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
teamsBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder getTeamsBuilder(
|
||||
int index) {
|
||||
return getTeamsFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index) {
|
||||
if (teamsBuilder_ == null) {
|
||||
return teams_.get(index); } else {
|
||||
return teamsBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList() {
|
||||
if (teamsBuilder_ != null) {
|
||||
return teamsBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(teams_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder addTeamsBuilder() {
|
||||
return getTeamsFieldBuilder().addBuilder(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder addTeamsBuilder(
|
||||
int index) {
|
||||
return getTeamsFieldBuilder().addBuilder(
|
||||
index, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
public java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder>
|
||||
getTeamsBuilderList() {
|
||||
return getTeamsFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsFieldBuilder() {
|
||||
if (teamsBuilder_ == null) {
|
||||
teamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>(
|
||||
teams_,
|
||||
((bitField0_ & 0x00000002) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
teams_ = null;
|
||||
}
|
||||
return teamsBuilder_;
|
||||
}
|
||||
@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:MatchRoomInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchRoomInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchRoomInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchRoomInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchRoomInfo 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<MatchRoomInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchRoomInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchRoomInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 MatchRoomInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchRoomInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The roomId.
|
||||
*/
|
||||
java.lang.String getRoomId();
|
||||
/**
|
||||
* <code>string RoomId = 1;</code>
|
||||
* @return The bytes for roomId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getRoomIdBytes();
|
||||
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
java.util.List<com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo>
|
||||
getTeamsList();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getTeams(int index);
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
int getTeamsCount();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
java.util.List<? extends com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder>
|
||||
getTeamsOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .MatchTeamInfo Teams = 2;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder getTeamsOrBuilder(
|
||||
int index);
|
||||
}
|
||||
@@ -0,0 +1,777 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 게엄 매칭 상태 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchStatusInfo}
|
||||
*/
|
||||
public final class MatchStatusInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchStatusInfo)
|
||||
MatchStatusInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchStatusInfo.newBuilder() to construct.
|
||||
private MatchStatusInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchStatusInfo() {
|
||||
status_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchStatusInfo();
|
||||
}
|
||||
|
||||
@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_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int STATUS_FIELD_NUMBER = 1;
|
||||
private int status_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
@java.lang.Override public int getStatusValue() {
|
||||
return status_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
@java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType result = com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.forNumber(status_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int MATCHSTEP_FIELD_NUMBER = 2;
|
||||
private int matchStep_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMatchStep() {
|
||||
return matchStep_;
|
||||
}
|
||||
|
||||
public static final int WAITTIMESEC_FIELD_NUMBER = 3;
|
||||
private int waitTimeSec_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeSec() {
|
||||
return waitTimeSec_;
|
||||
}
|
||||
|
||||
public static final int WAITTIMEMAXSEC_FIELD_NUMBER = 4;
|
||||
private int waitTimeMaxSec_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeMaxSec() {
|
||||
return waitTimeMaxSec_;
|
||||
}
|
||||
|
||||
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 (status_ != com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.MatchStatusType_NONE.getNumber()) {
|
||||
output.writeEnum(1, status_);
|
||||
}
|
||||
if (matchStep_ != 0) {
|
||||
output.writeInt32(2, matchStep_);
|
||||
}
|
||||
if (waitTimeSec_ != 0) {
|
||||
output.writeInt32(3, waitTimeSec_);
|
||||
}
|
||||
if (waitTimeMaxSec_ != 0) {
|
||||
output.writeInt32(4, waitTimeMaxSec_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (status_ != com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.MatchStatusType_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(1, status_);
|
||||
}
|
||||
if (matchStep_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, matchStep_);
|
||||
}
|
||||
if (waitTimeSec_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(3, waitTimeSec_);
|
||||
}
|
||||
if (waitTimeMaxSec_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(4, waitTimeMaxSec_);
|
||||
}
|
||||
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.MatchStatusInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo) obj;
|
||||
|
||||
if (status_ != other.status_) return false;
|
||||
if (getMatchStep()
|
||||
!= other.getMatchStep()) return false;
|
||||
if (getWaitTimeSec()
|
||||
!= other.getWaitTimeSec()) return false;
|
||||
if (getWaitTimeMaxSec()
|
||||
!= other.getWaitTimeMaxSec()) 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) + STATUS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + status_;
|
||||
hash = (37 * hash) + MATCHSTEP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMatchStep();
|
||||
hash = (37 * hash) + WAITTIMESEC_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWaitTimeSec();
|
||||
hash = (37 * hash) + WAITTIMEMAXSEC_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWaitTimeMaxSec();
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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.MatchStatusInfo 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;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 게엄 매칭 상태 정보
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code MatchStatusInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchStatusInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
status_ = 0;
|
||||
matchStep_ = 0;
|
||||
waitTimeSec_ = 0;
|
||||
waitTimeMaxSec_ = 0;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.DefineCommon.internal_static_MatchStatusInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo(this);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.status_ = status_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000002) != 0)) {
|
||||
result.matchStep_ = matchStep_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000004) != 0)) {
|
||||
result.waitTimeSec_ = waitTimeSec_;
|
||||
}
|
||||
if (((from_bitField0_ & 0x00000008) != 0)) {
|
||||
result.waitTimeMaxSec_ = waitTimeMaxSec_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchStatusInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo.getDefaultInstance()) return this;
|
||||
if (other.status_ != 0) {
|
||||
setStatusValue(other.getStatusValue());
|
||||
}
|
||||
if (other.getMatchStep() != 0) {
|
||||
setMatchStep(other.getMatchStep());
|
||||
}
|
||||
if (other.getWaitTimeSec() != 0) {
|
||||
setWaitTimeSec(other.getWaitTimeSec());
|
||||
}
|
||||
if (other.getWaitTimeMaxSec() != 0) {
|
||||
setWaitTimeMaxSec(other.getWaitTimeMaxSec());
|
||||
}
|
||||
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: {
|
||||
status_ = input.readEnum();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 8
|
||||
case 16: {
|
||||
matchStep_ = input.readInt32();
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
} // case 16
|
||||
case 24: {
|
||||
waitTimeSec_ = input.readInt32();
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
} // case 24
|
||||
case 32: {
|
||||
waitTimeMaxSec_ = 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 status_ = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
@java.lang.Override public int getStatusValue() {
|
||||
return status_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @param value The enum numeric value on the wire for status to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStatusValue(int value) {
|
||||
status_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType result = com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.forNumber(status_);
|
||||
return result == null ? com.caliverse.admin.domain.RabbitMq.message.MatchStatusType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @param value The status to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setStatus(com.caliverse.admin.domain.RabbitMq.message.MatchStatusType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
bitField0_ |= 0x00000001;
|
||||
status_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearStatus() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
status_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int matchStep_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMatchStep() {
|
||||
return matchStep_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @param value The matchStep to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMatchStep(int value) {
|
||||
|
||||
matchStep_ = value;
|
||||
bitField0_ |= 0x00000002;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMatchStep() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
matchStep_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int waitTimeSec_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeSec() {
|
||||
return waitTimeSec_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @param value The waitTimeSec to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWaitTimeSec(int value) {
|
||||
|
||||
waitTimeSec_ = value;
|
||||
bitField0_ |= 0x00000004;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWaitTimeSec() {
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
waitTimeSec_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int waitTimeMaxSec_ ;
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getWaitTimeMaxSec() {
|
||||
return waitTimeMaxSec_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @param value The waitTimeMaxSec to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setWaitTimeMaxSec(int value) {
|
||||
|
||||
waitTimeMaxSec_ = value;
|
||||
bitField0_ |= 0x00000008;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearWaitTimeMaxSec() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
waitTimeMaxSec_ = 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:MatchStatusInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchStatusInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchStatusInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchStatusInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchStatusInfo 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<MatchStatusInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchStatusInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchStatusInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchStatusInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchStatusInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
int getStatusValue();
|
||||
/**
|
||||
* <pre>
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 1;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 단계
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 matchStep = 2;</code>
|
||||
* @return The matchStep.
|
||||
*/
|
||||
int getMatchStep();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 예상 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeSec = 3;</code>
|
||||
* @return The waitTimeSec.
|
||||
*/
|
||||
int getWaitTimeSec();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 최대 대기시간
|
||||
* </pre>
|
||||
*
|
||||
* <code>int32 waitTimeMaxSec = 4;</code>
|
||||
* @return The waitTimeMaxSec.
|
||||
*/
|
||||
int getWaitTimeMaxSec();
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 상태
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf enum {@code MatchStatusType}
|
||||
*/
|
||||
public enum MatchStatusType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>MatchStatusType_NONE = 0;</code>
|
||||
*/
|
||||
MatchStatusType_NONE(0),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 예약 상태
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_RESERVED = 1;</code>
|
||||
*/
|
||||
MatchStatusType_RESERVED(1),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 진행 중
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_PROGRESS = 2;</code>
|
||||
*/
|
||||
MatchStatusType_PROGRESS(2),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 성공
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_SUCCESS = 3;</code>
|
||||
*/
|
||||
MatchStatusType_SUCCESS(3),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 취소
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_CANCEL = 4;</code>
|
||||
*/
|
||||
MatchStatusType_CANCEL(4),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 대기시간 초과
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_TIMEOUT = 5;</code>
|
||||
*/
|
||||
MatchStatusType_TIMEOUT(5),
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 이유 미정
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_FAIL = 6;</code>
|
||||
*/
|
||||
MatchStatusType_FAIL(6),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>MatchStatusType_NONE = 0;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_NONE_VALUE = 0;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 예약 상태
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_RESERVED = 1;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_RESERVED_VALUE = 1;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 진행 중
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_PROGRESS = 2;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_PROGRESS_VALUE = 2;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 성공
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_SUCCESS = 3;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_SUCCESS_VALUE = 3;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 취소
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_CANCEL = 4;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_CANCEL_VALUE = 4;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 대기시간 초과
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_TIMEOUT = 5;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_TIMEOUT_VALUE = 5;
|
||||
/**
|
||||
* <pre>
|
||||
* 매칭 실패 - 이유 미정
|
||||
* </pre>
|
||||
*
|
||||
* <code>MatchStatusType_FAIL = 6;</code>
|
||||
*/
|
||||
public static final int MatchStatusType_FAIL_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 MatchStatusType 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 MatchStatusType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return MatchStatusType_NONE;
|
||||
case 1: return MatchStatusType_RESERVED;
|
||||
case 2: return MatchStatusType_PROGRESS;
|
||||
case 3: return MatchStatusType_SUCCESS;
|
||||
case 4: return MatchStatusType_CANCEL;
|
||||
case 5: return MatchStatusType_TIMEOUT;
|
||||
case 6: return MatchStatusType_FAIL;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<MatchStatusType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
MatchStatusType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<MatchStatusType>() {
|
||||
public MatchStatusType findValueByNumber(int number) {
|
||||
return MatchStatusType.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(33);
|
||||
}
|
||||
|
||||
private static final MatchStatusType[] VALUES = values();
|
||||
|
||||
public static MatchStatusType 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 MatchStatusType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:MatchStatusType)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,729 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Game_Define.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code MatchTeamInfo}
|
||||
*/
|
||||
public final class MatchTeamInfo extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:MatchTeamInfo)
|
||||
MatchTeamInfoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use MatchTeamInfo.newBuilder() to construct.
|
||||
private MatchTeamInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private MatchTeamInfo() {
|
||||
teamId_ = "";
|
||||
userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new MatchTeamInfo();
|
||||
}
|
||||
|
||||
@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_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TEAMID_FIELD_NUMBER = 1;
|
||||
@SuppressWarnings("serial")
|
||||
private volatile java.lang.Object teamId_ = "";
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getTeamId() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
teamId_ = s;
|
||||
return s;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getTeamIdBytes() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
teamId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
|
||||
public static final int USERGUIDS_FIELD_NUMBER = 2;
|
||||
@SuppressWarnings("serial")
|
||||
private com.google.protobuf.LazyStringList userGuids_;
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
public com.google.protobuf.ProtocolStringList
|
||||
getUserGuidsList() {
|
||||
return userGuids_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
public int getUserGuidsCount() {
|
||||
return userGuids_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
public java.lang.String getUserGuids(int index) {
|
||||
return userGuids_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index) {
|
||||
return userGuids_.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(teamId_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, teamId_);
|
||||
}
|
||||
for (int i = 0; i < userGuids_.size(); i++) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userGuids_.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(teamId_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, teamId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < userGuids_.size(); i++) {
|
||||
dataSize += computeStringSizeNoTag(userGuids_.getRaw(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getUserGuidsList().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.MatchTeamInfo)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo other = (com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo) obj;
|
||||
|
||||
if (!getTeamId()
|
||||
.equals(other.getTeamId())) return false;
|
||||
if (!getUserGuidsList()
|
||||
.equals(other.getUserGuidsList())) 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) + TEAMID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTeamId().hashCode();
|
||||
if (getUserGuidsCount() > 0) {
|
||||
hash = (37 * hash) + USERGUIDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUserGuidsList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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.MatchTeamInfo 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 MatchTeamInfo}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:MatchTeamInfo)
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MatchTeamInfo_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.class, com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.newBuilder()
|
||||
private Builder() {
|
||||
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
bitField0_ = 0;
|
||||
teamId_ = "";
|
||||
userGuids_ = 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.GameDefine.internal_static_MatchTeamInfo_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstanceForType() {
|
||||
return com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo build() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo buildPartial() {
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result = new com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo(this);
|
||||
buildPartialRepeatedFields(result);
|
||||
if (bitField0_ != 0) { buildPartial0(result); }
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
private void buildPartialRepeatedFields(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
userGuids_ = userGuids_.getUnmodifiableView();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
}
|
||||
result.userGuids_ = userGuids_;
|
||||
}
|
||||
|
||||
private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo result) {
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((from_bitField0_ & 0x00000001) != 0)) {
|
||||
result.teamId_ = teamId_;
|
||||
}
|
||||
}
|
||||
|
||||
@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.MatchTeamInfo) {
|
||||
return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo other) {
|
||||
if (other == com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo.getDefaultInstance()) return this;
|
||||
if (!other.getTeamId().isEmpty()) {
|
||||
teamId_ = other.teamId_;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
}
|
||||
if (!other.userGuids_.isEmpty()) {
|
||||
if (userGuids_.isEmpty()) {
|
||||
userGuids_ = other.userGuids_;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.addAll(other.userGuids_);
|
||||
}
|
||||
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: {
|
||||
teamId_ = input.readStringRequireUtf8();
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
} // case 10
|
||||
case 18: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.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 teamId_ = "";
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
public java.lang.String getTeamId() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
teamId_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getTeamIdBytes() {
|
||||
java.lang.Object ref = teamId_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
teamId_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @param value The teamId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTeamId(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
teamId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTeamId() {
|
||||
teamId_ = getDefaultInstance().getTeamId();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @param value The bytes for teamId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTeamIdBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
teamId_ = value;
|
||||
bitField0_ |= 0x00000001;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.LazyStringList userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
private void ensureUserGuidsIsMutable() {
|
||||
if (!((bitField0_ & 0x00000002) != 0)) {
|
||||
userGuids_ = new com.google.protobuf.LazyStringArrayList(userGuids_);
|
||||
bitField0_ |= 0x00000002;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
public com.google.protobuf.ProtocolStringList
|
||||
getUserGuidsList() {
|
||||
return userGuids_.getUnmodifiableView();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
public int getUserGuidsCount() {
|
||||
return userGuids_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
public java.lang.String getUserGuids(int index) {
|
||||
return userGuids_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index) {
|
||||
return userGuids_.getByteString(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The userGuids to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUserGuids(
|
||||
int index, java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.set(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param value The userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addUserGuids(
|
||||
java.lang.String value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.add(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param values The userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllUserGuids(
|
||||
java.lang.Iterable<java.lang.String> values) {
|
||||
ensureUserGuidsIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, userGuids_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUserGuids() {
|
||||
userGuids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param value The bytes of the userGuids to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addUserGuidsBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) { throw new NullPointerException(); }
|
||||
checkByteStringIsUtf8(value);
|
||||
ensureUserGuidsIsMutable();
|
||||
userGuids_.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:MatchTeamInfo)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:MatchTeamInfo)
|
||||
private static final com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo();
|
||||
}
|
||||
|
||||
public static com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<MatchTeamInfo>
|
||||
PARSER = new com.google.protobuf.AbstractParser<MatchTeamInfo>() {
|
||||
@java.lang.Override
|
||||
public MatchTeamInfo 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<MatchTeamInfo> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<MatchTeamInfo> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.caliverse.admin.domain.RabbitMq.message.MatchTeamInfo getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 MatchTeamInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchTeamInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The teamId.
|
||||
*/
|
||||
java.lang.String getTeamId();
|
||||
/**
|
||||
* <code>string TeamId = 1;</code>
|
||||
* @return The bytes for teamId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getTeamIdBytes();
|
||||
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return A list containing the userGuids.
|
||||
*/
|
||||
java.util.List<java.lang.String>
|
||||
getUserGuidsList();
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @return The count of userGuids.
|
||||
*/
|
||||
int getUserGuidsCount();
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The userGuids at the given index.
|
||||
*/
|
||||
java.lang.String getUserGuids(int index);
|
||||
/**
|
||||
* <code>repeated string UserGuids = 2;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The bytes of the userGuids at the given index.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidsBytes(int index);
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,97 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Define_Common.proto
|
||||
|
||||
package com.caliverse.admin.domain.RabbitMq.message;
|
||||
|
||||
public interface MatchUserInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:MatchUserInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>string userGuid = 1;</code>
|
||||
* @return The userGuid.
|
||||
*/
|
||||
java.lang.String getUserGuid();
|
||||
/**
|
||||
* <code>string userGuid = 1;</code>
|
||||
* @return The bytes for userGuid.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getUserGuidBytes();
|
||||
|
||||
/**
|
||||
* <code>string serverName = 2;</code>
|
||||
* @return The serverName.
|
||||
*/
|
||||
java.lang.String getServerName();
|
||||
/**
|
||||
* <code>string serverName = 2;</code>
|
||||
* @return The bytes for serverName.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getServerNameBytes();
|
||||
|
||||
/**
|
||||
* <code>int32 gameModeId = 3;</code>
|
||||
* @return The gameModeId.
|
||||
*/
|
||||
int getGameModeId();
|
||||
|
||||
/**
|
||||
* <code>string matchGroupId = 4;</code>
|
||||
* @return The matchGroupId.
|
||||
*/
|
||||
java.lang.String getMatchGroupId();
|
||||
/**
|
||||
* <code>string matchGroupId = 4;</code>
|
||||
* @return The bytes for matchGroupId.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getMatchGroupIdBytes();
|
||||
|
||||
/**
|
||||
* <code>string region = 5;</code>
|
||||
* @return The region.
|
||||
*/
|
||||
java.lang.String getRegion();
|
||||
/**
|
||||
* <code>string region = 5;</code>
|
||||
* @return The bytes for region.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getRegionBytes();
|
||||
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
* @return Whether the startTime field is set.
|
||||
*/
|
||||
boolean hasStartTime();
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
* @return The startTime.
|
||||
*/
|
||||
com.google.protobuf.Timestamp getStartTime();
|
||||
/**
|
||||
* <code>.google.protobuf.Timestamp startTime = 6;</code>
|
||||
*/
|
||||
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* TODO: Need PartyInfo, MMR
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 7;</code>
|
||||
* @return The enum numeric value on the wire for status.
|
||||
*/
|
||||
int getStatusValue();
|
||||
/**
|
||||
* <pre>
|
||||
* TODO: Need PartyInfo, MMR
|
||||
* </pre>
|
||||
*
|
||||
* <code>.MatchStatusType status = 7;</code>
|
||||
* @return The status.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.MatchStatusType getStatus();
|
||||
}
|
||||
@@ -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 ProfitHistoryType}
|
||||
*/
|
||||
public enum ProfitHistoryType
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>ProfitHistoryType_None = 0;</code>
|
||||
*/
|
||||
ProfitHistoryType_None(0),
|
||||
/**
|
||||
* <code>ProfitHistoryType_Stack = 1;</code>
|
||||
*/
|
||||
ProfitHistoryType_Stack(1),
|
||||
/**
|
||||
* <code>ProfitHistoryType_Gain = 2;</code>
|
||||
*/
|
||||
ProfitHistoryType_Gain(2),
|
||||
UNRECOGNIZED(-1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>ProfitHistoryType_None = 0;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_None_VALUE = 0;
|
||||
/**
|
||||
* <code>ProfitHistoryType_Stack = 1;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_Stack_VALUE = 1;
|
||||
/**
|
||||
* <code>ProfitHistoryType_Gain = 2;</code>
|
||||
*/
|
||||
public static final int ProfitHistoryType_Gain_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 ProfitHistoryType 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 ProfitHistoryType forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return ProfitHistoryType_None;
|
||||
case 1: return ProfitHistoryType_Stack;
|
||||
case 2: return ProfitHistoryType_Gain;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<ProfitHistoryType>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
ProfitHistoryType> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<ProfitHistoryType>() {
|
||||
public ProfitHistoryType findValueByNumber(int number) {
|
||||
return ProfitHistoryType.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(27);
|
||||
}
|
||||
|
||||
private static final ProfitHistoryType[] VALUES = values();
|
||||
|
||||
public static ProfitHistoryType 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 ProfitHistoryType(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:ProfitHistoryType)
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1219,5 +1219,290 @@ public interface ServerMessageOrBuilder extends
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_LAND_AUCTION_RESERVATIONOrBuilder getNtfLandAuctionReservationOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
* @return Whether the ntfAddBuildingProfitHistory field is set.
|
||||
*/
|
||||
boolean hasNtfAddBuildingProfitHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
* @return The ntfAddBuildingProfitHistory.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY getNtfAddBuildingProfitHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORYOrBuilder getNtfAddBuildingProfitHistoryOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
* @return Whether the ntfAddBuildingRentalHistory field is set.
|
||||
*/
|
||||
boolean hasNtfAddBuildingRentalHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
* @return The ntfAddBuildingRentalHistory.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY getNtfAddBuildingRentalHistory();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORYOrBuilder getNtfAddBuildingRentalHistoryOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
* @return Whether the ntfUpdateSoldRecord field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateSoldRecord();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
* @return The ntfUpdateSoldRecord.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD getNtfUpdateSoldRecord();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_SOLD_RECORDOrBuilder getNtfUpdateSoldRecordOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
* @return Whether the ntfUpdateBeaconShopItem field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateBeaconShopItem();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
* @return The ntfUpdateBeaconShopItem.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM getNtfUpdateBeaconShopItem();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2GS_NTF_UPDATE_BEACON_SHOP_ITEMOrBuilder getNtfUpdateBeaconShopItemOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
* @return Whether the ntfUpdateBanner field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateBanner();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
* @return The ntfUpdateBanner.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_BANNER getNtfUpdateBanner();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_BANNER ntfUpdateBanner = 91;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_BANNEROrBuilder getNtfUpdateBannerOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETE ntfQuestTaskForceComplete = 92;</code>
|
||||
* @return Whether the ntfQuestTaskForceComplete field is set.
|
||||
*/
|
||||
boolean hasNtfQuestTaskForceComplete();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETE ntfQuestTaskForceComplete = 92;</code>
|
||||
* @return The ntfQuestTaskForceComplete.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETE getNtfQuestTaskForceComplete();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETE ntfQuestTaskForceComplete = 92;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_QUEST_TASK_FORCE_COMPLETEOrBuilder getNtfQuestTaskForceCompleteOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULE ntfUpdateRankingSchedule = 93;</code>
|
||||
* @return Whether the ntfUpdateRankingSchedule field is set.
|
||||
*/
|
||||
boolean hasNtfUpdateRankingSchedule();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULE ntfUpdateRankingSchedule = 93;</code>
|
||||
* @return The ntfUpdateRankingSchedule.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULE getNtfUpdateRankingSchedule();
|
||||
/**
|
||||
* <code>.ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULE ntfUpdateRankingSchedule = 93;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MOS2GS_NTF_UPDATE_RANKING_SCHEDULEOrBuilder getNtfUpdateRankingScheduleOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
* @return Whether the reqMatchReserve field is set.
|
||||
*/
|
||||
boolean hasReqMatchReserve();
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
* @return The reqMatchReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_RESERVE getReqMatchReserve();
|
||||
/**
|
||||
* <pre>
|
||||
*========================================================
|
||||
* Game Matching
|
||||
* </pre>
|
||||
*
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_RESERVE reqMatchReserve = 110001;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_RESERVEOrBuilder getReqMatchReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
* @return Whether the ackMatchReserve field is set.
|
||||
*/
|
||||
boolean hasAckMatchReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
* @return The ackMatchReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_RESERVE getAckMatchReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_RESERVE ackMatchReserve = 110002;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_RESERVEOrBuilder getAckMatchReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
* @return Whether the reqMatchCancel field is set.
|
||||
*/
|
||||
boolean hasReqMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
* @return The reqMatchCancel.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_CANCEL getReqMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_REQ_MATCH_CANCEL reqMatchCancel = 110003;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_REQ_MATCH_CANCELOrBuilder getReqMatchCancelOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
* @return Whether the ackMatchCancel field is set.
|
||||
*/
|
||||
boolean hasAckMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
* @return The ackMatchCancel.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_CANCEL getAckMatchCancel();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_ACK_MATCH_CANCEL ackMatchCancel = 110004;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_ACK_MATCH_CANCELOrBuilder getAckMatchCancelOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
* @return Whether the ntfMatchStatus field is set.
|
||||
*/
|
||||
boolean hasNtfMatchStatus();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
* @return The ntfMatchStatus.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_STATUS getNtfMatchStatus();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_STATUS ntfMatchStatus = 110005;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_STATUSOrBuilder getNtfMatchStatusOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
* @return Whether the ntfMatchResult field is set.
|
||||
*/
|
||||
boolean hasNtfMatchResult();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
* @return The ntfMatchResult.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_RESULT getNtfMatchResult();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_RESULT ntfMatchResult = 110006;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_RESULTOrBuilder getNtfMatchResultOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
* @return Whether the ntfMatchChangeGameState field is set.
|
||||
*/
|
||||
boolean hasNtfMatchChangeGameState();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
* @return The ntfMatchChangeGameState.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE getNtfMatchChangeGameState();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATE ntfMatchChangeGameState = 110011;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHANGE_GAME_STATEOrBuilder getNtfMatchChangeGameStateOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
* @return Whether the ntfMatchGameQuit field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameQuit();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
* @return The ntfMatchGameQuit.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT getNtfMatchGameQuit();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_QUIT ntfMatchGameQuit = 110012;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_QUITOrBuilder getNtfMatchGameQuitOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
* @return Whether the ntfMatchGameJoin field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameJoin();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
* @return The ntfMatchGameJoin.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN getNtfMatchGameJoin();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_GAME_JOIN ntfMatchGameJoin = 110013;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_GAME_JOINOrBuilder getNtfMatchGameJoinOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
* @return Whether the ntfMatchGameJoinReserve field is set.
|
||||
*/
|
||||
boolean hasNtfMatchGameJoinReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
* @return The ntfMatchGameJoinReserve.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE getNtfMatchGameJoinReserve();
|
||||
/**
|
||||
* <code>.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVE ntfMatchGameJoinReserve = 110014;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MS2GS_NTF_MATCH_GAME_JOIN_RESERVEOrBuilder getNtfMatchGameJoinReserveOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
* @return Whether the ntfMatchCheatCmd field is set.
|
||||
*/
|
||||
boolean hasNtfMatchCheatCmd();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
* @return The ntfMatchCheatCmd.
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD getNtfMatchCheatCmd();
|
||||
/**
|
||||
* <code>.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMD ntfMatchCheatCmd = 110019;</code>
|
||||
*/
|
||||
com.caliverse.admin.domain.RabbitMq.message.ServerMessage.GS2MS_NTF_MATCH_CHEAT_CMDOrBuilder getNtfMatchCheatCmdOrBuilder();
|
||||
|
||||
public com.caliverse.admin.domain.RabbitMq.message.ServerMessage.MsgCase getMsgCase();
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,17 +0,0 @@
|
||||
package com.caliverse.admin.domain.adminlog;
|
||||
|
||||
import com.caliverse.admin.domain.entity.HISTORYTYPEDETAIL;
|
||||
|
||||
public class AdminItemDeleteLog extends AdminLogBase {
|
||||
|
||||
public AdminItemDeleteLog(String userGuid, String itemGuid, String itemCount){
|
||||
super(HISTORYTYPEDETAIL.USER_ITEM_DELETE);
|
||||
|
||||
var jsonObject = getJsonContentObject();
|
||||
|
||||
jsonObject.put("userGuid", userGuid);
|
||||
jsonObject.put("itemGuid", itemGuid);
|
||||
jsonObject.put("itemCount", itemCount);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
package com.caliverse.admin.domain.adminlog;
|
||||
|
||||
|
||||
import com.caliverse.admin.domain.dao.admin.HistoryMapper;
|
||||
import com.caliverse.admin.domain.entity.HISTORYTYPEDETAIL;
|
||||
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 HISTORYTYPEDETAIL historyType;
|
||||
|
||||
protected Map<String, Object> map;
|
||||
|
||||
@Getter
|
||||
protected JSONObject jsonContentObject = new JSONObject();
|
||||
|
||||
|
||||
public AdminLogBase(HISTORYTYPEDETAIL 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 = "";
|
||||
HISTORYTYPEDETAIL type = HISTORYTYPEDETAIL.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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
package com.caliverse.admin.domain.adminlog;
|
||||
|
||||
import com.caliverse.admin.domain.entity.HISTORYTYPEDETAIL;
|
||||
|
||||
public class AdminLoginPermitLog extends AdminLogBase {
|
||||
|
||||
public AdminLoginPermitLog() {
|
||||
super(HISTORYTYPEDETAIL.LOGIN_PERMITTED);
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.caliverse.admin.domain.adminlog;
|
||||
|
||||
|
||||
import com.caliverse.admin.domain.entity.HISTORYTYPEDETAIL;
|
||||
|
||||
public class AdminPasswordInitLog extends AdminLogBase {
|
||||
|
||||
public AdminPasswordInitLog(String name, String email) {
|
||||
super(HISTORYTYPEDETAIL.PASSWORD_INIT);
|
||||
|
||||
var jsonObject = getJsonContentObject();
|
||||
|
||||
jsonObject.put("name", name);
|
||||
jsonObject.put("email", email);
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
package com.caliverse.admin.domain.adminlog;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public interface IAdminLog {
|
||||
|
||||
public void saveLogToDB();
|
||||
}
|
||||
@@ -38,6 +38,11 @@ public class BattleController {
|
||||
public ResponseEntity<BattleEventResponse> getBattleRewardList(){
|
||||
return ResponseEntity.ok().body( battleEventService.getBattleRewardList());
|
||||
}
|
||||
|
||||
@GetMapping("/game-mode/list")
|
||||
public ResponseEntity<BattleEventResponse> getGameModeList(){
|
||||
return ResponseEntity.ok().body( battleEventService.getGameModeList());
|
||||
}
|
||||
|
||||
@PostMapping("/event")
|
||||
public ResponseEntity<BattleEventResponse> postBattleEvent(
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
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<String, String> requestParams){
|
||||
|
||||
userItemService.getUserItemHistory(requestParams);
|
||||
|
||||
|
||||
return null;
|
||||
//return ResponseEntity.ok().body( userItemService.getUserItemList(requestParams));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.response.DictionaryResponse;
|
||||
import com.caliverse.admin.domain.service.MetaDataService;
|
||||
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.*;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Tag(name = "메타데이터", description = "백과사전 api")
|
||||
@RestController
|
||||
@RequiredArgsConstructor
|
||||
@RequestMapping("/api/v1/dictionary")
|
||||
public class DictionaryController {
|
||||
private final MetaDataService metaDataService;
|
||||
|
||||
@GetMapping("/brand/list")
|
||||
public ResponseEntity<DictionaryResponse> brandList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getBrandList());
|
||||
}
|
||||
|
||||
@GetMapping("/ranking/list")
|
||||
public ResponseEntity<DictionaryResponse> rankingList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getRankingList());
|
||||
}
|
||||
|
||||
@GetMapping("/battle-config/list")
|
||||
public ResponseEntity<DictionaryResponse> battleConfigList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getBattleConfigList());
|
||||
}
|
||||
|
||||
@GetMapping("/battle-reward/list")
|
||||
public ResponseEntity<DictionaryResponse> battleRewardList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getBattleRewardList());
|
||||
}
|
||||
|
||||
@GetMapping("/game-mode/list")
|
||||
public ResponseEntity<DictionaryResponse> gameModeList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getGameModeList());
|
||||
}
|
||||
|
||||
@GetMapping("/event-action/list")
|
||||
public ResponseEntity<DictionaryResponse> eventActionList(){
|
||||
return ResponseEntity.ok().body( metaDataService.getEventActionList());
|
||||
}
|
||||
|
||||
@GetMapping("/item/list")
|
||||
public ResponseEntity<DictionaryResponse> itemList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( metaDataService.getItemDictList(requestParams));
|
||||
}
|
||||
|
||||
@GetMapping("/item/excel-export")
|
||||
public void itemExcelExport(HttpServletResponse response,
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
metaDataService.itemExcelExport(response, requestParams);
|
||||
}
|
||||
|
||||
@GetMapping("/craft/list")
|
||||
public ResponseEntity<DictionaryResponse> craftList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( metaDataService.getCraftingDictList(requestParams));
|
||||
}
|
||||
|
||||
@GetMapping("/craft/excel-export")
|
||||
public void craftExcelExport(HttpServletResponse response,
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
metaDataService.craftExcelExport(response, requestParams);
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
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<EventResponse> getList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
|
||||
return ResponseEntity.ok().body(eventService.getList(requestParam));
|
||||
}
|
||||
// 상세 조회
|
||||
@GetMapping("/detail/{id}")
|
||||
public ResponseEntity<EventResponse> getDetail(
|
||||
@PathVariable("id") Long id){
|
||||
|
||||
return ResponseEntity.ok().body(eventService.getDetail(id));
|
||||
}
|
||||
@PostMapping
|
||||
public ResponseEntity<EventResponse> postEvent(
|
||||
@RequestBody EventRequest eventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(eventService.postEvent(eventRequest));
|
||||
}
|
||||
@PutMapping("/{id}")
|
||||
public ResponseEntity<EventResponse> updateEvent(
|
||||
@PathVariable("id")Long id, @RequestBody EventRequest eventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(eventService.updateEvent(id, eventRequest));
|
||||
}
|
||||
@DeleteMapping("/delete")
|
||||
public ResponseEntity<EventResponse> deleteEvent(
|
||||
@RequestBody EventRequest eventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(eventService.deleteEvent(eventRequest));
|
||||
}
|
||||
@PostMapping("/item")
|
||||
public ResponseEntity<EventResponse> getItem(
|
||||
@RequestBody Map<String, String> item) {
|
||||
return ResponseEntity.ok().body(eventService.getMetaItem(item.get("item")));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.request.BattleEventRequest;
|
||||
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/game")
|
||||
public class GameController {
|
||||
private final BattleEventService battleEventService;
|
||||
@GetMapping("/setting/list")
|
||||
public ResponseEntity<BattleEventResponse> getGameSettingList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
return ResponseEntity.ok().body( battleEventService.getBattleEventList(requestParam));
|
||||
}
|
||||
|
||||
@GetMapping("/setting/detail/{id}")
|
||||
public ResponseEntity<BattleEventResponse> getGameSettingDetail(
|
||||
@PathVariable("id") Long id){
|
||||
return ResponseEntity.ok().body( battleEventService.getBattleEventDetail(id));
|
||||
}
|
||||
|
||||
@PostMapping("/setting")
|
||||
public ResponseEntity<BattleEventResponse> postGameSetting(
|
||||
@RequestBody BattleEventRequest battleEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(battleEventService.postBattleEvent(battleEventRequest));
|
||||
}
|
||||
|
||||
@PutMapping("/setting/{id}")
|
||||
public ResponseEntity<BattleEventResponse> updateGameSetting(
|
||||
@PathVariable("id")Long id, @RequestBody BattleEventRequest battleEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(battleEventService.updateBattleEvent(id, battleEventRequest));
|
||||
}
|
||||
|
||||
@GetMapping("/match/list")
|
||||
public ResponseEntity<BattleEventResponse> getGameMatchList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
return ResponseEntity.ok().body( battleEventService.getBattleEventList(requestParam));
|
||||
}
|
||||
|
||||
@GetMapping("/match/detail/{id}")
|
||||
public ResponseEntity<BattleEventResponse> getGameMatchDetail(
|
||||
@PathVariable("id") Long id){
|
||||
return ResponseEntity.ok().body( battleEventService.getBattleEventDetail(id));
|
||||
}
|
||||
|
||||
@PostMapping("/match")
|
||||
public ResponseEntity<BattleEventResponse> postGameMatch(
|
||||
@RequestBody BattleEventRequest battleEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(battleEventService.postBattleEvent(battleEventRequest));
|
||||
}
|
||||
|
||||
@PutMapping("/match/{id}")
|
||||
public ResponseEntity<BattleEventResponse> updateGameMatch(
|
||||
@PathVariable("id")Long id, @RequestBody BattleEventRequest battleEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(battleEventService.updateBattleEvent(id, battleEventRequest));
|
||||
}
|
||||
|
||||
@DeleteMapping("/match/delete")
|
||||
public ResponseEntity<BattleEventResponse> deleteGameMatch(
|
||||
@RequestBody BattleEventRequest battleEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(battleEventService.deleteBattleEvent(battleEventRequest));
|
||||
}
|
||||
}
|
||||
@@ -49,65 +49,33 @@ public class IndicatorsController {
|
||||
@RequestParam Map<String, String> requestParams,HttpServletResponse res){
|
||||
indicatorsService.retentionExcelDown(requestParams,res);
|
||||
}
|
||||
//Segment
|
||||
@GetMapping("/segment/list")
|
||||
public ResponseEntity<IndicatorsResponse> segmentList(
|
||||
|
||||
@GetMapping("/currency/list")
|
||||
public ResponseEntity<IndicatorsResponse> currencyList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.segmentList(requestParams));
|
||||
}
|
||||
@GetMapping("/segment/excel-down")
|
||||
public void segmentExcelDown(
|
||||
@RequestParam Map<String, String> requestParams,HttpServletResponse res){
|
||||
indicatorsService.segmentExcelDown(requestParams, res);
|
||||
}
|
||||
//Playtime
|
||||
@GetMapping("/playtime/list")
|
||||
public ResponseEntity<IndicatorsResponse> playTimeList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.playTimeList(requestParams));
|
||||
}
|
||||
@GetMapping("/playtime/excel-down")
|
||||
public void playTimeExcelDown(
|
||||
@RequestParam Map<String, String> requestParams,HttpServletResponse res){
|
||||
indicatorsService.playTimeExcelDown(requestParams, res);
|
||||
return ResponseEntity.ok().body( indicatorsService.currencyList(requestParams));
|
||||
}
|
||||
|
||||
// 재화 지표
|
||||
@GetMapping("/currency/use")
|
||||
public ResponseEntity<IndicatorsResponse> acquire(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getCurrencyUse(requestParams));
|
||||
}
|
||||
@GetMapping("/currency/excel-down")
|
||||
public void currencyExcelDown(
|
||||
@RequestParam Map<String, String> requestParams, HttpServletResponse res){
|
||||
indicatorsService.currencyExcelDown(requestParams, res);
|
||||
}
|
||||
|
||||
// VBP 지표
|
||||
@GetMapping("/currency/vbp")
|
||||
public ResponseEntity<IndicatorsResponse> vbp(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getVBPList(requestParams));
|
||||
}
|
||||
// Item 지표
|
||||
@GetMapping("/currency/item")
|
||||
@GetMapping("/item/list")
|
||||
public ResponseEntity<IndicatorsResponse> item(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getItemList(requestParams));
|
||||
}
|
||||
|
||||
// 보유 지표
|
||||
@GetMapping("/assets/list")
|
||||
public ResponseEntity<IndicatorsResponse> assets(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getAssetsList(requestParams));
|
||||
}
|
||||
|
||||
// 인스턴스 지표
|
||||
@GetMapping("/currency/instance")
|
||||
public ResponseEntity<IndicatorsResponse> instance(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getInstanceList(requestParams));
|
||||
}
|
||||
// 의상/타투 지표
|
||||
@GetMapping("/currency/clothes")
|
||||
public ResponseEntity<IndicatorsResponse> clothes(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( indicatorsService.getClothesList(requestParams));
|
||||
}
|
||||
|
||||
// DAU 지표
|
||||
@GetMapping("/dau/list")
|
||||
@@ -122,7 +90,10 @@ public class IndicatorsController {
|
||||
indicatorsService.dauExcelDown(requestParams, res);
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/dashboard/calium/converter")
|
||||
public ResponseEntity<IndicatorsResponse> dashboardCaliumConverter(){
|
||||
return ResponseEntity.ok().body( indicatorsService.getCaliumConverter());
|
||||
}
|
||||
/*
|
||||
// DAU 지표
|
||||
@GetMapping("/daily-medal/list")
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
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.*;
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.request.LogGameRequest;
|
||||
import com.caliverse.admin.domain.request.LogGenericRequest;
|
||||
import com.caliverse.admin.domain.response.IndicatorsResponse;
|
||||
import com.caliverse.admin.domain.response.LogResponse;
|
||||
import com.caliverse.admin.domain.service.LogService;
|
||||
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.*;
|
||||
@@ -22,4 +25,99 @@ public class LogController {
|
||||
@RequestBody LogGenericRequest logGenericRequest){
|
||||
return ResponseEntity.ok().body( logService.genericLogList(logGenericRequest));
|
||||
}
|
||||
|
||||
@PostMapping("/generic/excel-export")
|
||||
public void excelExport(HttpServletResponse response,
|
||||
@RequestBody LogGenericRequest logGenericRequest){
|
||||
logService.genericExcelExport(response, logGenericRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/progress/{taskId}")
|
||||
public ResponseEntity<Map<String, Object>> getProgress(@PathVariable String taskId) {
|
||||
return ResponseEntity.ok().body(logService.getProgress(taskId));
|
||||
}
|
||||
|
||||
@GetMapping("/currency/list")
|
||||
public ResponseEntity<LogResponse> currencyList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getCurrencyLogList(requestParams));
|
||||
}
|
||||
|
||||
@GetMapping("/currency/detail/list")
|
||||
public ResponseEntity<LogResponse> currencyDetailList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getCurrencyDetailLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/currency/detail/excel-export")
|
||||
public void currencyDetailExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.currencyDetailExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@PostMapping("/currency/excel-export")
|
||||
public void currencyExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.currencyExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/item/detail/list")
|
||||
public ResponseEntity<LogResponse> itemDetailList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getItemDetailLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/item/detail/excel-export")
|
||||
public void itemDetailExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.itemDetailExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/currency-item/list")
|
||||
public ResponseEntity<LogResponse> currencyItemList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getCurrencyItemLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/currency-item/excel-export")
|
||||
public void currencyItemExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.currencyItemExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/user/create/list")
|
||||
public ResponseEntity<LogResponse> userCreateList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getUserCreateLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/user/create/excel-export")
|
||||
public void userCreateExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.userCreateExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/user/login/list")
|
||||
public ResponseEntity<LogResponse> userLoginList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getUserLoginDetailLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/user/login/excel-export")
|
||||
public void userLoginExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.userLoginExcelExport(response, logGameRequest);
|
||||
}
|
||||
|
||||
@GetMapping("/user/snapshot/list")
|
||||
public ResponseEntity<LogResponse> snapshotList(
|
||||
@RequestParam Map<String, String> requestParams){
|
||||
return ResponseEntity.ok().body( logService.getSnapshotLogList(requestParams));
|
||||
}
|
||||
|
||||
@PostMapping("/user/snapshot/excel-export")
|
||||
public void userSnapshotExcelExport(HttpServletResponse response,
|
||||
@RequestBody LogGameRequest logGameRequest){
|
||||
logService.SnapshotExcelExport(response, logGameRequest);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,8 +70,8 @@ public class MenuController {
|
||||
}
|
||||
@DeleteMapping("/banner/delete")
|
||||
public ResponseEntity<MenuResponse> deleteMenuBanner(
|
||||
@RequestBody MenuRequest menuRequest){
|
||||
@RequestParam Long id){
|
||||
|
||||
return ResponseEntity.ok().body(menuService.deleteMail(menuRequest));
|
||||
return ResponseEntity.ok().body(menuService.deleteBanner(id));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.request.RankRequest;
|
||||
import com.caliverse.admin.domain.response.RankResponse;
|
||||
import com.caliverse.admin.domain.service.RankService;
|
||||
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/rank")
|
||||
public class RankController {
|
||||
private final RankService rankService;
|
||||
|
||||
@GetMapping("/schedule/list")
|
||||
public ResponseEntity<RankResponse> getRankingScheduleList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
return ResponseEntity.ok().body( rankService.getList(requestParam));
|
||||
}
|
||||
|
||||
@GetMapping("/schedule/detail/{id}")
|
||||
public ResponseEntity<RankResponse> getRankingScheduleDetail(
|
||||
@PathVariable("id") Long id){
|
||||
return ResponseEntity.ok().body( rankService.getDetail(id));
|
||||
}
|
||||
|
||||
@PostMapping("/schedule")
|
||||
public ResponseEntity<RankResponse> postRankingSchedule(
|
||||
@RequestBody RankRequest rankRequest){
|
||||
|
||||
return ResponseEntity.ok().body(rankService.postRankingSchedule(rankRequest));
|
||||
}
|
||||
|
||||
@PutMapping("/schedule/{id}")
|
||||
public ResponseEntity<RankResponse> updateRankingSchedule(
|
||||
@PathVariable("id")Long id, @RequestBody RankRequest rankRequest){
|
||||
|
||||
return ResponseEntity.ok().body(rankService.updateRankingSchedule(id, rankRequest));
|
||||
}
|
||||
|
||||
@DeleteMapping("/schedule/delete")
|
||||
public ResponseEntity<RankResponse> deleteRankingSchedule(
|
||||
@RequestParam Long id){
|
||||
|
||||
return ResponseEntity.ok().body(rankService.deleteRankingSchedule(id));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.request.RewardEventRequest;
|
||||
import com.caliverse.admin.domain.response.RewardEventResponse;
|
||||
import com.caliverse.admin.domain.service.RewardEventService;
|
||||
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 RewardEventController {
|
||||
|
||||
private final RewardEventService rewardEventService;
|
||||
// 리스트 조회
|
||||
@GetMapping("/list")
|
||||
public ResponseEntity<RewardEventResponse> getList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
|
||||
return ResponseEntity.ok().body(rewardEventService.getList(requestParam));
|
||||
}
|
||||
// 상세 조회
|
||||
@GetMapping("/detail/{id}")
|
||||
public ResponseEntity<RewardEventResponse> getDetail(
|
||||
@PathVariable("id") Long id){
|
||||
|
||||
return ResponseEntity.ok().body(rewardEventService.getDetail(id));
|
||||
}
|
||||
@PostMapping
|
||||
public ResponseEntity<RewardEventResponse> postEvent(
|
||||
@RequestBody RewardEventRequest rewardEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(rewardEventService.postEvent(rewardEventRequest));
|
||||
}
|
||||
@PutMapping("/{id}")
|
||||
public ResponseEntity<RewardEventResponse> updateEvent(
|
||||
@PathVariable("id")Long id, @RequestBody RewardEventRequest rewardEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(rewardEventService.updateEvent(id, rewardEventRequest));
|
||||
}
|
||||
@DeleteMapping("/delete")
|
||||
public ResponseEntity<RewardEventResponse> deleteEvent(
|
||||
@RequestBody RewardEventRequest rewardEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(rewardEventService.deleteEvent(rewardEventRequest));
|
||||
}
|
||||
@PostMapping("/item")
|
||||
public ResponseEntity<RewardEventResponse> getItem(
|
||||
@RequestBody Map<String, String> item) {
|
||||
return ResponseEntity.ok().body(rewardEventService.getMetaItem(item.get("item")));
|
||||
}
|
||||
}
|
||||
@@ -49,9 +49,4 @@ public class UserReportController {
|
||||
@RequestBody UserReportRequest userReportRequest){
|
||||
return ResponseEntity.ok().body( userReportService.reportReply(userReportRequest));
|
||||
}
|
||||
@PostMapping("/dummy")
|
||||
public void dummy(
|
||||
@RequestBody Map<String, String> map){
|
||||
userReportService.dummy(map);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,9 +113,9 @@ public class UsersController {
|
||||
return ResponseEntity.ok().body( usersService.getQuest(guid));
|
||||
}
|
||||
|
||||
/*@GetMapping("/claim")
|
||||
public ResponseEntity<UsersResponse> getClaim(
|
||||
@RequestParam("guid") String guid){
|
||||
return ResponseEntity.ok().body( usersService.getClaim(guid));
|
||||
}*/
|
||||
@PostMapping("/quest/task")
|
||||
public ResponseEntity<UsersResponse> questTaskComplete(
|
||||
@RequestBody UsersRequest requestBody){
|
||||
return ResponseEntity.ok().body( usersService.CompleteQuestTask(requestBody));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.caliverse.admin.domain.api;
|
||||
|
||||
import com.caliverse.admin.domain.request.WorldEventRequest;
|
||||
import com.caliverse.admin.domain.response.WorldEventResponse;
|
||||
import com.caliverse.admin.domain.service.WorldEventService;
|
||||
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/world-event")
|
||||
public class WorldEventController {
|
||||
private final WorldEventService worldEventService;
|
||||
|
||||
@GetMapping("/list")
|
||||
public ResponseEntity<WorldEventResponse> getWorldEventList(
|
||||
@RequestParam Map<String, String> requestParam){
|
||||
return ResponseEntity.ok().body( worldEventService.getList(requestParam));
|
||||
}
|
||||
|
||||
@GetMapping("/detail/{id}")
|
||||
public ResponseEntity<WorldEventResponse> getWorldEventDetail(
|
||||
@PathVariable("id") Long id){
|
||||
return ResponseEntity.ok().body( worldEventService.getDetail(id));
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
public ResponseEntity<WorldEventResponse> postWorldEvent(
|
||||
@RequestBody WorldEventRequest worldEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(worldEventService.postWorldEvent(worldEventRequest));
|
||||
}
|
||||
|
||||
@PutMapping("/{id}")
|
||||
public ResponseEntity<WorldEventResponse> updateWorldEvent(
|
||||
@PathVariable("id")Long id, @RequestBody WorldEventRequest worldEventRequest){
|
||||
|
||||
return ResponseEntity.ok().body(worldEventService.updateWorldEvent(id, worldEventRequest));
|
||||
}
|
||||
|
||||
@DeleteMapping("/delete")
|
||||
public ResponseEntity<WorldEventResponse> deleteWorldEvent(
|
||||
@RequestParam Long id){
|
||||
|
||||
return ResponseEntity.ok().body(worldEventService.deleteWorldEvent(id));
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.caliverse.admin.domain.batch;
|
||||
|
||||
import org.springframework.batch.item.ItemProcessor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class CustomProcessor implements ItemProcessor<String, String> {
|
||||
|
||||
@Override
|
||||
public String process(String data) throws Exception {
|
||||
log.info("Processing data: " + data);
|
||||
//data = data.toUpperCase();
|
||||
|
||||
return data;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.caliverse.admin.domain.batch;
|
||||
|
||||
import org.springframework.batch.item.ItemReader;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class CustomReader implements ItemReader<String> {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
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<String> {
|
||||
@Override
|
||||
public void write(Chunk<? extends String> chunk) throws Exception {
|
||||
|
||||
for (String data : chunk) {
|
||||
log.info("Writing item: " + data.toString());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
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);
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
24
src/main/java/com/caliverse/admin/domain/cache/CommonCacheHandler.java
vendored
Normal file
24
src/main/java/com/caliverse/admin/domain/cache/CommonCacheHandler.java
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.caliverse.admin.domain.cache;
|
||||
|
||||
import com.caliverse.admin.domain.datacomponent.MetaDataFileLoader;
|
||||
import com.caliverse.admin.domain.request.LogGenericRequest;
|
||||
import com.caliverse.admin.logs.logservice.businesslogservice.BusinessLogGenericService;
|
||||
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;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
@EnableCaching(proxyTargetClass = true)
|
||||
public class CommonCacheHandler {
|
||||
@Autowired
|
||||
private BusinessLogGenericService businessLogGenericService;
|
||||
|
||||
@Cacheable(value = "businessLogCount", keyGenerator = "logCountKeyGenerator")
|
||||
public Integer getLogCount(LogGenericRequest logGenericRequest) {
|
||||
log.info("Cache MISS - Executing actual DB query for count");
|
||||
return businessLogGenericService.getRawLogCount(logGenericRequest);
|
||||
}
|
||||
}
|
||||
40
src/main/java/com/caliverse/admin/domain/cache/LogCountKeyGenerator.java
vendored
Normal file
40
src/main/java/com/caliverse/admin/domain/cache/LogCountKeyGenerator.java
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
package com.caliverse.admin.domain.cache;
|
||||
|
||||
import com.caliverse.admin.domain.request.LogGenericRequest;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.cache.interceptor.KeyGenerator;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
@Component("logCountKeyGenerator")
|
||||
@Slf4j
|
||||
public class LogCountKeyGenerator implements KeyGenerator {
|
||||
@Override
|
||||
public Object generate(Object target, Method method, Object... params) {
|
||||
LogGenericRequest request = (LogGenericRequest) params[0];
|
||||
|
||||
StringBuilder keyBuilder = new StringBuilder();
|
||||
keyBuilder.append(request.getStartDt().toLocalDate())
|
||||
.append("_")
|
||||
.append(request.getEndDt().toLocalDate())
|
||||
.append("_")
|
||||
.append(request.getLogAction() != null ? request.getLogAction().name() : "ALL")
|
||||
.append("_")
|
||||
.append(request.getLogDomain() != null ? request.getLogDomain().name() : "ALL")
|
||||
.append("_")
|
||||
.append(request.getSearchData() != null ? request.getSearchData() : "ALL")
|
||||
.append("_")
|
||||
.append(request.getTranId() != null ? request.getTranId() : "ALL");
|
||||
|
||||
// 필터가 있으면 해시 추가
|
||||
if (request.getFilters() != null && !request.getFilters().isEmpty()) {
|
||||
keyBuilder.append("_").append(request.getFilters().hashCode());
|
||||
}
|
||||
|
||||
String finalKey = keyBuilder.toString();
|
||||
log.info("Generated cache key: '{}'", finalKey);
|
||||
|
||||
return finalKey;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import com.caliverse.admin.domain.entity.STATUS;
|
||||
|
||||
public interface AdminMapper {
|
||||
Optional<Admin> findByEmail(String email);
|
||||
Optional<Admin> findById(Long id);
|
||||
|
||||
boolean existsByEmail(String email);
|
||||
|
||||
@@ -18,7 +19,6 @@ public interface AdminMapper {
|
||||
|
||||
void initPwd(String password,Long id, Long updateBy);
|
||||
void updatePwd(String password, Long updateBy, STATUS status);
|
||||
void saveHistoryPwd(String password,Long adminId);
|
||||
|
||||
//운영자 리스트 조회
|
||||
List<Admin> getAdminList(Map<String, String> requestMap);
|
||||
|
||||
@@ -21,7 +21,7 @@ public interface GroupMapper {
|
||||
int findGroupName(String groupNm);
|
||||
int getAllCnt();
|
||||
// 권한 등록
|
||||
void postAdminGroup(GroupRequest groupRequest);
|
||||
void postGroup(GroupRequest groupRequest);
|
||||
|
||||
//group_auth 테이블 삭제 by groupId
|
||||
void deleteGroupAuth(String groupId);
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
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<Log> 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);
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user