// Generated by the protocol buffer compiler. DO NOT EDIT! // source: WGetExtUserIdTask.proto package Im.Scrm.Ww.Proto; public final class WGetExtUserIdTask { private WGetExtUserIdTask() {} 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 GetExtUserIdTaskMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.GetExtUserIdTaskMessage) com.google.protobuf.MessageOrBuilder { /** *
* 设备企业WX号 ** *
int64 WxId = 1;
* @return The wxId.
*/
long getWxId();
/**
* *公司id ** *
string CorpId = 2;
* @return The corpId.
*/
java.lang.String getCorpId();
/**
* *公司id ** *
string CorpId = 2;
* @return The bytes for corpId.
*/
com.google.protobuf.ByteString
getCorpIdBytes();
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @return A list containing the remoteId.
*/
java.util.List* 客户id ** *
repeated int64 RemoteId = 3;
* @return The count of remoteId.
*/
int getRemoteIdCount();
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param index The index of the element to return.
* @return The remoteId at the given index.
*/
long getRemoteId(int index);
/**
* int64 TaskId = 4;
* @return The taskId.
*/
long getTaskId();
}
/**
* Protobuf type {@code Im.Scrm.Ww.Proto.GetExtUserIdTaskMessage}
*/
public static final class GetExtUserIdTaskMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.GetExtUserIdTaskMessage)
GetExtUserIdTaskMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetExtUserIdTaskMessage.newBuilder() to construct.
private GetExtUserIdTaskMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetExtUserIdTaskMessage() {
corpId_ = "";
remoteId_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetExtUserIdTaskMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetExtUserIdTaskMessage(
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: {
java.lang.String s = input.readStringRequireUtf8();
corpId_ = s;
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
remoteId_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
remoteId_.addLong(input.readInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
remoteId_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
remoteId_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
}
case 32: {
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)) {
remoteId_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Im.Scrm.Ww.Proto.WGetExtUserIdTask.internal_static_Im_Scrm_Ww_Proto_GetExtUserIdTaskMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return Im.Scrm.Ww.Proto.WGetExtUserIdTask.internal_static_Im_Scrm_Ww_Proto_GetExtUserIdTaskMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage.class, Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage.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 CORPID_FIELD_NUMBER = 2;
private volatile java.lang.Object corpId_;
/**
* *公司id ** *
string CorpId = 2;
* @return The corpId.
*/
public java.lang.String getCorpId() {
java.lang.Object ref = corpId_;
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();
corpId_ = s;
return s;
}
}
/**
* *公司id ** *
string CorpId = 2;
* @return The bytes for corpId.
*/
public com.google.protobuf.ByteString
getCorpIdBytes() {
java.lang.Object ref = corpId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
corpId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REMOTEID_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.LongList remoteId_;
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @return A list containing the remoteId.
*/
public java.util.List* 客户id ** *
repeated int64 RemoteId = 3;
* @return The count of remoteId.
*/
public int getRemoteIdCount() {
return remoteId_.size();
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param index The index of the element to return.
* @return The remoteId at the given index.
*/
public long getRemoteId(int index) {
return remoteId_.getLong(index);
}
private int remoteIdMemoizedSerializedSize = -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_);
}
if (!getCorpIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, corpId_);
}
if (getRemoteIdList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(remoteIdMemoizedSerializedSize);
}
for (int i = 0; i < remoteId_.size(); i++) {
output.writeInt64NoTag(remoteId_.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_);
}
if (!getCorpIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, corpId_);
}
{
int dataSize = 0;
for (int i = 0; i < remoteId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(remoteId_.getLong(i));
}
size += dataSize;
if (!getRemoteIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
remoteIdMemoizedSerializedSize = 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.WGetExtUserIdTask.GetExtUserIdTaskMessage)) {
return super.equals(obj);
}
Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage other = (Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage) obj;
if (getWxId()
!= other.getWxId()) return false;
if (!getCorpId()
.equals(other.getCorpId())) return false;
if (!getRemoteIdList()
.equals(other.getRemoteIdList())) 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) + CORPID_FIELD_NUMBER;
hash = (53 * hash) + getCorpId().hashCode();
if (getRemoteIdCount() > 0) {
hash = (37 * hash) + REMOTEID_FIELD_NUMBER;
hash = (53 * hash) + getRemoteIdList().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.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.WGetExtUserIdTask.GetExtUserIdTaskMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.WGetExtUserIdTask.GetExtUserIdTaskMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.WGetExtUserIdTask.GetExtUserIdTaskMessage 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.GetExtUserIdTaskMessage}
*/
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.lang.Object corpId_ = "";
/**
* *公司id ** *
string CorpId = 2;
* @return The corpId.
*/
public java.lang.String getCorpId() {
java.lang.Object ref = corpId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
corpId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *公司id ** *
string CorpId = 2;
* @return The bytes for corpId.
*/
public com.google.protobuf.ByteString
getCorpIdBytes() {
java.lang.Object ref = corpId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
corpId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *公司id ** *
string CorpId = 2;
* @param value The corpId to set.
* @return This builder for chaining.
*/
public Builder setCorpId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
corpId_ = value;
onChanged();
return this;
}
/**
* *公司id ** *
string CorpId = 2;
* @return This builder for chaining.
*/
public Builder clearCorpId() {
corpId_ = getDefaultInstance().getCorpId();
onChanged();
return this;
}
/**
* *公司id ** *
string CorpId = 2;
* @param value The bytes for corpId to set.
* @return This builder for chaining.
*/
public Builder setCorpIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
corpId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList remoteId_ = emptyLongList();
private void ensureRemoteIdIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
remoteId_ = mutableCopy(remoteId_);
bitField0_ |= 0x00000001;
}
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @return A list containing the remoteId.
*/
public java.util.List* 客户id ** *
repeated int64 RemoteId = 3;
* @return The count of remoteId.
*/
public int getRemoteIdCount() {
return remoteId_.size();
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param index The index of the element to return.
* @return The remoteId at the given index.
*/
public long getRemoteId(int index) {
return remoteId_.getLong(index);
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param index The index to set the value at.
* @param value The remoteId to set.
* @return This builder for chaining.
*/
public Builder setRemoteId(
int index, long value) {
ensureRemoteIdIsMutable();
remoteId_.setLong(index, value);
onChanged();
return this;
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param value The remoteId to add.
* @return This builder for chaining.
*/
public Builder addRemoteId(long value) {
ensureRemoteIdIsMutable();
remoteId_.addLong(value);
onChanged();
return this;
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @param values The remoteId to add.
* @return This builder for chaining.
*/
public Builder addAllRemoteId(
java.lang.Iterable extends java.lang.Long> values) {
ensureRemoteIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, remoteId_);
onChanged();
return this;
}
/**
* * 客户id ** *
repeated int64 RemoteId = 3;
* @return This builder for chaining.
*/
public Builder clearRemoteId() {
remoteId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
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.GetExtUserIdTaskMessage)
}
// @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.GetExtUserIdTaskMessage)
private static final Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage();
}
public static Im.Scrm.Ww.Proto.WGetExtUserIdTask.GetExtUserIdTaskMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser