12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: WDeviceAuthRsp.proto
- package Im.Scrm.Ww.Proto;
- public final class WDeviceAuthRsp {
- private WDeviceAuthRsp() {}
- 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 DeviceAuthRspMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.DeviceAuthRspMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The accessToken.
- */
- java.lang.String getAccessToken();
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The bytes for accessToken.
- */
- com.google.protobuf.ByteString
- getAccessTokenBytes();
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return Whether the extra field is set.
- */
- boolean hasExtra();
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return The extra.
- */
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getExtra();
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder getExtraOrBuilder();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.DeviceAuthRspMessage}
- */
- public static final class DeviceAuthRspMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.DeviceAuthRspMessage)
- DeviceAuthRspMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use DeviceAuthRspMessage.newBuilder() to construct.
- private DeviceAuthRspMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private DeviceAuthRspMessage() {
- accessToken_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new DeviceAuthRspMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private DeviceAuthRspMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- java.lang.String s = input.readStringRequireUtf8();
- accessToken_ = s;
- break;
- }
- case 18: {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder subBuilder = null;
- if (extra_ != null) {
- subBuilder = extra_.toBuilder();
- }
- extra_ = input.readMessage(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(extra_);
- extra_ = subBuilder.buildPartial();
- }
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.class, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.Builder.class);
- }
- public interface ExtraMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <code>int64 SupplierId = 1;</code>
- * @return The supplierId.
- */
- long getSupplierId();
- /**
- * <code>int64 UnionId = 2;</code>
- * @return The unionId.
- */
- long getUnionId();
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The enum numeric value on the wire for accountType.
- */
- int getAccountTypeValue();
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The accountType.
- */
- Im.Scrm.Ww.Proto.WTransport.EnumAccountType getAccountType();
- /**
- * <code>string SupplierName = 4;</code>
- * @return The supplierName.
- */
- java.lang.String getSupplierName();
- /**
- * <code>string SupplierName = 4;</code>
- * @return The bytes for supplierName.
- */
- com.google.protobuf.ByteString
- getSupplierNameBytes();
- /**
- * <code>string NickName = 5;</code>
- * @return The nickName.
- */
- java.lang.String getNickName();
- /**
- * <code>string NickName = 5;</code>
- * @return The bytes for nickName.
- */
- com.google.protobuf.ByteString
- getNickNameBytes();
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The token.
- */
- java.lang.String getToken();
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The bytes for token.
- */
- com.google.protobuf.ByteString
- getTokenBytes();
- }
- /**
- * <pre>
- * 扩展信息
- * </pre>
- *
- * Protobuf type {@code Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage}
- */
- public static final class ExtraMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage)
- ExtraMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use ExtraMessage.newBuilder() to construct.
- private ExtraMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private ExtraMessage() {
- accountType_ = 0;
- supplierName_ = "";
- nickName_ = "";
- token_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ExtraMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ExtraMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- supplierId_ = input.readInt64();
- break;
- }
- case 16: {
- unionId_ = input.readInt64();
- break;
- }
- case 24: {
- int rawValue = input.readEnum();
- accountType_ = rawValue;
- break;
- }
- case 34: {
- java.lang.String s = input.readStringRequireUtf8();
- supplierName_ = s;
- break;
- }
- case 42: {
- java.lang.String s = input.readStringRequireUtf8();
- nickName_ = s;
- break;
- }
- case 50: {
- java.lang.String s = input.readStringRequireUtf8();
- token_ = s;
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.class, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder.class);
- }
- public static final int SUPPLIERID_FIELD_NUMBER = 1;
- private long supplierId_;
- /**
- * <code>int64 SupplierId = 1;</code>
- * @return The supplierId.
- */
- public long getSupplierId() {
- return supplierId_;
- }
- public static final int UNIONID_FIELD_NUMBER = 2;
- private long unionId_;
- /**
- * <code>int64 UnionId = 2;</code>
- * @return The unionId.
- */
- public long getUnionId() {
- return unionId_;
- }
- public static final int ACCOUNTTYPE_FIELD_NUMBER = 3;
- private int accountType_;
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The enum numeric value on the wire for accountType.
- */
- public int getAccountTypeValue() {
- return accountType_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The accountType.
- */
- public Im.Scrm.Ww.Proto.WTransport.EnumAccountType getAccountType() {
- @SuppressWarnings("deprecation")
- Im.Scrm.Ww.Proto.WTransport.EnumAccountType result = Im.Scrm.Ww.Proto.WTransport.EnumAccountType.valueOf(accountType_);
- return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumAccountType.UNRECOGNIZED : result;
- }
- public static final int SUPPLIERNAME_FIELD_NUMBER = 4;
- private volatile java.lang.Object supplierName_;
- /**
- * <code>string SupplierName = 4;</code>
- * @return The supplierName.
- */
- public java.lang.String getSupplierName() {
- java.lang.Object ref = supplierName_;
- 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();
- supplierName_ = s;
- return s;
- }
- }
- /**
- * <code>string SupplierName = 4;</code>
- * @return The bytes for supplierName.
- */
- public com.google.protobuf.ByteString
- getSupplierNameBytes() {
- java.lang.Object ref = supplierName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- supplierName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int NICKNAME_FIELD_NUMBER = 5;
- private volatile java.lang.Object nickName_;
- /**
- * <code>string NickName = 5;</code>
- * @return The nickName.
- */
- public java.lang.String getNickName() {
- java.lang.Object ref = nickName_;
- 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();
- nickName_ = s;
- return s;
- }
- }
- /**
- * <code>string NickName = 5;</code>
- * @return The bytes for nickName.
- */
- public com.google.protobuf.ByteString
- getNickNameBytes() {
- java.lang.Object ref = nickName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- nickName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int TOKEN_FIELD_NUMBER = 6;
- private volatile java.lang.Object token_;
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The token.
- */
- public java.lang.String getToken() {
- java.lang.Object ref = token_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- token_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The bytes for token.
- */
- public com.google.protobuf.ByteString
- getTokenBytes() {
- java.lang.Object ref = token_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- token_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (supplierId_ != 0L) {
- output.writeInt64(1, supplierId_);
- }
- if (unionId_ != 0L) {
- output.writeInt64(2, unionId_);
- }
- if (accountType_ != Im.Scrm.Ww.Proto.WTransport.EnumAccountType.UnknownAccountType.getNumber()) {
- output.writeEnum(3, accountType_);
- }
- if (!getSupplierNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, supplierName_);
- }
- if (!getNickNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nickName_);
- }
- if (!getTokenBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, token_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (supplierId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, supplierId_);
- }
- if (unionId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, unionId_);
- }
- if (accountType_ != Im.Scrm.Ww.Proto.WTransport.EnumAccountType.UnknownAccountType.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, accountType_);
- }
- if (!getSupplierNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, supplierName_);
- }
- if (!getNickNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nickName_);
- }
- if (!getTokenBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, token_);
- }
- 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage other = (Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage) obj;
- if (getSupplierId()
- != other.getSupplierId()) return false;
- if (getUnionId()
- != other.getUnionId()) return false;
- if (accountType_ != other.accountType_) return false;
- if (!getSupplierName()
- .equals(other.getSupplierName())) return false;
- if (!getNickName()
- .equals(other.getNickName())) return false;
- if (!getToken()
- .equals(other.getToken())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SUPPLIERID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSupplierId());
- hash = (37 * hash) + UNIONID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getUnionId());
- hash = (37 * hash) + ACCOUNTTYPE_FIELD_NUMBER;
- hash = (53 * hash) + accountType_;
- hash = (37 * hash) + SUPPLIERNAME_FIELD_NUMBER;
- hash = (53 * hash) + getSupplierName().hashCode();
- hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
- hash = (53 * hash) + getNickName().hashCode();
- hash = (37 * hash) + TOKEN_FIELD_NUMBER;
- hash = (53 * hash) + getToken().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * <pre>
- * 扩展信息
- * </pre>
- *
- * Protobuf type {@code Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage)
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.class, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- supplierId_ = 0L;
- unionId_ = 0L;
- accountType_ = 0;
- supplierName_ = "";
- nickName_ = "";
- token_ = "";
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage build() {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage buildPartial() {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage result = new Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage(this);
- result.supplierId_ = supplierId_;
- result.unionId_ = unionId_;
- result.accountType_ = accountType_;
- result.supplierName_ = supplierName_;
- result.nickName_ = nickName_;
- result.token_ = token_;
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage other) {
- if (other == Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.getDefaultInstance()) return this;
- if (other.getSupplierId() != 0L) {
- setSupplierId(other.getSupplierId());
- }
- if (other.getUnionId() != 0L) {
- setUnionId(other.getUnionId());
- }
- if (other.accountType_ != 0) {
- setAccountTypeValue(other.getAccountTypeValue());
- }
- if (!other.getSupplierName().isEmpty()) {
- supplierName_ = other.supplierName_;
- onChanged();
- }
- if (!other.getNickName().isEmpty()) {
- nickName_ = other.nickName_;
- onChanged();
- }
- if (!other.getToken().isEmpty()) {
- token_ = other.token_;
- onChanged();
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private long supplierId_ ;
- /**
- * <code>int64 SupplierId = 1;</code>
- * @return The supplierId.
- */
- public long getSupplierId() {
- return supplierId_;
- }
- /**
- * <code>int64 SupplierId = 1;</code>
- * @param value The supplierId to set.
- * @return This builder for chaining.
- */
- public Builder setSupplierId(long value) {
-
- supplierId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 SupplierId = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearSupplierId() {
-
- supplierId_ = 0L;
- onChanged();
- return this;
- }
- private long unionId_ ;
- /**
- * <code>int64 UnionId = 2;</code>
- * @return The unionId.
- */
- public long getUnionId() {
- return unionId_;
- }
- /**
- * <code>int64 UnionId = 2;</code>
- * @param value The unionId to set.
- * @return This builder for chaining.
- */
- public Builder setUnionId(long value) {
-
- unionId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 UnionId = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearUnionId() {
-
- unionId_ = 0L;
- onChanged();
- return this;
- }
- private int accountType_ = 0;
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The enum numeric value on the wire for accountType.
- */
- public int getAccountTypeValue() {
- return accountType_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @param value The enum numeric value on the wire for accountType to set.
- * @return This builder for chaining.
- */
- public Builder setAccountTypeValue(int value) {
- accountType_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return The accountType.
- */
- public Im.Scrm.Ww.Proto.WTransport.EnumAccountType getAccountType() {
- @SuppressWarnings("deprecation")
- Im.Scrm.Ww.Proto.WTransport.EnumAccountType result = Im.Scrm.Ww.Proto.WTransport.EnumAccountType.valueOf(accountType_);
- return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumAccountType.UNRECOGNIZED : result;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @param value The accountType to set.
- * @return This builder for chaining.
- */
- public Builder setAccountType(Im.Scrm.Ww.Proto.WTransport.EnumAccountType value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- accountType_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.EnumAccountType AccountType = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearAccountType() {
-
- accountType_ = 0;
- onChanged();
- return this;
- }
- private java.lang.Object supplierName_ = "";
- /**
- * <code>string SupplierName = 4;</code>
- * @return The supplierName.
- */
- public java.lang.String getSupplierName() {
- java.lang.Object ref = supplierName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- supplierName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>string SupplierName = 4;</code>
- * @return The bytes for supplierName.
- */
- public com.google.protobuf.ByteString
- getSupplierNameBytes() {
- java.lang.Object ref = supplierName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- supplierName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>string SupplierName = 4;</code>
- * @param value The supplierName to set.
- * @return This builder for chaining.
- */
- public Builder setSupplierName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- supplierName_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>string SupplierName = 4;</code>
- * @return This builder for chaining.
- */
- public Builder clearSupplierName() {
-
- supplierName_ = getDefaultInstance().getSupplierName();
- onChanged();
- return this;
- }
- /**
- * <code>string SupplierName = 4;</code>
- * @param value The bytes for supplierName to set.
- * @return This builder for chaining.
- */
- public Builder setSupplierNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- supplierName_ = value;
- onChanged();
- return this;
- }
- private java.lang.Object nickName_ = "";
- /**
- * <code>string NickName = 5;</code>
- * @return The nickName.
- */
- public java.lang.String getNickName() {
- java.lang.Object ref = nickName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- nickName_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>string NickName = 5;</code>
- * @return The bytes for nickName.
- */
- public com.google.protobuf.ByteString
- getNickNameBytes() {
- java.lang.Object ref = nickName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- nickName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>string NickName = 5;</code>
- * @param value The nickName to set.
- * @return This builder for chaining.
- */
- public Builder setNickName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- nickName_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>string NickName = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearNickName() {
-
- nickName_ = getDefaultInstance().getNickName();
- onChanged();
- return this;
- }
- /**
- * <code>string NickName = 5;</code>
- * @param value The bytes for nickName to set.
- * @return This builder for chaining.
- */
- public Builder setNickNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- nickName_ = value;
- onChanged();
- return this;
- }
- private java.lang.Object token_ = "";
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The token.
- */
- public java.lang.String getToken() {
- java.lang.Object ref = token_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- token_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return The bytes for token.
- */
- public com.google.protobuf.ByteString
- getTokenBytes() {
- java.lang.Object ref = token_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- token_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @param value The token to set.
- * @return This builder for chaining.
- */
- public Builder setToken(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- token_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearToken() {
-
- token_ = getDefaultInstance().getToken();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 访问www使用
- * </pre>
- *
- * <code>string Token = 6;</code>
- * @param value The bytes for token to set.
- * @return This builder for chaining.
- */
- public Builder setTokenBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- token_ = value;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage)
- private static final Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage();
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<ExtraMessage>
- PARSER = new com.google.protobuf.AbstractParser<ExtraMessage>() {
- @java.lang.Override
- public ExtraMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ExtraMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<ExtraMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<ExtraMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- public static final int ACCESSTOKEN_FIELD_NUMBER = 1;
- private volatile java.lang.Object accessToken_;
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The accessToken.
- */
- public java.lang.String getAccessToken() {
- java.lang.Object ref = accessToken_;
- 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();
- accessToken_ = s;
- return s;
- }
- }
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The bytes for accessToken.
- */
- public com.google.protobuf.ByteString
- getAccessTokenBytes() {
- java.lang.Object ref = accessToken_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- accessToken_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int EXTRA_FIELD_NUMBER = 2;
- private Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage extra_;
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return Whether the extra field is set.
- */
- public boolean hasExtra() {
- return extra_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return The extra.
- */
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getExtra() {
- return extra_ == null ? Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.getDefaultInstance() : extra_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder getExtraOrBuilder() {
- return getExtra();
- }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
- memoizedIsInitialized = 1;
- return true;
- }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (!getAccessTokenBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_);
- }
- if (extra_ != null) {
- output.writeMessage(2, getExtra());
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (!getAccessTokenBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_);
- }
- if (extra_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getExtra());
- }
- 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage other = (Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage) obj;
- if (!getAccessToken()
- .equals(other.getAccessToken())) return false;
- if (hasExtra() != other.hasExtra()) return false;
- if (hasExtra()) {
- if (!getExtra()
- .equals(other.getExtra())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + ACCESSTOKEN_FIELD_NUMBER;
- hash = (53 * hash) + getAccessToken().hashCode();
- if (hasExtra()) {
- hash = (37 * hash) + EXTRA_FIELD_NUMBER;
- hash = (53 * hash) + getExtra().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage 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 Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.DeviceAuthRspMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.DeviceAuthRspMessage)
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.class, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- accessToken_ = "";
- if (extraBuilder_ == null) {
- extra_ = null;
- } else {
- extra_ = null;
- extraBuilder_ = null;
- }
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage build() {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage buildPartial() {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage result = new Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage(this);
- result.accessToken_ = accessToken_;
- if (extraBuilder_ == null) {
- result.extra_ = extra_;
- } else {
- result.extra_ = extraBuilder_.build();
- }
- onBuilt();
- return result;
- }
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage other) {
- if (other == Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.getDefaultInstance()) return this;
- if (!other.getAccessToken().isEmpty()) {
- accessToken_ = other.accessToken_;
- onChanged();
- }
- if (other.hasExtra()) {
- mergeExtra(other.getExtra());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private java.lang.Object accessToken_ = "";
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The accessToken.
- */
- public java.lang.String getAccessToken() {
- java.lang.Object ref = accessToken_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- accessToken_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return The bytes for accessToken.
- */
- public com.google.protobuf.ByteString
- getAccessTokenBytes() {
- java.lang.Object ref = accessToken_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- accessToken_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @param value The accessToken to set.
- * @return This builder for chaining.
- */
- public Builder setAccessToken(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- accessToken_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearAccessToken() {
-
- accessToken_ = getDefaultInstance().getAccessToken();
- onChanged();
- return this;
- }
- /**
- * <pre>
- *授权成功后颁发给客户端的accesstoken
- * </pre>
- *
- * <code>string AccessToken = 1;</code>
- * @param value The bytes for accessToken to set.
- * @return This builder for chaining.
- */
- public Builder setAccessTokenBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- accessToken_ = value;
- onChanged();
- return this;
- }
- private Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage extra_;
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder> extraBuilder_;
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return Whether the extra field is set.
- */
- public boolean hasExtra() {
- return extraBuilder_ != null || extra_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- * @return The extra.
- */
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage getExtra() {
- if (extraBuilder_ == null) {
- return extra_ == null ? Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.getDefaultInstance() : extra_;
- } else {
- return extraBuilder_.getMessage();
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Builder setExtra(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage value) {
- if (extraBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- extra_ = value;
- onChanged();
- } else {
- extraBuilder_.setMessage(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Builder setExtra(
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder builderForValue) {
- if (extraBuilder_ == null) {
- extra_ = builderForValue.build();
- onChanged();
- } else {
- extraBuilder_.setMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Builder mergeExtra(Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage value) {
- if (extraBuilder_ == null) {
- if (extra_ != null) {
- extra_ =
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.newBuilder(extra_).mergeFrom(value).buildPartial();
- } else {
- extra_ = value;
- }
- onChanged();
- } else {
- extraBuilder_.mergeFrom(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Builder clearExtra() {
- if (extraBuilder_ == null) {
- extra_ = null;
- onChanged();
- } else {
- extra_ = null;
- extraBuilder_ = null;
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder getExtraBuilder() {
-
- onChanged();
- return getExtraFieldBuilder().getBuilder();
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder getExtraOrBuilder() {
- if (extraBuilder_ != null) {
- return extraBuilder_.getMessageOrBuilder();
- } else {
- return extra_ == null ?
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.getDefaultInstance() : extra_;
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.DeviceAuthRspMessage.ExtraMessage Extra = 2;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder>
- getExtraFieldBuilder() {
- if (extraBuilder_ == null) {
- extraBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessage.Builder, Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage.ExtraMessageOrBuilder>(
- getExtra(),
- getParentForChildren(),
- isClean());
- extra_ = null;
- }
- return extraBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
- // @@protoc_insertion_point(builder_scope:Im.Scrm.Ww.Proto.DeviceAuthRspMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.DeviceAuthRspMessage)
- private static final Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage();
- }
- public static Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<DeviceAuthRspMessage>
- PARSER = new com.google.protobuf.AbstractParser<DeviceAuthRspMessage>() {
- @java.lang.Override
- public DeviceAuthRspMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new DeviceAuthRspMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<DeviceAuthRspMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<DeviceAuthRspMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WDeviceAuthRsp.DeviceAuthRspMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_fieldAccessorTable;
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_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\024WDeviceAuthRsp.proto\022\020Im.Scrm.Ww.Proto" +
- "\032\020WTransport.proto\"\224\002\n\024DeviceAuthRspMess" +
- "age\022\023\n\013AccessToken\030\001 \001(\t\022B\n\005Extra\030\002 \001(\0132" +
- "3.Im.Scrm.Ww.Proto.DeviceAuthRspMessage." +
- "ExtraMessage\032\242\001\n\014ExtraMessage\022\022\n\nSupplie" +
- "rId\030\001 \001(\003\022\017\n\007UnionId\030\002 \001(\003\0226\n\013AccountTyp" +
- "e\030\003 \001(\0162!.Im.Scrm.Ww.Proto.EnumAccountTy" +
- "pe\022\024\n\014SupplierName\030\004 \001(\t\022\020\n\010NickName\030\005 \001" +
- "(\t\022\r\n\005Token\030\006 \001(\tb\006proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- Im.Scrm.Ww.Proto.WTransport.getDescriptor(),
- });
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor,
- new java.lang.String[] { "AccessToken", "Extra", });
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor =
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_descriptor.getNestedTypes().get(0);
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_DeviceAuthRspMessage_ExtraMessage_descriptor,
- new java.lang.String[] { "SupplierId", "UnionId", "AccountType", "SupplierName", "NickName", "Token", });
- Im.Scrm.Ww.Proto.WTransport.getDescriptor();
- }
- // @@protoc_insertion_point(outer_class_scope)
- }
|