/*
* MIT License
*
* Copyright (c) 2023 OrdinaryRoad
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GiftIMPriority.proto
package tech.ordinaryroad.live.chat.client.douyin.protobuf.dto;
public final class GiftIMPriorityOuterClass {
private GiftIMPriorityOuterClass() {}
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 GiftIMPriorityOrBuilder extends
// @@protoc_insertion_point(interface_extends:GiftIMPriority)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint64 queue_sizes_list = 1;
* @return A list containing the queueSizesList.
*/
java.util.List getQueueSizesListList();
/**
* repeated uint64 queue_sizes_list = 1;
* @return The count of queueSizesList.
*/
int getQueueSizesListCount();
/**
* repeated uint64 queue_sizes_list = 1;
* @param index The index of the element to return.
* @return The queueSizesList at the given index.
*/
long getQueueSizesList(int index);
/**
* uint64 self_queue_priority = 2;
* @return The selfQueuePriority.
*/
long getSelfQueuePriority();
/**
* uint64 priority = 3;
* @return The priority.
*/
long getPriority();
}
/**
* Protobuf type {@code GiftIMPriority}
*/
public static final class GiftIMPriority extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GiftIMPriority)
GiftIMPriorityOrBuilder {
private static final long serialVersionUID = 0L;
// Use GiftIMPriority.newBuilder() to construct.
private GiftIMPriority(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GiftIMPriority() {
queueSizesList_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GiftIMPriority();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder.class);
}
public static final int QUEUE_SIZES_LIST_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList queueSizesList_;
/**
* repeated uint64 queue_sizes_list = 1;
* @return A list containing the queueSizesList.
*/
@java.lang.Override
public java.util.List
getQueueSizesListList() {
return queueSizesList_;
}
/**
* repeated uint64 queue_sizes_list = 1;
* @return The count of queueSizesList.
*/
public int getQueueSizesListCount() {
return queueSizesList_.size();
}
/**
* repeated uint64 queue_sizes_list = 1;
* @param index The index of the element to return.
* @return The queueSizesList at the given index.
*/
public long getQueueSizesList(int index) {
return queueSizesList_.getLong(index);
}
private int queueSizesListMemoizedSerializedSize = -1;
public static final int SELF_QUEUE_PRIORITY_FIELD_NUMBER = 2;
private long selfQueuePriority_ = 0L;
/**
* uint64 self_queue_priority = 2;
* @return The selfQueuePriority.
*/
@java.lang.Override
public long getSelfQueuePriority() {
return selfQueuePriority_;
}
public static final int PRIORITY_FIELD_NUMBER = 3;
private long priority_ = 0L;
/**
* uint64 priority = 3;
* @return The priority.
*/
@java.lang.Override
public long getPriority() {
return priority_;
}
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 (getQueueSizesListList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(queueSizesListMemoizedSerializedSize);
}
for (int i = 0; i < queueSizesList_.size(); i++) {
output.writeUInt64NoTag(queueSizesList_.getLong(i));
}
if (selfQueuePriority_ != 0L) {
output.writeUInt64(2, selfQueuePriority_);
}
if (priority_ != 0L) {
output.writeUInt64(3, priority_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < queueSizesList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(queueSizesList_.getLong(i));
}
size += dataSize;
if (!getQueueSizesListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
queueSizesListMemoizedSerializedSize = dataSize;
}
if (selfQueuePriority_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, selfQueuePriority_);
}
if (priority_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, priority_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority)) {
return super.equals(obj);
}
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority other = (tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority) obj;
if (!getQueueSizesListList()
.equals(other.getQueueSizesListList())) return false;
if (getSelfQueuePriority()
!= other.getSelfQueuePriority()) return false;
if (getPriority()
!= other.getPriority()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getQueueSizesListCount() > 0) {
hash = (37 * hash) + QUEUE_SIZES_LIST_FIELD_NUMBER;
hash = (53 * hash) + getQueueSizesListList().hashCode();
}
hash = (37 * hash) + SELF_QUEUE_PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSelfQueuePriority());
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPriority());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority 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 GiftIMPriority}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GiftIMPriority)
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriorityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.class, tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.Builder.class);
}
// Construct using tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
queueSizesList_ = emptyLongList();
selfQueuePriority_ = 0L;
priority_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.internal_static_GiftIMPriority_descriptor;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstanceForType() {
return tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance();
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority build() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority buildPartial() {
tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result) {
if (((bitField0_ & 0x00000001) != 0)) {
queueSizesList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.queueSizesList_ = queueSizesList_;
}
private void buildPartial0(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.selfQueuePriority_ = selfQueuePriority_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.priority_ = priority_;
}
}
@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 tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority) {
return mergeFrom((tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority other) {
if (other == tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority.getDefaultInstance()) return this;
if (!other.queueSizesList_.isEmpty()) {
if (queueSizesList_.isEmpty()) {
queueSizesList_ = other.queueSizesList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQueueSizesListIsMutable();
queueSizesList_.addAll(other.queueSizesList_);
}
onChanged();
}
if (other.getSelfQueuePriority() != 0L) {
setSelfQueuePriority(other.getSelfQueuePriority());
}
if (other.getPriority() != 0L) {
setPriority(other.getPriority());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
long v = input.readUInt64();
ensureQueueSizesListIsMutable();
queueSizesList_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureQueueSizesListIsMutable();
while (input.getBytesUntilLimit() > 0) {
queueSizesList_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
} // case 10
case 16: {
selfQueuePriority_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
priority_ = input.readUInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList queueSizesList_ = emptyLongList();
private void ensureQueueSizesListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
queueSizesList_ = mutableCopy(queueSizesList_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint64 queue_sizes_list = 1;
* @return A list containing the queueSizesList.
*/
public java.util.List
getQueueSizesListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(queueSizesList_) : queueSizesList_;
}
/**
* repeated uint64 queue_sizes_list = 1;
* @return The count of queueSizesList.
*/
public int getQueueSizesListCount() {
return queueSizesList_.size();
}
/**
* repeated uint64 queue_sizes_list = 1;
* @param index The index of the element to return.
* @return The queueSizesList at the given index.
*/
public long getQueueSizesList(int index) {
return queueSizesList_.getLong(index);
}
/**
* repeated uint64 queue_sizes_list = 1;
* @param index The index to set the value at.
* @param value The queueSizesList to set.
* @return This builder for chaining.
*/
public Builder setQueueSizesList(
int index, long value) {
ensureQueueSizesListIsMutable();
queueSizesList_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated uint64 queue_sizes_list = 1;
* @param value The queueSizesList to add.
* @return This builder for chaining.
*/
public Builder addQueueSizesList(long value) {
ensureQueueSizesListIsMutable();
queueSizesList_.addLong(value);
onChanged();
return this;
}
/**
* repeated uint64 queue_sizes_list = 1;
* @param values The queueSizesList to add.
* @return This builder for chaining.
*/
public Builder addAllQueueSizesList(
java.lang.Iterable extends java.lang.Long> values) {
ensureQueueSizesListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, queueSizesList_);
onChanged();
return this;
}
/**
* repeated uint64 queue_sizes_list = 1;
* @return This builder for chaining.
*/
public Builder clearQueueSizesList() {
queueSizesList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private long selfQueuePriority_ ;
/**
* uint64 self_queue_priority = 2;
* @return The selfQueuePriority.
*/
@java.lang.Override
public long getSelfQueuePriority() {
return selfQueuePriority_;
}
/**
* uint64 self_queue_priority = 2;
* @param value The selfQueuePriority to set.
* @return This builder for chaining.
*/
public Builder setSelfQueuePriority(long value) {
selfQueuePriority_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint64 self_queue_priority = 2;
* @return This builder for chaining.
*/
public Builder clearSelfQueuePriority() {
bitField0_ = (bitField0_ & ~0x00000002);
selfQueuePriority_ = 0L;
onChanged();
return this;
}
private long priority_ ;
/**
* uint64 priority = 3;
* @return The priority.
*/
@java.lang.Override
public long getPriority() {
return priority_;
}
/**
* uint64 priority = 3;
* @param value The priority to set.
* @return This builder for chaining.
*/
public Builder setPriority(long value) {
priority_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* uint64 priority = 3;
* @return This builder for chaining.
*/
public Builder clearPriority() {
bitField0_ = (bitField0_ & ~0x00000004);
priority_ = 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:GiftIMPriority)
}
// @@protoc_insertion_point(class_scope:GiftIMPriority)
private static final tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority();
}
public static tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GiftIMPriority parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ordinaryroad.live.chat.client.douyin.protobuf.dto.GiftIMPriorityOuterClass.GiftIMPriority getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GiftIMPriority_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GiftIMPriority_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\024GiftIMPriority.proto\"Y\n\016GiftIMPriority" +
"\022\030\n\020queue_sizes_list\030\001 \003(\004\022\033\n\023self_queue" +
"_priority\030\002 \001(\004\022\020\n\010priority\030\003 \001(\004B8\n6tec" +
"h.ordinaryroad.live.chat.client.douyin.p" +
"rotobuf.dtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_GiftIMPriority_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GiftIMPriority_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GiftIMPriority_descriptor,
new java.lang.String[] { "QueueSizesList", "SelfQueuePriority", "Priority", });
}
// @@protoc_insertion_point(outer_class_scope)
}