// Generated by the protocol buffer compiler. DO NOT EDIT! // source: WUserSetLabelTask.proto package Im.Scrm.Ww.Proto; public final class WUserSetLabelTask { private WUserSetLabelTask() {} 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 UserSetLabelTaskMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.UserSetLabelTaskMessage) com.google.protobuf.MessageOrBuilder { /** *
* 商家所属企业Wx号 ** *
int64 WxId = 1;
* @return The wxId.
*/
long getWxId();
/**
* * 联系人id ** *
int64 RemoteId = 2;
* @return The remoteId.
*/
long getRemoteId();
/**
* repeated int64 LabelId = 3;
* @return A list containing the labelId.
*/
java.util.Listrepeated int64 LabelId = 3;
* @return The count of labelId.
*/
int getLabelIdCount();
/**
* repeated int64 LabelId = 3;
* @param index The index of the element to return.
* @return The labelId at the given index.
*/
long getLabelId(int index);
/**
* *repeated int64 CorpLabelId = 3; // 公司标签id *repeated int64 PrivLabelId = 4; // 个人标签id ** *
int64 TaskId = 5;
* @return The taskId.
*/
long getTaskId();
}
/**
* Protobuf type {@code Im.Scrm.Ww.Proto.UserSetLabelTaskMessage}
*/
public static final class UserSetLabelTaskMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.UserSetLabelTaskMessage)
UserSetLabelTaskMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserSetLabelTaskMessage.newBuilder() to construct.
private UserSetLabelTaskMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserSetLabelTaskMessage() {
labelId_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserSetLabelTaskMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserSetLabelTaskMessage(
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 16: {
remoteId_ = input.readInt64();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
labelId_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
labelId_.addLong(input.readInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
labelId_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
labelId_.addLong(input.readInt64());
}
input.popLimit(limit);
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
labelId_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Im.Scrm.Ww.Proto.WUserSetLabelTask.internal_static_Im_Scrm_Ww_Proto_UserSetLabelTaskMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return Im.Scrm.Ww.Proto.WUserSetLabelTask.internal_static_Im_Scrm_Ww_Proto_UserSetLabelTaskMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage.class, Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage.Builder.class);
}
public static final int WXID_FIELD_NUMBER = 1;
private long wxId_;
/**
* * 商家所属企业Wx号 ** *
int64 WxId = 1;
* @return The wxId.
*/
public long getWxId() {
return wxId_;
}
public static final int REMOTEID_FIELD_NUMBER = 2;
private long remoteId_;
/**
* * 联系人id ** *
int64 RemoteId = 2;
* @return The remoteId.
*/
public long getRemoteId() {
return remoteId_;
}
public static final int LABELID_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.LongList labelId_;
/**
* repeated int64 LabelId = 3;
* @return A list containing the labelId.
*/
public java.util.Listrepeated int64 LabelId = 3;
* @return The count of labelId.
*/
public int getLabelIdCount() {
return labelId_.size();
}
/**
* repeated int64 LabelId = 3;
* @param index The index of the element to return.
* @return The labelId at the given index.
*/
public long getLabelId(int index) {
return labelId_.getLong(index);
}
private int labelIdMemoizedSerializedSize = -1;
public static final int TASKID_FIELD_NUMBER = 5;
private long taskId_;
/**
* *repeated int64 CorpLabelId = 3; // 公司标签id *repeated int64 PrivLabelId = 4; // 个人标签id ** *
int64 TaskId = 5;
* @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_);
}
if (remoteId_ != 0L) {
output.writeInt64(2, remoteId_);
}
if (getLabelIdList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(labelIdMemoizedSerializedSize);
}
for (int i = 0; i < labelId_.size(); i++) {
output.writeInt64NoTag(labelId_.getLong(i));
}
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 (remoteId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, remoteId_);
}
{
int dataSize = 0;
for (int i = 0; i < labelId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(labelId_.getLong(i));
}
size += dataSize;
if (!getLabelIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
labelIdMemoizedSerializedSize = dataSize;
}
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.WUserSetLabelTask.UserSetLabelTaskMessage)) {
return super.equals(obj);
}
Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage other = (Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage) obj;
if (getWxId()
!= other.getWxId()) return false;
if (getRemoteId()
!= other.getRemoteId()) return false;
if (!getLabelIdList()
.equals(other.getLabelIdList())) 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) + REMOTEID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRemoteId());
if (getLabelIdCount() > 0) {
hash = (37 * hash) + LABELID_FIELD_NUMBER;
hash = (53 * hash) + getLabelIdList().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.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage 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.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage 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.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage 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.WUserSetLabelTask.UserSetLabelTaskMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage 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.WUserSetLabelTask.UserSetLabelTaskMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage 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.WUserSetLabelTask.UserSetLabelTaskMessage 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.UserSetLabelTaskMessage}
*/
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 long remoteId_ ;
/**
* * 联系人id ** *
int64 RemoteId = 2;
* @return The remoteId.
*/
public long getRemoteId() {
return remoteId_;
}
/**
* * 联系人id ** *
int64 RemoteId = 2;
* @param value The remoteId to set.
* @return This builder for chaining.
*/
public Builder setRemoteId(long value) {
remoteId_ = value;
onChanged();
return this;
}
/**
* * 联系人id ** *
int64 RemoteId = 2;
* @return This builder for chaining.
*/
public Builder clearRemoteId() {
remoteId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList labelId_ = emptyLongList();
private void ensureLabelIdIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
labelId_ = mutableCopy(labelId_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int64 LabelId = 3;
* @return A list containing the labelId.
*/
public java.util.Listrepeated int64 LabelId = 3;
* @return The count of labelId.
*/
public int getLabelIdCount() {
return labelId_.size();
}
/**
* repeated int64 LabelId = 3;
* @param index The index of the element to return.
* @return The labelId at the given index.
*/
public long getLabelId(int index) {
return labelId_.getLong(index);
}
/**
* repeated int64 LabelId = 3;
* @param index The index to set the value at.
* @param value The labelId to set.
* @return This builder for chaining.
*/
public Builder setLabelId(
int index, long value) {
ensureLabelIdIsMutable();
labelId_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated int64 LabelId = 3;
* @param value The labelId to add.
* @return This builder for chaining.
*/
public Builder addLabelId(long value) {
ensureLabelIdIsMutable();
labelId_.addLong(value);
onChanged();
return this;
}
/**
* repeated int64 LabelId = 3;
* @param values The labelId to add.
* @return This builder for chaining.
*/
public Builder addAllLabelId(
java.lang.Iterable extends java.lang.Long> values) {
ensureLabelIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, labelId_);
onChanged();
return this;
}
/**
* repeated int64 LabelId = 3;
* @return This builder for chaining.
*/
public Builder clearLabelId() {
labelId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private long taskId_ ;
/**
* *repeated int64 CorpLabelId = 3; // 公司标签id *repeated int64 PrivLabelId = 4; // 个人标签id ** *
int64 TaskId = 5;
* @return The taskId.
*/
public long getTaskId() {
return taskId_;
}
/**
* *repeated int64 CorpLabelId = 3; // 公司标签id *repeated int64 PrivLabelId = 4; // 个人标签id ** *
int64 TaskId = 5;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(long value) {
taskId_ = value;
onChanged();
return this;
}
/**
* *repeated int64 CorpLabelId = 3; // 公司标签id *repeated int64 PrivLabelId = 4; // 个人标签id ** *
int64 TaskId = 5;
* @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.UserSetLabelTaskMessage)
}
// @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.UserSetLabelTaskMessage)
private static final Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage();
}
public static Im.Scrm.Ww.Proto.WUserSetLabelTask.UserSetLabelTaskMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser