// Generated by the protocol buffer compiler. DO NOT EDIT! // source: platform/api_platform_registerByPhone.proto package com.akaxin.proto.site; public final class ApiPlatformRegisterByPhoneProto { private ApiPlatformRegisterByPhoneProto() {} 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 ApiPlatformRegisterByPhoneRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiPlatformRegisterByPhoneRequest) com.google.protobuf.MessageOrBuilder { /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ java.lang.String getUserIdPrik(); /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ com.google.protobuf.ByteString getUserIdPrikBytes(); /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ java.lang.String getUserIdPubk(); /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ com.google.protobuf.ByteString getUserIdPubkBytes(); /** *
     *用户名(选填)
     * 
* * string user_name = 3; */ java.lang.String getUserName(); /** *
     *用户名(选填)
     * 
* * string user_name = 3; */ com.google.protobuf.ByteString getUserNameBytes(); /** *
     *用户头像(选填)
     * 
* * string user_photo = 4; */ java.lang.String getUserPhoto(); /** *
     *用户头像(选填)
     * 
* * string user_photo = 4; */ com.google.protobuf.ByteString getUserPhotoBytes(); /** *
     *客户端接受PUSH需要的token
     * 
* * string push_token = 5; */ java.lang.String getPushToken(); /** *
     *客户端接受PUSH需要的token
     * 
* * string push_token = 5; */ com.google.protobuf.ByteString getPushTokenBytes(); /** *
     *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
     * 
* * string phone_id = 6; */ java.lang.String getPhoneId(); /** *
     *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
     * 
* * string phone_id = 6; */ com.google.protobuf.ByteString getPhoneIdBytes(); /** *
     *+86
     * 
* * string country_code = 7; */ java.lang.String getCountryCode(); /** *
     *+86
     * 
* * string country_code = 7; */ com.google.protobuf.ByteString getCountryCodeBytes(); /** *
     *短信验证码
     * 
* * string phone_verify_code = 8; */ java.lang.String getPhoneVerifyCode(); /** *
     *短信验证码
     * 
* * string phone_verify_code = 8; */ com.google.protobuf.ByteString getPhoneVerifyCodeBytes(); /** *
     *短信验证码类型
     * 
* * int32 vc_type = 9; */ int getVcType(); } /** * Protobuf type {@code site.ApiPlatformRegisterByPhoneRequest} */ public static final class ApiPlatformRegisterByPhoneRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:site.ApiPlatformRegisterByPhoneRequest) ApiPlatformRegisterByPhoneRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ApiPlatformRegisterByPhoneRequest.newBuilder() to construct. private ApiPlatformRegisterByPhoneRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApiPlatformRegisterByPhoneRequest() { userIdPrik_ = ""; userIdPubk_ = ""; userName_ = ""; userPhoto_ = ""; pushToken_ = ""; phoneId_ = ""; countryCode_ = ""; phoneVerifyCode_ = ""; vcType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ApiPlatformRegisterByPhoneRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); userIdPrik_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); userIdPubk_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); userName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); userPhoto_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); pushToken_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); phoneId_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); countryCode_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); phoneVerifyCode_ = s; break; } case 72: { vcType_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.class, com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.Builder.class); } public static final int USER_ID_PRIK_FIELD_NUMBER = 1; private volatile java.lang.Object userIdPrik_; /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ public java.lang.String getUserIdPrik() { java.lang.Object ref = userIdPrik_; 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(); userIdPrik_ = s; return s; } } /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ public com.google.protobuf.ByteString getUserIdPrikBytes() { java.lang.Object ref = userIdPrik_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userIdPrik_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_ID_PUBK_FIELD_NUMBER = 2; private volatile java.lang.Object userIdPubk_; /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ 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 = 2; */ public com.google.protobuf.ByteString getUserIdPubkBytes() { java.lang.Object ref = userIdPubk_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userIdPubk_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object userName_; /** *
     *用户名(选填)
     * 
* * string user_name = 3; */ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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(); userName_ = s; return s; } } /** *
     *用户名(选填)
     * 
* * string user_name = 3; */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_PHOTO_FIELD_NUMBER = 4; private volatile java.lang.Object userPhoto_; /** *
     *用户头像(选填)
     * 
* * string user_photo = 4; */ public java.lang.String getUserPhoto() { java.lang.Object ref = userPhoto_; 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(); userPhoto_ = s; return s; } } /** *
     *用户头像(选填)
     * 
* * string user_photo = 4; */ public com.google.protobuf.ByteString getUserPhotoBytes() { java.lang.Object ref = userPhoto_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userPhoto_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUSH_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pushToken_; /** *
     *客户端接受PUSH需要的token
     * 
* * string push_token = 5; */ public java.lang.String getPushToken() { java.lang.Object ref = pushToken_; 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(); pushToken_ = s; return s; } } /** *
     *客户端接受PUSH需要的token
     * 
* * string push_token = 5; */ public com.google.protobuf.ByteString getPushTokenBytes() { java.lang.Object ref = pushToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pushToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PHONE_ID_FIELD_NUMBER = 6; private volatile java.lang.Object phoneId_; /** *
     *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
     * 
* * string phone_id = 6; */ 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; } } /** *
     *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
     * 
* * string phone_id = 6; */ 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 = 7; private volatile java.lang.Object countryCode_; /** *
     *+86
     * 
* * string country_code = 7; */ 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 = 7; */ 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 PHONE_VERIFY_CODE_FIELD_NUMBER = 8; private volatile java.lang.Object phoneVerifyCode_; /** *
     *短信验证码
     * 
* * string phone_verify_code = 8; */ public java.lang.String getPhoneVerifyCode() { java.lang.Object ref = phoneVerifyCode_; 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(); phoneVerifyCode_ = s; return s; } } /** *
     *短信验证码
     * 
* * string phone_verify_code = 8; */ public com.google.protobuf.ByteString getPhoneVerifyCodeBytes() { java.lang.Object ref = phoneVerifyCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); phoneVerifyCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VC_TYPE_FIELD_NUMBER = 9; private int vcType_; /** *
     *短信验证码类型
     * 
* * int32 vc_type = 9; */ public int getVcType() { return vcType_; } 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 (!getUserIdPrikBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userIdPrik_); } if (!getUserIdPubkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userIdPubk_); } if (!getUserNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userName_); } if (!getUserPhotoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, userPhoto_); } if (!getPushTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pushToken_); } if (!getPhoneIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, phoneId_); } if (!getCountryCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, countryCode_); } if (!getPhoneVerifyCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, phoneVerifyCode_); } if (vcType_ != 0) { output.writeInt32(9, vcType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getUserIdPrikBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userIdPrik_); } if (!getUserIdPubkBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userIdPubk_); } if (!getUserNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userName_); } if (!getUserPhotoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userPhoto_); } if (!getPushTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pushToken_); } if (!getPhoneIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, phoneId_); } if (!getCountryCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, countryCode_); } if (!getPhoneVerifyCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, phoneVerifyCode_); } if (vcType_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, vcType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest)) { return super.equals(obj); } com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest other = (com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest) obj; boolean result = true; result = result && getUserIdPrik() .equals(other.getUserIdPrik()); result = result && getUserIdPubk() .equals(other.getUserIdPubk()); result = result && getUserName() .equals(other.getUserName()); result = result && getUserPhoto() .equals(other.getUserPhoto()); result = result && getPushToken() .equals(other.getPushToken()); result = result && getPhoneId() .equals(other.getPhoneId()); result = result && getCountryCode() .equals(other.getCountryCode()); result = result && getPhoneVerifyCode() .equals(other.getPhoneVerifyCode()); result = result && (getVcType() == other.getVcType()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USER_ID_PRIK_FIELD_NUMBER; hash = (53 * hash) + getUserIdPrik().hashCode(); hash = (37 * hash) + USER_ID_PUBK_FIELD_NUMBER; hash = (53 * hash) + getUserIdPubk().hashCode(); hash = (37 * hash) + USER_NAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); hash = (37 * hash) + USER_PHOTO_FIELD_NUMBER; hash = (53 * hash) + getUserPhoto().hashCode(); hash = (37 * hash) + PUSH_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPushToken().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) + PHONE_VERIFY_CODE_FIELD_NUMBER; hash = (53 * hash) + getPhoneVerifyCode().hashCode(); hash = (37 * hash) + VC_TYPE_FIELD_NUMBER; hash = (53 * hash) + getVcType(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code site.ApiPlatformRegisterByPhoneRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:site.ApiPlatformRegisterByPhoneRequest) com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.class, com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.Builder.class); } // Construct using com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.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(); userIdPrik_ = ""; userIdPubk_ = ""; userName_ = ""; userPhoto_ = ""; pushToken_ = ""; phoneId_ = ""; countryCode_ = ""; phoneVerifyCode_ = ""; vcType_ = 0; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest getDefaultInstanceForType() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.getDefaultInstance(); } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest build() { com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest buildPartial() { com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest result = new com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest(this); result.userIdPrik_ = userIdPrik_; result.userIdPubk_ = userIdPubk_; result.userName_ = userName_; result.userPhoto_ = userPhoto_; result.pushToken_ = pushToken_; result.phoneId_ = phoneId_; result.countryCode_ = countryCode_; result.phoneVerifyCode_ = phoneVerifyCode_; result.vcType_ = vcType_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest) { return mergeFrom((com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest other) { if (other == com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest.getDefaultInstance()) return this; if (!other.getUserIdPrik().isEmpty()) { userIdPrik_ = other.userIdPrik_; onChanged(); } if (!other.getUserIdPubk().isEmpty()) { userIdPubk_ = other.userIdPubk_; onChanged(); } if (!other.getUserName().isEmpty()) { userName_ = other.userName_; onChanged(); } if (!other.getUserPhoto().isEmpty()) { userPhoto_ = other.userPhoto_; onChanged(); } if (!other.getPushToken().isEmpty()) { pushToken_ = other.pushToken_; onChanged(); } if (!other.getPhoneId().isEmpty()) { phoneId_ = other.phoneId_; onChanged(); } if (!other.getCountryCode().isEmpty()) { countryCode_ = other.countryCode_; onChanged(); } if (!other.getPhoneVerifyCode().isEmpty()) { phoneVerifyCode_ = other.phoneVerifyCode_; onChanged(); } if (other.getVcType() != 0) { setVcType(other.getVcType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object userIdPrik_ = ""; /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public java.lang.String getUserIdPrik() { java.lang.Object ref = userIdPrik_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userIdPrik_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public com.google.protobuf.ByteString getUserIdPrikBytes() { java.lang.Object ref = userIdPrik_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userIdPrik_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder setUserIdPrik( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userIdPrik_ = value; onChanged(); return this; } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder clearUserIdPrik() { userIdPrik_ = getDefaultInstance().getUserIdPrik(); onChanged(); return this; } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder setUserIdPrikBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userIdPrik_ = value; onChanged(); return this; } private java.lang.Object userIdPubk_ = ""; /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ 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 = 2; */ 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 = 2; */ public Builder setUserIdPubk( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userIdPubk_ = value; onChanged(); return this; } /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ public Builder clearUserIdPubk() { userIdPubk_ = getDefaultInstance().getUserIdPubk(); onChanged(); return this; } /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ public Builder setUserIdPubkBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userIdPubk_ = value; onChanged(); return this; } private java.lang.Object userName_ = ""; /** *
       *用户名(选填)
       * 
* * string user_name = 3; */ public java.lang.String getUserName() { java.lang.Object ref = userName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户名(选填)
       * 
* * string user_name = 3; */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户名(选填)
       * 
* * string user_name = 3; */ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); return this; } /** *
       *用户名(选填)
       * 
* * string user_name = 3; */ public Builder clearUserName() { userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** *
       *用户名(选填)
       * 
* * string user_name = 3; */ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userName_ = value; onChanged(); return this; } private java.lang.Object userPhoto_ = ""; /** *
       *用户头像(选填)
       * 
* * string user_photo = 4; */ public java.lang.String getUserPhoto() { java.lang.Object ref = userPhoto_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userPhoto_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户头像(选填)
       * 
* * string user_photo = 4; */ public com.google.protobuf.ByteString getUserPhotoBytes() { java.lang.Object ref = userPhoto_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userPhoto_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户头像(选填)
       * 
* * string user_photo = 4; */ public Builder setUserPhoto( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userPhoto_ = value; onChanged(); return this; } /** *
       *用户头像(选填)
       * 
* * string user_photo = 4; */ public Builder clearUserPhoto() { userPhoto_ = getDefaultInstance().getUserPhoto(); onChanged(); return this; } /** *
       *用户头像(选填)
       * 
* * string user_photo = 4; */ public Builder setUserPhotoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userPhoto_ = value; onChanged(); return this; } private java.lang.Object pushToken_ = ""; /** *
       *客户端接受PUSH需要的token
       * 
* * string push_token = 5; */ public java.lang.String getPushToken() { java.lang.Object ref = pushToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pushToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *客户端接受PUSH需要的token
       * 
* * string push_token = 5; */ public com.google.protobuf.ByteString getPushTokenBytes() { java.lang.Object ref = pushToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pushToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *客户端接受PUSH需要的token
       * 
* * string push_token = 5; */ public Builder setPushToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pushToken_ = value; onChanged(); return this; } /** *
       *客户端接受PUSH需要的token
       * 
* * string push_token = 5; */ public Builder clearPushToken() { pushToken_ = getDefaultInstance().getPushToken(); onChanged(); return this; } /** *
       *客户端接受PUSH需要的token
       * 
* * string push_token = 5; */ public Builder setPushTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pushToken_ = value; onChanged(); return this; } private java.lang.Object phoneId_ = ""; /** *
       *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
       * 
* * string phone_id = 6; */ 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; } } /** *
       *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
       * 
* * string phone_id = 6; */ 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; } } /** *
       *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
       * 
* * string phone_id = 6; */ public Builder setPhoneId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } phoneId_ = value; onChanged(); return this; } /** *
       *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
       * 
* * string phone_id = 6; */ public Builder clearPhoneId() { phoneId_ = getDefaultInstance().getPhoneId(); onChanged(); return this; } /** *
       *增加用户可以设置用户ID(只允许字符串,数字组成6~20位)
       * 
* * string phone_id = 6; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ public Builder setCountryCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } countryCode_ = value; onChanged(); return this; } /** *
       *+86
       * 
* * string country_code = 7; */ public Builder clearCountryCode() { countryCode_ = getDefaultInstance().getCountryCode(); onChanged(); return this; } /** *
       *+86
       * 
* * string country_code = 7; */ 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 phoneVerifyCode_ = ""; /** *
       *短信验证码
       * 
* * string phone_verify_code = 8; */ public java.lang.String getPhoneVerifyCode() { java.lang.Object ref = phoneVerifyCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); phoneVerifyCode_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *短信验证码
       * 
* * string phone_verify_code = 8; */ public com.google.protobuf.ByteString getPhoneVerifyCodeBytes() { java.lang.Object ref = phoneVerifyCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); phoneVerifyCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *短信验证码
       * 
* * string phone_verify_code = 8; */ public Builder setPhoneVerifyCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } phoneVerifyCode_ = value; onChanged(); return this; } /** *
       *短信验证码
       * 
* * string phone_verify_code = 8; */ public Builder clearPhoneVerifyCode() { phoneVerifyCode_ = getDefaultInstance().getPhoneVerifyCode(); onChanged(); return this; } /** *
       *短信验证码
       * 
* * string phone_verify_code = 8; */ public Builder setPhoneVerifyCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); phoneVerifyCode_ = value; onChanged(); return this; } private int vcType_ ; /** *
       *短信验证码类型
       * 
* * int32 vc_type = 9; */ public int getVcType() { return vcType_; } /** *
       *短信验证码类型
       * 
* * int32 vc_type = 9; */ public Builder setVcType(int value) { vcType_ = value; onChanged(); return this; } /** *
       *短信验证码类型
       * 
* * int32 vc_type = 9; */ public Builder clearVcType() { vcType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:site.ApiPlatformRegisterByPhoneRequest) } // @@protoc_insertion_point(class_scope:site.ApiPlatformRegisterByPhoneRequest) private static final com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest(); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ApiPlatformRegisterByPhoneRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ApiPlatformRegisterByPhoneRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApiPlatformRegisterByPhoneResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiPlatformRegisterByPhoneResponse) com.google.protobuf.MessageOrBuilder { /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ java.lang.String getUserIdPrik(); /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ com.google.protobuf.ByteString getUserIdPrikBytes(); /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ java.lang.String getUserIdPubk(); /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ com.google.protobuf.ByteString getUserIdPubkBytes(); } /** * Protobuf type {@code site.ApiPlatformRegisterByPhoneResponse} */ public static final class ApiPlatformRegisterByPhoneResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:site.ApiPlatformRegisterByPhoneResponse) ApiPlatformRegisterByPhoneResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ApiPlatformRegisterByPhoneResponse.newBuilder() to construct. private ApiPlatformRegisterByPhoneResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApiPlatformRegisterByPhoneResponse() { userIdPrik_ = ""; userIdPubk_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ApiPlatformRegisterByPhoneResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); userIdPrik_ = s; break; } case 18: { 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.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.class, com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.Builder.class); } public static final int USER_ID_PRIK_FIELD_NUMBER = 1; private volatile java.lang.Object userIdPrik_; /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ public java.lang.String getUserIdPrik() { java.lang.Object ref = userIdPrik_; 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(); userIdPrik_ = s; return s; } } /** *
     *用户身份私钥
     * 
* * string user_id_prik = 1; */ public com.google.protobuf.ByteString getUserIdPrikBytes() { java.lang.Object ref = userIdPrik_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userIdPrik_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_ID_PUBK_FIELD_NUMBER = 2; private volatile java.lang.Object userIdPubk_; /** *
     *用户身份公钥
     * 
* * string user_id_pubk = 2; */ 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 = 2; */ 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 (!getUserIdPrikBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userIdPrik_); } if (!getUserIdPubkBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userIdPubk_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getUserIdPrikBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userIdPrik_); } if (!getUserIdPubkBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, 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.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse)) { return super.equals(obj); } com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse other = (com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse) obj; boolean result = true; result = result && getUserIdPrik() .equals(other.getUserIdPrik()); 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) + USER_ID_PRIK_FIELD_NUMBER; hash = (53 * hash) + getUserIdPrik().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.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code site.ApiPlatformRegisterByPhoneResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:site.ApiPlatformRegisterByPhoneResponse) com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.class, com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.Builder.class); } // Construct using com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.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(); userIdPrik_ = ""; userIdPubk_ = ""; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse getDefaultInstanceForType() { return com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.getDefaultInstance(); } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse build() { com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse buildPartial() { com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse result = new com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse(this); result.userIdPrik_ = userIdPrik_; 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.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse) { return mergeFrom((com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse other) { if (other == com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse.getDefaultInstance()) return this; if (!other.getUserIdPrik().isEmpty()) { userIdPrik_ = other.userIdPrik_; 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.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object userIdPrik_ = ""; /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public java.lang.String getUserIdPrik() { java.lang.Object ref = userIdPrik_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userIdPrik_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public com.google.protobuf.ByteString getUserIdPrikBytes() { java.lang.Object ref = userIdPrik_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userIdPrik_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder setUserIdPrik( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userIdPrik_ = value; onChanged(); return this; } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder clearUserIdPrik() { userIdPrik_ = getDefaultInstance().getUserIdPrik(); onChanged(); return this; } /** *
       *用户身份私钥
       * 
