// Generated by the protocol buffer compiler. DO NOT EDIT! // source: WQunFaTask.proto package Im.Scrm.Ww.Proto; public final class WQunFaTask { private WQunFaTask() {} 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 TalkMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.TalkMessage) com.google.protobuf.MessageOrBuilder { /** *
* 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The enum numeric value on the wire for contentType.
*/
int getContentTypeValue();
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The contentType.
*/
Im.Scrm.Ww.Proto.WTransport.EnumContentType getContentType();
/**
* * 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) ** *
bytes Content = 2;
* @return The content.
*/
com.google.protobuf.ByteString getContent();
}
/**
* Protobuf type {@code Im.Scrm.Ww.Proto.TalkMessage}
*/
public static final class TalkMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.TalkMessage)
TalkMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use TalkMessage.newBuilder() to construct.
private TalkMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TalkMessage() {
contentType_ = 0;
content_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TalkMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TalkMessage(
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: {
int rawValue = input.readEnum();
contentType_ = rawValue;
break;
}
case 18: {
content_ = input.readBytes();
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.WQunFaTask.internal_static_Im_Scrm_Ww_Proto_TalkMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return Im.Scrm.Ww.Proto.WQunFaTask.internal_static_Im_Scrm_Ww_Proto_TalkMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.class, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder.class);
}
public static final int CONTENTTYPE_FIELD_NUMBER = 1;
private int contentType_;
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The enum numeric value on the wire for contentType.
*/
public int getContentTypeValue() {
return contentType_;
}
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The contentType.
*/
public Im.Scrm.Ww.Proto.WTransport.EnumContentType getContentType() {
@SuppressWarnings("deprecation")
Im.Scrm.Ww.Proto.WTransport.EnumContentType result = Im.Scrm.Ww.Proto.WTransport.EnumContentType.valueOf(contentType_);
return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumContentType.UNRECOGNIZED : result;
}
public static final int CONTENT_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString content_;
/**
* * 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) ** *
bytes Content = 2;
* @return The content.
*/
public com.google.protobuf.ByteString getContent() {
return content_;
}
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 (contentType_ != Im.Scrm.Ww.Proto.WTransport.EnumContentType.UnknownContent.getNumber()) {
output.writeEnum(1, contentType_);
}
if (!content_.isEmpty()) {
output.writeBytes(2, content_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contentType_ != Im.Scrm.Ww.Proto.WTransport.EnumContentType.UnknownContent.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, contentType_);
}
if (!content_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, content_);
}
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.WQunFaTask.TalkMessage)) {
return super.equals(obj);
}
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage other = (Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage) obj;
if (contentType_ != other.contentType_) return false;
if (!getContent()
.equals(other.getContent())) 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) + CONTENTTYPE_FIELD_NUMBER;
hash = (53 * hash) + contentType_;
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage 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.WQunFaTask.TalkMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage 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.WQunFaTask.TalkMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage 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.WQunFaTask.TalkMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage 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.WQunFaTask.TalkMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage 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.WQunFaTask.TalkMessage 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.TalkMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder* 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The enum numeric value on the wire for contentType.
*/
public int getContentTypeValue() {
return contentType_;
}
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @param value The enum numeric value on the wire for contentType to set.
* @return This builder for chaining.
*/
public Builder setContentTypeValue(int value) {
contentType_ = value;
onChanged();
return this;
}
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return The contentType.
*/
public Im.Scrm.Ww.Proto.WTransport.EnumContentType getContentType() {
@SuppressWarnings("deprecation")
Im.Scrm.Ww.Proto.WTransport.EnumContentType result = Im.Scrm.Ww.Proto.WTransport.EnumContentType.valueOf(contentType_);
return result == null ? Im.Scrm.Ww.Proto.WTransport.EnumContentType.UNRECOGNIZED : result;
}
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @param value The contentType to set.
* @return This builder for chaining.
*/
public Builder setContentType(Im.Scrm.Ww.Proto.WTransport.EnumContentType value) {
if (value == null) {
throw new NullPointerException();
}
contentType_ = value.getNumber();
onChanged();
return this;
}
/**
* * 消息类型 Text Picture Voice Video Link File NameCard WeApp Location ** *
.Im.Scrm.Ww.Proto.EnumContentType ContentType = 1;
* @return This builder for chaining.
*/
public Builder clearContentType() {
contentType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
/**
* * 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) ** *
bytes Content = 2;
* @return The content.
*/
public com.google.protobuf.ByteString getContent() {
return content_;
}
/**
* * 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) ** *
bytes Content = 2;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
* * 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) ** *
bytes Content = 2;
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
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.TalkMessage)
}
// @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.TalkMessage)
private static final Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage();
}
public static Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser* 设备企业WX号 ** *
int64 WxId = 1;
* @return The wxId.
*/
long getWxId();
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
java.util.Listrepeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage getMsgs(int index);
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
int getMsgsCount();
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
java.util.List extends Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder>
getMsgsOrBuilderList();
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder getMsgsOrBuilder(
int index);
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return A list containing the convId.
*/
java.util.List*会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return The count of convId.
*/
int getConvIdCount();
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param index The index of the element to return.
* @return The convId at the given index.
*/
long getConvId(int index);
/**
* ** *
int64 TaskId = 4;
* @return The taskId.
*/
long getTaskId();
}
/**
* Protobuf type {@code Im.Scrm.Ww.Proto.QunFaTaskMessage}
*/
public static final class QunFaTaskMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.QunFaTaskMessage)
QunFaTaskMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use QunFaTaskMessage.newBuilder() to construct.
private QunFaTaskMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QunFaTaskMessage() {
msgs_ = java.util.Collections.emptyList();
convId_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QunFaTaskMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QunFaTaskMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
wxId_ = input.readInt64();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
msgs_ = new java.util.ArrayList* 设备企业WX号 ** *
int64 WxId = 1;
* @return The wxId.
*/
public long getWxId() {
return wxId_;
}
public static final int MSGS_FIELD_NUMBER = 2;
private java.util.Listrepeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public java.util.Listrepeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public java.util.List extends Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder>
getMsgsOrBuilderList() {
return msgs_;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public int getMsgsCount() {
return msgs_.size();
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage getMsgs(int index) {
return msgs_.get(index);
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder getMsgsOrBuilder(
int index) {
return msgs_.get(index);
}
public static final int CONVID_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.LongList convId_;
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return A list containing the convId.
*/
public java.util.List*会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return The count of convId.
*/
public int getConvIdCount() {
return convId_.size();
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param index The index of the element to return.
* @return The convId at the given index.
*/
public long getConvId(int index) {
return convId_.getLong(index);
}
private int convIdMemoizedSerializedSize = -1;
public static final int TASKID_FIELD_NUMBER = 4;
private long taskId_;
/**
* ** *
int64 TaskId = 4;
* @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 {
getSerializedSize();
if (wxId_ != 0L) {
output.writeInt64(1, wxId_);
}
for (int i = 0; i < msgs_.size(); i++) {
output.writeMessage(2, msgs_.get(i));
}
if (getConvIdList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(convIdMemoizedSerializedSize);
}
for (int i = 0; i < convId_.size(); i++) {
output.writeInt64NoTag(convId_.getLong(i));
}
if (taskId_ != 0L) {
output.writeInt64(4, 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_);
}
for (int i = 0; i < msgs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, msgs_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < convId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(convId_.getLong(i));
}
size += dataSize;
if (!getConvIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
convIdMemoizedSerializedSize = dataSize;
}
if (taskId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, 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.WQunFaTask.QunFaTaskMessage)) {
return super.equals(obj);
}
Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage other = (Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage) obj;
if (getWxId()
!= other.getWxId()) return false;
if (!getMsgsList()
.equals(other.getMsgsList())) return false;
if (!getConvIdList()
.equals(other.getConvIdList())) 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());
if (getMsgsCount() > 0) {
hash = (37 * hash) + MSGS_FIELD_NUMBER;
hash = (53 * hash) + getMsgsList().hashCode();
}
if (getConvIdCount() > 0) {
hash = (37 * hash) + CONVID_FIELD_NUMBER;
hash = (53 * hash) + getConvIdList().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.WQunFaTask.QunFaTaskMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage 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.WQunFaTask.QunFaTaskMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage 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.WQunFaTask.QunFaTaskMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage 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.WQunFaTask.QunFaTaskMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage 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.WQunFaTask.QunFaTaskMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage 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.WQunFaTask.QunFaTaskMessage 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.QunFaTaskMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder* 设备企业WX号 ** *
int64 WxId = 1;
* @return The wxId.
*/
public long getWxId() {
return wxId_;
}
/**
* * 设备企业WX号 ** *
int64 WxId = 1;
* @param value The wxId to set.
* @return This builder for chaining.
*/
public Builder setWxId(long value) {
wxId_ = value;
onChanged();
return this;
}
/**
* * 设备企业WX号 ** *
int64 WxId = 1;
* @return This builder for chaining.
*/
public Builder clearWxId() {
wxId_ = 0L;
onChanged();
return this;
}
private java.util.Listrepeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public java.util.Listrepeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public int getMsgsCount() {
if (msgsBuilder_ == null) {
return msgs_.size();
} else {
return msgsBuilder_.getCount();
}
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage getMsgs(int index) {
if (msgsBuilder_ == null) {
return msgs_.get(index);
} else {
return msgsBuilder_.getMessage(index);
}
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder setMsgs(
int index, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.set(index, value);
onChanged();
} else {
msgsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder setMsgs(
int index, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.set(index, builderForValue.build());
onChanged();
} else {
msgsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder addMsgs(Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.add(value);
onChanged();
} else {
msgsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder addMsgs(
int index, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.add(index, value);
onChanged();
} else {
msgsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder addMsgs(
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.add(builderForValue.build());
onChanged();
} else {
msgsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder addMsgs(
int index, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.add(index, builderForValue.build());
onChanged();
} else {
msgsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder addAllMsgs(
java.lang.Iterable extends Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage> values) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, msgs_);
onChanged();
} else {
msgsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder clearMsgs() {
if (msgsBuilder_ == null) {
msgs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
msgsBuilder_.clear();
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Builder removeMsgs(int index) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.remove(index);
onChanged();
} else {
msgsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder getMsgsBuilder(
int index) {
return getMsgsFieldBuilder().getBuilder(index);
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder getMsgsOrBuilder(
int index) {
if (msgsBuilder_ == null) {
return msgs_.get(index); } else {
return msgsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public java.util.List extends Im.Scrm.Ww.Proto.WQunFaTask.TalkMessageOrBuilder>
getMsgsOrBuilderList() {
if (msgsBuilder_ != null) {
return msgsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(msgs_);
}
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder addMsgsBuilder() {
return getMsgsFieldBuilder().addBuilder(
Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.getDefaultInstance());
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.Builder addMsgsBuilder(
int index) {
return getMsgsFieldBuilder().addBuilder(
index, Im.Scrm.Ww.Proto.WQunFaTask.TalkMessage.getDefaultInstance());
}
/**
* repeated .Im.Scrm.Ww.Proto.TalkMessage Msgs = 2;
*/
public java.util.List*会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return A list containing the convId.
*/
public java.util.List*会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return The count of convId.
*/
public int getConvIdCount() {
return convId_.size();
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param index The index of the element to return.
* @return The convId at the given index.
*/
public long getConvId(int index) {
return convId_.getLong(index);
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param index The index to set the value at.
* @param value The convId to set.
* @return This builder for chaining.
*/
public Builder setConvId(
int index, long value) {
ensureConvIdIsMutable();
convId_.setLong(index, value);
onChanged();
return this;
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param value The convId to add.
* @return This builder for chaining.
*/
public Builder addConvId(long value) {
ensureConvIdIsMutable();
convId_.addLong(value);
onChanged();
return this;
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @param values The convId to add.
* @return This builder for chaining.
*/
public Builder addAllConvId(
java.lang.Iterable extends java.lang.Long> values) {
ensureConvIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, convId_);
onChanged();
return this;
}
/**
* *会话 RemoteId ** *
repeated int64 ConvId = 3;
* @return This builder for chaining.
*/
public Builder clearConvId() {
convId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long taskId_ ;
/**
* ** *
int64 TaskId = 4;
* @return The taskId.
*/
public long getTaskId() {
return taskId_;
}
/**
* ** *
int64 TaskId = 4;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(long value) {
taskId_ = value;
onChanged();
return this;
}
/**
* ** *
int64 TaskId = 4;
* @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.QunFaTaskMessage)
}
// @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.QunFaTaskMessage)
private static final Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage();
}
public static Im.Scrm.Ww.Proto.WQunFaTask.QunFaTaskMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser