1711 lines
58 KiB
Java
1711 lines
58 KiB
Java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: platform/api_phone_confirmToken.proto
|
||
|
|
||
|
package com.akaxin.proto.platform;
|
||
|
|
||
|
public final class ApiPhoneConfirmTokenProto {
|
||
|
private ApiPhoneConfirmTokenProto() {}
|
||
|
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 ApiPhoneConfirmTokenRequestOrBuilder extends
|
||
|
// @@protoc_insertion_point(interface_extends:platform.ApiPhoneConfirmTokenRequest)
|
||
|
com.google.protobuf.MessageOrBuilder {
|
||
|
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
java.lang.String getPhoneToken();
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
com.google.protobuf.ByteString
|
||
|
getPhoneTokenBytes();
|
||
|
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
java.lang.String getSiteAddress();
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
com.google.protobuf.ByteString
|
||
|
getSiteAddressBytes();
|
||
|
}
|
||
|
/**
|
||
|
* Protobuf type {@code platform.ApiPhoneConfirmTokenRequest}
|
||
|
*/
|
||
|
public static final class ApiPhoneConfirmTokenRequest extends
|
||
|
com.google.protobuf.GeneratedMessageV3 implements
|
||
|
// @@protoc_insertion_point(message_implements:platform.ApiPhoneConfirmTokenRequest)
|
||
|
ApiPhoneConfirmTokenRequestOrBuilder {
|
||
|
private static final long serialVersionUID = 0L;
|
||
|
// Use ApiPhoneConfirmTokenRequest.newBuilder() to construct.
|
||
|
private ApiPhoneConfirmTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||
|
super(builder);
|
||
|
}
|
||
|
private ApiPhoneConfirmTokenRequest() {
|
||
|
phoneToken_ = "";
|
||
|
siteAddress_ = "";
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public final com.google.protobuf.UnknownFieldSet
|
||
|
getUnknownFields() {
|
||
|
return this.unknownFields;
|
||
|
}
|
||
|
private ApiPhoneConfirmTokenRequest(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
this();
|
||
|
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();
|
||
|
|
||
|
phoneToken_ = s;
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
java.lang.String s = input.readStringRequireUtf8();
|
||
|
|
||
|
siteAddress_ = 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.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenRequest_descriptor;
|
||
|
}
|
||
|
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenRequest_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.class, com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.Builder.class);
|
||
|
}
|
||
|
|
||
|
public static final int PHONE_TOKEN_FIELD_NUMBER = 1;
|
||
|
private volatile java.lang.Object phoneToken_;
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public java.lang.String getPhoneToken() {
|
||
|
java.lang.Object ref = phoneToken_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
return (java.lang.String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
phoneToken_ = s;
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getPhoneTokenBytes() {
|
||
|
java.lang.Object ref = phoneToken_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
phoneToken_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final int SITE_ADDRESS_FIELD_NUMBER = 2;
|
||
|
private volatile java.lang.Object siteAddress_;
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public java.lang.String getSiteAddress() {
|
||
|
java.lang.Object ref = siteAddress_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
return (java.lang.String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
siteAddress_ = s;
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getSiteAddressBytes() {
|
||
|
java.lang.Object ref = siteAddress_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
siteAddress_ = 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 (!getPhoneTokenBytes().isEmpty()) {
|
||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phoneToken_);
|
||
|
}
|
||
|
if (!getSiteAddressBytes().isEmpty()) {
|
||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, siteAddress_);
|
||
|
}
|
||
|
unknownFields.writeTo(output);
|
||
|
}
|
||
|
|
||
|
public int getSerializedSize() {
|
||
|
int size = memoizedSize;
|
||
|
if (size != -1) return size;
|
||
|
|
||
|
size = 0;
|
||
|
if (!getPhoneTokenBytes().isEmpty()) {
|
||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phoneToken_);
|
||
|
}
|
||
|
if (!getSiteAddressBytes().isEmpty()) {
|
||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, siteAddress_);
|
||
|
}
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest)) {
|
||
|
return super.equals(obj);
|
||
|
}
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest other = (com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest) obj;
|
||
|
|
||
|
boolean result = true;
|
||
|
result = result && getPhoneToken()
|
||
|
.equals(other.getPhoneToken());
|
||
|
result = result && getSiteAddress()
|
||
|
.equals(other.getSiteAddress());
|
||
|
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) + PHONE_TOKEN_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getPhoneToken().hashCode();
|
||
|
hash = (37 * hash) + SITE_ADDRESS_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getSiteAddress().hashCode();
|
||
|
hash = (29 * hash) + unknownFields.hashCode();
|
||
|
memoizedHashCode = hash;
|
||
|
return hash;
|
||
|
}
|
||
|
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(
|
||
|
java.nio.ByteBuffer data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(
|
||
|
com.google.protobuf.ByteString data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(byte[] data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(
|
||
|
byte[] data,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseDelimitedFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseDelimitedWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parseFrom(
|
||
|
com.google.protobuf.CodedInputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest 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 platform.ApiPhoneConfirmTokenRequest}
|
||
|
*/
|
||
|
public static final class Builder extends
|
||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||
|
// @@protoc_insertion_point(builder_implements:platform.ApiPhoneConfirmTokenRequest)
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequestOrBuilder {
|
||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptor() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenRequest_descriptor;
|
||
|
}
|
||
|
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenRequest_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.class, com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.Builder.class);
|
||
|
}
|
||
|
|
||
|
// Construct using com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.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();
|
||
|
phoneToken_ = "";
|
||
|
|
||
|
siteAddress_ = "";
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptorForType() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenRequest_descriptor;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest getDefaultInstanceForType() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.getDefaultInstance();
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest build() {
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest result = buildPartial();
|
||
|
if (!result.isInitialized()) {
|
||
|
throw newUninitializedMessageException(result);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest buildPartial() {
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest result = new com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest(this);
|
||
|
result.phoneToken_ = phoneToken_;
|
||
|
result.siteAddress_ = siteAddress_;
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest) {
|
||
|
return mergeFrom((com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest)other);
|
||
|
} else {
|
||
|
super.mergeFrom(other);
|
||
|
return this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public Builder mergeFrom(com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest other) {
|
||
|
if (other == com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest.getDefaultInstance()) return this;
|
||
|
if (!other.getPhoneToken().isEmpty()) {
|
||
|
phoneToken_ = other.phoneToken_;
|
||
|
onChanged();
|
||
|
}
|
||
|
if (!other.getSiteAddress().isEmpty()) {
|
||
|
siteAddress_ = other.siteAddress_;
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest parsedMessage = null;
|
||
|
try {
|
||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
|
parsedMessage = (com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest) e.getUnfinishedMessage();
|
||
|
throw e.unwrapIOException();
|
||
|
} finally {
|
||
|
if (parsedMessage != null) {
|
||
|
mergeFrom(parsedMessage);
|
||
|
}
|
||
|
}
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private java.lang.Object phoneToken_ = "";
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public java.lang.String getPhoneToken() {
|
||
|
java.lang.Object ref = phoneToken_;
|
||
|
if (!(ref instanceof java.lang.String)) {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
phoneToken_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (java.lang.String) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getPhoneTokenBytes() {
|
||
|
java.lang.Object ref = phoneToken_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
phoneToken_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public Builder setPhoneToken(
|
||
|
java.lang.String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
|
||
|
phoneToken_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public Builder clearPhoneToken() {
|
||
|
|
||
|
phoneToken_ = getDefaultInstance().getPhoneToken();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*平台允许站点获取手机号的token
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_token = 1;</code>
|
||
|
*/
|
||
|
public Builder setPhoneTokenBytes(
|
||
|
com.google.protobuf.ByteString value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
checkByteStringIsUtf8(value);
|
||
|
|
||
|
phoneToken_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private java.lang.Object siteAddress_ = "";
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public java.lang.String getSiteAddress() {
|
||
|
java.lang.Object ref = siteAddress_;
|
||
|
if (!(ref instanceof java.lang.String)) {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
siteAddress_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (java.lang.String) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getSiteAddressBytes() {
|
||
|
java.lang.Object ref = siteAddress_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
siteAddress_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public Builder setSiteAddress(
|
||
|
java.lang.String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
|
||
|
siteAddress_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public Builder clearSiteAddress() {
|
||
|
|
||
|
siteAddress_ = getDefaultInstance().getSiteAddress();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*当前站点地址demo.akaxin.com:2021
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string site_address = 2;</code>
|
||
|
*/
|
||
|
public Builder setSiteAddressBytes(
|
||
|
com.google.protobuf.ByteString value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
checkByteStringIsUtf8(value);
|
||
|
|
||
|
siteAddress_ = 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:platform.ApiPhoneConfirmTokenRequest)
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:platform.ApiPhoneConfirmTokenRequest)
|
||
|
private static final com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest DEFAULT_INSTANCE;
|
||
|
static {
|
||
|
DEFAULT_INSTANCE = new com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest();
|
||
|
}
|
||
|
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest getDefaultInstance() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
private static final com.google.protobuf.Parser<ApiPhoneConfirmTokenRequest>
|
||
|
PARSER = new com.google.protobuf.AbstractParser<ApiPhoneConfirmTokenRequest>() {
|
||
|
public ApiPhoneConfirmTokenRequest parsePartialFrom(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return new ApiPhoneConfirmTokenRequest(input, extensionRegistry);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public static com.google.protobuf.Parser<ApiPhoneConfirmTokenRequest> parser() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public com.google.protobuf.Parser<ApiPhoneConfirmTokenRequest> getParserForType() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenRequest getDefaultInstanceForType() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
public interface ApiPhoneConfirmTokenResponseOrBuilder extends
|
||
|
// @@protoc_insertion_point(interface_extends:platform.ApiPhoneConfirmTokenResponse)
|
||
|
com.google.protobuf.MessageOrBuilder {
|
||
|
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
java.lang.String getPhoneId();
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
com.google.protobuf.ByteString
|
||
|
getPhoneIdBytes();
|
||
|
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
java.lang.String getCountryCode();
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
com.google.protobuf.ByteString
|
||
|
getCountryCodeBytes();
|
||
|
|
||
|
/**
|
||
|
* <pre>
|
||
|
*用户公钥
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string user_id_pubk = 3;</code>
|
||
|
*/
|
||
|
java.lang.String getUserIdPubk();
|
||
|
/**
|
||
|
* <pre>
|
||
|
*用户公钥
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string user_id_pubk = 3;</code>
|
||
|
*/
|
||
|
com.google.protobuf.ByteString
|
||
|
getUserIdPubkBytes();
|
||
|
}
|
||
|
/**
|
||
|
* Protobuf type {@code platform.ApiPhoneConfirmTokenResponse}
|
||
|
*/
|
||
|
public static final class ApiPhoneConfirmTokenResponse extends
|
||
|
com.google.protobuf.GeneratedMessageV3 implements
|
||
|
// @@protoc_insertion_point(message_implements:platform.ApiPhoneConfirmTokenResponse)
|
||
|
ApiPhoneConfirmTokenResponseOrBuilder {
|
||
|
private static final long serialVersionUID = 0L;
|
||
|
// Use ApiPhoneConfirmTokenResponse.newBuilder() to construct.
|
||
|
private ApiPhoneConfirmTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||
|
super(builder);
|
||
|
}
|
||
|
private ApiPhoneConfirmTokenResponse() {
|
||
|
phoneId_ = "";
|
||
|
countryCode_ = "";
|
||
|
userIdPubk_ = "";
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public final com.google.protobuf.UnknownFieldSet
|
||
|
getUnknownFields() {
|
||
|
return this.unknownFields;
|
||
|
}
|
||
|
private ApiPhoneConfirmTokenResponse(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
this();
|
||
|
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();
|
||
|
|
||
|
phoneId_ = s;
|
||
|
break;
|
||
|
}
|
||
|
case 18: {
|
||
|
java.lang.String s = input.readStringRequireUtf8();
|
||
|
|
||
|
countryCode_ = s;
|
||
|
break;
|
||
|
}
|
||
|
case 26: {
|
||
|
java.lang.String s = input.readStringRequireUtf8();
|
||
|
|
||
|
userIdPubk_ = 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.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor;
|
||
|
}
|
||
|
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenResponse_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.class, com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.Builder.class);
|
||
|
}
|
||
|
|
||
|
public static final int PHONE_ID_FIELD_NUMBER = 1;
|
||
|
private volatile java.lang.Object phoneId_;
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public java.lang.String getPhoneId() {
|
||
|
java.lang.Object ref = phoneId_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
return (java.lang.String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
phoneId_ = s;
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getPhoneIdBytes() {
|
||
|
java.lang.Object ref = phoneId_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
phoneId_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final int COUNTRY_CODE_FIELD_NUMBER = 2;
|
||
|
private volatile java.lang.Object countryCode_;
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public java.lang.String getCountryCode() {
|
||
|
java.lang.Object ref = countryCode_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
return (java.lang.String) ref;
|
||
|
} else {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
countryCode_ = s;
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getCountryCodeBytes() {
|
||
|
java.lang.Object ref = countryCode_;
|
||
|
if (ref instanceof java.lang.String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
countryCode_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final int USER_ID_PUBK_FIELD_NUMBER = 3;
|
||
|
private volatile java.lang.Object userIdPubk_;
|
||
|
/**
|
||
|
* <pre>
|
||
|
*用户公钥
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string user_id_pubk = 3;</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 = 3;</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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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 (!getPhoneIdBytes().isEmpty()) {
|
||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phoneId_);
|
||
|
}
|
||
|
if (!getCountryCodeBytes().isEmpty()) {
|
||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, countryCode_);
|
||
|
}
|
||
|
if (!getUserIdPubkBytes().isEmpty()) {
|
||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userIdPubk_);
|
||
|
}
|
||
|
unknownFields.writeTo(output);
|
||
|
}
|
||
|
|
||
|
public int getSerializedSize() {
|
||
|
int size = memoizedSize;
|
||
|
if (size != -1) return size;
|
||
|
|
||
|
size = 0;
|
||
|
if (!getPhoneIdBytes().isEmpty()) {
|
||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phoneId_);
|
||
|
}
|
||
|
if (!getCountryCodeBytes().isEmpty()) {
|
||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, countryCode_);
|
||
|
}
|
||
|
if (!getUserIdPubkBytes().isEmpty()) {
|
||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userIdPubk_);
|
||
|
}
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse)) {
|
||
|
return super.equals(obj);
|
||
|
}
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse other = (com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse) obj;
|
||
|
|
||
|
boolean result = true;
|
||
|
result = result && getPhoneId()
|
||
|
.equals(other.getPhoneId());
|
||
|
result = result && getCountryCode()
|
||
|
.equals(other.getCountryCode());
|
||
|
result = result && getUserIdPubk()
|
||
|
.equals(other.getUserIdPubk());
|
||
|
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) + PHONE_ID_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getPhoneId().hashCode();
|
||
|
hash = (37 * hash) + COUNTRY_CODE_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getCountryCode().hashCode();
|
||
|
hash = (37 * hash) + USER_ID_PUBK_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getUserIdPubk().hashCode();
|
||
|
hash = (29 * hash) + unknownFields.hashCode();
|
||
|
memoizedHashCode = hash;
|
||
|
return hash;
|
||
|
}
|
||
|
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(
|
||
|
java.nio.ByteBuffer data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(
|
||
|
com.google.protobuf.ByteString data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(byte[] data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(
|
||
|
byte[] data,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseDelimitedFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseDelimitedWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parseFrom(
|
||
|
com.google.protobuf.CodedInputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse 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 platform.ApiPhoneConfirmTokenResponse}
|
||
|
*/
|
||
|
public static final class Builder extends
|
||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||
|
// @@protoc_insertion_point(builder_implements:platform.ApiPhoneConfirmTokenResponse)
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponseOrBuilder {
|
||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptor() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor;
|
||
|
}
|
||
|
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenResponse_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.class, com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.Builder.class);
|
||
|
}
|
||
|
|
||
|
// Construct using com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.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();
|
||
|
phoneId_ = "";
|
||
|
|
||
|
countryCode_ = "";
|
||
|
|
||
|
userIdPubk_ = "";
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptorForType() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse getDefaultInstanceForType() {
|
||
|
return com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.getDefaultInstance();
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse build() {
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse result = buildPartial();
|
||
|
if (!result.isInitialized()) {
|
||
|
throw newUninitializedMessageException(result);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse buildPartial() {
|
||
|
com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse result = new com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse(this);
|
||
|
result.phoneId_ = phoneId_;
|
||
|
result.countryCode_ = countryCode_;
|
||
|
result.userIdPubk_ = userIdPubk_;
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse) {
|
||
|
return mergeFrom((com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse)other);
|
||
|
} else {
|
||
|
super.mergeFrom(other);
|
||
|
return this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public Builder mergeFrom(com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse other) {
|
||
|
if (other == com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse.getDefaultInstance()) return this;
|
||
|
if (!other.getPhoneId().isEmpty()) {
|
||
|
phoneId_ = other.phoneId_;
|
||
|
onChanged();
|
||
|
}
|
||
|
if (!other.getCountryCode().isEmpty()) {
|
||
|
countryCode_ = other.countryCode_;
|
||
|
onChanged();
|
||
|
}
|
||
|
if (!other.getUserIdPubk().isEmpty()) {
|
||
|
userIdPubk_ = other.userIdPubk_;
|
||
|
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.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse parsedMessage = null;
|
||
|
try {
|
||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
|
parsedMessage = (com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse) e.getUnfinishedMessage();
|
||
|
throw e.unwrapIOException();
|
||
|
} finally {
|
||
|
if (parsedMessage != null) {
|
||
|
mergeFrom(parsedMessage);
|
||
|
}
|
||
|
}
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private java.lang.Object phoneId_ = "";
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public java.lang.String getPhoneId() {
|
||
|
java.lang.Object ref = phoneId_;
|
||
|
if (!(ref instanceof java.lang.String)) {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
phoneId_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (java.lang.String) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getPhoneIdBytes() {
|
||
|
java.lang.Object ref = phoneId_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
phoneId_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public Builder setPhoneId(
|
||
|
java.lang.String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
|
||
|
phoneId_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public Builder clearPhoneId() {
|
||
|
|
||
|
phoneId_ = getDefaultInstance().getPhoneId();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*手机号码
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string phone_id = 1;</code>
|
||
|
*/
|
||
|
public Builder setPhoneIdBytes(
|
||
|
com.google.protobuf.ByteString value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
checkByteStringIsUtf8(value);
|
||
|
|
||
|
phoneId_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private java.lang.Object countryCode_ = "";
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public java.lang.String getCountryCode() {
|
||
|
java.lang.Object ref = countryCode_;
|
||
|
if (!(ref instanceof java.lang.String)) {
|
||
|
com.google.protobuf.ByteString bs =
|
||
|
(com.google.protobuf.ByteString) ref;
|
||
|
java.lang.String s = bs.toStringUtf8();
|
||
|
countryCode_ = s;
|
||
|
return s;
|
||
|
} else {
|
||
|
return (java.lang.String) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public com.google.protobuf.ByteString
|
||
|
getCountryCodeBytes() {
|
||
|
java.lang.Object ref = countryCode_;
|
||
|
if (ref instanceof String) {
|
||
|
com.google.protobuf.ByteString b =
|
||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
||
|
(java.lang.String) ref);
|
||
|
countryCode_ = b;
|
||
|
return b;
|
||
|
} else {
|
||
|
return (com.google.protobuf.ByteString) ref;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public Builder setCountryCode(
|
||
|
java.lang.String value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
|
||
|
countryCode_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public Builder clearCountryCode() {
|
||
|
|
||
|
countryCode_ = getDefaultInstance().getCountryCode();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*+86
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string country_code = 2;</code>
|
||
|
*/
|
||
|
public Builder setCountryCodeBytes(
|
||
|
com.google.protobuf.ByteString value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
checkByteStringIsUtf8(value);
|
||
|
|
||
|
countryCode_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private java.lang.Object userIdPubk_ = "";
|
||
|
/**
|
||
|
* <pre>
|
||
|
*用户公钥
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string user_id_pubk = 3;</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 = 3;</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 = 3;</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 = 3;</code>
|
||
|
*/
|
||
|
public Builder clearUserIdPubk() {
|
||
|
|
||
|
userIdPubk_ = getDefaultInstance().getUserIdPubk();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
*用户公钥
|
||
|
* </pre>
|
||
|
*
|
||
|
* <code>string user_id_pubk = 3;</code>
|
||
|
*/
|
||
|
public Builder setUserIdPubkBytes(
|
||
|
com.google.protobuf.ByteString value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
checkByteStringIsUtf8(value);
|
||
|
|
||
|
userIdPubk_ = 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:platform.ApiPhoneConfirmTokenResponse)
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:platform.ApiPhoneConfirmTokenResponse)
|
||
|
private static final com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse DEFAULT_INSTANCE;
|
||
|
static {
|
||
|
DEFAULT_INSTANCE = new com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse();
|
||
|
}
|
||
|
|
||
|
public static com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse getDefaultInstance() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
private static final com.google.protobuf.Parser<ApiPhoneConfirmTokenResponse>
|
||
|
PARSER = new com.google.protobuf.AbstractParser<ApiPhoneConfirmTokenResponse>() {
|
||
|
public ApiPhoneConfirmTokenResponse parsePartialFrom(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return new ApiPhoneConfirmTokenResponse(input, extensionRegistry);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public static com.google.protobuf.Parser<ApiPhoneConfirmTokenResponse> parser() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public com.google.protobuf.Parser<ApiPhoneConfirmTokenResponse> getParserForType() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
public com.akaxin.proto.platform.ApiPhoneConfirmTokenProto.ApiPhoneConfirmTokenResponse getDefaultInstanceForType() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||
|
internal_static_platform_ApiPhoneConfirmTokenRequest_descriptor;
|
||
|
private static final
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internal_static_platform_ApiPhoneConfirmTokenRequest_fieldAccessorTable;
|
||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||
|
internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor;
|
||
|
private static final
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internal_static_platform_ApiPhoneConfirmTokenResponse_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%platform/api_phone_confirmToken.proto\022" +
|
||
|
"\010platform\"H\n\033ApiPhoneConfirmTokenRequest" +
|
||
|
"\022\023\n\013phone_token\030\001 \001(\t\022\024\n\014site_address\030\002 " +
|
||
|
"\001(\t\"\\\n\034ApiPhoneConfirmTokenResponse\022\020\n\010p" +
|
||
|
"hone_id\030\001 \001(\t\022\024\n\014country_code\030\002 \001(\t\022\024\n\014u" +
|
||
|
"ser_id_pubk\030\003 \001(\t2|\n\033ApiPhoneConfirmToke" +
|
||
|
"nService\022]\n\014confirmToken\022%.platform.ApiP" +
|
||
|
"honeConfirmTokenRequest\032&.platform.ApiPh" +
|
||
|
"oneConfirmTokenResponseB6\n\031com.akaxin.pr" +
|
||
|
"oto.platformB\031ApiPhoneConfirmTokenProtob",
|
||
|
"\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_platform_ApiPhoneConfirmTokenRequest_descriptor =
|
||
|
getDescriptor().getMessageTypes().get(0);
|
||
|
internal_static_platform_ApiPhoneConfirmTokenRequest_fieldAccessorTable = new
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||
|
internal_static_platform_ApiPhoneConfirmTokenRequest_descriptor,
|
||
|
new java.lang.String[] { "PhoneToken", "SiteAddress", });
|
||
|
internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor =
|
||
|
getDescriptor().getMessageTypes().get(1);
|
||
|
internal_static_platform_ApiPhoneConfirmTokenResponse_fieldAccessorTable = new
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||
|
internal_static_platform_ApiPhoneConfirmTokenResponse_descriptor,
|
||
|
new java.lang.String[] { "PhoneId", "CountryCode", "UserIdPubk", });
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(outer_class_scope)
|
||
|
}
|