1375 lines
48 KiB
Java
1375 lines
48 KiB
Java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|||
|
// source: site/api_site_logout.proto
|
|||
|
|
|||
|
package com.akaxin.proto.site;
|
|||
|
|
|||
|
public final class ApiSiteLogoutProto {
|
|||
|
private ApiSiteLogoutProto() {}
|
|||
|
public static void registerAllExtensions(
|
|||
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|||
|
}
|
|||
|
|
|||
|
public static void registerAllExtensions(
|
|||
|
com.google.protobuf.ExtensionRegistry registry) {
|
|||
|
registerAllExtensions(
|
|||
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|||
|
}
|
|||
|
public interface ApiSiteLogoutRequestOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiSiteLogoutRequest)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
java.lang.String getUserIdPubk();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
com.google.protobuf.ByteString
|
|||
|
getUserIdPubkBytes();
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
java.lang.String getUserDeviceIdPubk();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdPubkBytes();
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
java.lang.String getUserDeviceIdSign();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdSignBytes();
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteLogoutRequest}
|
|||
|
*/
|
|||
|
public static final class ApiSiteLogoutRequest extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiSiteLogoutRequest)
|
|||
|
ApiSiteLogoutRequestOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiSiteLogoutRequest.newBuilder() to construct.
|
|||
|
private ApiSiteLogoutRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiSiteLogoutRequest() {
|
|||
|
userIdPubk_ = "";
|
|||
|
userDeviceIdPubk_ = "";
|
|||
|
userDeviceIdSign_ = "";
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiSiteLogoutRequest(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
this();
|
|||
|
if (extensionRegistry == null) {
|
|||
|
throw new java.lang.NullPointerException();
|
|||
|
}
|
|||
|
int mutable_bitField0_ = 0;
|
|||
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|||
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|||
|
try {
|
|||
|
boolean done = false;
|
|||
|
while (!done) {
|
|||
|
int tag = input.readTag();
|
|||
|
switch (tag) {
|
|||
|
case 0:
|
|||
|
done = true;
|
|||
|
break;
|
|||
|
default: {
|
|||
|
if (!parseUnknownFieldProto3(
|
|||
|
input, unknownFields, extensionRegistry, tag)) {
|
|||
|
done = true;
|
|||
|
}
|
|||
|
break;
|
|||
|
}
|
|||
|
case 10: {
|
|||
|
java.lang.String s = input.readStringRequireUtf8();
|
|||
|
|
|||
|
userIdPubk_ = s;
|
|||
|
break;
|
|||
|
}
|
|||
|
case 18: {
|
|||
|
java.lang.String s = input.readStringRequireUtf8();
|
|||
|
|
|||
|
userDeviceIdPubk_ = s;
|
|||
|
break;
|
|||
|
}
|
|||
|
case 26: {
|
|||
|
java.lang.String s = input.readStringRequireUtf8();
|
|||
|
|
|||
|
userDeviceIdSign_ = s;
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
throw e.setUnfinishedMessage(this);
|
|||
|
} catch (java.io.IOException e) {
|
|||
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|||
|
e).setUnfinishedMessage(this);
|
|||
|
} finally {
|
|||
|
this.unknownFields = unknownFields.build();
|
|||
|
makeExtensionsImmutable();
|
|||
|
}
|
|||
|
}
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.class, com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
public static final int USER_ID_PUBK_FIELD_NUMBER = 1;
|
|||
|
private volatile java.lang.Object userIdPubk_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserIdPubk() {
|
|||
|
java.lang.Object ref = userIdPubk_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
return (java.lang.String) ref;
|
|||
|
} else {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userIdPubk_ = s;
|
|||
|
return s;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserIdPubkBytes() {
|
|||
|
java.lang.Object ref = userIdPubk_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userIdPubk_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public static final int USER_DEVICE_ID_PUBK_FIELD_NUMBER = 2;
|
|||
|
private volatile java.lang.Object userDeviceIdPubk_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserDeviceIdPubk() {
|
|||
|
java.lang.Object ref = userDeviceIdPubk_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
return (java.lang.String) ref;
|
|||
|
} else {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userDeviceIdPubk_ = s;
|
|||
|
return s;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdPubkBytes() {
|
|||
|
java.lang.Object ref = userDeviceIdPubk_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userDeviceIdPubk_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public static final int USER_DEVICE_ID_SIGN_FIELD_NUMBER = 3;
|
|||
|
private volatile java.lang.Object userDeviceIdSign_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserDeviceIdSign() {
|
|||
|
java.lang.Object ref = userDeviceIdSign_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
return (java.lang.String) ref;
|
|||
|
} else {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userDeviceIdSign_ = s;
|
|||
|
return s;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdSignBytes() {
|
|||
|
java.lang.Object ref = userDeviceIdSign_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userDeviceIdSign_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private byte memoizedIsInitialized = -1;
|
|||
|
public final boolean isInitialized() {
|
|||
|
byte isInitialized = memoizedIsInitialized;
|
|||
|
if (isInitialized == 1) return true;
|
|||
|
if (isInitialized == 0) return false;
|
|||
|
|
|||
|
memoizedIsInitialized = 1;
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|||
|
throws java.io.IOException {
|
|||
|
if (!getUserIdPubkBytes().isEmpty()) {
|
|||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userIdPubk_);
|
|||
|
}
|
|||
|
if (!getUserDeviceIdPubkBytes().isEmpty()) {
|
|||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userDeviceIdPubk_);
|
|||
|
}
|
|||
|
if (!getUserDeviceIdSignBytes().isEmpty()) {
|
|||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userDeviceIdSign_);
|
|||
|
}
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
public int getSerializedSize() {
|
|||
|
int size = memoizedSize;
|
|||
|
if (size != -1) return size;
|
|||
|
|
|||
|
size = 0;
|
|||
|
if (!getUserIdPubkBytes().isEmpty()) {
|
|||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userIdPubk_);
|
|||
|
}
|
|||
|
if (!getUserDeviceIdPubkBytes().isEmpty()) {
|
|||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userDeviceIdPubk_);
|
|||
|
}
|
|||
|
if (!getUserDeviceIdSignBytes().isEmpty()) {
|
|||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userDeviceIdSign_);
|
|||
|
}
|
|||
|
size += unknownFields.getSerializedSize();
|
|||
|
memoizedSize = size;
|
|||
|
return size;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public boolean equals(final java.lang.Object obj) {
|
|||
|
if (obj == this) {
|
|||
|
return true;
|
|||
|
}
|
|||
|
if (!(obj instanceof com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest other = (com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
result = result && getUserIdPubk()
|
|||
|
.equals(other.getUserIdPubk());
|
|||
|
result = result && getUserDeviceIdPubk()
|
|||
|
.equals(other.getUserDeviceIdPubk());
|
|||
|
result = result && getUserDeviceIdSign()
|
|||
|
.equals(other.getUserDeviceIdSign());
|
|||
|
result = result && unknownFields.equals(other.unknownFields);
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public int hashCode() {
|
|||
|
if (memoizedHashCode != 0) {
|
|||
|
return memoizedHashCode;
|
|||
|
}
|
|||
|
int hash = 41;
|
|||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|||
|
hash = (37 * hash) + USER_ID_PUBK_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getUserIdPubk().hashCode();
|
|||
|
hash = (37 * hash) + USER_DEVICE_ID_PUBK_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getUserDeviceIdPubk().hashCode();
|
|||
|
hash = (37 * hash) + USER_DEVICE_ID_SIGN_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getUserDeviceIdSign().hashCode();
|
|||
|
hash = (29 * hash) + unknownFields.hashCode();
|
|||
|
memoizedHashCode = hash;
|
|||
|
return hash;
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
java.nio.ByteBuffer data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
com.google.protobuf.ByteString data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
java.io.InputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseDelimitedFrom(
|
|||
|
java.io.InputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
|
|||
|
public Builder newBuilderForType() { return newBuilder(); }
|
|||
|
public static Builder newBuilder() {
|
|||
|
return DEFAULT_INSTANCE.toBuilder();
|
|||
|
}
|
|||
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest prototype) {
|
|||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|||
|
}
|
|||
|
public Builder toBuilder() {
|
|||
|
return this == DEFAULT_INSTANCE
|
|||
|
? new Builder() : new Builder().mergeFrom(this);
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
protected Builder newBuilderForType(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
Builder builder = new Builder(parent);
|
|||
|
return builder;
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteLogoutRequest}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiSiteLogoutRequest)
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequestOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.class, com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.newBuilder()
|
|||
|
private Builder() {
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
|
|||
|
private Builder(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
super(parent);
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
private void maybeForceBuilderInitialization() {
|
|||
|
if (com.google.protobuf.GeneratedMessageV3
|
|||
|
.alwaysUseFieldBuilders) {
|
|||
|
}
|
|||
|
}
|
|||
|
public Builder clear() {
|
|||
|
super.clear();
|
|||
|
userIdPubk_ = "";
|
|||
|
|
|||
|
userDeviceIdPubk_ = "";
|
|||
|
|
|||
|
userDeviceIdSign_ = "";
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest build() {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest result = new com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest(this);
|
|||
|
result.userIdPubk_ = userIdPubk_;
|
|||
|
result.userDeviceIdPubk_ = userDeviceIdPubk_;
|
|||
|
result.userDeviceIdSign_ = userDeviceIdSign_;
|
|||
|
onBuilt();
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public Builder clone() {
|
|||
|
return (Builder) super.clone();
|
|||
|
}
|
|||
|
public Builder setField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.setField(field, value);
|
|||
|
}
|
|||
|
public Builder clearField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|||
|
return (Builder) super.clearField(field);
|
|||
|
}
|
|||
|
public Builder clearOneof(
|
|||
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|||
|
return (Builder) super.clearOneof(oneof);
|
|||
|
}
|
|||
|
public Builder setRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
int index, java.lang.Object value) {
|
|||
|
return (Builder) super.setRepeatedField(field, index, value);
|
|||
|
}
|
|||
|
public Builder addRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.addRepeatedField(field, value);
|
|||
|
}
|
|||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|||
|
if (other instanceof com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest.getDefaultInstance()) return this;
|
|||
|
if (!other.getUserIdPubk().isEmpty()) {
|
|||
|
userIdPubk_ = other.userIdPubk_;
|
|||
|
onChanged();
|
|||
|
}
|
|||
|
if (!other.getUserDeviceIdPubk().isEmpty()) {
|
|||
|
userDeviceIdPubk_ = other.userDeviceIdPubk_;
|
|||
|
onChanged();
|
|||
|
}
|
|||
|
if (!other.getUserDeviceIdSign().isEmpty()) {
|
|||
|
userDeviceIdSign_ = other.userDeviceIdSign_;
|
|||
|
onChanged();
|
|||
|
}
|
|||
|
this.mergeUnknownFields(other.unknownFields);
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public final boolean isInitialized() {
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private java.lang.Object userIdPubk_ = "";
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserIdPubk() {
|
|||
|
java.lang.Object ref = userIdPubk_;
|
|||
|
if (!(ref instanceof java.lang.String)) {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userIdPubk_ = s;
|
|||
|
return s;
|
|||
|
} else {
|
|||
|
return (java.lang.String) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserIdPubkBytes() {
|
|||
|
java.lang.Object ref = userIdPubk_;
|
|||
|
if (ref instanceof String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userIdPubk_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setUserIdPubk(
|
|||
|
java.lang.String value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
|
|||
|
userIdPubk_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public Builder clearUserIdPubk() {
|
|||
|
|
|||
|
userIdPubk_ = getDefaultInstance().getUserIdPubk();
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户个人身份公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_id_pubk = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setUserIdPubkBytes(
|
|||
|
com.google.protobuf.ByteString value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
checkByteStringIsUtf8(value);
|
|||
|
|
|||
|
userIdPubk_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private java.lang.Object userDeviceIdPubk_ = "";
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserDeviceIdPubk() {
|
|||
|
java.lang.Object ref = userDeviceIdPubk_;
|
|||
|
if (!(ref instanceof java.lang.String)) {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userDeviceIdPubk_ = s;
|
|||
|
return s;
|
|||
|
} else {
|
|||
|
return (java.lang.String) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdPubkBytes() {
|
|||
|
java.lang.Object ref = userDeviceIdPubk_;
|
|||
|
if (ref instanceof String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userDeviceIdPubk_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public Builder setUserDeviceIdPubk(
|
|||
|
java.lang.String value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
|
|||
|
userDeviceIdPubk_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public Builder clearUserDeviceIdPubk() {
|
|||
|
|
|||
|
userDeviceIdPubk_ = getDefaultInstance().getUserDeviceIdPubk();
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备公钥
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_pubk = 2;</code>
|
|||
|
*/
|
|||
|
public Builder setUserDeviceIdPubkBytes(
|
|||
|
com.google.protobuf.ByteString value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
checkByteStringIsUtf8(value);
|
|||
|
|
|||
|
userDeviceIdPubk_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private java.lang.Object userDeviceIdSign_ = "";
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getUserDeviceIdSign() {
|
|||
|
java.lang.Object ref = userDeviceIdSign_;
|
|||
|
if (!(ref instanceof java.lang.String)) {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
userDeviceIdSign_ = s;
|
|||
|
return s;
|
|||
|
} else {
|
|||
|
return (java.lang.String) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getUserDeviceIdSignBytes() {
|
|||
|
java.lang.Object ref = userDeviceIdSign_;
|
|||
|
if (ref instanceof String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
userDeviceIdSign_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public Builder setUserDeviceIdSign(
|
|||
|
java.lang.String value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
|
|||
|
userDeviceIdSign_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public Builder clearUserDeviceIdSign() {
|
|||
|
|
|||
|
userDeviceIdSign_ = getDefaultInstance().getUserDeviceIdSign();
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*用户设备签名
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string user_device_id_sign = 3;</code>
|
|||
|
*/
|
|||
|
public Builder setUserDeviceIdSignBytes(
|
|||
|
com.google.protobuf.ByteString value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
checkByteStringIsUtf8(value);
|
|||
|
|
|||
|
userDeviceIdSign_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
public final Builder setUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.setUnknownFieldsProto3(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
public final Builder mergeUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.mergeUnknownFields(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
// @@protoc_insertion_point(builder_scope:site.ApiSiteLogoutRequest)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiSiteLogoutRequest)
|
|||
|
private static final com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiSiteLogoutRequest>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiSiteLogoutRequest>() {
|
|||
|
public ApiSiteLogoutRequest parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiSiteLogoutRequest(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiSiteLogoutRequest> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiSiteLogoutRequest> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutRequest getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public interface ApiSiteLogoutResponseOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiSiteLogoutResponse)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*无需返回数据,只需要返回errorCode
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* Protobuf type {@code site.ApiSiteLogoutResponse}
|
|||
|
*/
|
|||
|
public static final class ApiSiteLogoutResponse extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiSiteLogoutResponse)
|
|||
|
ApiSiteLogoutResponseOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiSiteLogoutResponse.newBuilder() to construct.
|
|||
|
private ApiSiteLogoutResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiSiteLogoutResponse() {
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiSiteLogoutResponse(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
this();
|
|||
|
if (extensionRegistry == null) {
|
|||
|
throw new java.lang.NullPointerException();
|
|||
|
}
|
|||
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|||
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|||
|
try {
|
|||
|
boolean done = false;
|
|||
|
while (!done) {
|
|||
|
int tag = input.readTag();
|
|||
|
switch (tag) {
|
|||
|
case 0:
|
|||
|
done = true;
|
|||
|
break;
|
|||
|
default: {
|
|||
|
if (!parseUnknownFieldProto3(
|
|||
|
input, unknownFields, extensionRegistry, tag)) {
|
|||
|
done = true;
|
|||
|
}
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
throw e.setUnfinishedMessage(this);
|
|||
|
} catch (java.io.IOException e) {
|
|||
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|||
|
e).setUnfinishedMessage(this);
|
|||
|
} finally {
|
|||
|
this.unknownFields = unknownFields.build();
|
|||
|
makeExtensionsImmutable();
|
|||
|
}
|
|||
|
}
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.class, com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
private byte memoizedIsInitialized = -1;
|
|||
|
public final boolean isInitialized() {
|
|||
|
byte isInitialized = memoizedIsInitialized;
|
|||
|
if (isInitialized == 1) return true;
|
|||
|
if (isInitialized == 0) return false;
|
|||
|
|
|||
|
memoizedIsInitialized = 1;
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|||
|
throws java.io.IOException {
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
public int getSerializedSize() {
|
|||
|
int size = memoizedSize;
|
|||
|
if (size != -1) return size;
|
|||
|
|
|||
|
size = 0;
|
|||
|
size += unknownFields.getSerializedSize();
|
|||
|
memoizedSize = size;
|
|||
|
return size;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public boolean equals(final java.lang.Object obj) {
|
|||
|
if (obj == this) {
|
|||
|
return true;
|
|||
|
}
|
|||
|
if (!(obj instanceof com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse other = (com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
result = result && unknownFields.equals(other.unknownFields);
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public int hashCode() {
|
|||
|
if (memoizedHashCode != 0) {
|
|||
|
return memoizedHashCode;
|
|||
|
}
|
|||
|
int hash = 41;
|
|||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|||
|
hash = (29 * hash) + unknownFields.hashCode();
|
|||
|
memoizedHashCode = hash;
|
|||
|
return hash;
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
java.nio.ByteBuffer data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
com.google.protobuf.ByteString data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
java.io.InputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseDelimitedFrom(
|
|||
|
java.io.InputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
|
|||
|
public Builder newBuilderForType() { return newBuilder(); }
|
|||
|
public static Builder newBuilder() {
|
|||
|
return DEFAULT_INSTANCE.toBuilder();
|
|||
|
}
|
|||
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse prototype) {
|
|||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|||
|
}
|
|||
|
public Builder toBuilder() {
|
|||
|
return this == DEFAULT_INSTANCE
|
|||
|
? new Builder() : new Builder().mergeFrom(this);
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
protected Builder newBuilderForType(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
Builder builder = new Builder(parent);
|
|||
|
return builder;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*无需返回数据,只需要返回errorCode
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* Protobuf type {@code site.ApiSiteLogoutResponse}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiSiteLogoutResponse)
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponseOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.class, com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.newBuilder()
|
|||
|
private Builder() {
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
|
|||
|
private Builder(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
super(parent);
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
private void maybeForceBuilderInitialization() {
|
|||
|
if (com.google.protobuf.GeneratedMessageV3
|
|||
|
.alwaysUseFieldBuilders) {
|
|||
|
}
|
|||
|
}
|
|||
|
public Builder clear() {
|
|||
|
super.clear();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.internal_static_site_ApiSiteLogoutResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse build() {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse result = new com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse(this);
|
|||
|
onBuilt();
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public Builder clone() {
|
|||
|
return (Builder) super.clone();
|
|||
|
}
|
|||
|
public Builder setField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.setField(field, value);
|
|||
|
}
|
|||
|
public Builder clearField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|||
|
return (Builder) super.clearField(field);
|
|||
|
}
|
|||
|
public Builder clearOneof(
|
|||
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|||
|
return (Builder) super.clearOneof(oneof);
|
|||
|
}
|
|||
|
public Builder setRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
int index, java.lang.Object value) {
|
|||
|
return (Builder) super.setRepeatedField(field, index, value);
|
|||
|
}
|
|||
|
public Builder addRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.addRepeatedField(field, value);
|
|||
|
}
|
|||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|||
|
if (other instanceof com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse.getDefaultInstance()) return this;
|
|||
|
this.mergeUnknownFields(other.unknownFields);
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public final boolean isInitialized() {
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
public final Builder setUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.setUnknownFieldsProto3(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
public final Builder mergeUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.mergeUnknownFields(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
// @@protoc_insertion_point(builder_scope:site.ApiSiteLogoutResponse)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiSiteLogoutResponse)
|
|||
|
private static final com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiSiteLogoutResponse>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiSiteLogoutResponse>() {
|
|||
|
public ApiSiteLogoutResponse parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiSiteLogoutResponse(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiSiteLogoutResponse> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiSiteLogoutResponse> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteLogoutProto.ApiSiteLogoutResponse getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiSiteLogoutRequest_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiSiteLogoutRequest_fieldAccessorTable;
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiSiteLogoutResponse_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiSiteLogoutResponse_fieldAccessorTable;
|
|||
|
|
|||
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
getDescriptor() {
|
|||
|
return descriptor;
|
|||
|
}
|
|||
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
descriptor;
|
|||
|
static {
|
|||
|
java.lang.String[] descriptorData = {
|
|||
|
"\n\032site/api_site_logout.proto\022\004site\"f\n\024Ap" +
|
|||
|
"iSiteLogoutRequest\022\024\n\014user_id_pubk\030\001 \001(\t" +
|
|||
|
"\022\033\n\023user_device_id_pubk\030\002 \001(\t\022\033\n\023user_de" +
|
|||
|
"vice_id_sign\030\003 \001(\t\"\027\n\025ApiSiteLogoutRespo" +
|
|||
|
"nse2Y\n\024ApiSiteLogoutService\022A\n\006logout\022\032." +
|
|||
|
"site.ApiSiteLogoutRequest\032\033.site.ApiSite" +
|
|||
|
"LogoutResponseB+\n\025com.akaxin.proto.siteB" +
|
|||
|
"\022ApiSiteLogoutProtob\006proto3"
|
|||
|
};
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
|||
|
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
|||
|
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor root) {
|
|||
|
descriptor = root;
|
|||
|
return null;
|
|||
|
}
|
|||
|
};
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|||
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|||
|
}, assigner);
|
|||
|
internal_static_site_ApiSiteLogoutRequest_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(0);
|
|||
|
internal_static_site_ApiSiteLogoutRequest_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiSiteLogoutRequest_descriptor,
|
|||
|
new java.lang.String[] { "UserIdPubk", "UserDeviceIdPubk", "UserDeviceIdSign", });
|
|||
|
internal_static_site_ApiSiteLogoutResponse_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(1);
|
|||
|
internal_static_site_ApiSiteLogoutResponse_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiSiteLogoutResponse_descriptor,
|
|||
|
new java.lang.String[] { });
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(outer_class_scope)
|
|||
|
}
|