1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: WSnsMsgNotice.proto
- package Im.Scrm.Ww.Proto;
- public final class WSnsMsgNotice {
- private WSnsMsgNotice() {}
- 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 SnsMsgNoticeMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.SnsMsgNoticeMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- long getWxId();
- /**
- * <pre>
- * 类型:1 评论,2 点赞
- * </pre>
- *
- * <code>int32 Type = 2;</code>
- * @return The type.
- */
- int getType();
- /**
- * <code>int64 SnsId = 3;</code>
- * @return The snsId.
- */
- long getSnsId();
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 4;</code>
- * @return The friendId.
- */
- long getFriendId();
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The content.
- */
- java.lang.String getContent();
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The bytes for content.
- */
- com.google.protobuf.ByteString
- getContentBytes();
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 6;</code>
- * @return The commentId.
- */
- long getCommentId();
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 7;</code>
- * @return The replyCommentId.
- */
- long getReplyCommentId();
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 8;</code>
- * @return The replyWxId.
- */
- long getReplyWxId();
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- int getTime();
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- java.lang.String getPostId();
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- com.google.protobuf.ByteString
- getPostIdBytes();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.SnsMsgNoticeMessage}
- */
- public static final class SnsMsgNoticeMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.SnsMsgNoticeMessage)
- SnsMsgNoticeMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SnsMsgNoticeMessage.newBuilder() to construct.
- private SnsMsgNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SnsMsgNoticeMessage() {
- content_ = "";
- postId_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SnsMsgNoticeMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private SnsMsgNoticeMessage(
- 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: {
- wxId_ = input.readInt64();
- break;
- }
- case 16: {
- type_ = input.readInt32();
- break;
- }
- case 24: {
- snsId_ = input.readInt64();
- break;
- }
- case 32: {
- friendId_ = input.readInt64();
- break;
- }
- case 42: {
- java.lang.String s = input.readStringRequireUtf8();
- content_ = s;
- break;
- }
- case 48: {
- commentId_ = input.readInt64();
- break;
- }
- case 56: {
- replyCommentId_ = input.readInt64();
- break;
- }
- case 64: {
- replyWxId_ = input.readInt64();
- break;
- }
- case 72: {
- time_ = input.readInt32();
- break;
- }
- case 82: {
- java.lang.String s = input.readStringRequireUtf8();
- postId_ = 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.WSnsMsgNotice.internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WSnsMsgNotice.internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.class, Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.Builder.class);
- }
- public static final int WXID_FIELD_NUMBER = 1;
- private long wxId_;
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- public long getWxId() {
- return wxId_;
- }
- public static final int TYPE_FIELD_NUMBER = 2;
- private int type_;
- /**
- * <pre>
- * 类型:1 评论,2 点赞
- * </pre>
- *
- * <code>int32 Type = 2;</code>
- * @return The type.
- */
- public int getType() {
- return type_;
- }
- public static final int SNSID_FIELD_NUMBER = 3;
- private long snsId_;
- /**
- * <code>int64 SnsId = 3;</code>
- * @return The snsId.
- */
- public long getSnsId() {
- return snsId_;
- }
- public static final int FRIENDID_FIELD_NUMBER = 4;
- private long friendId_;
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 4;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- public static final int CONTENT_FIELD_NUMBER = 5;
- private volatile java.lang.Object content_;
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- 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();
- content_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int COMMENTID_FIELD_NUMBER = 6;
- private long commentId_;
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 6;</code>
- * @return The commentId.
- */
- public long getCommentId() {
- return commentId_;
- }
- public static final int REPLYCOMMENTID_FIELD_NUMBER = 7;
- private long replyCommentId_;
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 7;</code>
- * @return The replyCommentId.
- */
- public long getReplyCommentId() {
- return replyCommentId_;
- }
- public static final int REPLYWXID_FIELD_NUMBER = 8;
- private long replyWxId_;
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 8;</code>
- * @return The replyWxId.
- */
- public long getReplyWxId() {
- return replyWxId_;
- }
- public static final int TIME_FIELD_NUMBER = 9;
- private int time_;
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- public static final int POSTID_FIELD_NUMBER = 10;
- private volatile java.lang.Object postId_;
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- 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();
- postId_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = 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 (wxId_ != 0L) {
- output.writeInt64(1, wxId_);
- }
- if (type_ != 0) {
- output.writeInt32(2, type_);
- }
- if (snsId_ != 0L) {
- output.writeInt64(3, snsId_);
- }
- if (friendId_ != 0L) {
- output.writeInt64(4, friendId_);
- }
- if (!getContentBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, content_);
- }
- if (commentId_ != 0L) {
- output.writeInt64(6, commentId_);
- }
- if (replyCommentId_ != 0L) {
- output.writeInt64(7, replyCommentId_);
- }
- if (replyWxId_ != 0L) {
- output.writeInt64(8, replyWxId_);
- }
- if (time_ != 0) {
- output.writeInt32(9, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, postId_);
- }
- unknownFields.writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (wxId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, wxId_);
- }
- if (type_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, type_);
- }
- if (snsId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, snsId_);
- }
- if (friendId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, friendId_);
- }
- if (!getContentBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, content_);
- }
- if (commentId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, commentId_);
- }
- if (replyCommentId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(7, replyCommentId_);
- }
- if (replyWxId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(8, replyWxId_);
- }
- if (time_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(9, time_);
- }
- if (!getPostIdBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, postId_);
- }
- 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.WSnsMsgNotice.SnsMsgNoticeMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage other = (Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage) obj;
- if (getWxId()
- != other.getWxId()) return false;
- if (getType()
- != other.getType()) return false;
- if (getSnsId()
- != other.getSnsId()) return false;
- if (getFriendId()
- != other.getFriendId()) return false;
- if (!getContent()
- .equals(other.getContent())) return false;
- if (getCommentId()
- != other.getCommentId()) return false;
- if (getReplyCommentId()
- != other.getReplyCommentId()) return false;
- if (getReplyWxId()
- != other.getReplyWxId()) return false;
- if (getTime()
- != other.getTime()) return false;
- if (!getPostId()
- .equals(other.getPostId())) 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) + WXID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getWxId());
- hash = (37 * hash) + TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getType();
- hash = (37 * hash) + SNSID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSnsId());
- hash = (37 * hash) + FRIENDID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getFriendId());
- hash = (37 * hash) + CONTENT_FIELD_NUMBER;
- hash = (53 * hash) + getContent().hashCode();
- hash = (37 * hash) + COMMENTID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getCommentId());
- hash = (37 * hash) + REPLYCOMMENTID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getReplyCommentId());
- hash = (37 * hash) + REPLYWXID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getReplyWxId());
- hash = (37 * hash) + TIME_FIELD_NUMBER;
- hash = (53 * hash) + getTime();
- hash = (37 * hash) + POSTID_FIELD_NUMBER;
- hash = (53 * hash) + getPostId().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage 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.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage 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.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage 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.WSnsMsgNotice.SnsMsgNoticeMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage 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.WSnsMsgNotice.SnsMsgNoticeMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage 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.WSnsMsgNotice.SnsMsgNoticeMessage 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.SnsMsgNoticeMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.SnsMsgNoticeMessage)
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WSnsMsgNotice.internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WSnsMsgNotice.internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.class, Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.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();
- wxId_ = 0L;
- type_ = 0;
- snsId_ = 0L;
- friendId_ = 0L;
- content_ = "";
- commentId_ = 0L;
- replyCommentId_ = 0L;
- replyWxId_ = 0L;
- time_ = 0;
- postId_ = "";
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WSnsMsgNotice.internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage build() {
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage buildPartial() {
- Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage result = new Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage(this);
- result.wxId_ = wxId_;
- result.type_ = type_;
- result.snsId_ = snsId_;
- result.friendId_ = friendId_;
- result.content_ = content_;
- result.commentId_ = commentId_;
- result.replyCommentId_ = replyCommentId_;
- result.replyWxId_ = replyWxId_;
- result.time_ = time_;
- result.postId_ = postId_;
- 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.WSnsMsgNotice.SnsMsgNoticeMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage other) {
- if (other == Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage.getDefaultInstance()) return this;
- if (other.getWxId() != 0L) {
- setWxId(other.getWxId());
- }
- if (other.getType() != 0) {
- setType(other.getType());
- }
- if (other.getSnsId() != 0L) {
- setSnsId(other.getSnsId());
- }
- if (other.getFriendId() != 0L) {
- setFriendId(other.getFriendId());
- }
- if (!other.getContent().isEmpty()) {
- content_ = other.content_;
- onChanged();
- }
- if (other.getCommentId() != 0L) {
- setCommentId(other.getCommentId());
- }
- if (other.getReplyCommentId() != 0L) {
- setReplyCommentId(other.getReplyCommentId());
- }
- if (other.getReplyWxId() != 0L) {
- setReplyWxId(other.getReplyWxId());
- }
- if (other.getTime() != 0) {
- setTime(other.getTime());
- }
- if (!other.getPostId().isEmpty()) {
- postId_ = other.postId_;
- 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.WSnsMsgNotice.SnsMsgNoticeMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private long wxId_ ;
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- public long getWxId() {
- return wxId_;
- }
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @param value The wxId to set.
- * @return This builder for chaining.
- */
- public Builder setWxId(long value) {
-
- wxId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearWxId() {
-
- wxId_ = 0L;
- onChanged();
- return this;
- }
- private int type_ ;
- /**
- * <pre>
- * 类型:1 评论,2 点赞
- * </pre>
- *
- * <code>int32 Type = 2;</code>
- * @return The type.
- */
- public int getType() {
- return type_;
- }
- /**
- * <pre>
- * 类型:1 评论,2 点赞
- * </pre>
- *
- * <code>int32 Type = 2;</code>
- * @param value The type to set.
- * @return This builder for chaining.
- */
- public Builder setType(int value) {
-
- type_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 类型:1 评论,2 点赞
- * </pre>
- *
- * <code>int32 Type = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearType() {
-
- type_ = 0;
- onChanged();
- return this;
- }
- private long snsId_ ;
- /**
- * <code>int64 SnsId = 3;</code>
- * @return The snsId.
- */
- public long getSnsId() {
- return snsId_;
- }
- /**
- * <code>int64 SnsId = 3;</code>
- * @param value The snsId to set.
- * @return This builder for chaining.
- */
- public Builder setSnsId(long value) {
-
- snsId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>int64 SnsId = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearSnsId() {
-
- snsId_ = 0L;
- onChanged();
- return this;
- }
- private long friendId_ ;
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 4;</code>
- * @return The friendId.
- */
- public long getFriendId() {
- return friendId_;
- }
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 4;</code>
- * @param value The friendId to set.
- * @return This builder for chaining.
- */
- public Builder setFriendId(long value) {
-
- friendId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论人的微信号
- * </pre>
- *
- * <code>int64 FriendId = 4;</code>
- * @return This builder for chaining.
- */
- public Builder clearFriendId() {
-
- friendId_ = 0L;
- onChanged();
- return this;
- }
- private java.lang.Object content_ = "";
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The content.
- */
- public java.lang.String getContent() {
- java.lang.Object ref = content_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- content_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return The bytes for content.
- */
- public com.google.protobuf.ByteString
- getContentBytes() {
- java.lang.Object ref = content_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- content_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @param value The content to set.
- * @return This builder for chaining.
- */
- public Builder setContent(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- content_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearContent() {
-
- content_ = getDefaultInstance().getContent();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论内容
- * </pre>
- *
- * <code>string Content = 5;</code>
- * @param value The bytes for content to set.
- * @return This builder for chaining.
- */
- public Builder setContentBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- content_ = value;
- onChanged();
- return this;
- }
- private long commentId_ ;
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 6;</code>
- * @return The commentId.
- */
- public long getCommentId() {
- return commentId_;
- }
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 6;</code>
- * @param value The commentId to set.
- * @return This builder for chaining.
- */
- public Builder setCommentId(long value) {
-
- commentId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 微信本地数据库的id
- * </pre>
- *
- * <code>int64 CommentId = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearCommentId() {
-
- commentId_ = 0L;
- onChanged();
- return this;
- }
- private long replyCommentId_ ;
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 7;</code>
- * @return The replyCommentId.
- */
- public long getReplyCommentId() {
- return replyCommentId_;
- }
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 7;</code>
- * @param value The replyCommentId to set.
- * @return This builder for chaining.
- */
- public Builder setReplyCommentId(long value) {
-
- replyCommentId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 回复的微信本地数据库的id
- * </pre>
- *
- * <code>int64 ReplyCommentId = 7;</code>
- * @return This builder for chaining.
- */
- public Builder clearReplyCommentId() {
-
- replyCommentId_ = 0L;
- onChanged();
- return this;
- }
- private long replyWxId_ ;
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 8;</code>
- * @return The replyWxId.
- */
- public long getReplyWxId() {
- return replyWxId_;
- }
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 8;</code>
- * @param value The replyWxId to set.
- * @return This builder for chaining.
- */
- public Builder setReplyWxId(long value) {
-
- replyWxId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论对象的微信号
- * </pre>
- *
- * <code>int64 ReplyWxId = 8;</code>
- * @return This builder for chaining.
- */
- public Builder clearReplyWxId() {
-
- replyWxId_ = 0L;
- onChanged();
- return this;
- }
- private int time_ ;
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 9;</code>
- * @return The time.
- */
- public int getTime() {
- return time_;
- }
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 9;</code>
- * @param value The time to set.
- * @return This builder for chaining.
- */
- public Builder setTime(int value) {
-
- time_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 评论时间
- * </pre>
- *
- * <code>int32 Time = 9;</code>
- * @return This builder for chaining.
- */
- public Builder clearTime() {
-
- time_ = 0;
- onChanged();
- return this;
- }
- private java.lang.Object postId_ = "";
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The postId.
- */
- public java.lang.String getPostId() {
- java.lang.Object ref = postId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- postId_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return The bytes for postId.
- */
- public com.google.protobuf.ByteString
- getPostIdBytes() {
- java.lang.Object ref = postId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- postId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @param value The postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- postId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @return This builder for chaining.
- */
- public Builder clearPostId() {
-
- postId_ = getDefaultInstance().getPostId();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * sns postid
- * </pre>
- *
- * <code>string PostId = 10;</code>
- * @param value The bytes for postId to set.
- * @return This builder for chaining.
- */
- public Builder setPostIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- postId_ = 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.SnsMsgNoticeMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.SnsMsgNoticeMessage)
- private static final Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage();
- }
- public static Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<SnsMsgNoticeMessage>
- PARSER = new com.google.protobuf.AbstractParser<SnsMsgNoticeMessage>() {
- @java.lang.Override
- public SnsMsgNoticeMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new SnsMsgNoticeMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<SnsMsgNoticeMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SnsMsgNoticeMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WSnsMsgNotice.SnsMsgNoticeMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_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\023WSnsMsgNotice.proto\022\020Im.Scrm.Ww.Proto\032" +
- "\020WTransport.proto\"\277\001\n\023SnsMsgNoticeMessag" +
- "e\022\014\n\004WxId\030\001 \001(\003\022\014\n\004Type\030\002 \001(\005\022\r\n\005SnsId\030\003" +
- " \001(\003\022\020\n\010FriendId\030\004 \001(\003\022\017\n\007Content\030\005 \001(\t\022" +
- "\021\n\tCommentId\030\006 \001(\003\022\026\n\016ReplyCommentId\030\007 \001" +
- "(\003\022\021\n\tReplyWxId\030\010 \001(\003\022\014\n\004Time\030\t \001(\005\022\016\n\006P" +
- "ostId\030\n \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_SnsMsgNoticeMessage_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_SnsMsgNoticeMessage_descriptor,
- new java.lang.String[] { "WxId", "Type", "SnsId", "FriendId", "Content", "CommentId", "ReplyCommentId", "ReplyWxId", "Time", "PostId", });
- Im.Scrm.Ww.Proto.WTransport.getDescriptor();
- }
- // @@protoc_insertion_point(outer_class_scope)
- }
|