FileCache.java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: file_cache.proto
package doris.io.cache;
public final class FileCache {
private FileCache() {}
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 UInt128WrapperPbOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.io.cache.UInt128WrapperPb)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional uint64 high = 1;</code>
* @return Whether the high field is set.
*/
boolean hasHigh();
/**
* <code>optional uint64 high = 1;</code>
* @return The high.
*/
long getHigh();
/**
* <code>optional uint64 low = 2;</code>
* @return Whether the low field is set.
*/
boolean hasLow();
/**
* <code>optional uint64 low = 2;</code>
* @return The low.
*/
long getLow();
}
/**
* Protobuf type {@code doris.io.cache.UInt128WrapperPb}
*/
public static final class UInt128WrapperPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.io.cache.UInt128WrapperPb)
UInt128WrapperPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use UInt128WrapperPb.newBuilder() to construct.
private UInt128WrapperPb(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UInt128WrapperPb() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UInt128WrapperPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_UInt128WrapperPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_UInt128WrapperPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.UInt128WrapperPb.class, doris.io.cache.FileCache.UInt128WrapperPb.Builder.class);
}
private int bitField0_;
public static final int HIGH_FIELD_NUMBER = 1;
private long high_ = 0L;
/**
* <code>optional uint64 high = 1;</code>
* @return Whether the high field is set.
*/
@java.lang.Override
public boolean hasHigh() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 high = 1;</code>
* @return The high.
*/
@java.lang.Override
public long getHigh() {
return high_;
}
public static final int LOW_FIELD_NUMBER = 2;
private long low_ = 0L;
/**
* <code>optional uint64 low = 2;</code>
* @return Whether the low field is set.
*/
@java.lang.Override
public boolean hasLow() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 low = 2;</code>
* @return The low.
*/
@java.lang.Override
public long getLow() {
return low_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, high_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, low_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, high_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, low_);
}
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 doris.io.cache.FileCache.UInt128WrapperPb)) {
return super.equals(obj);
}
doris.io.cache.FileCache.UInt128WrapperPb other = (doris.io.cache.FileCache.UInt128WrapperPb) obj;
if (hasHigh() != other.hasHigh()) return false;
if (hasHigh()) {
if (getHigh()
!= other.getHigh()) return false;
}
if (hasLow() != other.hasLow()) return false;
if (hasLow()) {
if (getLow()
!= other.getLow()) 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 (hasHigh()) {
hash = (37 * hash) + HIGH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHigh());
}
if (hasLow()) {
hash = (37 * hash) + LOW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLow());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.UInt128WrapperPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.UInt128WrapperPb 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 doris.io.cache.FileCache.UInt128WrapperPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.UInt128WrapperPb 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 doris.io.cache.FileCache.UInt128WrapperPb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.UInt128WrapperPb 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(doris.io.cache.FileCache.UInt128WrapperPb 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 doris.io.cache.UInt128WrapperPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.io.cache.UInt128WrapperPb)
doris.io.cache.FileCache.UInt128WrapperPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_UInt128WrapperPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_UInt128WrapperPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.UInt128WrapperPb.class, doris.io.cache.FileCache.UInt128WrapperPb.Builder.class);
}
// Construct using doris.io.cache.FileCache.UInt128WrapperPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
high_ = 0L;
low_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_UInt128WrapperPb_descriptor;
}
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPb getDefaultInstanceForType() {
return doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance();
}
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPb build() {
doris.io.cache.FileCache.UInt128WrapperPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPb buildPartial() {
doris.io.cache.FileCache.UInt128WrapperPb result = new doris.io.cache.FileCache.UInt128WrapperPb(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(doris.io.cache.FileCache.UInt128WrapperPb result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.high_ = high_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.low_ = low_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@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 doris.io.cache.FileCache.UInt128WrapperPb) {
return mergeFrom((doris.io.cache.FileCache.UInt128WrapperPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(doris.io.cache.FileCache.UInt128WrapperPb other) {
if (other == doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance()) return this;
if (other.hasHigh()) {
setHigh(other.getHigh());
}
if (other.hasLow()) {
setLow(other.getLow());
}
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: {
high_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
low_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
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 long high_ ;
/**
* <code>optional uint64 high = 1;</code>
* @return Whether the high field is set.
*/
@java.lang.Override
public boolean hasHigh() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 high = 1;</code>
* @return The high.
*/
@java.lang.Override
public long getHigh() {
return high_;
}
/**
* <code>optional uint64 high = 1;</code>
* @param value The high to set.
* @return This builder for chaining.
*/
public Builder setHigh(long value) {
high_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional uint64 high = 1;</code>
* @return This builder for chaining.
*/
public Builder clearHigh() {
bitField0_ = (bitField0_ & ~0x00000001);
high_ = 0L;
onChanged();
return this;
}
private long low_ ;
/**
* <code>optional uint64 low = 2;</code>
* @return Whether the low field is set.
*/
@java.lang.Override
public boolean hasLow() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 low = 2;</code>
* @return The low.
*/
@java.lang.Override
public long getLow() {
return low_;
}
/**
* <code>optional uint64 low = 2;</code>
* @param value The low to set.
* @return This builder for chaining.
*/
public Builder setLow(long value) {
low_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional uint64 low = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLow() {
bitField0_ = (bitField0_ & ~0x00000002);
low_ = 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:doris.io.cache.UInt128WrapperPb)
}
// @@protoc_insertion_point(class_scope:doris.io.cache.UInt128WrapperPb)
private static final doris.io.cache.FileCache.UInt128WrapperPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new doris.io.cache.FileCache.UInt128WrapperPb();
}
public static doris.io.cache.FileCache.UInt128WrapperPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UInt128WrapperPb>
PARSER = new com.google.protobuf.AbstractParser<UInt128WrapperPb>() {
@java.lang.Override
public UInt128WrapperPb 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<UInt128WrapperPb> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UInt128WrapperPb> getParserForType() {
return PARSER;
}
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LRUDumpEntryPbOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.io.cache.LRUDumpEntryPb)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return Whether the hash field is set.
*/
boolean hasHash();
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return The hash.
*/
doris.io.cache.FileCache.UInt128WrapperPb getHash();
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
doris.io.cache.FileCache.UInt128WrapperPbOrBuilder getHashOrBuilder();
/**
* <code>optional uint64 offset = 2;</code>
* @return Whether the offset field is set.
*/
boolean hasOffset();
/**
* <code>optional uint64 offset = 2;</code>
* @return The offset.
*/
long getOffset();
/**
* <code>optional uint64 size = 3;</code>
* @return Whether the size field is set.
*/
boolean hasSize();
/**
* <code>optional uint64 size = 3;</code>
* @return The size.
*/
long getSize();
}
/**
* Protobuf type {@code doris.io.cache.LRUDumpEntryPb}
*/
public static final class LRUDumpEntryPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.io.cache.LRUDumpEntryPb)
LRUDumpEntryPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use LRUDumpEntryPb.newBuilder() to construct.
private LRUDumpEntryPb(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LRUDumpEntryPb() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LRUDumpEntryPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpEntryPb.class, doris.io.cache.FileCache.LRUDumpEntryPb.Builder.class);
}
private int bitField0_;
public static final int HASH_FIELD_NUMBER = 1;
private doris.io.cache.FileCache.UInt128WrapperPb hash_;
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return Whether the hash field is set.
*/
@java.lang.Override
public boolean hasHash() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return The hash.
*/
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPb getHash() {
return hash_ == null ? doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance() : hash_;
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
@java.lang.Override
public doris.io.cache.FileCache.UInt128WrapperPbOrBuilder getHashOrBuilder() {
return hash_ == null ? doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance() : hash_;
}
public static final int OFFSET_FIELD_NUMBER = 2;
private long offset_ = 0L;
/**
* <code>optional uint64 offset = 2;</code>
* @return Whether the offset field is set.
*/
@java.lang.Override
public boolean hasOffset() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 offset = 2;</code>
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
public static final int SIZE_FIELD_NUMBER = 3;
private long size_ = 0L;
/**
* <code>optional uint64 size = 3;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional uint64 size = 3;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getHash());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, offset_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt64(3, size_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHash());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, offset_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, size_);
}
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 doris.io.cache.FileCache.LRUDumpEntryPb)) {
return super.equals(obj);
}
doris.io.cache.FileCache.LRUDumpEntryPb other = (doris.io.cache.FileCache.LRUDumpEntryPb) obj;
if (hasHash() != other.hasHash()) return false;
if (hasHash()) {
if (!getHash()
.equals(other.getHash())) return false;
}
if (hasOffset() != other.hasOffset()) return false;
if (hasOffset()) {
if (getOffset()
!= other.getOffset()) return false;
}
if (hasSize() != other.hasSize()) return false;
if (hasSize()) {
if (getSize()
!= other.getSize()) 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 (hasHash()) {
hash = (37 * hash) + HASH_FIELD_NUMBER;
hash = (53 * hash) + getHash().hashCode();
}
if (hasOffset()) {
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOffset());
}
if (hasSize()) {
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb 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 doris.io.cache.FileCache.LRUDumpEntryPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb 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 doris.io.cache.FileCache.LRUDumpEntryPb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryPb 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(doris.io.cache.FileCache.LRUDumpEntryPb 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 doris.io.cache.LRUDumpEntryPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.io.cache.LRUDumpEntryPb)
doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpEntryPb.class, doris.io.cache.FileCache.LRUDumpEntryPb.Builder.class);
}
// Construct using doris.io.cache.FileCache.LRUDumpEntryPb.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHashFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
hash_ = null;
if (hashBuilder_ != null) {
hashBuilder_.dispose();
hashBuilder_ = null;
}
offset_ = 0L;
size_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryPb_descriptor;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPb getDefaultInstanceForType() {
return doris.io.cache.FileCache.LRUDumpEntryPb.getDefaultInstance();
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPb build() {
doris.io.cache.FileCache.LRUDumpEntryPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPb buildPartial() {
doris.io.cache.FileCache.LRUDumpEntryPb result = new doris.io.cache.FileCache.LRUDumpEntryPb(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(doris.io.cache.FileCache.LRUDumpEntryPb result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.hash_ = hashBuilder_ == null
? hash_
: hashBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.offset_ = offset_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.size_ = size_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@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 doris.io.cache.FileCache.LRUDumpEntryPb) {
return mergeFrom((doris.io.cache.FileCache.LRUDumpEntryPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(doris.io.cache.FileCache.LRUDumpEntryPb other) {
if (other == doris.io.cache.FileCache.LRUDumpEntryPb.getDefaultInstance()) return this;
if (other.hasHash()) {
mergeHash(other.getHash());
}
if (other.hasOffset()) {
setOffset(other.getOffset());
}
if (other.hasSize()) {
setSize(other.getSize());
}
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 10: {
input.readMessage(
getHashFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
offset_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
size_ = 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 doris.io.cache.FileCache.UInt128WrapperPb hash_;
private com.google.protobuf.SingleFieldBuilderV3<
doris.io.cache.FileCache.UInt128WrapperPb, doris.io.cache.FileCache.UInt128WrapperPb.Builder, doris.io.cache.FileCache.UInt128WrapperPbOrBuilder> hashBuilder_;
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return Whether the hash field is set.
*/
public boolean hasHash() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
* @return The hash.
*/
public doris.io.cache.FileCache.UInt128WrapperPb getHash() {
if (hashBuilder_ == null) {
return hash_ == null ? doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance() : hash_;
} else {
return hashBuilder_.getMessage();
}
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public Builder setHash(doris.io.cache.FileCache.UInt128WrapperPb value) {
if (hashBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hash_ = value;
} else {
hashBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public Builder setHash(
doris.io.cache.FileCache.UInt128WrapperPb.Builder builderForValue) {
if (hashBuilder_ == null) {
hash_ = builderForValue.build();
} else {
hashBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public Builder mergeHash(doris.io.cache.FileCache.UInt128WrapperPb value) {
if (hashBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
hash_ != null &&
hash_ != doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance()) {
getHashBuilder().mergeFrom(value);
} else {
hash_ = value;
}
} else {
hashBuilder_.mergeFrom(value);
}
if (hash_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public Builder clearHash() {
bitField0_ = (bitField0_ & ~0x00000001);
hash_ = null;
if (hashBuilder_ != null) {
hashBuilder_.dispose();
hashBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public doris.io.cache.FileCache.UInt128WrapperPb.Builder getHashBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getHashFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
public doris.io.cache.FileCache.UInt128WrapperPbOrBuilder getHashOrBuilder() {
if (hashBuilder_ != null) {
return hashBuilder_.getMessageOrBuilder();
} else {
return hash_ == null ?
doris.io.cache.FileCache.UInt128WrapperPb.getDefaultInstance() : hash_;
}
}
/**
* <code>optional .doris.io.cache.UInt128WrapperPb hash = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
doris.io.cache.FileCache.UInt128WrapperPb, doris.io.cache.FileCache.UInt128WrapperPb.Builder, doris.io.cache.FileCache.UInt128WrapperPbOrBuilder>
getHashFieldBuilder() {
if (hashBuilder_ == null) {
hashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
doris.io.cache.FileCache.UInt128WrapperPb, doris.io.cache.FileCache.UInt128WrapperPb.Builder, doris.io.cache.FileCache.UInt128WrapperPbOrBuilder>(
getHash(),
getParentForChildren(),
isClean());
hash_ = null;
}
return hashBuilder_;
}
private long offset_ ;
/**
* <code>optional uint64 offset = 2;</code>
* @return Whether the offset field is set.
*/
@java.lang.Override
public boolean hasOffset() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 offset = 2;</code>
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
/**
* <code>optional uint64 offset = 2;</code>
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(long value) {
offset_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional uint64 offset = 2;</code>
* @return This builder for chaining.
*/
public Builder clearOffset() {
bitField0_ = (bitField0_ & ~0x00000002);
offset_ = 0L;
onChanged();
return this;
}
private long size_ ;
/**
* <code>optional uint64 size = 3;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional uint64 size = 3;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* <code>optional uint64 size = 3;</code>
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional uint64 size = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000004);
size_ = 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:doris.io.cache.LRUDumpEntryPb)
}
// @@protoc_insertion_point(class_scope:doris.io.cache.LRUDumpEntryPb)
private static final doris.io.cache.FileCache.LRUDumpEntryPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new doris.io.cache.FileCache.LRUDumpEntryPb();
}
public static doris.io.cache.FileCache.LRUDumpEntryPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LRUDumpEntryPb>
PARSER = new com.google.protobuf.AbstractParser<LRUDumpEntryPb>() {
@java.lang.Override
public LRUDumpEntryPb 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<LRUDumpEntryPb> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LRUDumpEntryPb> getParserForType() {
return PARSER;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LRUDumpEntryGroupPbOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.io.cache.LRUDumpEntryGroupPb)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb>
getEntriesList();
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
doris.io.cache.FileCache.LRUDumpEntryPb getEntries(int index);
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
int getEntriesCount();
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
java.util.List<? extends doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder>
getEntriesOrBuilderList();
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder getEntriesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.io.cache.LRUDumpEntryGroupPb}
*/
public static final class LRUDumpEntryGroupPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.io.cache.LRUDumpEntryGroupPb)
LRUDumpEntryGroupPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use LRUDumpEntryGroupPb.newBuilder() to construct.
private LRUDumpEntryGroupPb(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LRUDumpEntryGroupPb() {
entries_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LRUDumpEntryGroupPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryGroupPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpEntryGroupPb.class, doris.io.cache.FileCache.LRUDumpEntryGroupPb.Builder.class);
}
public static final int ENTRIES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb> entries_;
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
@java.lang.Override
public java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb> getEntriesList() {
return entries_;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder>
getEntriesOrBuilderList() {
return entries_;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
@java.lang.Override
public int getEntriesCount() {
return entries_.size();
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPb getEntries(int index) {
return entries_.get(index);
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder getEntriesOrBuilder(
int index) {
return entries_.get(index);
}
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 {
for (int i = 0; i < entries_.size(); i++) {
output.writeMessage(1, entries_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entries_.get(i));
}
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 doris.io.cache.FileCache.LRUDumpEntryGroupPb)) {
return super.equals(obj);
}
doris.io.cache.FileCache.LRUDumpEntryGroupPb other = (doris.io.cache.FileCache.LRUDumpEntryGroupPb) obj;
if (!getEntriesList()
.equals(other.getEntriesList())) 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 (getEntriesCount() > 0) {
hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
hash = (53 * hash) + getEntriesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb 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 doris.io.cache.FileCache.LRUDumpEntryGroupPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb 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 doris.io.cache.FileCache.LRUDumpEntryGroupPb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb 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(doris.io.cache.FileCache.LRUDumpEntryGroupPb 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 doris.io.cache.LRUDumpEntryGroupPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.io.cache.LRUDumpEntryGroupPb)
doris.io.cache.FileCache.LRUDumpEntryGroupPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryGroupPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpEntryGroupPb.class, doris.io.cache.FileCache.LRUDumpEntryGroupPb.Builder.class);
}
// Construct using doris.io.cache.FileCache.LRUDumpEntryGroupPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
} else {
entries_ = null;
entriesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryGroupPb getDefaultInstanceForType() {
return doris.io.cache.FileCache.LRUDumpEntryGroupPb.getDefaultInstance();
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryGroupPb build() {
doris.io.cache.FileCache.LRUDumpEntryGroupPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryGroupPb buildPartial() {
doris.io.cache.FileCache.LRUDumpEntryGroupPb result = new doris.io.cache.FileCache.LRUDumpEntryGroupPb(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(doris.io.cache.FileCache.LRUDumpEntryGroupPb result) {
if (entriesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entries_ = entries_;
} else {
result.entries_ = entriesBuilder_.build();
}
}
private void buildPartial0(doris.io.cache.FileCache.LRUDumpEntryGroupPb result) {
int from_bitField0_ = bitField0_;
}
@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 doris.io.cache.FileCache.LRUDumpEntryGroupPb) {
return mergeFrom((doris.io.cache.FileCache.LRUDumpEntryGroupPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(doris.io.cache.FileCache.LRUDumpEntryGroupPb other) {
if (other == doris.io.cache.FileCache.LRUDumpEntryGroupPb.getDefaultInstance()) return this;
if (entriesBuilder_ == null) {
if (!other.entries_.isEmpty()) {
if (entries_.isEmpty()) {
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntriesIsMutable();
entries_.addAll(other.entries_);
}
onChanged();
}
} else {
if (!other.entries_.isEmpty()) {
if (entriesBuilder_.isEmpty()) {
entriesBuilder_.dispose();
entriesBuilder_ = null;
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000001);
entriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntriesFieldBuilder() : null;
} else {
entriesBuilder_.addAllMessages(other.entries_);
}
}
}
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 10: {
doris.io.cache.FileCache.LRUDumpEntryPb m =
input.readMessage(
doris.io.cache.FileCache.LRUDumpEntryPb.PARSER,
extensionRegistry);
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(m);
} else {
entriesBuilder_.addMessage(m);
}
break;
} // case 10
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 java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb> entries_ =
java.util.Collections.emptyList();
private void ensureEntriesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
entries_ = new java.util.ArrayList<doris.io.cache.FileCache.LRUDumpEntryPb>(entries_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.LRUDumpEntryPb, doris.io.cache.FileCache.LRUDumpEntryPb.Builder, doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder> entriesBuilder_;
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb> getEntriesList() {
if (entriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(entries_);
} else {
return entriesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public int getEntriesCount() {
if (entriesBuilder_ == null) {
return entries_.size();
} else {
return entriesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public doris.io.cache.FileCache.LRUDumpEntryPb getEntries(int index) {
if (entriesBuilder_ == null) {
return entries_.get(index);
} else {
return entriesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder setEntries(
int index, doris.io.cache.FileCache.LRUDumpEntryPb value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
} else {
entriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder setEntries(
int index, doris.io.cache.FileCache.LRUDumpEntryPb.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.set(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder addEntries(doris.io.cache.FileCache.LRUDumpEntryPb value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
} else {
entriesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder addEntries(
int index, doris.io.cache.FileCache.LRUDumpEntryPb value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
} else {
entriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder addEntries(
doris.io.cache.FileCache.LRUDumpEntryPb.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder addEntries(
int index, doris.io.cache.FileCache.LRUDumpEntryPb.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder addAllEntries(
java.lang.Iterable<? extends doris.io.cache.FileCache.LRUDumpEntryPb> values) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entries_);
onChanged();
} else {
entriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder clearEntries() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entriesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public Builder removeEntries(int index) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.remove(index);
onChanged();
} else {
entriesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public doris.io.cache.FileCache.LRUDumpEntryPb.Builder getEntriesBuilder(
int index) {
return getEntriesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder getEntriesOrBuilder(
int index) {
if (entriesBuilder_ == null) {
return entries_.get(index); } else {
return entriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public java.util.List<? extends doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder>
getEntriesOrBuilderList() {
if (entriesBuilder_ != null) {
return entriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entries_);
}
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public doris.io.cache.FileCache.LRUDumpEntryPb.Builder addEntriesBuilder() {
return getEntriesFieldBuilder().addBuilder(
doris.io.cache.FileCache.LRUDumpEntryPb.getDefaultInstance());
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public doris.io.cache.FileCache.LRUDumpEntryPb.Builder addEntriesBuilder(
int index) {
return getEntriesFieldBuilder().addBuilder(
index, doris.io.cache.FileCache.LRUDumpEntryPb.getDefaultInstance());
}
/**
* <code>repeated .doris.io.cache.LRUDumpEntryPb entries = 1;</code>
*/
public java.util.List<doris.io.cache.FileCache.LRUDumpEntryPb.Builder>
getEntriesBuilderList() {
return getEntriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.LRUDumpEntryPb, doris.io.cache.FileCache.LRUDumpEntryPb.Builder, doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder>
getEntriesFieldBuilder() {
if (entriesBuilder_ == null) {
entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.LRUDumpEntryPb, doris.io.cache.FileCache.LRUDumpEntryPb.Builder, doris.io.cache.FileCache.LRUDumpEntryPbOrBuilder>(
entries_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
entries_ = null;
}
return entriesBuilder_;
}
@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:doris.io.cache.LRUDumpEntryGroupPb)
}
// @@protoc_insertion_point(class_scope:doris.io.cache.LRUDumpEntryGroupPb)
private static final doris.io.cache.FileCache.LRUDumpEntryGroupPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new doris.io.cache.FileCache.LRUDumpEntryGroupPb();
}
public static doris.io.cache.FileCache.LRUDumpEntryGroupPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LRUDumpEntryGroupPb>
PARSER = new com.google.protobuf.AbstractParser<LRUDumpEntryGroupPb>() {
@java.lang.Override
public LRUDumpEntryGroupPb 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<LRUDumpEntryGroupPb> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LRUDumpEntryGroupPb> getParserForType() {
return PARSER;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpEntryGroupPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EntryGroupOffsetSizePbOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.io.cache.EntryGroupOffsetSizePb)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional uint64 offset = 1;</code>
* @return Whether the offset field is set.
*/
boolean hasOffset();
/**
* <code>optional uint64 offset = 1;</code>
* @return The offset.
*/
long getOffset();
/**
* <code>optional uint64 size = 2;</code>
* @return Whether the size field is set.
*/
boolean hasSize();
/**
* <code>optional uint64 size = 2;</code>
* @return The size.
*/
long getSize();
/**
* <code>optional uint32 checksum = 3;</code>
* @return Whether the checksum field is set.
*/
boolean hasChecksum();
/**
* <code>optional uint32 checksum = 3;</code>
* @return The checksum.
*/
int getChecksum();
}
/**
* Protobuf type {@code doris.io.cache.EntryGroupOffsetSizePb}
*/
public static final class EntryGroupOffsetSizePb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.io.cache.EntryGroupOffsetSizePb)
EntryGroupOffsetSizePbOrBuilder {
private static final long serialVersionUID = 0L;
// Use EntryGroupOffsetSizePb.newBuilder() to construct.
private EntryGroupOffsetSizePb(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EntryGroupOffsetSizePb() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EntryGroupOffsetSizePb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_EntryGroupOffsetSizePb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.EntryGroupOffsetSizePb.class, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder.class);
}
private int bitField0_;
public static final int OFFSET_FIELD_NUMBER = 1;
private long offset_ = 0L;
/**
* <code>optional uint64 offset = 1;</code>
* @return Whether the offset field is set.
*/
@java.lang.Override
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 offset = 1;</code>
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
public static final int SIZE_FIELD_NUMBER = 2;
private long size_ = 0L;
/**
* <code>optional uint64 size = 2;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 size = 2;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
public static final int CHECKSUM_FIELD_NUMBER = 3;
private int checksum_ = 0;
/**
* <code>optional uint32 checksum = 3;</code>
* @return Whether the checksum field is set.
*/
@java.lang.Override
public boolean hasChecksum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional uint32 checksum = 3;</code>
* @return The checksum.
*/
@java.lang.Override
public int getChecksum() {
return checksum_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, offset_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt64(2, size_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, checksum_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, offset_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, size_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, checksum_);
}
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 doris.io.cache.FileCache.EntryGroupOffsetSizePb)) {
return super.equals(obj);
}
doris.io.cache.FileCache.EntryGroupOffsetSizePb other = (doris.io.cache.FileCache.EntryGroupOffsetSizePb) obj;
if (hasOffset() != other.hasOffset()) return false;
if (hasOffset()) {
if (getOffset()
!= other.getOffset()) return false;
}
if (hasSize() != other.hasSize()) return false;
if (hasSize()) {
if (getSize()
!= other.getSize()) return false;
}
if (hasChecksum() != other.hasChecksum()) return false;
if (hasChecksum()) {
if (getChecksum()
!= other.getChecksum()) 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 (hasOffset()) {
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOffset());
}
if (hasSize()) {
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
}
if (hasChecksum()) {
hash = (37 * hash) + CHECKSUM_FIELD_NUMBER;
hash = (53 * hash) + getChecksum();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb 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 doris.io.cache.FileCache.EntryGroupOffsetSizePb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb 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 doris.io.cache.FileCache.EntryGroupOffsetSizePb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb 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(doris.io.cache.FileCache.EntryGroupOffsetSizePb 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 doris.io.cache.EntryGroupOffsetSizePb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.io.cache.EntryGroupOffsetSizePb)
doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_EntryGroupOffsetSizePb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.EntryGroupOffsetSizePb.class, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder.class);
}
// Construct using doris.io.cache.FileCache.EntryGroupOffsetSizePb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
offset_ = 0L;
size_ = 0L;
checksum_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor;
}
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePb getDefaultInstanceForType() {
return doris.io.cache.FileCache.EntryGroupOffsetSizePb.getDefaultInstance();
}
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePb build() {
doris.io.cache.FileCache.EntryGroupOffsetSizePb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePb buildPartial() {
doris.io.cache.FileCache.EntryGroupOffsetSizePb result = new doris.io.cache.FileCache.EntryGroupOffsetSizePb(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(doris.io.cache.FileCache.EntryGroupOffsetSizePb result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.offset_ = offset_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.size_ = size_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.checksum_ = checksum_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@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 doris.io.cache.FileCache.EntryGroupOffsetSizePb) {
return mergeFrom((doris.io.cache.FileCache.EntryGroupOffsetSizePb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(doris.io.cache.FileCache.EntryGroupOffsetSizePb other) {
if (other == doris.io.cache.FileCache.EntryGroupOffsetSizePb.getDefaultInstance()) return this;
if (other.hasOffset()) {
setOffset(other.getOffset());
}
if (other.hasSize()) {
setSize(other.getSize());
}
if (other.hasChecksum()) {
setChecksum(other.getChecksum());
}
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: {
offset_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
size_ = input.readUInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
checksum_ = input.readUInt32();
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 long offset_ ;
/**
* <code>optional uint64 offset = 1;</code>
* @return Whether the offset field is set.
*/
@java.lang.Override
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 offset = 1;</code>
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
/**
* <code>optional uint64 offset = 1;</code>
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(long value) {
offset_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional uint64 offset = 1;</code>
* @return This builder for chaining.
*/
public Builder clearOffset() {
bitField0_ = (bitField0_ & ~0x00000001);
offset_ = 0L;
onChanged();
return this;
}
private long size_ ;
/**
* <code>optional uint64 size = 2;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional uint64 size = 2;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* <code>optional uint64 size = 2;</code>
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional uint64 size = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000002);
size_ = 0L;
onChanged();
return this;
}
private int checksum_ ;
/**
* <code>optional uint32 checksum = 3;</code>
* @return Whether the checksum field is set.
*/
@java.lang.Override
public boolean hasChecksum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional uint32 checksum = 3;</code>
* @return The checksum.
*/
@java.lang.Override
public int getChecksum() {
return checksum_;
}
/**
* <code>optional uint32 checksum = 3;</code>
* @param value The checksum to set.
* @return This builder for chaining.
*/
public Builder setChecksum(int value) {
checksum_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional uint32 checksum = 3;</code>
* @return This builder for chaining.
*/
public Builder clearChecksum() {
bitField0_ = (bitField0_ & ~0x00000004);
checksum_ = 0;
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:doris.io.cache.EntryGroupOffsetSizePb)
}
// @@protoc_insertion_point(class_scope:doris.io.cache.EntryGroupOffsetSizePb)
private static final doris.io.cache.FileCache.EntryGroupOffsetSizePb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new doris.io.cache.FileCache.EntryGroupOffsetSizePb();
}
public static doris.io.cache.FileCache.EntryGroupOffsetSizePb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EntryGroupOffsetSizePb>
PARSER = new com.google.protobuf.AbstractParser<EntryGroupOffsetSizePb>() {
@java.lang.Override
public EntryGroupOffsetSizePb 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<EntryGroupOffsetSizePb> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EntryGroupOffsetSizePb> getParserForType() {
return PARSER;
}
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LRUDumpMetaPbOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.io.cache.LRUDumpMetaPb)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional uint64 entry_num = 1;</code>
* @return Whether the entryNum field is set.
*/
boolean hasEntryNum();
/**
* <code>optional uint64 entry_num = 1;</code>
* @return The entryNum.
*/
long getEntryNum();
/**
* <code>optional string queue_name = 2;</code>
* @return Whether the queueName field is set.
*/
boolean hasQueueName();
/**
* <code>optional string queue_name = 2;</code>
* @return The queueName.
*/
java.lang.String getQueueName();
/**
* <code>optional string queue_name = 2;</code>
* @return The bytes for queueName.
*/
com.google.protobuf.ByteString
getQueueNameBytes();
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb>
getGroupOffsetSizeList();
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
doris.io.cache.FileCache.EntryGroupOffsetSizePb getGroupOffsetSize(int index);
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
int getGroupOffsetSizeCount();
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
java.util.List<? extends doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder>
getGroupOffsetSizeOrBuilderList();
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder getGroupOffsetSizeOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.io.cache.LRUDumpMetaPb}
*/
public static final class LRUDumpMetaPb extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.io.cache.LRUDumpMetaPb)
LRUDumpMetaPbOrBuilder {
private static final long serialVersionUID = 0L;
// Use LRUDumpMetaPb.newBuilder() to construct.
private LRUDumpMetaPb(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LRUDumpMetaPb() {
queueName_ = "";
groupOffsetSize_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LRUDumpMetaPb();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpMetaPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpMetaPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpMetaPb.class, doris.io.cache.FileCache.LRUDumpMetaPb.Builder.class);
}
private int bitField0_;
public static final int ENTRY_NUM_FIELD_NUMBER = 1;
private long entryNum_ = 0L;
/**
* <code>optional uint64 entry_num = 1;</code>
* @return Whether the entryNum field is set.
*/
@java.lang.Override
public boolean hasEntryNum() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 entry_num = 1;</code>
* @return The entryNum.
*/
@java.lang.Override
public long getEntryNum() {
return entryNum_;
}
public static final int QUEUE_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object queueName_ = "";
/**
* <code>optional string queue_name = 2;</code>
* @return Whether the queueName field is set.
*/
@java.lang.Override
public boolean hasQueueName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string queue_name = 2;</code>
* @return The queueName.
*/
@java.lang.Override
public java.lang.String getQueueName() {
java.lang.Object ref = queueName_;
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();
if (bs.isValidUtf8()) {
queueName_ = s;
}
return s;
}
}
/**
* <code>optional string queue_name = 2;</code>
* @return The bytes for queueName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQueueNameBytes() {
java.lang.Object ref = queueName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queueName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_OFFSET_SIZE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb> groupOffsetSize_;
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
@java.lang.Override
public java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb> getGroupOffsetSizeList() {
return groupOffsetSize_;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder>
getGroupOffsetSizeOrBuilderList() {
return groupOffsetSize_;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
@java.lang.Override
public int getGroupOffsetSizeCount() {
return groupOffsetSize_.size();
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePb getGroupOffsetSize(int index) {
return groupOffsetSize_.get(index);
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
@java.lang.Override
public doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder getGroupOffsetSizeOrBuilder(
int index) {
return groupOffsetSize_.get(index);
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, entryNum_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queueName_);
}
for (int i = 0; i < groupOffsetSize_.size(); i++) {
output.writeMessage(3, groupOffsetSize_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, entryNum_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queueName_);
}
for (int i = 0; i < groupOffsetSize_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, groupOffsetSize_.get(i));
}
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 doris.io.cache.FileCache.LRUDumpMetaPb)) {
return super.equals(obj);
}
doris.io.cache.FileCache.LRUDumpMetaPb other = (doris.io.cache.FileCache.LRUDumpMetaPb) obj;
if (hasEntryNum() != other.hasEntryNum()) return false;
if (hasEntryNum()) {
if (getEntryNum()
!= other.getEntryNum()) return false;
}
if (hasQueueName() != other.hasQueueName()) return false;
if (hasQueueName()) {
if (!getQueueName()
.equals(other.getQueueName())) return false;
}
if (!getGroupOffsetSizeList()
.equals(other.getGroupOffsetSizeList())) 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 (hasEntryNum()) {
hash = (37 * hash) + ENTRY_NUM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEntryNum());
}
if (hasQueueName()) {
hash = (37 * hash) + QUEUE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getQueueName().hashCode();
}
if (getGroupOffsetSizeCount() > 0) {
hash = (37 * hash) + GROUP_OFFSET_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getGroupOffsetSizeList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb 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 doris.io.cache.FileCache.LRUDumpMetaPb parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb 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 doris.io.cache.FileCache.LRUDumpMetaPb parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static doris.io.cache.FileCache.LRUDumpMetaPb 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(doris.io.cache.FileCache.LRUDumpMetaPb 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 doris.io.cache.LRUDumpMetaPb}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.io.cache.LRUDumpMetaPb)
doris.io.cache.FileCache.LRUDumpMetaPbOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpMetaPb_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpMetaPb_fieldAccessorTable
.ensureFieldAccessorsInitialized(
doris.io.cache.FileCache.LRUDumpMetaPb.class, doris.io.cache.FileCache.LRUDumpMetaPb.Builder.class);
}
// Construct using doris.io.cache.FileCache.LRUDumpMetaPb.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
entryNum_ = 0L;
queueName_ = "";
if (groupOffsetSizeBuilder_ == null) {
groupOffsetSize_ = java.util.Collections.emptyList();
} else {
groupOffsetSize_ = null;
groupOffsetSizeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return doris.io.cache.FileCache.internal_static_doris_io_cache_LRUDumpMetaPb_descriptor;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpMetaPb getDefaultInstanceForType() {
return doris.io.cache.FileCache.LRUDumpMetaPb.getDefaultInstance();
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpMetaPb build() {
doris.io.cache.FileCache.LRUDumpMetaPb result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpMetaPb buildPartial() {
doris.io.cache.FileCache.LRUDumpMetaPb result = new doris.io.cache.FileCache.LRUDumpMetaPb(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(doris.io.cache.FileCache.LRUDumpMetaPb result) {
if (groupOffsetSizeBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
groupOffsetSize_ = java.util.Collections.unmodifiableList(groupOffsetSize_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.groupOffsetSize_ = groupOffsetSize_;
} else {
result.groupOffsetSize_ = groupOffsetSizeBuilder_.build();
}
}
private void buildPartial0(doris.io.cache.FileCache.LRUDumpMetaPb result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.entryNum_ = entryNum_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.queueName_ = queueName_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@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 doris.io.cache.FileCache.LRUDumpMetaPb) {
return mergeFrom((doris.io.cache.FileCache.LRUDumpMetaPb)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(doris.io.cache.FileCache.LRUDumpMetaPb other) {
if (other == doris.io.cache.FileCache.LRUDumpMetaPb.getDefaultInstance()) return this;
if (other.hasEntryNum()) {
setEntryNum(other.getEntryNum());
}
if (other.hasQueueName()) {
queueName_ = other.queueName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (groupOffsetSizeBuilder_ == null) {
if (!other.groupOffsetSize_.isEmpty()) {
if (groupOffsetSize_.isEmpty()) {
groupOffsetSize_ = other.groupOffsetSize_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.addAll(other.groupOffsetSize_);
}
onChanged();
}
} else {
if (!other.groupOffsetSize_.isEmpty()) {
if (groupOffsetSizeBuilder_.isEmpty()) {
groupOffsetSizeBuilder_.dispose();
groupOffsetSizeBuilder_ = null;
groupOffsetSize_ = other.groupOffsetSize_;
bitField0_ = (bitField0_ & ~0x00000004);
groupOffsetSizeBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupOffsetSizeFieldBuilder() : null;
} else {
groupOffsetSizeBuilder_.addAllMessages(other.groupOffsetSize_);
}
}
}
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: {
entryNum_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
queueName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
doris.io.cache.FileCache.EntryGroupOffsetSizePb m =
input.readMessage(
doris.io.cache.FileCache.EntryGroupOffsetSizePb.PARSER,
extensionRegistry);
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.add(m);
} else {
groupOffsetSizeBuilder_.addMessage(m);
}
break;
} // case 26
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 long entryNum_ ;
/**
* <code>optional uint64 entry_num = 1;</code>
* @return Whether the entryNum field is set.
*/
@java.lang.Override
public boolean hasEntryNum() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional uint64 entry_num = 1;</code>
* @return The entryNum.
*/
@java.lang.Override
public long getEntryNum() {
return entryNum_;
}
/**
* <code>optional uint64 entry_num = 1;</code>
* @param value The entryNum to set.
* @return This builder for chaining.
*/
public Builder setEntryNum(long value) {
entryNum_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional uint64 entry_num = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEntryNum() {
bitField0_ = (bitField0_ & ~0x00000001);
entryNum_ = 0L;
onChanged();
return this;
}
private java.lang.Object queueName_ = "";
/**
* <code>optional string queue_name = 2;</code>
* @return Whether the queueName field is set.
*/
public boolean hasQueueName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string queue_name = 2;</code>
* @return The queueName.
*/
public java.lang.String getQueueName() {
java.lang.Object ref = queueName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
queueName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string queue_name = 2;</code>
* @return The bytes for queueName.
*/
public com.google.protobuf.ByteString
getQueueNameBytes() {
java.lang.Object ref = queueName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queueName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string queue_name = 2;</code>
* @param value The queueName to set.
* @return This builder for chaining.
*/
public Builder setQueueName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
queueName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string queue_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearQueueName() {
queueName_ = getDefaultInstance().getQueueName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string queue_name = 2;</code>
* @param value The bytes for queueName to set.
* @return This builder for chaining.
*/
public Builder setQueueNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
queueName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb> groupOffsetSize_ =
java.util.Collections.emptyList();
private void ensureGroupOffsetSizeIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
groupOffsetSize_ = new java.util.ArrayList<doris.io.cache.FileCache.EntryGroupOffsetSizePb>(groupOffsetSize_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.EntryGroupOffsetSizePb, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder, doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder> groupOffsetSizeBuilder_;
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb> getGroupOffsetSizeList() {
if (groupOffsetSizeBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupOffsetSize_);
} else {
return groupOffsetSizeBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public int getGroupOffsetSizeCount() {
if (groupOffsetSizeBuilder_ == null) {
return groupOffsetSize_.size();
} else {
return groupOffsetSizeBuilder_.getCount();
}
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public doris.io.cache.FileCache.EntryGroupOffsetSizePb getGroupOffsetSize(int index) {
if (groupOffsetSizeBuilder_ == null) {
return groupOffsetSize_.get(index);
} else {
return groupOffsetSizeBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder setGroupOffsetSize(
int index, doris.io.cache.FileCache.EntryGroupOffsetSizePb value) {
if (groupOffsetSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.set(index, value);
onChanged();
} else {
groupOffsetSizeBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder setGroupOffsetSize(
int index, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder builderForValue) {
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.set(index, builderForValue.build());
onChanged();
} else {
groupOffsetSizeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder addGroupOffsetSize(doris.io.cache.FileCache.EntryGroupOffsetSizePb value) {
if (groupOffsetSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.add(value);
onChanged();
} else {
groupOffsetSizeBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder addGroupOffsetSize(
int index, doris.io.cache.FileCache.EntryGroupOffsetSizePb value) {
if (groupOffsetSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.add(index, value);
onChanged();
} else {
groupOffsetSizeBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder addGroupOffsetSize(
doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder builderForValue) {
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.add(builderForValue.build());
onChanged();
} else {
groupOffsetSizeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder addGroupOffsetSize(
int index, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder builderForValue) {
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.add(index, builderForValue.build());
onChanged();
} else {
groupOffsetSizeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder addAllGroupOffsetSize(
java.lang.Iterable<? extends doris.io.cache.FileCache.EntryGroupOffsetSizePb> values) {
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupOffsetSize_);
onChanged();
} else {
groupOffsetSizeBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder clearGroupOffsetSize() {
if (groupOffsetSizeBuilder_ == null) {
groupOffsetSize_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
groupOffsetSizeBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public Builder removeGroupOffsetSize(int index) {
if (groupOffsetSizeBuilder_ == null) {
ensureGroupOffsetSizeIsMutable();
groupOffsetSize_.remove(index);
onChanged();
} else {
groupOffsetSizeBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder getGroupOffsetSizeBuilder(
int index) {
return getGroupOffsetSizeFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder getGroupOffsetSizeOrBuilder(
int index) {
if (groupOffsetSizeBuilder_ == null) {
return groupOffsetSize_.get(index); } else {
return groupOffsetSizeBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public java.util.List<? extends doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder>
getGroupOffsetSizeOrBuilderList() {
if (groupOffsetSizeBuilder_ != null) {
return groupOffsetSizeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupOffsetSize_);
}
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder addGroupOffsetSizeBuilder() {
return getGroupOffsetSizeFieldBuilder().addBuilder(
doris.io.cache.FileCache.EntryGroupOffsetSizePb.getDefaultInstance());
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder addGroupOffsetSizeBuilder(
int index) {
return getGroupOffsetSizeFieldBuilder().addBuilder(
index, doris.io.cache.FileCache.EntryGroupOffsetSizePb.getDefaultInstance());
}
/**
* <code>repeated .doris.io.cache.EntryGroupOffsetSizePb group_offset_size = 3;</code>
*/
public java.util.List<doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder>
getGroupOffsetSizeBuilderList() {
return getGroupOffsetSizeFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.EntryGroupOffsetSizePb, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder, doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder>
getGroupOffsetSizeFieldBuilder() {
if (groupOffsetSizeBuilder_ == null) {
groupOffsetSizeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
doris.io.cache.FileCache.EntryGroupOffsetSizePb, doris.io.cache.FileCache.EntryGroupOffsetSizePb.Builder, doris.io.cache.FileCache.EntryGroupOffsetSizePbOrBuilder>(
groupOffsetSize_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
groupOffsetSize_ = null;
}
return groupOffsetSizeBuilder_;
}
@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:doris.io.cache.LRUDumpMetaPb)
}
// @@protoc_insertion_point(class_scope:doris.io.cache.LRUDumpMetaPb)
private static final doris.io.cache.FileCache.LRUDumpMetaPb DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new doris.io.cache.FileCache.LRUDumpMetaPb();
}
public static doris.io.cache.FileCache.LRUDumpMetaPb getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LRUDumpMetaPb>
PARSER = new com.google.protobuf.AbstractParser<LRUDumpMetaPb>() {
@java.lang.Override
public LRUDumpMetaPb 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<LRUDumpMetaPb> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LRUDumpMetaPb> getParserForType() {
return PARSER;
}
@java.lang.Override
public doris.io.cache.FileCache.LRUDumpMetaPb getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_io_cache_UInt128WrapperPb_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_io_cache_UInt128WrapperPb_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_io_cache_LRUDumpEntryPb_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_io_cache_LRUDumpEntryPb_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_io_cache_LRUDumpEntryGroupPb_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_io_cache_EntryGroupOffsetSizePb_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_io_cache_LRUDumpMetaPb_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_io_cache_LRUDumpMetaPb_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\020file_cache.proto\022\016doris.io.cache\"-\n\020UI" +
"nt128WrapperPb\022\014\n\004high\030\001 \001(\004\022\013\n\003low\030\002 \001(" +
"\004\"^\n\016LRUDumpEntryPb\022.\n\004hash\030\001 \001(\0132 .dori" +
"s.io.cache.UInt128WrapperPb\022\016\n\006offset\030\002 " +
"\001(\004\022\014\n\004size\030\003 \001(\004\"F\n\023LRUDumpEntryGroupPb" +
"\022/\n\007entries\030\001 \003(\0132\036.doris.io.cache.LRUDu" +
"mpEntryPb\"H\n\026EntryGroupOffsetSizePb\022\016\n\006o" +
"ffset\030\001 \001(\004\022\014\n\004size\030\002 \001(\004\022\020\n\010checksum\030\003 " +
"\001(\r\"y\n\rLRUDumpMetaPb\022\021\n\tentry_num\030\001 \001(\004\022" +
"\022\n\nqueue_name\030\002 \001(\t\022A\n\021group_offset_size" +
"\030\003 \003(\0132&.doris.io.cache.EntryGroupOffset" +
"SizePb"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_doris_io_cache_UInt128WrapperPb_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_doris_io_cache_UInt128WrapperPb_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_io_cache_UInt128WrapperPb_descriptor,
new java.lang.String[] { "High", "Low", });
internal_static_doris_io_cache_LRUDumpEntryPb_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_doris_io_cache_LRUDumpEntryPb_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_io_cache_LRUDumpEntryPb_descriptor,
new java.lang.String[] { "Hash", "Offset", "Size", });
internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_doris_io_cache_LRUDumpEntryGroupPb_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_io_cache_LRUDumpEntryGroupPb_descriptor,
new java.lang.String[] { "Entries", });
internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_doris_io_cache_EntryGroupOffsetSizePb_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_io_cache_EntryGroupOffsetSizePb_descriptor,
new java.lang.String[] { "Offset", "Size", "Checksum", });
internal_static_doris_io_cache_LRUDumpMetaPb_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_doris_io_cache_LRUDumpMetaPb_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_io_cache_LRUDumpMetaPb_descriptor,
new java.lang.String[] { "EntryNum", "QueueName", "GroupOffsetSize", });
}
// @@protoc_insertion_point(outer_class_scope)
}