// 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 { /** *
*平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
java.lang.String getPhoneToken();
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
com.google.protobuf.ByteString
getPhoneTokenBytes();
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
java.lang.String getSiteAddress();
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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_;
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
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;
}
}
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
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_;
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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;
}
}
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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*平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
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;
}
}
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
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;
}
}
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
public Builder setPhoneToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
phoneToken_ = value;
onChanged();
return this;
}
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
public Builder clearPhoneToken() {
phoneToken_ = getDefaultInstance().getPhoneToken();
onChanged();
return this;
}
/**
* *平台允许站点获取手机号的token ** *
string phone_token = 1;
*/
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_ = "";
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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;
}
}
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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;
}
}
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
public Builder setSiteAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
siteAddress_ = value;
onChanged();
return this;
}
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
public Builder clearSiteAddress() {
siteAddress_ = getDefaultInstance().getSiteAddress();
onChanged();
return this;
}
/**
* *当前站点地址demo.akaxin.com:2021 ** *
string site_address = 2;
*/
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*手机号码 ** *
string phone_id = 1;
*/
java.lang.String getPhoneId();
/**
* *手机号码 ** *
string phone_id = 1;
*/
com.google.protobuf.ByteString
getPhoneIdBytes();
/**
* *+86 ** *
string country_code = 2;
*/
java.lang.String getCountryCode();
/**
* *+86 ** *
string country_code = 2;
*/
com.google.protobuf.ByteString
getCountryCodeBytes();
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
java.lang.String getUserIdPubk();
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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_;
/**
* *手机号码 ** *
string phone_id = 1;
*/
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;
}
}
/**
* *手机号码 ** *
string phone_id = 1;
*/
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_;
/**
* *+86 ** *
string country_code = 2;
*/
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;
}
}
/**
* *+86 ** *
string country_code = 2;
*/
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_;
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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;
}
}
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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*手机号码 ** *
string phone_id = 1;
*/
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;
}
}
/**
* *手机号码 ** *
string phone_id = 1;
*/
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;
}
}
/**
* *手机号码 ** *
string phone_id = 1;
*/
public Builder setPhoneId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
phoneId_ = value;
onChanged();
return this;
}
/**
* *手机号码 ** *
string phone_id = 1;
*/
public Builder clearPhoneId() {
phoneId_ = getDefaultInstance().getPhoneId();
onChanged();
return this;
}
/**
* *手机号码 ** *
string phone_id = 1;
*/
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_ = "";
/**
* *+86 ** *
string country_code = 2;
*/
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;
}
}
/**
* *+86 ** *
string country_code = 2;
*/
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;
}
}
/**
* *+86 ** *
string country_code = 2;
*/
public Builder setCountryCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
countryCode_ = value;
onChanged();
return this;
}
/**
* *+86 ** *
string country_code = 2;
*/
public Builder clearCountryCode() {
countryCode_ = getDefaultInstance().getCountryCode();
onChanged();
return this;
}
/**
* *+86 ** *
string country_code = 2;
*/
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_ = "";
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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;
}
}
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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;
}
}
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
public Builder setUserIdPubk(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
userIdPubk_ = value;
onChanged();
return this;
}
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
public Builder clearUserIdPubk() {
userIdPubk_ = getDefaultInstance().getUserIdPubk();
onChanged();
return this;
}
/**
* *用户公钥 ** *
string user_id_pubk = 3;
*/
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