diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index b9d62b9..03b2f52 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -10,55 +10,76 @@ jobs: create-realese: name: Create Release runs-on: ubuntu-latest + strategy: + matrix: + java_version: [ '17' ] + node_version: [ '20' ] outputs: upload_url: ${{ steps.create_release.outputs.upload_url }} steps: - - name: Checkout code - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.m2 + ~/.npm + ~/.cache + key: ${{ runner.os }}-build-${{ github.sha }} + restore-keys: ${{ runner.os }}-build- + - name: Get version id: get_version run: | TAG=$(basename ${GITHUB_REF}) - echo "::set-output name=TAG::$TAG" + echo "TAG=$TAG" >> $GITHUB_OUTPUT + - name: Create Release id: create_release - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: config-name: release-config.yml version: ${{ steps.get_version.outputs.TAG }} tag: ${{ steps.get_version.outputs.TAG }} - - uses: actions/setup-node@v3 + + - uses: actions/setup-node@v4 with: - node-version: '20.15' + node-version: ${{ matrix.node_version }} + + - uses: actions/setup-java@v4 + with: + distribution: 'oracle' + java-version: ${{ matrix.java_version }} + - name: Build web run: | cd frontend yarn install yarn build - - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '17' + - name: Build chen run: | mvn clean package -DskipTests mkdir -p build chen-${{ steps.get_version.outputs.TAG }} rm -f config/application-dev.yml + mv README.md chen-${{ steps.get_version.outputs.TAG }}/README.md + mv LICENSE chen-${{ steps.get_version.outputs.TAG }}/LICENSE + mv entrypoint.sh chen-${{ steps.get_version.outputs.TAG }}/entrypoint.sh mv backend/web/target/web-*.jar chen-${{ steps.get_version.outputs.TAG }}/chen.jar mv drivers chen-${{ steps.get_version.outputs.TAG }}/drivers mv config chen-${{ steps.get_version.outputs.TAG }}/config tar -zcvf chen-${{ steps.get_version.outputs.TAG }}.tar.gz chen-${{ steps.get_version.outputs.TAG }} echo $(md5sum chen-${{ steps.get_version.outputs.TAG }}.tar.gz | awk '{print $1}') > build/chen-${{ steps.get_version.outputs.TAG }}.tar.gz.md5 mv chen-${{ steps.get_version.outputs.TAG }}.tar.gz build/ + - name: Release Upload Assets - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: draft: true files: | - build/chen-${{ steps.get_version.outputs.TAG }}.tar.gz - build/chen-${{ steps.get_version.outputs.TAG }}.tar.gz.md5 + build/*.gz + build/*.md5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index a05e078..07d9293 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM jumpserver/chen-base:20241009_104417 AS stage-build +FROM jumpserver/chen-base:20241212_102050 AS stage-build ENV LANG=en_US.UTF-8 WORKDIR /opt/chen/ @@ -16,15 +16,14 @@ ARG DEPENDENCIES=" \ openjdk-17-jre-headless" ARG APT_MIRROR=http://deb.debian.org -RUN sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \ - && rm -f /etc/apt/apt.conf.d/docker-clean \ + +RUN set -ex \ + && sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && apt-get update \ && apt-get install -y --no-install-recommends ${DEPENDENCIES} \ && echo "no" | dpkg-reconfigure dash \ - && sed -i "s@jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1@jdk.tls.disabledAlgorithms=SSLv3@" /etc/java-17-openjdk/security/java.security \ - && sed -i "s@# export @export @g" ~/.bashrc \ - && sed -i "s@# alias @alias @g" ~/.bashrc + && sed -i "s@jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1@jdk.tls.disabledAlgorithms=SSLv3@" /etc/java-17-openjdk/security/java.security WORKDIR /opt/chen diff --git a/Dockerfile-base b/Dockerfile-base index abd1418..bd7ac1d 100644 --- a/Dockerfile-base +++ b/Dockerfile-base @@ -9,9 +9,8 @@ ARG DEPENDENCIES=" \ wget" ARG APT_MIRROR=http://deb.debian.org + RUN set -ex \ - && rm -f /etc/apt/apt.conf.d/docker-clean \ - && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache \ && sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \ && apt-get update \ && apt-get -y install --no-install-recommends ${DEPENDENCIES} \ @@ -20,16 +19,15 @@ RUN set -ex \ && rm -rf /var/lib/apt/lists/* # Install tools and dependencies -ARG CHECK_VERSION=v1.0.3 +ARG CHECK_VERSION=v1.0.4 RUN set -ex \ && wget https://github.com/jumpserver-dev/healthcheck/releases/download/${CHECK_VERSION}/check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz \ - && tar -xf check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz \ - && mv check /usr/local/bin/ \ + && tar -xf check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz -C /usr/local/bin/ check \ && chown root:root /usr/local/bin/check \ && chmod 755 /usr/local/bin/check \ && rm -f check-${CHECK_VERSION}-linux-${TARGETARCH}.tar.gz -ARG WISP_VERSION=v0.2.2 +ARG WISP_VERSION=v0.2.5 RUN set -ex \ && wget https://github.com/jumpserver/wisp/releases/download/${WISP_VERSION}/wisp-${WISP_VERSION}-linux-${TARGETARCH}.tar.gz \ && tar -xf wisp-${WISP_VERSION}-linux-${TARGETARCH}.tar.gz -C /usr/local/bin/ --strip-components=1 \ @@ -37,7 +35,6 @@ RUN set -ex \ && chmod 755 /usr/local/bin/wisp \ && rm -f /opt/*.tar.gz - # Install NPM dependencies WORKDIR /opt/chen/frontend COPY frontend/package.json frontend/package-lock.json frontend/yarn.lock ./ @@ -46,7 +43,7 @@ RUN --mount=type=cache,target=/usr/local/share/.cache/yarn,sharing=locked,id=che npm install # Install Maven dependencies -ARG MAVEN_VERSION=3.9.7 +ARG MAVEN_VERSION=3.9.9 ARG USER_HOME_DIR="/root" ARG BASE_URL=https://downloads.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries ARG MAVEN_MIRROR=https://repo.maven.apache.org/maven2 diff --git a/backend/web/src/main/java/org/jumpserver/chen/web/service/impl/JmsSessionService.java b/backend/web/src/main/java/org/jumpserver/chen/web/service/impl/JmsSessionService.java index 8d5c10f..15123c3 100644 --- a/backend/web/src/main/java/org/jumpserver/chen/web/service/impl/JmsSessionService.java +++ b/backend/web/src/main/java/org/jumpserver/chen/web/service/impl/JmsSessionService.java @@ -2,6 +2,7 @@ import lombok.extern.slf4j.Slf4j; import net.devh.boot.grpc.client.inject.GrpcClient; +import org.apache.commons.lang3.StringUtils; import org.jumpserver.chen.framework.datasource.Datasource; import org.jumpserver.chen.framework.datasource.DatasourceFactory; import org.jumpserver.chen.framework.datasource.entity.DBConnectInfo; @@ -13,6 +14,8 @@ import org.jumpserver.wisp.ServiceOuterClass; import org.springframework.stereotype.Service; +import java.net.InetAddress; +import java.net.UnknownHostException; import java.time.Instant; @Service @@ -25,6 +28,22 @@ public Session createNewSession(String token, String remoteAddr) { var tokenResp = this.getTokenResponse(token); var jmsSession = this.createJMSSession(tokenResp, remoteAddr); + + if (StringUtils.isNotBlank(tokenResp.getData().getFaceMonitorToken())) { + var faceMonitorToken = tokenResp.getData().getFaceMonitorToken(); + + var req = ServiceOuterClass.JoinFaceMonitorRequest.newBuilder() + .setFaceMonitorToken(faceMonitorToken) + .setSessionId(jmsSession.getId()) + .build(); + + var resp = serviceBlockingStub.joinFaceMonitor(req); + if (!resp.getStatus().getOk()) { + throw new RuntimeException("Create face monitor context failed"); + } + } + + var datasource = this.createDatasource(tokenResp); var session = new JMSSession(jmsSession, datasource, remoteAddr, this.serviceBlockingStub, tokenResp); this.handleGateways(tokenResp, session, datasource); @@ -80,10 +99,29 @@ private ServiceOuterClass.TokenResponse getTokenResponse(String token) { } } + public static String getIPAddressType(String host) { + try { + InetAddress address = InetAddress.getByName(host); + + if (address.getHostAddress().contains(":")) { + return "IPv6"; + } else { + return "IPv4"; + } + } catch (UnknownHostException e) { + return "Unknown"; + } + } + private Datasource createDatasource(ServiceOuterClass.TokenResponse tokenResp) { DBConnectInfo dbConnectInfo = new DBConnectInfo(); - dbConnectInfo.setHost(tokenResp.getData().getAsset().getAddress()); + var address = tokenResp.getData().getAsset().getAddress(); + + address = getIPAddressType(address).equals("IPv6") ? + String.format("[%s]", address) : address; + + dbConnectInfo.setHost(address); dbConnectInfo.setPort(tokenResp.getData().getAsset().getProtocols(0).getPort()); dbConnectInfo.setDbType(tokenResp.getData().getAsset().getProtocols(0).getName().toLowerCase()); dbConnectInfo.setUser(tokenResp.getData().getAccount().getUsername()); diff --git a/backend/wisp/src/main/java/org/jumpserver/wisp/Common.java b/backend/wisp/src/main/java/org/jumpserver/wisp/Common.java index 354c84b..ecb3113 100644 --- a/backend/wisp/src/main/java/org/jumpserver/wisp/Common.java +++ b/backend/wisp/src/main/java/org/jumpserver/wisp/Common.java @@ -1,6 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: common.proto -// Protobuf Java Version: 4.26.1 +// Protobuf Java Version: 4.28.0 package org.jumpserver.wisp; @@ -10,8 +11,8 @@ private Common() {} com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Common.class.getName()); } @@ -56,8 +57,8 @@ public enum TaskAction com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TaskAction.class.getName()); } @@ -204,8 +205,8 @@ public enum RiskLevel com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", RiskLevel.class.getName()); } @@ -397,8 +398,8 @@ public static final class User extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", User.class.getName()); } @@ -1500,8 +1501,8 @@ public static final class Account extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Account.class.getName()); } @@ -2623,8 +2624,8 @@ public static final class LabelValue extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", LabelValue.class.getName()); } @@ -3356,8 +3357,8 @@ public static final class Asset extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Asset.class.getName()); } @@ -3547,8 +3548,8 @@ public static final class Specific extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Specific.class.getName()); } @@ -7106,8 +7107,8 @@ public static final class Protocol extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Protocol.class.getName()); } @@ -7826,8 +7827,8 @@ public static final class Gateway extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Gateway.class.getName()); } @@ -9236,8 +9237,8 @@ public static final class Permission extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Permission.class.getName()); } @@ -10004,8 +10005,8 @@ public static final class CommandACL extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandACL.class.getName()); } @@ -10069,8 +10070,8 @@ public enum Action com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Action.class.getName()); } @@ -11438,8 +11439,8 @@ public static final class CommandGroup extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandGroup.class.getName()); } @@ -12553,8 +12554,8 @@ public static final class ExpireInfo extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ExpireInfo.class.getName()); } @@ -13131,8 +13132,8 @@ public static final class Session extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Session.class.getName()); } @@ -13196,8 +13197,8 @@ public enum LoginFrom com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", LoginFrom.class.getName()); } @@ -15315,8 +15316,8 @@ public static final class TokenStatus extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TokenStatus.class.getName()); } @@ -16090,8 +16091,8 @@ public static final class TerminalTask extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TerminalTask.class.getName()); } @@ -17447,6 +17448,18 @@ org.jumpserver.wisp.Common.GatewayOrBuilder getGatewaysOrBuilder( * .message.Platform platform = 11; */ org.jumpserver.wisp.Common.PlatformOrBuilder getPlatformOrBuilder(); + + /** + * string FaceMonitorToken = 12; + * @return The faceMonitorToken. + */ + java.lang.String getFaceMonitorToken(); + /** + * string FaceMonitorToken = 12; + * @return The bytes for faceMonitorToken. + */ + com.google.protobuf.ByteString + getFaceMonitorTokenBytes(); } /** * Protobuf type {@code message.TokenAuthInfo} @@ -17460,8 +17473,8 @@ public static final class TokenAuthInfo extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TokenAuthInfo.class.getName()); } @@ -17474,6 +17487,7 @@ private TokenAuthInfo() { secreteId_ = ""; filterRules_ = java.util.Collections.emptyList(); gateways_ = java.util.Collections.emptyList(); + faceMonitorToken_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor @@ -17832,6 +17846,45 @@ public org.jumpserver.wisp.Common.PlatformOrBuilder getPlatformOrBuilder() { return platform_ == null ? org.jumpserver.wisp.Common.Platform.getDefaultInstance() : platform_; } + public static final int FACEMONITORTOKEN_FIELD_NUMBER = 12; + @SuppressWarnings("serial") + private volatile java.lang.Object faceMonitorToken_ = ""; + /** + * string FaceMonitorToken = 12; + * @return The faceMonitorToken. + */ + @java.lang.Override + public java.lang.String getFaceMonitorToken() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceMonitorToken_ = s; + return s; + } + } + /** + * string FaceMonitorToken = 12; + * @return The bytes for faceMonitorToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFaceMonitorTokenBytes() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceMonitorToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -17879,6 +17932,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(11, getPlatform()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(faceMonitorToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, faceMonitorToken_); + } getUnknownFields().writeTo(output); } @@ -17930,6 +17986,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getPlatform()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(faceMonitorToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, faceMonitorToken_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -17988,6 +18047,8 @@ public boolean equals(final java.lang.Object obj) { if (!getPlatform() .equals(other.getPlatform())) return false; } + if (!getFaceMonitorToken() + .equals(other.getFaceMonitorToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -18039,6 +18100,8 @@ public int hashCode() { hash = (37 * hash) + PLATFORM_FIELD_NUMBER; hash = (53 * hash) + getPlatform().hashCode(); } + hash = (37 * hash) + FACEMONITORTOKEN_FIELD_NUMBER; + hash = (53 * hash) + getFaceMonitorToken().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -18235,6 +18298,7 @@ public Builder clear() { platformBuilder_.dispose(); platformBuilder_ = null; } + faceMonitorToken_ = ""; return this; } @@ -18339,6 +18403,9 @@ private void buildPartial0(org.jumpserver.wisp.Common.TokenAuthInfo result) { : platformBuilder_.build(); to_bitField0_ |= 0x00000040; } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.faceMonitorToken_ = faceMonitorToken_; + } result.bitField0_ |= to_bitField0_; } @@ -18437,6 +18504,11 @@ public Builder mergeFrom(org.jumpserver.wisp.Common.TokenAuthInfo other) { if (other.hasPlatform()) { mergePlatform(other.getPlatform()); } + if (!other.getFaceMonitorToken().isEmpty()) { + faceMonitorToken_ = other.faceMonitorToken_; + bitField0_ |= 0x00000800; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -18548,6 +18620,11 @@ public Builder mergeFrom( bitField0_ |= 0x00000400; break; } // case 90 + case 98: { + faceMonitorToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -20036,6 +20113,78 @@ public org.jumpserver.wisp.Common.PlatformOrBuilder getPlatformOrBuilder() { return platformBuilder_; } + private java.lang.Object faceMonitorToken_ = ""; + /** + * string FaceMonitorToken = 12; + * @return The faceMonitorToken. + */ + public java.lang.String getFaceMonitorToken() { + java.lang.Object ref = faceMonitorToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceMonitorToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string FaceMonitorToken = 12; + * @return The bytes for faceMonitorToken. + */ + public com.google.protobuf.ByteString + getFaceMonitorTokenBytes() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceMonitorToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string FaceMonitorToken = 12; + * @param value The faceMonitorToken to set. + * @return This builder for chaining. + */ + public Builder setFaceMonitorToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + faceMonitorToken_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * string FaceMonitorToken = 12; + * @return This builder for chaining. + */ + public Builder clearFaceMonitorToken() { + faceMonitorToken_ = getDefaultInstance().getFaceMonitorToken(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * string FaceMonitorToken = 12; + * @param value The bytes for faceMonitorToken to set. + * @return This builder for chaining. + */ + public Builder setFaceMonitorTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + faceMonitorToken_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:message.TokenAuthInfo) } @@ -20181,8 +20330,8 @@ public static final class Platform extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Platform.class.getName()); } @@ -21565,8 +21714,8 @@ public static final class PlatformProtocol extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PlatformProtocol.class.getName()); } @@ -22486,8 +22635,8 @@ public static final class ComponentSetting extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ComponentSetting.class.getName()); } @@ -23010,8 +23159,8 @@ public static final class Forward extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Forward.class.getName()); } @@ -23757,6 +23906,18 @@ public interface PublicSettingOrBuilder extends */ com.google.protobuf.ByteString getGptModelBytes(); + + /** + * string license_content = 7; + * @return The licenseContent. + */ + java.lang.String getLicenseContent(); + /** + * string license_content = 7; + * @return The bytes for licenseContent. + */ + com.google.protobuf.ByteString + getLicenseContentBytes(); } /** * Protobuf type {@code message.PublicSetting} @@ -23770,8 +23931,8 @@ public static final class PublicSetting extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PublicSetting.class.getName()); } @@ -23784,6 +23945,7 @@ private PublicSetting() { gptApiKey_ = ""; gptProxy_ = ""; gptModel_ = ""; + licenseContent_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor @@ -23977,6 +24139,45 @@ public java.lang.String getGptModel() { } } + public static final int LICENSE_CONTENT_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object licenseContent_ = ""; + /** + * string license_content = 7; + * @return The licenseContent. + */ + @java.lang.Override + public java.lang.String getLicenseContent() { + java.lang.Object ref = licenseContent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + licenseContent_ = s; + return s; + } + } + /** + * string license_content = 7; + * @return The bytes for licenseContent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLicenseContentBytes() { + java.lang.Object ref = licenseContent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + licenseContent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -24009,6 +24210,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gptModel_)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, gptModel_); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(licenseContent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, licenseContent_); + } getUnknownFields().writeTo(output); } @@ -24038,6 +24242,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gptModel_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, gptModel_); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(licenseContent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, licenseContent_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -24065,6 +24272,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getGptProxy())) return false; if (!getGptModel() .equals(other.getGptModel())) return false; + if (!getLicenseContent() + .equals(other.getLicenseContent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -24090,6 +24299,8 @@ public int hashCode() { hash = (53 * hash) + getGptProxy().hashCode(); hash = (37 * hash) + GPT_MODEL_FIELD_NUMBER; hash = (53 * hash) + getGptModel().hashCode(); + hash = (37 * hash) + LICENSE_CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getLicenseContent().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -24227,6 +24438,7 @@ public Builder clear() { gptApiKey_ = ""; gptProxy_ = ""; gptModel_ = ""; + licenseContent_ = ""; return this; } @@ -24278,6 +24490,9 @@ private void buildPartial0(org.jumpserver.wisp.Common.PublicSetting result) { if (((from_bitField0_ & 0x00000020) != 0)) { result.gptModel_ = gptModel_; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.licenseContent_ = licenseContent_; + } } @java.lang.Override @@ -24318,6 +24533,11 @@ public Builder mergeFrom(org.jumpserver.wisp.Common.PublicSetting other) { bitField0_ |= 0x00000020; onChanged(); } + if (!other.getLicenseContent().isEmpty()) { + licenseContent_ = other.licenseContent_; + bitField0_ |= 0x00000040; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -24374,6 +24594,11 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 50 + case 58: { + licenseContent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -24743,6 +24968,78 @@ public Builder setGptModelBytes( return this; } + private java.lang.Object licenseContent_ = ""; + /** + * string license_content = 7; + * @return The licenseContent. + */ + public java.lang.String getLicenseContent() { + java.lang.Object ref = licenseContent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + licenseContent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string license_content = 7; + * @return The bytes for licenseContent. + */ + public com.google.protobuf.ByteString + getLicenseContentBytes() { + java.lang.Object ref = licenseContent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + licenseContent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string license_content = 7; + * @param value The licenseContent to set. + * @return This builder for chaining. + */ + public Builder setLicenseContent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + licenseContent_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * string license_content = 7; + * @return This builder for chaining. + */ + public Builder clearLicenseContent() { + licenseContent_ = getDefaultInstance().getLicenseContent(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * string license_content = 7; + * @param value The bytes for licenseContent to set. + * @return This builder for chaining. + */ + public Builder setLicenseContentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + licenseContent_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:message.PublicSetting) } @@ -24834,8 +25131,8 @@ public static final class Cookie extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Cookie.class.getName()); } @@ -25503,8 +25800,8 @@ public static final class LifecycleLogData extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", LifecycleLogData.class.getName()); } @@ -25595,8 +25892,8 @@ public enum event_type com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", event_type.class.getName()); } @@ -26605,7 +26902,7 @@ public org.jumpserver.wisp.Common.LifecycleLogData getDefaultInstanceForType() { "\001(\0162\023.message.TaskAction\022\022\n\nsession_id\030\003" + " \001(\t\022\025\n\rterminated_by\030\004 \001(\t\022\022\n\ncreated_b" + "y\030\005 \001(\t\022*\n\014token_status\030\006 \001(\0132\024.message." + - "TokenStatus\"\205\003\n\rTokenAuthInfo\022\016\n\006key_id\030" + + "TokenStatus\"\237\003\n\rTokenAuthInfo\022\016\n\006key_id\030" + "\001 \001(\t\022\022\n\nsecrete_id\030\002 \001(\t\022\035\n\005asset\030\003 \001(\013" + "2\016.message.Asset\022\033\n\004user\030\004 \001(\0132\r.message" + ".User\022!\n\007account\030\005 \001(\0132\020.message.Account" + @@ -26615,39 +26912,40 @@ public org.jumpserver.wisp.Common.LifecycleLogData getDefaultInstanceForType() { "andACL\022\"\n\010gateways\030\t \003(\0132\020.message.Gatew" + "ay\022*\n\007setting\030\n \001(\0132\031.message.ComponentS" + "etting\022#\n\010platform\030\013 \001(\0132\021.message.Platf" + - "orm\"\203\001\n\010Platform\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001" + - "(\t\022\020\n\010category\030\003 \001(\t\022\017\n\007charset\030\004 \001(\t\022\014\n" + - "\004type\030\005 \001(\t\022,\n\tprotocols\030\006 \003(\0132\031.message" + - ".PlatformProtocol\"\246\001\n\020PlatformProtocol\022\n" + - "\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\0229" + - "\n\010settings\030\004 \003(\0132\'.message.PlatformProto" + - "col.SettingsEntry\032/\n\rSettingsEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"C\n\020ComponentS" + - "etting\022\025\n\rmax_idle_time\030\001 \001(\005\022\030\n\020max_ses" + - "sion_time\030\002 \001(\005\"1\n\007Forward\022\n\n\002id\030\001 \001(\t\022\014" + - "\n\004Host\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\"\216\001\n\rPublicSet" + - "ting\022\025\n\rxpack_enabled\030\001 \001(\010\022\025\n\rvalid_lic" + - "ense\030\002 \001(\010\022\024\n\014gpt_base_url\030\003 \001(\t\022\023\n\013gpt_" + - "api_key\030\004 \001(\t\022\021\n\tgpt_proxy\030\005 \001(\t\022\021\n\tgpt_" + - "model\030\006 \001(\t\"%\n\006Cookie\022\014\n\004name\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t\"\250\003\n\020LifecycleLogData\0223\n\005event" + - "\030\001 \001(\0162$.message.LifecycleLogData.event_" + - "type\022\016\n\006reason\030\002 \001(\t\022\014\n\004user\030\003 \001(\t\"\300\002\n\ne" + - "vent_type\022\027\n\023AssetConnectSuccess\020\000\022\030\n\024As" + - "setConnectFinished\020\001\022\023\n\017CreateShareLink\020" + - "\002\022\023\n\017UserJoinSession\020\003\022\024\n\020UserLeaveSessi" + - "on\020\004\022\024\n\020AdminJoinMonitor\020\005\022\024\n\020AdminExitM" + - "onitor\020\006\022\026\n\022ReplayConvertStart\020\007\022\030\n\024Repl" + - "ayConvertSuccess\020\010\022\030\n\024ReplayConvertFailu" + - "re\020\t\022\025\n\021ReplayUploadStart\020\n\022\027\n\023ReplayUpl" + - "oadSuccess\020\013\022\027\n\023ReplayUploadFailure\020\014*k\n" + - "\nTaskAction\022\017\n\013KillSession\020\000\022\017\n\013LockSess" + - "ion\020\001\022\021\n\rUnlockSession\020\002\022\024\n\020TokenPermExp" + - "ired\020\003\022\022\n\016TokenPermValid\020\004*f\n\tRiskLevel\022" + - "\n\n\006Normal\020\000\022\013\n\007Warning\020\001\022\n\n\006Reject\020\002\022\020\n\014" + - "ReviewReject\020\003\022\020\n\014ReviewAccept\020\004\022\020\n\014Revi" + - "ewCancel\020\005B \n\023org.jumpserver.wispZ\t/prot" + - "obufb\006proto3" + "orm\022\030\n\020FaceMonitorToken\030\014 \001(\t\"\203\001\n\010Platfo" + + "rm\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\020\n\010category" + + "\030\003 \001(\t\022\017\n\007charset\030\004 \001(\t\022\014\n\004type\030\005 \001(\t\022,\n" + + "\tprotocols\030\006 \003(\0132\031.message.PlatformProto" + + "col\"\246\001\n\020PlatformProtocol\022\n\n\002id\030\001 \001(\005\022\014\n\004" + + "name\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\0229\n\010settings\030\004 \003" + + "(\0132\'.message.PlatformProtocol.SettingsEn" + + "try\032/\n\rSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"C\n\020ComponentSetting\022\025\n\rmax_" + + "idle_time\030\001 \001(\005\022\030\n\020max_session_time\030\002 \001(" + + "\005\"1\n\007Forward\022\n\n\002id\030\001 \001(\t\022\014\n\004Host\030\002 \001(\t\022\014" + + "\n\004port\030\003 \001(\005\"\247\001\n\rPublicSetting\022\025\n\rxpack_" + + "enabled\030\001 \001(\010\022\025\n\rvalid_license\030\002 \001(\010\022\024\n\014" + + "gpt_base_url\030\003 \001(\t\022\023\n\013gpt_api_key\030\004 \001(\t\022" + + "\021\n\tgpt_proxy\030\005 \001(\t\022\021\n\tgpt_model\030\006 \001(\t\022\027\n" + + "\017license_content\030\007 \001(\t\"%\n\006Cookie\022\014\n\004name" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\250\003\n\020LifecycleLogDa" + + "ta\0223\n\005event\030\001 \001(\0162$.message.LifecycleLog" + + "Data.event_type\022\016\n\006reason\030\002 \001(\t\022\014\n\004user\030" + + "\003 \001(\t\"\300\002\n\nevent_type\022\027\n\023AssetConnectSucc" + + "ess\020\000\022\030\n\024AssetConnectFinished\020\001\022\023\n\017Creat" + + "eShareLink\020\002\022\023\n\017UserJoinSession\020\003\022\024\n\020Use" + + "rLeaveSession\020\004\022\024\n\020AdminJoinMonitor\020\005\022\024\n" + + "\020AdminExitMonitor\020\006\022\026\n\022ReplayConvertStar" + + "t\020\007\022\030\n\024ReplayConvertSuccess\020\010\022\030\n\024ReplayC" + + "onvertFailure\020\t\022\025\n\021ReplayUploadStart\020\n\022\027" + + "\n\023ReplayUploadSuccess\020\013\022\027\n\023ReplayUploadF" + + "ailure\020\014*k\n\nTaskAction\022\017\n\013KillSession\020\000\022" + + "\017\n\013LockSession\020\001\022\021\n\rUnlockSession\020\002\022\024\n\020T" + + "okenPermExpired\020\003\022\022\n\016TokenPermValid\020\004*f\n" + + "\tRiskLevel\022\n\n\006Normal\020\000\022\013\n\007Warning\020\001\022\n\n\006R" + + "eject\020\002\022\020\n\014ReviewReject\020\003\022\020\n\014ReviewAccep" + + "t\020\004\022\020\n\014ReviewCancel\020\005B \n\023org.jumpserver." + + "wispZ\t/protobufb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -26742,7 +27040,7 @@ public org.jumpserver.wisp.Common.LifecycleLogData getDefaultInstanceForType() { internal_static_message_TokenAuthInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TokenAuthInfo_descriptor, - new java.lang.String[] { "KeyId", "SecreteId", "Asset", "User", "Account", "Permission", "ExpireInfo", "FilterRules", "Gateways", "Setting", "Platform", }); + new java.lang.String[] { "KeyId", "SecreteId", "Asset", "User", "Account", "Permission", "ExpireInfo", "FilterRules", "Gateways", "Setting", "Platform", "FaceMonitorToken", }); internal_static_message_Platform_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_message_Platform_fieldAccessorTable = new @@ -26778,7 +27076,7 @@ public org.jumpserver.wisp.Common.LifecycleLogData getDefaultInstanceForType() { internal_static_message_PublicSetting_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PublicSetting_descriptor, - new java.lang.String[] { "XpackEnabled", "ValidLicense", "GptBaseUrl", "GptApiKey", "GptProxy", "GptModel", }); + new java.lang.String[] { "XpackEnabled", "ValidLicense", "GptBaseUrl", "GptApiKey", "GptProxy", "GptModel", "LicenseContent", }); internal_static_message_Cookie_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_message_Cookie_fieldAccessorTable = new diff --git a/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceGrpc.java b/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceGrpc.java index d5cd6ce..58a1860 100644 --- a/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceGrpc.java +++ b/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceGrpc.java @@ -635,6 +635,99 @@ org.jumpserver.wisp.ServiceOuterClass.StatusResponse> getRecordSessionLifecycleL return getRecordSessionLifecycleLogMethod; } + private static volatile io.grpc.MethodDescriptor getFaceRecognitionCallbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FaceRecognitionCallback", + requestType = org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.class, + responseType = org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFaceRecognitionCallbackMethod() { + io.grpc.MethodDescriptor getFaceRecognitionCallbackMethod; + if ((getFaceRecognitionCallbackMethod = ServiceGrpc.getFaceRecognitionCallbackMethod) == null) { + synchronized (ServiceGrpc.class) { + if ((getFaceRecognitionCallbackMethod = ServiceGrpc.getFaceRecognitionCallbackMethod) == null) { + ServiceGrpc.getFaceRecognitionCallbackMethod = getFaceRecognitionCallbackMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FaceRecognitionCallback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMethodDescriptorSupplier("FaceRecognitionCallback")) + .build(); + } + } + } + return getFaceRecognitionCallbackMethod; + } + + private static volatile io.grpc.MethodDescriptor getFaceMonitorCallbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FaceMonitorCallback", + requestType = org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.class, + responseType = org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFaceMonitorCallbackMethod() { + io.grpc.MethodDescriptor getFaceMonitorCallbackMethod; + if ((getFaceMonitorCallbackMethod = ServiceGrpc.getFaceMonitorCallbackMethod) == null) { + synchronized (ServiceGrpc.class) { + if ((getFaceMonitorCallbackMethod = ServiceGrpc.getFaceMonitorCallbackMethod) == null) { + ServiceGrpc.getFaceMonitorCallbackMethod = getFaceMonitorCallbackMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FaceMonitorCallback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMethodDescriptorSupplier("FaceMonitorCallback")) + .build(); + } + } + } + return getFaceMonitorCallbackMethod; + } + + private static volatile io.grpc.MethodDescriptor getJoinFaceMonitorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "JoinFaceMonitor", + requestType = org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.class, + responseType = org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getJoinFaceMonitorMethod() { + io.grpc.MethodDescriptor getJoinFaceMonitorMethod; + if ((getJoinFaceMonitorMethod = ServiceGrpc.getJoinFaceMonitorMethod) == null) { + synchronized (ServiceGrpc.class) { + if ((getJoinFaceMonitorMethod = ServiceGrpc.getJoinFaceMonitorMethod) == null) { + ServiceGrpc.getJoinFaceMonitorMethod = getJoinFaceMonitorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "JoinFaceMonitor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMethodDescriptorSupplier("JoinFaceMonitor")) + .build(); + } + } + } + return getJoinFaceMonitorMethod; + } + /** * Creates a new async stub that supports all call types for the service */ @@ -822,6 +915,27 @@ default void recordSessionLifecycleLog(org.jumpserver.wisp.ServiceOuterClass.Ses io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRecordSessionLifecycleLogMethod(), responseObserver); } + + /** + */ + default void faceRecognitionCallback(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFaceRecognitionCallbackMethod(), responseObserver); + } + + /** + */ + default void faceMonitorCallback(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFaceMonitorCallbackMethod(), responseObserver); + } + + /** + */ + default void joinFaceMonitor(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getJoinFaceMonitorMethod(), responseObserver); + } } /** @@ -1010,6 +1124,30 @@ public void recordSessionLifecycleLog(org.jumpserver.wisp.ServiceOuterClass.Sess io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRecordSessionLifecycleLogMethod(), getCallOptions()), request, responseObserver); } + + /** + */ + public void faceRecognitionCallback(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFaceRecognitionCallbackMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void faceMonitorCallback(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFaceMonitorCallbackMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void joinFaceMonitor(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getJoinFaceMonitorMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -1160,6 +1298,27 @@ public org.jumpserver.wisp.ServiceOuterClass.StatusResponse recordSessionLifecyc return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRecordSessionLifecycleLogMethod(), getCallOptions(), request); } + + /** + */ + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse faceRecognitionCallback(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFaceRecognitionCallbackMethod(), getCallOptions(), request); + } + + /** + */ + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse faceMonitorCallback(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFaceMonitorCallbackMethod(), getCallOptions(), request); + } + + /** + */ + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse joinFaceMonitor(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getJoinFaceMonitorMethod(), getCallOptions(), request); + } } /** @@ -1329,6 +1488,30 @@ public com.google.common.util.concurrent.ListenableFuture faceRecognitionCallback( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFaceRecognitionCallbackMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture faceMonitorCallback( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFaceMonitorCallbackMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture joinFaceMonitor( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getJoinFaceMonitorMethod(), getCallOptions()), request); + } } private static final int METHODID_GET_TOKEN_AUTH_INFO = 0; @@ -1350,7 +1533,10 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1445,6 +1631,18 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.recordSessionLifecycleLog((org.jumpserver.wisp.ServiceOuterClass.SessionLifecycleLogRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_FACE_RECOGNITION_CALLBACK: + serviceImpl.faceRecognitionCallback((org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FACE_MONITOR_CALLBACK: + serviceImpl.faceMonitorCallback((org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_JOIN_FACE_MONITOR: + serviceImpl.joinFaceMonitor((org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -1606,6 +1804,27 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser org.jumpserver.wisp.ServiceOuterClass.SessionLifecycleLogRequest, org.jumpserver.wisp.ServiceOuterClass.StatusResponse>( service, METHODID_RECORD_SESSION_LIFECYCLE_LOG))) + .addMethod( + getFaceRecognitionCallbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest, + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse>( + service, METHODID_FACE_RECOGNITION_CALLBACK))) + .addMethod( + getFaceMonitorCallbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest, + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse>( + service, METHODID_FACE_MONITOR_CALLBACK))) + .addMethod( + getJoinFaceMonitorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest, + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse>( + service, METHODID_JOIN_FACE_MONITOR))) .build(); } @@ -1674,6 +1893,9 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getHandlePortFailureMethod()) .addMethod(getCheckUserByCookiesMethod()) .addMethod(getRecordSessionLifecycleLogMethod()) + .addMethod(getFaceRecognitionCallbackMethod()) + .addMethod(getFaceMonitorCallbackMethod()) + .addMethod(getJoinFaceMonitorMethod()) .build(); } } diff --git a/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceOuterClass.java b/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceOuterClass.java index 67a816e..3b3a9a6 100644 --- a/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceOuterClass.java +++ b/backend/wisp/src/main/java/org/jumpserver/wisp/ServiceOuterClass.java @@ -1,6 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: service.proto -// Protobuf Java Version: 4.26.1 +// Protobuf Java Version: 4.28.0 package org.jumpserver.wisp; @@ -10,8 +11,8 @@ private ServiceOuterClass() {} com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ServiceOuterClass.class.getName()); } @@ -24,6 +25,4419 @@ public static void registerAllExtensions( registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } + public interface JoinFaceMonitorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.JoinFaceMonitorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string face_monitor_token = 1; + * @return The faceMonitorToken. + */ + java.lang.String getFaceMonitorToken(); + /** + * string face_monitor_token = 1; + * @return The bytes for faceMonitorToken. + */ + com.google.protobuf.ByteString + getFaceMonitorTokenBytes(); + + /** + * string session_id = 2; + * @return The sessionId. + */ + java.lang.String getSessionId(); + /** + * string session_id = 2; + * @return The bytes for sessionId. + */ + com.google.protobuf.ByteString + getSessionIdBytes(); + } + /** + * Protobuf type {@code message.JoinFaceMonitorRequest} + */ + public static final class JoinFaceMonitorRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.JoinFaceMonitorRequest) + JoinFaceMonitorRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + JoinFaceMonitorRequest.class.getName()); + } + // Use JoinFaceMonitorRequest.newBuilder() to construct. + private JoinFaceMonitorRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private JoinFaceMonitorRequest() { + faceMonitorToken_ = ""; + sessionId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.class, org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.Builder.class); + } + + public static final int FACE_MONITOR_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object faceMonitorToken_ = ""; + /** + * string face_monitor_token = 1; + * @return The faceMonitorToken. + */ + @java.lang.Override + public java.lang.String getFaceMonitorToken() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceMonitorToken_ = s; + return s; + } + } + /** + * string face_monitor_token = 1; + * @return The bytes for faceMonitorToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFaceMonitorTokenBytes() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceMonitorToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SESSION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object sessionId_ = ""; + /** + * string session_id = 2; + * @return The sessionId. + */ + @java.lang.Override + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } + } + /** + * string session_id = 2; + * @return The bytes for sessionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = 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.GeneratedMessage.isStringEmpty(faceMonitorToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, faceMonitorToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sessionId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, sessionId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(faceMonitorToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, faceMonitorToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sessionId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, sessionId_); + } + 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 org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest other = (org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest) obj; + + if (!getFaceMonitorToken() + .equals(other.getFaceMonitorToken())) return false; + if (!getSessionId() + .equals(other.getSessionId())) 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) + FACE_MONITOR_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getFaceMonitorToken().hashCode(); + hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getSessionId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.JoinFaceMonitorRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.JoinFaceMonitorRequest) + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.class, org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + faceMonitorToken_ = ""; + sessionId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorRequest_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest build() { + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest result = new org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.faceMonitorToken_ = faceMonitorToken_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.sessionId_ = sessionId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest.getDefaultInstance()) return this; + if (!other.getFaceMonitorToken().isEmpty()) { + faceMonitorToken_ = other.faceMonitorToken_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSessionId().isEmpty()) { + sessionId_ = other.sessionId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + faceMonitorToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sessionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object faceMonitorToken_ = ""; + /** + * string face_monitor_token = 1; + * @return The faceMonitorToken. + */ + public java.lang.String getFaceMonitorToken() { + java.lang.Object ref = faceMonitorToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceMonitorToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string face_monitor_token = 1; + * @return The bytes for faceMonitorToken. + */ + public com.google.protobuf.ByteString + getFaceMonitorTokenBytes() { + java.lang.Object ref = faceMonitorToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceMonitorToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string face_monitor_token = 1; + * @param value The faceMonitorToken to set. + * @return This builder for chaining. + */ + public Builder setFaceMonitorToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + faceMonitorToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string face_monitor_token = 1; + * @return This builder for chaining. + */ + public Builder clearFaceMonitorToken() { + faceMonitorToken_ = getDefaultInstance().getFaceMonitorToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string face_monitor_token = 1; + * @param value The bytes for faceMonitorToken to set. + * @return This builder for chaining. + */ + public Builder setFaceMonitorTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + faceMonitorToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object sessionId_ = ""; + /** + * string session_id = 2; + * @return The sessionId. + */ + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string session_id = 2; + * @return The bytes for sessionId. + */ + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string session_id = 2; + * @param value The sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + sessionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string session_id = 2; + * @return This builder for chaining. + */ + public Builder clearSessionId() { + sessionId_ = getDefaultInstance().getSessionId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string session_id = 2; + * @param value The bytes for sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + sessionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:message.JoinFaceMonitorRequest) + } + + // @@protoc_insertion_point(class_scope:message.JoinFaceMonitorRequest) + private static final org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinFaceMonitorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface JoinFaceMonitorResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.JoinFaceMonitorResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * .message.Status status = 1; + * @return The status. + */ + org.jumpserver.wisp.ServiceOuterClass.Status getStatus(); + /** + * .message.Status status = 1; + */ + org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder(); + } + /** + * Protobuf type {@code message.JoinFaceMonitorResponse} + */ + public static final class JoinFaceMonitorResponse extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.JoinFaceMonitorResponse) + JoinFaceMonitorResponseOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + JoinFaceMonitorResponse.class.getName()); + } + // Use JoinFaceMonitorResponse.newBuilder() to construct. + private JoinFaceMonitorResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private JoinFaceMonitorResponse() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.class, org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.Builder.class); + } + + private int bitField0_; + public static final int STATUS_FIELD_NUMBER = 1; + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + /** + * .message.Status status = 1; + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getStatus()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); + } + 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 org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse other = (org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse) obj; + + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus() + .equals(other.getStatus())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.JoinFaceMonitorResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.JoinFaceMonitorResponse) + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.class, org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + getStatusFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_JoinFaceMonitorResponse_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse build() { + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse result = new org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse.getDefaultInstance()) return this; + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> statusBuilder_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * .message.Status status = 1; + */ + public Builder setStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder setStatus( + org.jumpserver.wisp.ServiceOuterClass.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder mergeStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .message.Status status = 1; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? + org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + } + /** + * .message.Status status = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); + status_ = null; + } + return statusBuilder_; + } + + // @@protoc_insertion_point(builder_scope:message.JoinFaceMonitorResponse) + } + + // @@protoc_insertion_point(class_scope:message.JoinFaceMonitorResponse) + private static final org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinFaceMonitorResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.JoinFaceMonitorResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FaceMonitorCallbackRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.FaceMonitorCallbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string token = 1; + * @return The token. + */ + java.lang.String getToken(); + /** + * string token = 1; + * @return The bytes for token. + */ + com.google.protobuf.ByteString + getTokenBytes(); + + /** + * bool success = 2; + * @return The success. + */ + boolean getSuccess(); + + /** + * string error_message = 3; + * @return The errorMessage. + */ + java.lang.String getErrorMessage(); + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + + /** + * bool is_finished = 4; + * @return The isFinished. + */ + boolean getIsFinished(); + + /** + * string action = 5; + * @return The action. + */ + java.lang.String getAction(); + /** + * string action = 5; + * @return The bytes for action. + */ + com.google.protobuf.ByteString + getActionBytes(); + + /** + * repeated string face_codes = 6; + * @return A list containing the faceCodes. + */ + java.util.List + getFaceCodesList(); + /** + * repeated string face_codes = 6; + * @return The count of faceCodes. + */ + int getFaceCodesCount(); + /** + * repeated string face_codes = 6; + * @param index The index of the element to return. + * @return The faceCodes at the given index. + */ + java.lang.String getFaceCodes(int index); + /** + * repeated string face_codes = 6; + * @param index The index of the value to return. + * @return The bytes of the faceCodes at the given index. + */ + com.google.protobuf.ByteString + getFaceCodesBytes(int index); + } + /** + * Protobuf type {@code message.FaceMonitorCallbackRequest} + */ + public static final class FaceMonitorCallbackRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.FaceMonitorCallbackRequest) + FaceMonitorCallbackRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + FaceMonitorCallbackRequest.class.getName()); + } + // Use FaceMonitorCallbackRequest.newBuilder() to construct. + private FaceMonitorCallbackRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FaceMonitorCallbackRequest() { + token_ = ""; + errorMessage_ = ""; + action_ = ""; + faceCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.class, org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.Builder.class); + } + + public static final int TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object token_ = ""; + /** + * string token = 1; + * @return The token. + */ + @java.lang.Override + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } + } + /** + * string token = 1; + * @return The bytes for token. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUCCESS_FIELD_NUMBER = 2; + private boolean success_ = false; + /** + * bool success = 2; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + + public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object errorMessage_ = ""; + /** + * string error_message = 3; + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_FINISHED_FIELD_NUMBER = 4; + private boolean isFinished_ = false; + /** + * bool is_finished = 4; + * @return The isFinished. + */ + @java.lang.Override + public boolean getIsFinished() { + return isFinished_; + } + + public static final int ACTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object action_ = ""; + /** + * string action = 5; + * @return The action. + */ + @java.lang.Override + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } + } + /** + * string action = 5; + * @return The bytes for action. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FACE_CODES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList faceCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string face_codes = 6; + * @return A list containing the faceCodes. + */ + public com.google.protobuf.ProtocolStringList + getFaceCodesList() { + return faceCodes_; + } + /** + * repeated string face_codes = 6; + * @return The count of faceCodes. + */ + public int getFaceCodesCount() { + return faceCodes_.size(); + } + /** + * repeated string face_codes = 6; + * @param index The index of the element to return. + * @return The faceCodes at the given index. + */ + public java.lang.String getFaceCodes(int index) { + return faceCodes_.get(index); + } + /** + * repeated string face_codes = 6; + * @param index The index of the value to return. + * @return The bytes of the faceCodes at the given index. + */ + public com.google.protobuf.ByteString + getFaceCodesBytes(int index) { + return faceCodes_.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.GeneratedMessage.isStringEmpty(token_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, token_); + } + if (success_ != false) { + output.writeBool(2, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, errorMessage_); + } + if (isFinished_ != false) { + output.writeBool(4, isFinished_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(action_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, action_); + } + for (int i = 0; i < faceCodes_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, faceCodes_.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.GeneratedMessage.isStringEmpty(token_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, token_); + } + if (success_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, errorMessage_); + } + if (isFinished_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isFinished_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(action_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, action_); + } + { + int dataSize = 0; + for (int i = 0; i < faceCodes_.size(); i++) { + dataSize += computeStringSizeNoTag(faceCodes_.getRaw(i)); + } + size += dataSize; + size += 1 * getFaceCodesList().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 org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest other = (org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest) obj; + + if (!getToken() + .equals(other.getToken())) return false; + if (getSuccess() + != other.getSuccess()) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + if (getIsFinished() + != other.getIsFinished()) return false; + if (!getAction() + .equals(other.getAction())) return false; + if (!getFaceCodesList() + .equals(other.getFaceCodesList())) 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) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + hash = (37 * hash) + SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccess()); + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsFinished()); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + getAction().hashCode(); + if (getFaceCodesCount() > 0) { + hash = (37 * hash) + FACE_CODES_FIELD_NUMBER; + hash = (53 * hash) + getFaceCodesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.FaceMonitorCallbackRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.FaceMonitorCallbackRequest) + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.class, org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + token_ = ""; + success_ = false; + errorMessage_ = ""; + isFinished_ = false; + action_ = ""; + faceCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackRequest_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest build() { + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest result = new org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.token_ = token_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.success_ = success_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.errorMessage_ = errorMessage_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.isFinished_ = isFinished_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.action_ = action_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + faceCodes_.makeImmutable(); + result.faceCodes_ = faceCodes_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest.getDefaultInstance()) return this; + if (!other.getToken().isEmpty()) { + token_ = other.token_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getSuccess() != false) { + setSuccess(other.getSuccess()); + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.getIsFinished() != false) { + setIsFinished(other.getIsFinished()); + } + if (!other.getAction().isEmpty()) { + action_ = other.action_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.faceCodes_.isEmpty()) { + if (faceCodes_.isEmpty()) { + faceCodes_ = other.faceCodes_; + bitField0_ |= 0x00000020; + } else { + ensureFaceCodesIsMutable(); + faceCodes_.addAll(other.faceCodes_); + } + 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: { + token_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + success_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + errorMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + isFinished_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + action_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFaceCodesIsMutable(); + faceCodes_.add(s); + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object token_ = ""; + /** + * string token = 1; + * @return The token. + */ + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token = 1; + * @return The bytes for token. + */ + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token = 1; + * @param value The token to set. + * @return This builder for chaining. + */ + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + token_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string token = 1; + * @return This builder for chaining. + */ + public Builder clearToken() { + token_ = getDefaultInstance().getToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string token = 1; + * @param value The bytes for token to set. + * @return This builder for chaining. + */ + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + token_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean success_ ; + /** + * bool success = 2; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + /** + * bool success = 2; + * @param value The success to set. + * @return This builder for chaining. + */ + public Builder setSuccess(boolean value) { + + success_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool success = 2; + * @return This builder for chaining. + */ + public Builder clearSuccess() { + bitField0_ = (bitField0_ & ~0x00000002); + success_ = false; + onChanged(); + return this; + } + + private java.lang.Object errorMessage_ = ""; + /** + * string error_message = 3; + * @return The errorMessage. + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error_message = 3; + * @param value The errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errorMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string error_message = 3; + * @return This builder for chaining. + */ + public Builder clearErrorMessage() { + errorMessage_ = getDefaultInstance().getErrorMessage(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string error_message = 3; + * @param value The bytes for errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errorMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private boolean isFinished_ ; + /** + * bool is_finished = 4; + * @return The isFinished. + */ + @java.lang.Override + public boolean getIsFinished() { + return isFinished_; + } + /** + * bool is_finished = 4; + * @param value The isFinished to set. + * @return This builder for chaining. + */ + public Builder setIsFinished(boolean value) { + + isFinished_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * bool is_finished = 4; + * @return This builder for chaining. + */ + public Builder clearIsFinished() { + bitField0_ = (bitField0_ & ~0x00000008); + isFinished_ = false; + onChanged(); + return this; + } + + private java.lang.Object action_ = ""; + /** + * string action = 5; + * @return The action. + */ + public java.lang.String getAction() { + java.lang.Object ref = action_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + action_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string action = 5; + * @return The bytes for action. + */ + public com.google.protobuf.ByteString + getActionBytes() { + java.lang.Object ref = action_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + action_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string action = 5; + * @param value The action to set. + * @return This builder for chaining. + */ + public Builder setAction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + action_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * string action = 5; + * @return This builder for chaining. + */ + public Builder clearAction() { + action_ = getDefaultInstance().getAction(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * string action = 5; + * @param value The bytes for action to set. + * @return This builder for chaining. + */ + public Builder setActionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + action_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList faceCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFaceCodesIsMutable() { + if (!faceCodes_.isModifiable()) { + faceCodes_ = new com.google.protobuf.LazyStringArrayList(faceCodes_); + } + bitField0_ |= 0x00000020; + } + /** + * repeated string face_codes = 6; + * @return A list containing the faceCodes. + */ + public com.google.protobuf.ProtocolStringList + getFaceCodesList() { + faceCodes_.makeImmutable(); + return faceCodes_; + } + /** + * repeated string face_codes = 6; + * @return The count of faceCodes. + */ + public int getFaceCodesCount() { + return faceCodes_.size(); + } + /** + * repeated string face_codes = 6; + * @param index The index of the element to return. + * @return The faceCodes at the given index. + */ + public java.lang.String getFaceCodes(int index) { + return faceCodes_.get(index); + } + /** + * repeated string face_codes = 6; + * @param index The index of the value to return. + * @return The bytes of the faceCodes at the given index. + */ + public com.google.protobuf.ByteString + getFaceCodesBytes(int index) { + return faceCodes_.getByteString(index); + } + /** + * repeated string face_codes = 6; + * @param index The index to set the value at. + * @param value The faceCodes to set. + * @return This builder for chaining. + */ + public Builder setFaceCodes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFaceCodesIsMutable(); + faceCodes_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * repeated string face_codes = 6; + * @param value The faceCodes to add. + * @return This builder for chaining. + */ + public Builder addFaceCodes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureFaceCodesIsMutable(); + faceCodes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * repeated string face_codes = 6; + * @param values The faceCodes to add. + * @return This builder for chaining. + */ + public Builder addAllFaceCodes( + java.lang.Iterable values) { + ensureFaceCodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, faceCodes_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * repeated string face_codes = 6; + * @return This builder for chaining. + */ + public Builder clearFaceCodes() { + faceCodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; + onChanged(); + return this; + } + /** + * repeated string face_codes = 6; + * @param value The bytes of the faceCodes to add. + * @return This builder for chaining. + */ + public Builder addFaceCodesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureFaceCodesIsMutable(); + faceCodes_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:message.FaceMonitorCallbackRequest) + } + + // @@protoc_insertion_point(class_scope:message.FaceMonitorCallbackRequest) + private static final org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceMonitorCallbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FaceMonitorCallbackResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.FaceMonitorCallbackResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * .message.Status status = 1; + * @return The status. + */ + org.jumpserver.wisp.ServiceOuterClass.Status getStatus(); + /** + * .message.Status status = 1; + */ + org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder(); + } + /** + * Protobuf type {@code message.FaceMonitorCallbackResponse} + */ + public static final class FaceMonitorCallbackResponse extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.FaceMonitorCallbackResponse) + FaceMonitorCallbackResponseOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + FaceMonitorCallbackResponse.class.getName()); + } + // Use FaceMonitorCallbackResponse.newBuilder() to construct. + private FaceMonitorCallbackResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FaceMonitorCallbackResponse() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.class, org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.Builder.class); + } + + private int bitField0_; + public static final int STATUS_FIELD_NUMBER = 1; + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + /** + * .message.Status status = 1; + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getStatus()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); + } + 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 org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse other = (org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse) obj; + + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus() + .equals(other.getStatus())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.FaceMonitorCallbackResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.FaceMonitorCallbackResponse) + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.class, org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + getStatusFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceMonitorCallbackResponse_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse build() { + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse result = new org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse.getDefaultInstance()) return this; + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> statusBuilder_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * .message.Status status = 1; + */ + public Builder setStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder setStatus( + org.jumpserver.wisp.ServiceOuterClass.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder mergeStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .message.Status status = 1; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? + org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + } + /** + * .message.Status status = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); + status_ = null; + } + return statusBuilder_; + } + + // @@protoc_insertion_point(builder_scope:message.FaceMonitorCallbackResponse) + } + + // @@protoc_insertion_point(class_scope:message.FaceMonitorCallbackResponse) + private static final org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceMonitorCallbackResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceMonitorCallbackResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FaceRecognitionCallbackRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.FaceRecognitionCallbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * string token = 1; + * @return The token. + */ + java.lang.String getToken(); + /** + * string token = 1; + * @return The bytes for token. + */ + com.google.protobuf.ByteString + getTokenBytes(); + + /** + * bool success = 2; + * @return The success. + */ + boolean getSuccess(); + + /** + * string error_message = 3; + * @return The errorMessage. + */ + java.lang.String getErrorMessage(); + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + + /** + * string face_code = 4; + * @return The faceCode. + */ + java.lang.String getFaceCode(); + /** + * string face_code = 4; + * @return The bytes for faceCode. + */ + com.google.protobuf.ByteString + getFaceCodeBytes(); + } + /** + * Protobuf type {@code message.FaceRecognitionCallbackRequest} + */ + public static final class FaceRecognitionCallbackRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.FaceRecognitionCallbackRequest) + FaceRecognitionCallbackRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + FaceRecognitionCallbackRequest.class.getName()); + } + // Use FaceRecognitionCallbackRequest.newBuilder() to construct. + private FaceRecognitionCallbackRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FaceRecognitionCallbackRequest() { + token_ = ""; + errorMessage_ = ""; + faceCode_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.class, org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.Builder.class); + } + + public static final int TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object token_ = ""; + /** + * string token = 1; + * @return The token. + */ + @java.lang.Override + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } + } + /** + * string token = 1; + * @return The bytes for token. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUCCESS_FIELD_NUMBER = 2; + private boolean success_ = false; + /** + * bool success = 2; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + + public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object errorMessage_ = ""; + /** + * string error_message = 3; + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FACE_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object faceCode_ = ""; + /** + * string face_code = 4; + * @return The faceCode. + */ + @java.lang.Override + public java.lang.String getFaceCode() { + java.lang.Object ref = faceCode_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceCode_ = s; + return s; + } + } + /** + * string face_code = 4; + * @return The bytes for faceCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFaceCodeBytes() { + java.lang.Object ref = faceCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceCode_ = 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.GeneratedMessage.isStringEmpty(token_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, token_); + } + if (success_ != false) { + output.writeBool(2, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, errorMessage_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(faceCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, faceCode_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(token_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, token_); + } + if (success_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, success_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, errorMessage_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(faceCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, faceCode_); + } + 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 org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest other = (org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest) obj; + + if (!getToken() + .equals(other.getToken())) return false; + if (getSuccess() + != other.getSuccess()) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + if (!getFaceCode() + .equals(other.getFaceCode())) 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) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + hash = (37 * hash) + SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccess()); + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (37 * hash) + FACE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getFaceCode().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.FaceRecognitionCallbackRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.FaceRecognitionCallbackRequest) + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.class, org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + token_ = ""; + success_ = false; + errorMessage_ = ""; + faceCode_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackRequest_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest build() { + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest result = new org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.token_ = token_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.success_ = success_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.errorMessage_ = errorMessage_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.faceCode_ = faceCode_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest.getDefaultInstance()) return this; + if (!other.getToken().isEmpty()) { + token_ = other.token_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getSuccess() != false) { + setSuccess(other.getSuccess()); + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getFaceCode().isEmpty()) { + faceCode_ = other.faceCode_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + token_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + success_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + errorMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + faceCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object token_ = ""; + /** + * string token = 1; + * @return The token. + */ + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token = 1; + * @return The bytes for token. + */ + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token = 1; + * @param value The token to set. + * @return This builder for chaining. + */ + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + token_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string token = 1; + * @return This builder for chaining. + */ + public Builder clearToken() { + token_ = getDefaultInstance().getToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string token = 1; + * @param value The bytes for token to set. + * @return This builder for chaining. + */ + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + token_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean success_ ; + /** + * bool success = 2; + * @return The success. + */ + @java.lang.Override + public boolean getSuccess() { + return success_; + } + /** + * bool success = 2; + * @param value The success to set. + * @return This builder for chaining. + */ + public Builder setSuccess(boolean value) { + + success_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * bool success = 2; + * @return This builder for chaining. + */ + public Builder clearSuccess() { + bitField0_ = (bitField0_ & ~0x00000002); + success_ = false; + onChanged(); + return this; + } + + private java.lang.Object errorMessage_ = ""; + /** + * string error_message = 3; + * @return The errorMessage. + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error_message = 3; + * @return The bytes for errorMessage. + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string error_message = 3; + * @param value The errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + errorMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string error_message = 3; + * @return This builder for chaining. + */ + public Builder clearErrorMessage() { + errorMessage_ = getDefaultInstance().getErrorMessage(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string error_message = 3; + * @param value The bytes for errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + errorMessage_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object faceCode_ = ""; + /** + * string face_code = 4; + * @return The faceCode. + */ + public java.lang.String getFaceCode() { + java.lang.Object ref = faceCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + faceCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string face_code = 4; + * @return The bytes for faceCode. + */ + public com.google.protobuf.ByteString + getFaceCodeBytes() { + java.lang.Object ref = faceCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + faceCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string face_code = 4; + * @param value The faceCode to set. + * @return This builder for chaining. + */ + public Builder setFaceCode( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + faceCode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * string face_code = 4; + * @return This builder for chaining. + */ + public Builder clearFaceCode() { + faceCode_ = getDefaultInstance().getFaceCode(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * string face_code = 4; + * @param value The bytes for faceCode to set. + * @return This builder for chaining. + */ + public Builder setFaceCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + faceCode_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:message.FaceRecognitionCallbackRequest) + } + + // @@protoc_insertion_point(class_scope:message.FaceRecognitionCallbackRequest) + private static final org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceRecognitionCallbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FaceRecognitionCallbackResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:message.FaceRecognitionCallbackResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * .message.Status status = 1; + * @return The status. + */ + org.jumpserver.wisp.ServiceOuterClass.Status getStatus(); + /** + * .message.Status status = 1; + */ + org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder(); + } + /** + * Protobuf type {@code message.FaceRecognitionCallbackResponse} + */ + public static final class FaceRecognitionCallbackResponse extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:message.FaceRecognitionCallbackResponse) + FaceRecognitionCallbackResponseOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 28, + /* patch= */ 0, + /* suffix= */ "", + FaceRecognitionCallbackResponse.class.getName()); + } + // Use FaceRecognitionCallbackResponse.newBuilder() to construct. + private FaceRecognitionCallbackResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private FaceRecognitionCallbackResponse() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.class, org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.Builder.class); + } + + private int bitField0_; + public static final int STATUS_FIELD_NUMBER = 1; + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + /** + * .message.Status status = 1; + */ + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getStatus()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); + } + 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 org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse)) { + return super.equals(obj); + } + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse other = (org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse) obj; + + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus() + .equals(other.getStatus())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code message.FaceRecognitionCallbackResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:message.FaceRecognitionCallbackResponse) + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.class, org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.Builder.class); + } + + // Construct using org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + getStatusFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.jumpserver.wisp.ServiceOuterClass.internal_static_message_FaceRecognitionCallbackResponse_descriptor; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse getDefaultInstanceForType() { + return org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.getDefaultInstance(); + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse build() { + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse buildPartial() { + org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse result = new org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse) { + return mergeFrom((org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse other) { + if (other == org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse.getDefaultInstance()) return this; + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private org.jumpserver.wisp.ServiceOuterClass.Status status_; + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> statusBuilder_; + /** + * .message.Status status = 1; + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .message.Status status = 1; + * @return The status. + */ + public org.jumpserver.wisp.ServiceOuterClass.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * .message.Status status = 1; + */ + public Builder setStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder setStatus( + org.jumpserver.wisp.ServiceOuterClass.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public Builder mergeStatus(org.jumpserver.wisp.ServiceOuterClass.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * .message.Status status = 1; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * .message.Status status = 1; + */ + public org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? + org.jumpserver.wisp.ServiceOuterClass.Status.getDefaultInstance() : status_; + } + } + /** + * .message.Status status = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jumpserver.wisp.ServiceOuterClass.Status, org.jumpserver.wisp.ServiceOuterClass.Status.Builder, org.jumpserver.wisp.ServiceOuterClass.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); + status_ = null; + } + return statusBuilder_; + } + + // @@protoc_insertion_point(builder_scope:message.FaceRecognitionCallbackResponse) + } + + // @@protoc_insertion_point(class_scope:message.FaceRecognitionCallbackResponse) + private static final org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse(); + } + + public static org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FaceRecognitionCallbackResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public org.jumpserver.wisp.ServiceOuterClass.FaceRecognitionCallbackResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface AssetLoginTicketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:message.AssetLoginTicketRequest) com.google.protobuf.MessageOrBuilder { @@ -76,8 +4490,8 @@ public static final class AssetLoginTicketRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", AssetLoginTicketRequest.class.getName()); } @@ -894,8 +5308,8 @@ public static final class AssetLoginTicketResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", AssetLoginTicketResponse.class.getName()); } @@ -1855,8 +6269,8 @@ public static final class Status extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Status.class.getName()); } @@ -2432,8 +6846,8 @@ public static final class TokenRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TokenRequest.class.getName()); } @@ -2960,8 +7374,8 @@ public static final class TokenResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TokenResponse.class.getName()); } @@ -3715,8 +8129,8 @@ public static final class SessionCreateRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", SessionCreateRequest.class.getName()); } @@ -4300,8 +8714,8 @@ public static final class SessionCreateResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", SessionCreateResponse.class.getName()); } @@ -5076,8 +9490,8 @@ public static final class SessionFinishRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", SessionFinishRequest.class.getName()); } @@ -5859,8 +10273,8 @@ public static final class SessionFinishResp extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", SessionFinishResp.class.getName()); } @@ -6438,8 +10852,8 @@ public static final class ReplayRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ReplayRequest.class.getName()); } @@ -7087,8 +11501,8 @@ public static final class ReplayResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ReplayResponse.class.getName()); } @@ -7767,8 +12181,8 @@ public static final class CommandRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandRequest.class.getName()); } @@ -9529,8 +13943,8 @@ public static final class CommandResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandResponse.class.getName()); } @@ -10096,8 +14510,8 @@ public static final class FinishedTaskRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", FinishedTaskRequest.class.getName()); } @@ -10609,8 +15023,8 @@ public static final class TaskResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TaskResponse.class.getName()); } @@ -11176,8 +15590,8 @@ public static final class RemainReplayRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", RemainReplayRequest.class.getName()); } @@ -11764,8 +16178,8 @@ public static final class RemainReplayResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", RemainReplayResponse.class.getName()); } @@ -12901,8 +17315,8 @@ public static final class StatusResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", StatusResponse.class.getName()); } @@ -13492,8 +17906,8 @@ public static final class CommandConfirmRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandConfirmRequest.class.getName()); } @@ -14286,8 +18700,8 @@ public static final class ReqInfo extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ReqInfo.class.getName()); } @@ -14950,8 +19364,8 @@ public static final class CommandConfirmResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CommandConfirmResponse.class.getName()); } @@ -15757,8 +20171,8 @@ public static final class TicketInfo extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TicketInfo.class.getName()); } @@ -16837,8 +21251,8 @@ public static final class TicketRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TicketRequest.class.getName()); } @@ -17422,8 +21836,8 @@ public static final class TicketStateResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TicketStateResponse.class.getName()); } @@ -18185,8 +22599,8 @@ public static final class TicketState extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", TicketState.class.getName()); } @@ -18240,8 +22654,8 @@ public enum State com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", State.class.getName()); } @@ -18954,8 +23368,8 @@ public static final class ForwardRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ForwardRequest.class.getName()); } @@ -19884,8 +24298,8 @@ public static final class ForwardDeleteRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ForwardDeleteRequest.class.getName()); } @@ -20427,8 +24841,8 @@ public static final class ForwardResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ForwardResponse.class.getName()); } @@ -21350,8 +25764,8 @@ public static final class PublicSettingResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PublicSettingResponse.class.getName()); } @@ -22090,8 +26504,8 @@ public static final class Empty extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", Empty.class.getName()); } @@ -22477,8 +26891,8 @@ public static final class ListenPortResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", ListenPortResponse.class.getName()); } @@ -23213,8 +27627,8 @@ public static final class PortInfoRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PortInfoRequest.class.getName()); } @@ -23671,8 +28085,8 @@ public static final class PortInfoResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PortInfoResponse.class.getName()); } @@ -24450,8 +28864,8 @@ public static final class PortInfo extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PortInfo.class.getName()); } @@ -25378,8 +29792,8 @@ public static final class PortFailure extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PortFailure.class.getName()); } @@ -25966,8 +30380,8 @@ public static final class PortFailureRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", PortFailureRequest.class.getName()); } @@ -26706,8 +31120,8 @@ public static final class CookiesRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", CookiesRequest.class.getName()); } @@ -27452,8 +31866,8 @@ public static final class UserResponse extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", UserResponse.class.getName()); } @@ -28239,8 +32653,8 @@ public static final class SessionLifecycleLogRequest extends com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", SessionLifecycleLogRequest.class.getName()); } @@ -28332,8 +32746,8 @@ public enum EventType com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, - /* minor= */ 26, - /* patch= */ 1, + /* minor= */ 28, + /* patch= */ 0, /* suffix= */ "", EventType.class.getName()); } @@ -29303,6 +33717,36 @@ public org.jumpserver.wisp.ServiceOuterClass.SessionLifecycleLogRequest getDefau } + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_JoinFaceMonitorRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_JoinFaceMonitorRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_JoinFaceMonitorResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_JoinFaceMonitorResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_FaceMonitorCallbackRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_FaceMonitorCallbackRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_FaceMonitorCallbackResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_FaceMonitorCallbackResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_FaceRecognitionCallbackRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_FaceRecognitionCallbackRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_message_FaceRecognitionCallbackResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_message_FaceRecognitionCallbackResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_message_AssetLoginTicketRequest_descriptor; private static final @@ -29507,365 +33951,421 @@ public org.jumpserver.wisp.ServiceOuterClass.SessionLifecycleLogRequest getDefau descriptor; static { java.lang.String[] descriptorData = { - "\n\rservice.proto\022\007message\032\014common.proto\"V" + - "\n\027AssetLoginTicketRequest\022\017\n\007user_id\030\001 \001" + - "(\t\022\020\n\010asset_id\030\002 \001(\t\022\030\n\020account_username" + - "\030\004 \001(\t\"\216\001\n\030AssetLoginTicketResponse\022\037\n\006s" + - "tatus\030\001 \001(\0132\017.message.Status\022(\n\013ticket_i" + - "nfo\030\002 \001(\0132\023.message.TicketInfo\022\024\n\014need_c" + - "onfirm\030\003 \001(\010\022\021\n\tticket_id\030\004 \001(\t\"!\n\006Statu" + - "s\022\n\n\002ok\030\001 \001(\010\022\013\n\003err\030\002 \001(\t\"\035\n\014TokenReque" + - "st\022\r\n\005token\030\001 \001(\t\"V\n\rTokenResponse\022\037\n\006st" + - "atus\030\001 \001(\0132\017.message.Status\022$\n\004data\030\002 \001(" + - "\0132\026.message.TokenAuthInfo\"6\n\024SessionCrea" + - "teRequest\022\036\n\004data\030\001 \001(\0132\020.message.Sessio" + - "n\"X\n\025SessionCreateResponse\022\037\n\006status\030\001 \001" + - "(\0132\017.message.Status\022\036\n\004data\030\002 \001(\0132\020.mess" + - "age.Session\"R\n\024SessionFinishRequest\022\n\n\002i" + - "d\030\001 \001(\t\022\017\n\007success\030\002 \001(\010\022\020\n\010date_end\030\003 \001" + - "(\003\022\013\n\003err\030\004 \001(\t\"4\n\021SessionFinishResp\022\037\n\006" + - "status\030\001 \001(\0132\017.message.Status\"=\n\rReplayR" + - "equest\022\022\n\nsession_id\030\001 \001(\t\022\030\n\020replay_fil" + - "e_path\030\002 \001(\t\"1\n\016ReplayResponse\022\037\n\006status" + - "\030\001 \001(\0132\017.message.Status\"\337\001\n\016CommandReque" + - "st\022\013\n\003sid\030\001 \001(\t\022\016\n\006org_id\030\002 \001(\t\022\r\n\005input" + - "\030\003 \001(\t\022\016\n\006output\030\004 \001(\t\022\014\n\004user\030\005 \001(\t\022\r\n\005" + - "asset\030\006 \001(\t\022\017\n\007account\030\007 \001(\t\022\021\n\ttimestam" + - "p\030\010 \001(\003\022&\n\nrisk_level\030\t \001(\0162\022.message.Ri" + - "skLevel\022\022\n\ncmd_acl_id\030\n \001(\t\022\024\n\014cmd_group" + - "_id\030\013 \001(\t\"2\n\017CommandResponse\022\037\n\006status\030\001" + - " \001(\0132\017.message.Status\"&\n\023FinishedTaskReq" + - "uest\022\017\n\007task_id\030\001 \001(\t\"3\n\014TaskResponse\022#\n" + - "\004task\030\001 \001(\0132\025.message.TerminalTask\")\n\023Re" + - "mainReplayRequest\022\022\n\nreplay_dir\030\001 \001(\t\"{\n" + - "\024RemainReplayResponse\022\037\n\006status\030\001 \001(\0132\017." + - "message.Status\022\025\n\rsuccess_files\030\002 \003(\t\022\025\n" + - "\rfailure_files\030\003 \003(\t\022\024\n\014failure_errs\030\004 \003" + - "(\t\"1\n\016StatusResponse\022\037\n\006status\030\001 \001(\0132\017.m" + - "essage.Status\"L\n\025CommandConfirmRequest\022\022" + - "\n\nsession_id\030\001 \001(\t\022\022\n\ncmd_acl_id\030\002 \001(\t\022\013" + - "\n\003cmd\030\003 \001(\t\"&\n\007ReqInfo\022\016\n\006method\030\001 \001(\t\022\013" + - "\n\003url\030\002 \001(\t\"\\\n\026CommandConfirmResponse\022\037\n" + - "\006status\030\001 \001(\0132\017.message.Status\022!\n\004info\030\002" + - " \001(\0132\023.message.TicketInfo\"\205\001\n\nTicketInfo" + - "\022#\n\tcheck_req\030\001 \001(\0132\020.message.ReqInfo\022$\n" + - "\ncancel_req\030\002 \001(\0132\020.message.ReqInfo\022\031\n\021t" + - "icket_detail_url\030\003 \001(\t\022\021\n\treviewers\030\004 \003(" + - "\t\".\n\rTicketRequest\022\035\n\003req\030\001 \001(\0132\020.messag" + - "e.ReqInfo\"Z\n\023TicketStateResponse\022\"\n\004Data" + - "\030\001 \001(\0132\024.message.TicketState\022\037\n\006status\030\002" + - " \001(\0132\017.message.Status\"\206\001\n\013TicketState\022)\n" + - "\005state\030\001 \001(\0162\032.message.TicketState.State" + - "\022\021\n\tprocessor\030\002 \001(\t\"9\n\005State\022\010\n\004Open\020\000\022\014" + - "\n\010Approved\020\001\022\014\n\010Rejected\020\002\022\n\n\006Closed\020\003\"P" + - "\n\016ForwardRequest\022\014\n\004host\030\001 \001(\t\022\014\n\004port\030\002" + - " \001(\005\022\"\n\010gateways\030\003 \003(\0132\020.message.Gateway" + - "\"\"\n\024ForwardDeleteRequest\022\n\n\002id\030\001 \001(\t\"Z\n\017" + - "ForwardResponse\022\037\n\006status\030\001 \001(\0132\017.messag" + - "e.Status\022\n\n\002id\030\002 \001(\t\022\014\n\004host\030\003 \001(\t\022\014\n\004po" + - "rt\030\004 \001(\005\"^\n\025PublicSettingResponse\022\037\n\006sta" + - "tus\030\001 \001(\0132\017.message.Status\022$\n\004data\030\002 \001(\013" + - "2\026.message.PublicSetting\"\007\n\005Empty\"D\n\022Lis" + - "tenPortResponse\022\037\n\006status\030\001 \001(\0132\017.messag" + - "e.Status\022\r\n\005ports\030\002 \003(\005\"\037\n\017PortInfoReque" + - "st\022\014\n\004port\030\001 \001(\005\"T\n\020PortInfoResponse\022\037\n\006" + - "status\030\001 \001(\0132\017.message.Status\022\037\n\004data\030\002 " + - "\001(\0132\021.message.PortInfo\"M\n\010PortInfo\022\035\n\005as" + - "set\030\001 \001(\0132\016.message.Asset\022\"\n\010gateways\030\002 " + - "\003(\0132\020.message.Gateway\"+\n\013PortFailure\022\014\n\004" + - "port\030\001 \001(\005\022\016\n\006reason\030\002 \001(\t\"8\n\022PortFailur" + - "eRequest\022\"\n\004data\030\001 \003(\0132\024.message.PortFai" + - "lure\"2\n\016CookiesRequest\022 \n\007cookies\030\001 \003(\0132" + - "\017.message.Cookie\"L\n\014UserResponse\022\037\n\006stat" + - "us\030\001 \001(\0132\017.message.Status\022\033\n\004data\030\002 \001(\0132" + - "\r.message.User\"\316\003\n\032SessionLifecycleLogRe" + - "quest\022\022\n\nsession_id\030\001 \001(\t\022<\n\005event\030\002 \001(\016" + - "2-.message.SessionLifecycleLogRequest.Ev" + - "entType\022\016\n\006reason\030\003 \001(\t\022\014\n\004user\030\004 \001(\t\"\277\002" + - "\n\tEventType\022\027\n\023AssetConnectSuccess\020\000\022\030\n\024" + - "AssetConnectFinished\020\001\022\023\n\017CreateShareLin" + - "k\020\002\022\023\n\017UserJoinSession\020\003\022\024\n\020UserLeaveSes" + - "sion\020\004\022\024\n\020AdminJoinMonitor\020\005\022\024\n\020AdminExi" + - "tMonitor\020\006\022\026\n\022ReplayConvertStart\020\007\022\030\n\024Re" + - "playConvertSuccess\020\010\022\030\n\024ReplayConvertFai" + - "lure\020\t\022\025\n\021ReplayUploadStart\020\n\022\027\n\023ReplayU" + - "ploadSuccess\020\013\022\027\n\023ReplayUploadFailure\020\0142" + - "\373\013\n\007Service\022C\n\020GetTokenAuthInfo\022\025.messag" + - "e.TokenRequest\032\026.message.TokenResponse\"\000" + - "\022>\n\nRenewToken\022\025.message.TokenRequest\032\027." + - "message.StatusResponse\"\000\022P\n\rCreateSessio" + - "n\022\035.message.SessionCreateRequest\032\036.messa" + - "ge.SessionCreateResponse\"\000\022L\n\rFinishSess" + - "ion\022\035.message.SessionFinishRequest\032\032.mes" + - "sage.SessionFinishResp\"\000\022E\n\020UploadReplay" + - "File\022\026.message.ReplayRequest\032\027.message.R" + - "eplayResponse\"\000\022D\n\rUploadCommand\022\027.messa" + - "ge.CommandRequest\032\030.message.CommandRespo" + - "nse\"\000\022I\n\014DispatchTask\022\034.message.Finished" + - "TaskRequest\032\025.message.TaskResponse\"\000(\0010\001" + - "\022R\n\021ScanRemainReplays\022\034.message.RemainRe" + - "playRequest\032\035.message.RemainReplayRespon" + - "se\"\000\022X\n\023CreateCommandTicket\022\036.message.Co" + - "mmandConfirmRequest\032\037.message.CommandCon" + - "firmResponse\"\000\022f\n\035CheckOrCreateAssetLogi" + - "nTicket\022 .message.AssetLoginTicketReques" + - "t\032!.message.AssetLoginTicketResponse\"\000\022J" + - "\n\020CheckTicketState\022\026.message.TicketReque" + - "st\032\034.message.TicketStateResponse\"\000\022A\n\014Ca" + - "ncelTicket\022\026.message.TicketRequest\032\027.mes" + - "sage.StatusResponse\"\000\022D\n\rCreateForward\022\027" + - ".message.ForwardRequest\032\030.message.Forwar" + - "dResponse\"\000\022I\n\rDeleteForward\022\035.message.F" + - "orwardDeleteRequest\032\027.message.StatusResp" + - "onse\"\000\022D\n\020GetPublicSetting\022\016.message.Emp" + - "ty\032\036.message.PublicSettingResponse\"\000\022?\n\016" + - "GetListenPorts\022\016.message.Empty\032\033.message" + - ".ListenPortResponse\"\000\022D\n\013GetPortInfo\022\030.m" + - "essage.PortInfoRequest\032\031.message.PortInf" + - "oResponse\"\000\022K\n\021HandlePortFailure\022\033.messa" + - "ge.PortFailureRequest\032\027.message.StatusRe" + - "sponse\"\000\022F\n\022CheckUserByCookies\022\027.message" + - ".CookiesRequest\032\025.message.UserResponse\"\000" + - "\022[\n\031RecordSessionLifecycleLog\022#.message." + - "SessionLifecycleLogRequest\032\027.message.Sta" + - "tusResponse\"\000B \n\023org.jumpserver.wispZ\t/p" + - "rotobufb\006proto3" + "\n\rservice.proto\022\007message\032\014common.proto\"H" + + "\n\026JoinFaceMonitorRequest\022\032\n\022face_monitor" + + "_token\030\001 \001(\t\022\022\n\nsession_id\030\002 \001(\t\":\n\027Join" + + "FaceMonitorResponse\022\037\n\006status\030\001 \001(\0132\017.me" + + "ssage.Status\"\214\001\n\032FaceMonitorCallbackRequ" + + "est\022\r\n\005token\030\001 \001(\t\022\017\n\007success\030\002 \001(\010\022\025\n\re" + + "rror_message\030\003 \001(\t\022\023\n\013is_finished\030\004 \001(\010\022" + + "\016\n\006action\030\005 \001(\t\022\022\n\nface_codes\030\006 \003(\t\">\n\033F" + + "aceMonitorCallbackResponse\022\037\n\006status\030\001 \001" + + "(\0132\017.message.Status\"j\n\036FaceRecognitionCa" + + "llbackRequest\022\r\n\005token\030\001 \001(\t\022\017\n\007success\030" + + "\002 \001(\010\022\025\n\rerror_message\030\003 \001(\t\022\021\n\tface_cod" + + "e\030\004 \001(\t\"B\n\037FaceRecognitionCallbackRespon" + + "se\022\037\n\006status\030\001 \001(\0132\017.message.Status\"V\n\027A" + + "ssetLoginTicketRequest\022\017\n\007user_id\030\001 \001(\t\022" + + "\020\n\010asset_id\030\002 \001(\t\022\030\n\020account_username\030\004 " + + "\001(\t\"\216\001\n\030AssetLoginTicketResponse\022\037\n\006stat" + + "us\030\001 \001(\0132\017.message.Status\022(\n\013ticket_info" + + "\030\002 \001(\0132\023.message.TicketInfo\022\024\n\014need_conf" + + "irm\030\003 \001(\010\022\021\n\tticket_id\030\004 \001(\t\"!\n\006Status\022\n" + + "\n\002ok\030\001 \001(\010\022\013\n\003err\030\002 \001(\t\"\035\n\014TokenRequest\022" + + "\r\n\005token\030\001 \001(\t\"V\n\rTokenResponse\022\037\n\006statu" + + "s\030\001 \001(\0132\017.message.Status\022$\n\004data\030\002 \001(\0132\026" + + ".message.TokenAuthInfo\"6\n\024SessionCreateR" + + "equest\022\036\n\004data\030\001 \001(\0132\020.message.Session\"X" + + "\n\025SessionCreateResponse\022\037\n\006status\030\001 \001(\0132" + + "\017.message.Status\022\036\n\004data\030\002 \001(\0132\020.message" + + ".Session\"R\n\024SessionFinishRequest\022\n\n\002id\030\001" + + " \001(\t\022\017\n\007success\030\002 \001(\010\022\020\n\010date_end\030\003 \001(\003\022" + + "\013\n\003err\030\004 \001(\t\"4\n\021SessionFinishResp\022\037\n\006sta" + + "tus\030\001 \001(\0132\017.message.Status\"=\n\rReplayRequ" + + "est\022\022\n\nsession_id\030\001 \001(\t\022\030\n\020replay_file_p" + + "ath\030\002 \001(\t\"1\n\016ReplayResponse\022\037\n\006status\030\001 " + + "\001(\0132\017.message.Status\"\337\001\n\016CommandRequest\022" + + "\013\n\003sid\030\001 \001(\t\022\016\n\006org_id\030\002 \001(\t\022\r\n\005input\030\003 " + + "\001(\t\022\016\n\006output\030\004 \001(\t\022\014\n\004user\030\005 \001(\t\022\r\n\005ass" + + "et\030\006 \001(\t\022\017\n\007account\030\007 \001(\t\022\021\n\ttimestamp\030\010" + + " \001(\003\022&\n\nrisk_level\030\t \001(\0162\022.message.RiskL" + + "evel\022\022\n\ncmd_acl_id\030\n \001(\t\022\024\n\014cmd_group_id" + + "\030\013 \001(\t\"2\n\017CommandResponse\022\037\n\006status\030\001 \001(" + + "\0132\017.message.Status\"&\n\023FinishedTaskReques" + + "t\022\017\n\007task_id\030\001 \001(\t\"3\n\014TaskResponse\022#\n\004ta" + + "sk\030\001 \001(\0132\025.message.TerminalTask\")\n\023Remai" + + "nReplayRequest\022\022\n\nreplay_dir\030\001 \001(\t\"{\n\024Re" + + "mainReplayResponse\022\037\n\006status\030\001 \001(\0132\017.mes" + + "sage.Status\022\025\n\rsuccess_files\030\002 \003(\t\022\025\n\rfa" + + "ilure_files\030\003 \003(\t\022\024\n\014failure_errs\030\004 \003(\t\"" + + "1\n\016StatusResponse\022\037\n\006status\030\001 \001(\0132\017.mess" + + "age.Status\"L\n\025CommandConfirmRequest\022\022\n\ns" + + "ession_id\030\001 \001(\t\022\022\n\ncmd_acl_id\030\002 \001(\t\022\013\n\003c" + + "md\030\003 \001(\t\"&\n\007ReqInfo\022\016\n\006method\030\001 \001(\t\022\013\n\003u" + + "rl\030\002 \001(\t\"\\\n\026CommandConfirmResponse\022\037\n\006st" + + "atus\030\001 \001(\0132\017.message.Status\022!\n\004info\030\002 \001(" + + "\0132\023.message.TicketInfo\"\205\001\n\nTicketInfo\022#\n" + + "\tcheck_req\030\001 \001(\0132\020.message.ReqInfo\022$\n\nca" + + "ncel_req\030\002 \001(\0132\020.message.ReqInfo\022\031\n\021tick" + + "et_detail_url\030\003 \001(\t\022\021\n\treviewers\030\004 \003(\t\"." + + "\n\rTicketRequest\022\035\n\003req\030\001 \001(\0132\020.message.R" + + "eqInfo\"Z\n\023TicketStateResponse\022\"\n\004Data\030\001 " + + "\001(\0132\024.message.TicketState\022\037\n\006status\030\002 \001(" + + "\0132\017.message.Status\"\206\001\n\013TicketState\022)\n\005st" + + "ate\030\001 \001(\0162\032.message.TicketState.State\022\021\n" + + "\tprocessor\030\002 \001(\t\"9\n\005State\022\010\n\004Open\020\000\022\014\n\010A" + + "pproved\020\001\022\014\n\010Rejected\020\002\022\n\n\006Closed\020\003\"P\n\016F" + + "orwardRequest\022\014\n\004host\030\001 \001(\t\022\014\n\004port\030\002 \001(" + + "\005\022\"\n\010gateways\030\003 \003(\0132\020.message.Gateway\"\"\n" + + "\024ForwardDeleteRequest\022\n\n\002id\030\001 \001(\t\"Z\n\017For" + + "wardResponse\022\037\n\006status\030\001 \001(\0132\017.message.S" + + "tatus\022\n\n\002id\030\002 \001(\t\022\014\n\004host\030\003 \001(\t\022\014\n\004port\030" + + "\004 \001(\005\"^\n\025PublicSettingResponse\022\037\n\006status" + + "\030\001 \001(\0132\017.message.Status\022$\n\004data\030\002 \001(\0132\026." + + "message.PublicSetting\"\007\n\005Empty\"D\n\022Listen" + + "PortResponse\022\037\n\006status\030\001 \001(\0132\017.message.S" + + "tatus\022\r\n\005ports\030\002 \003(\005\"\037\n\017PortInfoRequest\022" + + "\014\n\004port\030\001 \001(\005\"T\n\020PortInfoResponse\022\037\n\006sta" + + "tus\030\001 \001(\0132\017.message.Status\022\037\n\004data\030\002 \001(\013" + + "2\021.message.PortInfo\"M\n\010PortInfo\022\035\n\005asset" + + "\030\001 \001(\0132\016.message.Asset\022\"\n\010gateways\030\002 \003(\013" + + "2\020.message.Gateway\"+\n\013PortFailure\022\014\n\004por" + + "t\030\001 \001(\005\022\016\n\006reason\030\002 \001(\t\"8\n\022PortFailureRe" + + "quest\022\"\n\004data\030\001 \003(\0132\024.message.PortFailur" + + "e\"2\n\016CookiesRequest\022 \n\007cookies\030\001 \003(\0132\017.m" + + "essage.Cookie\"L\n\014UserResponse\022\037\n\006status\030" + + "\001 \001(\0132\017.message.Status\022\033\n\004data\030\002 \001(\0132\r.m" + + "essage.User\"\316\003\n\032SessionLifecycleLogReque" + + "st\022\022\n\nsession_id\030\001 \001(\t\022<\n\005event\030\002 \001(\0162-." + + "message.SessionLifecycleLogRequest.Event" + + "Type\022\016\n\006reason\030\003 \001(\t\022\014\n\004user\030\004 \001(\t\"\277\002\n\tE" + + "ventType\022\027\n\023AssetConnectSuccess\020\000\022\030\n\024Ass" + + "etConnectFinished\020\001\022\023\n\017CreateShareLink\020\002" + + "\022\023\n\017UserJoinSession\020\003\022\024\n\020UserLeaveSessio" + + "n\020\004\022\024\n\020AdminJoinMonitor\020\005\022\024\n\020AdminExitMo" + + "nitor\020\006\022\026\n\022ReplayConvertStart\020\007\022\030\n\024Repla" + + "yConvertSuccess\020\010\022\030\n\024ReplayConvertFailur" + + "e\020\t\022\025\n\021ReplayUploadStart\020\n\022\027\n\023ReplayUplo" + + "adSuccess\020\013\022\027\n\023ReplayUploadFailure\020\0142\247\016\n" + + "\007Service\022C\n\020GetTokenAuthInfo\022\025.message.T" + + "okenRequest\032\026.message.TokenResponse\"\000\022>\n" + + "\nRenewToken\022\025.message.TokenRequest\032\027.mes" + + "sage.StatusResponse\"\000\022P\n\rCreateSession\022\035" + + ".message.SessionCreateRequest\032\036.message." + + "SessionCreateResponse\"\000\022L\n\rFinishSession" + + "\022\035.message.SessionFinishRequest\032\032.messag" + + "e.SessionFinishResp\"\000\022E\n\020UploadReplayFil" + + "e\022\026.message.ReplayRequest\032\027.message.Repl" + + "ayResponse\"\000\022D\n\rUploadCommand\022\027.message." + + "CommandRequest\032\030.message.CommandResponse" + + "\"\000\022I\n\014DispatchTask\022\034.message.FinishedTas" + + "kRequest\032\025.message.TaskResponse\"\000(\0010\001\022R\n" + + "\021ScanRemainReplays\022\034.message.RemainRepla" + + "yRequest\032\035.message.RemainReplayResponse\"" + + "\000\022X\n\023CreateCommandTicket\022\036.message.Comma" + + "ndConfirmRequest\032\037.message.CommandConfir" + + "mResponse\"\000\022f\n\035CheckOrCreateAssetLoginTi" + + "cket\022 .message.AssetLoginTicketRequest\032!" + + ".message.AssetLoginTicketResponse\"\000\022J\n\020C" + + "heckTicketState\022\026.message.TicketRequest\032" + + "\034.message.TicketStateResponse\"\000\022A\n\014Cance" + + "lTicket\022\026.message.TicketRequest\032\027.messag" + + "e.StatusResponse\"\000\022D\n\rCreateForward\022\027.me" + + "ssage.ForwardRequest\032\030.message.ForwardRe" + + "sponse\"\000\022I\n\rDeleteForward\022\035.message.Forw" + + "ardDeleteRequest\032\027.message.StatusRespons" + + "e\"\000\022D\n\020GetPublicSetting\022\016.message.Empty\032" + + "\036.message.PublicSettingResponse\"\000\022?\n\016Get" + + "ListenPorts\022\016.message.Empty\032\033.message.Li" + + "stenPortResponse\"\000\022D\n\013GetPortInfo\022\030.mess" + + "age.PortInfoRequest\032\031.message.PortInfoRe" + + "sponse\"\000\022K\n\021HandlePortFailure\022\033.message." + + "PortFailureRequest\032\027.message.StatusRespo" + + "nse\"\000\022F\n\022CheckUserByCookies\022\027.message.Co" + + "okiesRequest\032\025.message.UserResponse\"\000\022[\n" + + "\031RecordSessionLifecycleLog\022#.message.Ses" + + "sionLifecycleLogRequest\032\027.message.Status" + + "Response\"\000\022n\n\027FaceRecognitionCallback\022\'." + + "message.FaceRecognitionCallbackRequest\032(" + + ".message.FaceRecognitionCallbackResponse" + + "\"\000\022b\n\023FaceMonitorCallback\022#.message.Face" + + "MonitorCallbackRequest\032$.message.FaceMon" + + "itorCallbackResponse\"\000\022V\n\017JoinFaceMonito" + + "r\022\037.message.JoinFaceMonitorRequest\032 .mes" + + "sage.JoinFaceMonitorResponse\"\000B \n\023org.ju" + + "mpserver.wispZ\t/protobufb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.jumpserver.wisp.Common.getDescriptor(), }); - internal_static_message_AssetLoginTicketRequest_descriptor = + internal_static_message_JoinFaceMonitorRequest_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_message_JoinFaceMonitorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_JoinFaceMonitorRequest_descriptor, + new java.lang.String[] { "FaceMonitorToken", "SessionId", }); + internal_static_message_JoinFaceMonitorResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_message_JoinFaceMonitorResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_JoinFaceMonitorResponse_descriptor, + new java.lang.String[] { "Status", }); + internal_static_message_FaceMonitorCallbackRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_message_FaceMonitorCallbackRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_FaceMonitorCallbackRequest_descriptor, + new java.lang.String[] { "Token", "Success", "ErrorMessage", "IsFinished", "Action", "FaceCodes", }); + internal_static_message_FaceMonitorCallbackResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_message_FaceMonitorCallbackResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_FaceMonitorCallbackResponse_descriptor, + new java.lang.String[] { "Status", }); + internal_static_message_FaceRecognitionCallbackRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_message_FaceRecognitionCallbackRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_FaceRecognitionCallbackRequest_descriptor, + new java.lang.String[] { "Token", "Success", "ErrorMessage", "FaceCode", }); + internal_static_message_FaceRecognitionCallbackResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_message_FaceRecognitionCallbackResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_message_FaceRecognitionCallbackResponse_descriptor, + new java.lang.String[] { "Status", }); + internal_static_message_AssetLoginTicketRequest_descriptor = + getDescriptor().getMessageTypes().get(6); internal_static_message_AssetLoginTicketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_AssetLoginTicketRequest_descriptor, new java.lang.String[] { "UserId", "AssetId", "AccountUsername", }); internal_static_message_AssetLoginTicketResponse_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageTypes().get(7); internal_static_message_AssetLoginTicketResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_AssetLoginTicketResponse_descriptor, new java.lang.String[] { "Status", "TicketInfo", "NeedConfirm", "TicketId", }); internal_static_message_Status_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(8); internal_static_message_Status_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_Status_descriptor, new java.lang.String[] { "Ok", "Err", }); internal_static_message_TokenRequest_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(9); internal_static_message_TokenRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TokenRequest_descriptor, new java.lang.String[] { "Token", }); internal_static_message_TokenResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(10); internal_static_message_TokenResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TokenResponse_descriptor, new java.lang.String[] { "Status", "Data", }); internal_static_message_SessionCreateRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(11); internal_static_message_SessionCreateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_SessionCreateRequest_descriptor, new java.lang.String[] { "Data", }); internal_static_message_SessionCreateResponse_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(12); internal_static_message_SessionCreateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_SessionCreateResponse_descriptor, new java.lang.String[] { "Status", "Data", }); internal_static_message_SessionFinishRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(13); internal_static_message_SessionFinishRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_SessionFinishRequest_descriptor, new java.lang.String[] { "Id", "Success", "DateEnd", "Err", }); internal_static_message_SessionFinishResp_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(14); internal_static_message_SessionFinishResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_SessionFinishResp_descriptor, new java.lang.String[] { "Status", }); internal_static_message_ReplayRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(15); internal_static_message_ReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ReplayRequest_descriptor, new java.lang.String[] { "SessionId", "ReplayFilePath", }); internal_static_message_ReplayResponse_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(16); internal_static_message_ReplayResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ReplayResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_message_CommandRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(17); internal_static_message_CommandRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_CommandRequest_descriptor, new java.lang.String[] { "Sid", "OrgId", "Input", "Output", "User", "Asset", "Account", "Timestamp", "RiskLevel", "CmdAclId", "CmdGroupId", }); internal_static_message_CommandResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(18); internal_static_message_CommandResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_CommandResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_message_FinishedTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(19); internal_static_message_FinishedTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_FinishedTaskRequest_descriptor, new java.lang.String[] { "TaskId", }); internal_static_message_TaskResponse_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(20); internal_static_message_TaskResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TaskResponse_descriptor, new java.lang.String[] { "Task", }); internal_static_message_RemainReplayRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(21); internal_static_message_RemainReplayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_RemainReplayRequest_descriptor, new java.lang.String[] { "ReplayDir", }); internal_static_message_RemainReplayResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(22); internal_static_message_RemainReplayResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_RemainReplayResponse_descriptor, new java.lang.String[] { "Status", "SuccessFiles", "FailureFiles", "FailureErrs", }); internal_static_message_StatusResponse_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(23); internal_static_message_StatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_StatusResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_message_CommandConfirmRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(24); internal_static_message_CommandConfirmRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_CommandConfirmRequest_descriptor, new java.lang.String[] { "SessionId", "CmdAclId", "Cmd", }); internal_static_message_ReqInfo_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(25); internal_static_message_ReqInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ReqInfo_descriptor, new java.lang.String[] { "Method", "Url", }); internal_static_message_CommandConfirmResponse_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(26); internal_static_message_CommandConfirmResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_CommandConfirmResponse_descriptor, new java.lang.String[] { "Status", "Info", }); internal_static_message_TicketInfo_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(27); internal_static_message_TicketInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TicketInfo_descriptor, new java.lang.String[] { "CheckReq", "CancelReq", "TicketDetailUrl", "Reviewers", }); internal_static_message_TicketRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(28); internal_static_message_TicketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TicketRequest_descriptor, new java.lang.String[] { "Req", }); internal_static_message_TicketStateResponse_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(29); internal_static_message_TicketStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TicketStateResponse_descriptor, new java.lang.String[] { "Data", "Status", }); internal_static_message_TicketState_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(30); internal_static_message_TicketState_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_TicketState_descriptor, new java.lang.String[] { "State", "Processor", }); internal_static_message_ForwardRequest_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(31); internal_static_message_ForwardRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ForwardRequest_descriptor, new java.lang.String[] { "Host", "Port", "Gateways", }); internal_static_message_ForwardDeleteRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(32); internal_static_message_ForwardDeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ForwardDeleteRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_message_ForwardResponse_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(33); internal_static_message_ForwardResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ForwardResponse_descriptor, new java.lang.String[] { "Status", "Id", "Host", "Port", }); internal_static_message_PublicSettingResponse_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(34); internal_static_message_PublicSettingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PublicSettingResponse_descriptor, new java.lang.String[] { "Status", "Data", }); internal_static_message_Empty_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(35); internal_static_message_Empty_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_Empty_descriptor, new java.lang.String[] { }); internal_static_message_ListenPortResponse_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(36); internal_static_message_ListenPortResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_ListenPortResponse_descriptor, new java.lang.String[] { "Status", "Ports", }); internal_static_message_PortInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(37); internal_static_message_PortInfoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PortInfoRequest_descriptor, new java.lang.String[] { "Port", }); internal_static_message_PortInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(38); internal_static_message_PortInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PortInfoResponse_descriptor, new java.lang.String[] { "Status", "Data", }); internal_static_message_PortInfo_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(39); internal_static_message_PortInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PortInfo_descriptor, new java.lang.String[] { "Asset", "Gateways", }); internal_static_message_PortFailure_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(40); internal_static_message_PortFailure_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PortFailure_descriptor, new java.lang.String[] { "Port", "Reason", }); internal_static_message_PortFailureRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(41); internal_static_message_PortFailureRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_PortFailureRequest_descriptor, new java.lang.String[] { "Data", }); internal_static_message_CookiesRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(42); internal_static_message_CookiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_CookiesRequest_descriptor, new java.lang.String[] { "Cookies", }); internal_static_message_UserResponse_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(43); internal_static_message_UserResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_UserResponse_descriptor, new java.lang.String[] { "Status", "Data", }); internal_static_message_SessionLifecycleLogRequest_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(44); internal_static_message_SessionLifecycleLogRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_message_SessionLifecycleLogRequest_descriptor, diff --git a/pom.xml b/pom.xml index b4a8669..7a4827d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 3.3.0 + 3.3.6