* * string user_id_prik = 1; */ public Builder setUserIdPrikBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userIdPrik_ = value; onChanged(); return this; } private java.lang.Object userIdPubk_ = ""; /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ 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 = 2; */ 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 = 2; */ public Builder setUserIdPubk( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userIdPubk_ = value; onChanged(); return this; } /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ public Builder clearUserIdPubk() { userIdPubk_ = getDefaultInstance().getUserIdPubk(); onChanged(); return this; } /** *
       *用户身份公钥
       * 
* * string user_id_pubk = 2; */ 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:site.ApiPlatformRegisterByPhoneResponse) } // @@protoc_insertion_point(class_scope:site.ApiPlatformRegisterByPhoneResponse) private static final com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse(); } public static com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ApiPlatformRegisterByPhoneResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ApiPlatformRegisterByPhoneResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.akaxin.proto.site.ApiPlatformRegisterByPhoneProto.ApiPlatformRegisterByPhoneResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_site_ApiPlatformRegisterByPhoneRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_site_ApiPlatformRegisterByPhoneResponse_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_platform_registerByPhone." + "proto\022\004site\"\336\001\n!ApiPlatformRegisterByPho" + "neRequest\022\024\n\014user_id_prik\030\001 \001(\t\022\024\n\014user_" + "id_pubk\030\002 \001(\t\022\021\n\tuser_name\030\003 \001(\t\022\022\n\nuser" + "_photo\030\004 \001(\t\022\022\n\npush_token\030\005 \001(\t\022\020\n\010phon" + "e_id\030\006 \001(\t\022\024\n\014country_code\030\007 \001(\t\022\031\n\021phon" + "e_verify_code\030\010 \001(\t\022\017\n\007vc_type\030\t \001(\005\"P\n\"" + "ApiPlatformRegisterByPhoneResponse\022\024\n\014us" + "er_id_prik\030\001 \001(\t\022\024\n\014user_id_pubk\030\002 \001(\t2\211" + "\001\n!ApiPlatformRegisterByPhoneService\022d\n\017" + "registerByPhone\022\'.site.ApiPlatformRegist" + "erByPhoneRequest\032(.site.ApiPlatformRegis" + "terByPhoneResponseB8\n\025com.akaxin.proto.s" + "iteB\037ApiPlatformRegisterByPhoneProtob\006pr" + "oto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_site_ApiPlatformRegisterByPhoneRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_site_ApiPlatformRegisterByPhoneRequest_descriptor, new java.lang.String[] { "UserIdPrik", "UserIdPubk", "UserName", "UserPhoto", "PushToken", "PhoneId", "CountryCode", "PhoneVerifyCode", "VcType", }); internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_site_ApiPlatformRegisterByPhoneResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_site_ApiPlatformRegisterByPhoneResponse_descriptor, new java.lang.String[] { "UserIdPrik", "UserIdPubk", }); } // @@protoc_insertion_point(outer_class_scope) }