// Generated by the protocol buffer compiler. DO NOT EDIT! // source: WOneWayCustomerPushNotice.proto package Im.Scrm.Ww.Proto; public final class WOneWayCustomerPushNotice { private WOneWayCustomerPushNotice() {} 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 OneWayCustomerPushNoticeMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.OneWayCustomerPushNoticeMessage) com.google.protobuf.MessageOrBuilder { /** *
* 设备企业WX号 ** *
int64 WxId = 1;
* @return The wxId.
*/
long getWxId();
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return A list containing the ids.
*/
java.util.List* 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return The count of ids.
*/
int getIdsCount();
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param index The index of the element to return.
* @return The ids at the given index.
*/
long getIds(int index);
/**
* int64 TaskId = 3;
* @return The taskId.
*/
long getTaskId();
}
/**
* Protobuf type {@code Im.Scrm.Ww.Proto.OneWayCustomerPushNoticeMessage}
*/
public static final class OneWayCustomerPushNoticeMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.OneWayCustomerPushNoticeMessage)
OneWayCustomerPushNoticeMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use OneWayCustomerPushNoticeMessage.newBuilder() to construct.
private OneWayCustomerPushNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OneWayCustomerPushNoticeMessage() {
ids_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OneWayCustomerPushNoticeMessage();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OneWayCustomerPushNoticeMessage(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
ids_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
ids_.addLong(input.readInt64());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
ids_ = newLongList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
ids_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
}
case 24: {
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)) {
ids_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_OneWayCustomerPushNoticeMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.internal_static_Im_Scrm_Ww_Proto_OneWayCustomerPushNoticeMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage.class, Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage.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 IDS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.LongList ids_;
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return A list containing the ids.
*/
public java.util.List* 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return The count of ids.
*/
public int getIdsCount() {
return ids_.size();
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param index The index of the element to return.
* @return The ids at the given index.
*/
public long getIds(int index) {
return ids_.getLong(index);
}
private int idsMemoizedSerializedSize = -1;
public static final int TASKID_FIELD_NUMBER = 3;
private long taskId_;
/**
* int64 TaskId = 3;
* @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 (getIdsList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(idsMemoizedSerializedSize);
}
for (int i = 0; i < ids_.size(); i++) {
output.writeInt64NoTag(ids_.getLong(i));
}
if (taskId_ != 0L) {
output.writeInt64(3, 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_);
}
{
int dataSize = 0;
for (int i = 0; i < ids_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(ids_.getLong(i));
}
size += dataSize;
if (!getIdsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
idsMemoizedSerializedSize = dataSize;
}
if (taskId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage)) {
return super.equals(obj);
}
Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage other = (Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage) obj;
if (getWxId()
!= other.getWxId()) return false;
if (!getIdsList()
.equals(other.getIdsList())) 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 (getIdsCount() > 0) {
hash = (37 * hash) + IDS_FIELD_NUMBER;
hash = (53 * hash) + getIdsList().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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage 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.OneWayCustomerPushNoticeMessage}
*/
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 com.google.protobuf.Internal.LongList ids_ = emptyLongList();
private void ensureIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ids_ = mutableCopy(ids_);
bitField0_ |= 0x00000001;
}
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return A list containing the ids.
*/
public java.util.List* 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return The count of ids.
*/
public int getIdsCount() {
return ids_.size();
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param index The index of the element to return.
* @return The ids at the given index.
*/
public long getIds(int index) {
return ids_.getLong(index);
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param index The index to set the value at.
* @param value The ids to set.
* @return This builder for chaining.
*/
public Builder setIds(
int index, long value) {
ensureIdsIsMutable();
ids_.setLong(index, value);
onChanged();
return this;
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param value The ids to add.
* @return This builder for chaining.
*/
public Builder addIds(long value) {
ensureIdsIsMutable();
ids_.addLong(value);
onChanged();
return this;
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @param values The ids to add.
* @return This builder for chaining.
*/
public Builder addAllIds(
java.lang.Iterable extends java.lang.Long> values) {
ensureIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ids_);
onChanged();
return this;
}
/**
* * 单向好友RemoteId ** *
repeated int64 Ids = 2;
* @return This builder for chaining.
*/
public Builder clearIds() {
ids_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private long taskId_ ;
/**
* int64 TaskId = 3;
* @return The taskId.
*/
public long getTaskId() {
return taskId_;
}
/**
* int64 TaskId = 3;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(long value) {
taskId_ = value;
onChanged();
return this;
}
/**
* int64 TaskId = 3;
* @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.OneWayCustomerPushNoticeMessage)
}
// @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.OneWayCustomerPushNoticeMessage)
private static final Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage();
}
public static Im.Scrm.Ww.Proto.WOneWayCustomerPushNotice.OneWayCustomerPushNoticeMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser