12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: WGetContactInfoTaskResultNotice.proto
- package Im.Scrm.Ww.Proto;
- public final class WGetContactInfoTaskResultNotice {
- private WGetContactInfoTaskResultNotice() {}
- 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 GetContactInfoTaskResultNoticeMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.GetContactInfoTaskResultNoticeMessage)
- com.google.protobuf.MessageOrBuilder {
- /**
- * <pre>
- * </pre>
- *
- * <code>int64 WxId = 1;</code>
- * @return The wxId.
- */
- long getWxId();
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- boolean getSuccess();
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- java.lang.String getErrMsg();
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- com.google.protobuf.ByteString
- getErrMsgBytes();
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return Whether the info field is set.
- */
- boolean hasInfo();
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return The info.
- */
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getInfo();
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getInfoOrBuilder();
- /**
- * <pre>
- *任务id 在TaskResult中回传
- * </pre>
- *
- * <code>int64 TaskId = 5;</code>
- * @return The taskId.
- */
- long getTaskId();
- }
- /**
- * Protobuf type {@code Im.Scrm.Ww.Proto.GetContactInfoTaskResultNoticeMessage}
- */
- public static final class GetContactInfoTaskResultNoticeMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.GetContactInfoTaskResultNoticeMessage)
- GetContactInfoTaskResultNoticeMessageOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use GetContactInfoTaskResultNoticeMessage.newBuilder() to construct.
- private GetContactInfoTaskResultNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private GetContactInfoTaskResultNoticeMessage() {
- errMsg_ = "";
- }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new GetContactInfoTaskResultNoticeMessage();
- }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private GetContactInfoTaskResultNoticeMessage(
- 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: {
- success_ = input.readBool();
- break;
- }
- case 26: {
- java.lang.String s = input.readStringRequireUtf8();
- errMsg_ = s;
- break;
- }
- case 34: {
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder subBuilder = null;
- if (info_ != null) {
- subBuilder = info_.toBuilder();
- }
- info_ = input.readMessage(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(info_);
- info_ = subBuilder.buildPartial();
- }
- break;
- }
- case 40: {
- taskId_ = input.readInt64();
- 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.WGetContactInfoTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.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 SUCCESS_FIELD_NUMBER = 2;
- private boolean success_;
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- public boolean getSuccess() {
- return success_;
- }
- public static final int ERRMSG_FIELD_NUMBER = 3;
- private volatile java.lang.Object errMsg_;
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- public java.lang.String getErrMsg() {
- java.lang.Object ref = errMsg_;
- 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();
- errMsg_ = s;
- return s;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- public com.google.protobuf.ByteString
- getErrMsgBytes() {
- java.lang.Object ref = errMsg_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- errMsg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int INFO_FIELD_NUMBER = 4;
- private Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage info_;
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return Whether the info field is set.
- */
- public boolean hasInfo() {
- return info_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return The info.
- */
- public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getInfo() {
- return info_ == null ? Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance() : info_;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getInfoOrBuilder() {
- return getInfo();
- }
- public static final int TASKID_FIELD_NUMBER = 5;
- private long taskId_;
- /**
- * <pre>
- *任务id 在TaskResult中回传
- * </pre>
- *
- * <code>int64 TaskId = 5;</code>
- * @return The taskId.
- */
- public long getTaskId() {
- return taskId_;
- }
- 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 (success_ != false) {
- output.writeBool(2, success_);
- }
- if (!getErrMsgBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errMsg_);
- }
- if (info_ != null) {
- output.writeMessage(4, getInfo());
- }
- if (taskId_ != 0L) {
- output.writeInt64(5, taskId_);
- }
- 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 (success_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(2, success_);
- }
- if (!getErrMsgBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errMsg_);
- }
- if (info_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, getInfo());
- }
- if (taskId_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, taskId_);
- }
- 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage)) {
- return super.equals(obj);
- }
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage other = (Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage) obj;
- if (getWxId()
- != other.getWxId()) return false;
- if (getSuccess()
- != other.getSuccess()) return false;
- if (!getErrMsg()
- .equals(other.getErrMsg())) return false;
- if (hasInfo() != other.hasInfo()) return false;
- if (hasInfo()) {
- if (!getInfo()
- .equals(other.getInfo())) return false;
- }
- if (getTaskId()
- != other.getTaskId()) 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) + SUCCESS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getSuccess());
- hash = (37 * hash) + ERRMSG_FIELD_NUMBER;
- hash = (53 * hash) + getErrMsg().hashCode();
- if (hasInfo()) {
- hash = (37 * hash) + INFO_FIELD_NUMBER;
- hash = (53 * hash) + getInfo().hashCode();
- }
- hash = (37 * hash) + TASKID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getTaskId());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage 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.GetContactInfoTaskResultNoticeMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.GetContactInfoTaskResultNoticeMessage)
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.Builder.class);
- }
- // Construct using Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.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;
- success_ = false;
- errMsg_ = "";
- if (infoBuilder_ == null) {
- info_ = null;
- } else {
- info_ = null;
- infoBuilder_ = null;
- }
- taskId_ = 0L;
- return this;
- }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage getDefaultInstanceForType() {
- return Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.getDefaultInstance();
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage build() {
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage buildPartial() {
- Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage result = new Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage(this);
- result.wxId_ = wxId_;
- result.success_ = success_;
- result.errMsg_ = errMsg_;
- if (infoBuilder_ == null) {
- result.info_ = info_;
- } else {
- result.info_ = infoBuilder_.build();
- }
- result.taskId_ = taskId_;
- 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage) {
- return mergeFrom((Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
- public Builder mergeFrom(Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage other) {
- if (other == Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage.getDefaultInstance()) return this;
- if (other.getWxId() != 0L) {
- setWxId(other.getWxId());
- }
- if (other.getSuccess() != false) {
- setSuccess(other.getSuccess());
- }
- if (!other.getErrMsg().isEmpty()) {
- errMsg_ = other.errMsg_;
- onChanged();
- }
- if (other.hasInfo()) {
- mergeInfo(other.getInfo());
- }
- if (other.getTaskId() != 0L) {
- setTaskId(other.getTaskId());
- }
- 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.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage) 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 boolean success_ ;
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return The success.
- */
- public boolean getSuccess() {
- return success_;
- }
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @param value The success to set.
- * @return This builder for chaining.
- */
- public Builder setSuccess(boolean value) {
-
- success_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 是否成功
- * </pre>
- *
- * <code>bool Success = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearSuccess() {
-
- success_ = false;
- onChanged();
- return this;
- }
- private java.lang.Object errMsg_ = "";
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The errMsg.
- */
- public java.lang.String getErrMsg() {
- java.lang.Object ref = errMsg_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- errMsg_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return The bytes for errMsg.
- */
- public com.google.protobuf.ByteString
- getErrMsgBytes() {
- java.lang.Object ref = errMsg_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- errMsg_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @param value The errMsg to set.
- * @return This builder for chaining.
- */
- public Builder setErrMsg(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- errMsg_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearErrMsg() {
-
- errMsg_ = getDefaultInstance().getErrMsg();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * 错误内容描述 获取 成功时附带的结果内容
- * </pre>
- *
- * <code>string ErrMsg = 3;</code>
- * @param value The bytes for errMsg to set.
- * @return This builder for chaining.
- */
- public Builder setErrMsgBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- errMsg_ = value;
- onChanged();
- return this;
- }
- private Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage info_;
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder> infoBuilder_;
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return Whether the info field is set.
- */
- public boolean hasInfo() {
- return infoBuilder_ != null || info_ != null;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- * @return The info.
- */
- public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage getInfo() {
- if (infoBuilder_ == null) {
- return info_ == null ? Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance() : info_;
- } else {
- return infoBuilder_.getMessage();
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Builder setInfo(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage value) {
- if (infoBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- info_ = value;
- onChanged();
- } else {
- infoBuilder_.setMessage(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Builder setInfo(
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder builderForValue) {
- if (infoBuilder_ == null) {
- info_ = builderForValue.build();
- onChanged();
- } else {
- infoBuilder_.setMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Builder mergeInfo(Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage value) {
- if (infoBuilder_ == null) {
- if (info_ != null) {
- info_ =
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.newBuilder(info_).mergeFrom(value).buildPartial();
- } else {
- info_ = value;
- }
- onChanged();
- } else {
- infoBuilder_.mergeFrom(value);
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Builder clearInfo() {
- if (infoBuilder_ == null) {
- info_ = null;
- onChanged();
- } else {
- info_ = null;
- infoBuilder_ = null;
- }
- return this;
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder getInfoBuilder() {
-
- onChanged();
- return getInfoFieldBuilder().getBuilder();
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- public Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder getInfoOrBuilder() {
- if (infoBuilder_ != null) {
- return infoBuilder_.getMessageOrBuilder();
- } else {
- return info_ == null ?
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.getDefaultInstance() : info_;
- }
- }
- /**
- * <code>.Im.Scrm.Ww.Proto.CustomerMessage Info = 4;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>
- getInfoFieldBuilder() {
- if (infoBuilder_ == null) {
- infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessage.Builder, Im.Scrm.Ww.Proto.WCustomerPushNotice.CustomerMessageOrBuilder>(
- getInfo(),
- getParentForChildren(),
- isClean());
- info_ = null;
- }
- return infoBuilder_;
- }
- private long taskId_ ;
- /**
- * <pre>
- *任务id 在TaskResult中回传
- * </pre>
- *
- * <code>int64 TaskId = 5;</code>
- * @return The taskId.
- */
- public long getTaskId() {
- return taskId_;
- }
- /**
- * <pre>
- *任务id 在TaskResult中回传
- * </pre>
- *
- * <code>int64 TaskId = 5;</code>
- * @param value The taskId to set.
- * @return This builder for chaining.
- */
- public Builder setTaskId(long value) {
-
- taskId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *任务id 在TaskResult中回传
- * </pre>
- *
- * <code>int64 TaskId = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearTaskId() {
-
- taskId_ = 0L;
- 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.GetContactInfoTaskResultNoticeMessage)
- }
- // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.GetContactInfoTaskResultNoticeMessage)
- private static final Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage();
- }
- public static Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
- private static final com.google.protobuf.Parser<GetContactInfoTaskResultNoticeMessage>
- PARSER = new com.google.protobuf.AbstractParser<GetContactInfoTaskResultNoticeMessage>() {
- @java.lang.Override
- public GetContactInfoTaskResultNoticeMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new GetContactInfoTaskResultNoticeMessage(input, extensionRegistry);
- }
- };
- public static com.google.protobuf.Parser<GetContactInfoTaskResultNoticeMessage> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<GetContactInfoTaskResultNoticeMessage> getParserForType() {
- return PARSER;
- }
- @java.lang.Override
- public Im.Scrm.Ww.Proto.WGetContactInfoTaskResultNotice.GetContactInfoTaskResultNoticeMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_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%WGetContactInfoTaskResultNotice.proto\022" +
- "\020Im.Scrm.Ww.Proto\032\031WCustomerPushNotice.p" +
- "roto\"\227\001\n%GetContactInfoTaskResultNoticeM" +
- "essage\022\014\n\004WxId\030\001 \001(\003\022\017\n\007Success\030\002 \001(\010\022\016\n" +
- "\006ErrMsg\030\003 \001(\t\022/\n\004Info\030\004 \001(\0132!.Im.Scrm.Ww" +
- ".Proto.CustomerMessage\022\016\n\006TaskId\030\005 \001(\003b\006" +
- "proto3"
- };
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- Im.Scrm.Ww.Proto.WCustomerPushNotice.getDescriptor(),
- });
- internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_Im_Scrm_Ww_Proto_GetContactInfoTaskResultNoticeMessage_descriptor,
- new java.lang.String[] { "WxId", "Success", "ErrMsg", "Info", "TaskId", });
- Im.Scrm.Ww.Proto.WCustomerPushNotice.getDescriptor();
- }
- // @@protoc_insertion_point(outer_class_scope)
- }
|