// Generated by the protocol buffer compiler. DO NOT EDIT! // source: journal/key_value.proto package alluxio.proto.journal; public final class KeyValue { private KeyValue() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface CompletePartitionEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 store_id = 1; /** * <code>optional int64 store_id = 1;</code> */ boolean hasStoreId(); /** * <code>optional int64 store_id = 1;</code> */ long getStoreId(); // optional string key_start = 2; /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ boolean hasKeyStart(); /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ java.lang.String getKeyStart(); /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ com.google.protobuf.ByteString getKeyStartBytes(); // optional string key_limit = 3; /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ boolean hasKeyLimit(); /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ java.lang.String getKeyLimit(); /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ com.google.protobuf.ByteString getKeyLimitBytes(); // optional int64 block_id = 4; /** * <code>optional int64 block_id = 4;</code> */ boolean hasBlockId(); /** * <code>optional int64 block_id = 4;</code> */ long getBlockId(); // optional int32 key_count = 5; /** * <code>optional int32 key_count = 5;</code> */ boolean hasKeyCount(); /** * <code>optional int32 key_count = 5;</code> */ int getKeyCount(); } /** * Protobuf type {@code alluxio.proto.journal.CompletePartitionEntry} * * <pre> * next available id: 6 * </pre> */ public static final class CompletePartitionEntry extends com.google.protobuf.GeneratedMessage implements CompletePartitionEntryOrBuilder { // Use CompletePartitionEntry.newBuilder() to construct. private CompletePartitionEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CompletePartitionEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CompletePartitionEntry defaultInstance; public static CompletePartitionEntry getDefaultInstance() { return defaultInstance; } public CompletePartitionEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompletePartitionEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; storeId_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; keyStart_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; keyLimit_ = input.readBytes(); break; } case 32: { bitField0_ |= 0x00000008; blockId_ = input.readInt64(); break; } case 40: { bitField0_ |= 0x00000010; keyCount_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompletePartitionEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CompletePartitionEntry.class, alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder.class); } public static com.google.protobuf.Parser<CompletePartitionEntry> PARSER = new com.google.protobuf.AbstractParser<CompletePartitionEntry>() { public CompletePartitionEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CompletePartitionEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CompletePartitionEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 store_id = 1; public static final int STORE_ID_FIELD_NUMBER = 1; private long storeId_; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } // optional string key_start = 2; public static final int KEY_START_FIELD_NUMBER = 2; private java.lang.Object keyStart_; /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public boolean hasKeyStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public java.lang.String getKeyStart() { java.lang.Object ref = keyStart_; 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()) { keyStart_ = s; } return s; } } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public com.google.protobuf.ByteString getKeyStartBytes() { java.lang.Object ref = keyStart_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string key_limit = 3; public static final int KEY_LIMIT_FIELD_NUMBER = 3; private java.lang.Object keyLimit_; /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public boolean hasKeyLimit() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public java.lang.String getKeyLimit() { java.lang.Object ref = keyLimit_; 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()) { keyLimit_ = s; } return s; } } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public com.google.protobuf.ByteString getKeyLimitBytes() { java.lang.Object ref = keyLimit_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyLimit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 block_id = 4; public static final int BLOCK_ID_FIELD_NUMBER = 4; private long blockId_; /** * <code>optional int64 block_id = 4;</code> */ public boolean hasBlockId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int64 block_id = 4;</code> */ public long getBlockId() { return blockId_; } // optional int32 key_count = 5; public static final int KEY_COUNT_FIELD_NUMBER = 5; private int keyCount_; /** * <code>optional int32 key_count = 5;</code> */ public boolean hasKeyCount() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 key_count = 5;</code> */ public int getKeyCount() { return keyCount_; } private void initFields() { storeId_ = 0L; keyStart_ = ""; keyLimit_ = ""; blockId_ = 0L; keyCount_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, storeId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getKeyStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getKeyLimitBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, blockId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, keyCount_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, storeId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getKeyStartBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getKeyLimitBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, blockId_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, keyCount_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CompletePartitionEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.CompletePartitionEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.CompletePartitionEntry} * * <pre> * next available id: 6 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompletePartitionEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CompletePartitionEntry.class, alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.CompletePartitionEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); storeId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); keyStart_ = ""; bitField0_ = (bitField0_ & ~0x00000002); keyLimit_ = ""; bitField0_ = (bitField0_ & ~0x00000004); blockId_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); keyCount_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor; } public alluxio.proto.journal.KeyValue.CompletePartitionEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.CompletePartitionEntry build() { alluxio.proto.journal.KeyValue.CompletePartitionEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.CompletePartitionEntry buildPartial() { alluxio.proto.journal.KeyValue.CompletePartitionEntry result = new alluxio.proto.journal.KeyValue.CompletePartitionEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.storeId_ = storeId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.keyStart_ = keyStart_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.keyLimit_ = keyLimit_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.blockId_ = blockId_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.keyCount_ = keyCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.CompletePartitionEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.CompletePartitionEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.CompletePartitionEntry other) { if (other == alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance()) return this; if (other.hasStoreId()) { setStoreId(other.getStoreId()); } if (other.hasKeyStart()) { bitField0_ |= 0x00000002; keyStart_ = other.keyStart_; onChanged(); } if (other.hasKeyLimit()) { bitField0_ |= 0x00000004; keyLimit_ = other.keyLimit_; onChanged(); } if (other.hasBlockId()) { setBlockId(other.getBlockId()); } if (other.hasKeyCount()) { setKeyCount(other.getKeyCount()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.CompletePartitionEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.CompletePartitionEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 store_id = 1; private long storeId_ ; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } /** * <code>optional int64 store_id = 1;</code> */ public Builder setStoreId(long value) { bitField0_ |= 0x00000001; storeId_ = value; onChanged(); return this; } /** * <code>optional int64 store_id = 1;</code> */ public Builder clearStoreId() { bitField0_ = (bitField0_ & ~0x00000001); storeId_ = 0L; onChanged(); return this; } // optional string key_start = 2; private java.lang.Object keyStart_ = ""; /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public boolean hasKeyStart() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public java.lang.String getKeyStart() { java.lang.Object ref = keyStart_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); keyStart_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public com.google.protobuf.ByteString getKeyStartBytes() { java.lang.Object ref = keyStart_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyStart_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public Builder setKeyStart( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; keyStart_ = value; onChanged(); return this; } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public Builder clearKeyStart() { bitField0_ = (bitField0_ & ~0x00000002); keyStart_ = getDefaultInstance().getKeyStart(); onChanged(); return this; } /** * <code>optional string key_start = 2;</code> * * <pre> * inclusive * </pre> */ public Builder setKeyStartBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; keyStart_ = value; onChanged(); return this; } // optional string key_limit = 3; private java.lang.Object keyLimit_ = ""; /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public boolean hasKeyLimit() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public java.lang.String getKeyLimit() { java.lang.Object ref = keyLimit_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); keyLimit_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public com.google.protobuf.ByteString getKeyLimitBytes() { java.lang.Object ref = keyLimit_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyLimit_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public Builder setKeyLimit( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; keyLimit_ = value; onChanged(); return this; } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public Builder clearKeyLimit() { bitField0_ = (bitField0_ & ~0x00000004); keyLimit_ = getDefaultInstance().getKeyLimit(); onChanged(); return this; } /** * <code>optional string key_limit = 3;</code> * * <pre> * inclusive * </pre> */ public Builder setKeyLimitBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; keyLimit_ = value; onChanged(); return this; } // optional int64 block_id = 4; private long blockId_ ; /** * <code>optional int64 block_id = 4;</code> */ public boolean hasBlockId() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int64 block_id = 4;</code> */ public long getBlockId() { return blockId_; } /** * <code>optional int64 block_id = 4;</code> */ public Builder setBlockId(long value) { bitField0_ |= 0x00000008; blockId_ = value; onChanged(); return this; } /** * <code>optional int64 block_id = 4;</code> */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000008); blockId_ = 0L; onChanged(); return this; } // optional int32 key_count = 5; private int keyCount_ ; /** * <code>optional int32 key_count = 5;</code> */ public boolean hasKeyCount() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional int32 key_count = 5;</code> */ public int getKeyCount() { return keyCount_; } /** * <code>optional int32 key_count = 5;</code> */ public Builder setKeyCount(int value) { bitField0_ |= 0x00000010; keyCount_ = value; onChanged(); return this; } /** * <code>optional int32 key_count = 5;</code> */ public Builder clearKeyCount() { bitField0_ = (bitField0_ & ~0x00000010); keyCount_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.CompletePartitionEntry) } static { defaultInstance = new CompletePartitionEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.CompletePartitionEntry) } public interface CompleteStoreEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 store_id = 1; /** * <code>optional int64 store_id = 1;</code> */ boolean hasStoreId(); /** * <code>optional int64 store_id = 1;</code> */ long getStoreId(); } /** * Protobuf type {@code alluxio.proto.journal.CompleteStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class CompleteStoreEntry extends com.google.protobuf.GeneratedMessage implements CompleteStoreEntryOrBuilder { // Use CompleteStoreEntry.newBuilder() to construct. private CompleteStoreEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CompleteStoreEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CompleteStoreEntry defaultInstance; public static CompleteStoreEntry getDefaultInstance() { return defaultInstance; } public CompleteStoreEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompleteStoreEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; storeId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompleteStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CompleteStoreEntry.class, alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder.class); } public static com.google.protobuf.Parser<CompleteStoreEntry> PARSER = new com.google.protobuf.AbstractParser<CompleteStoreEntry>() { public CompleteStoreEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CompleteStoreEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CompleteStoreEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 store_id = 1; public static final int STORE_ID_FIELD_NUMBER = 1; private long storeId_; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } private void initFields() { storeId_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, storeId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, storeId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CompleteStoreEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.CompleteStoreEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.CompleteStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompleteStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CompleteStoreEntry.class, alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.CompleteStoreEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); storeId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor; } public alluxio.proto.journal.KeyValue.CompleteStoreEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.CompleteStoreEntry build() { alluxio.proto.journal.KeyValue.CompleteStoreEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.CompleteStoreEntry buildPartial() { alluxio.proto.journal.KeyValue.CompleteStoreEntry result = new alluxio.proto.journal.KeyValue.CompleteStoreEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.storeId_ = storeId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.CompleteStoreEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.CompleteStoreEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.CompleteStoreEntry other) { if (other == alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance()) return this; if (other.hasStoreId()) { setStoreId(other.getStoreId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.CompleteStoreEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.CompleteStoreEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 store_id = 1; private long storeId_ ; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } /** * <code>optional int64 store_id = 1;</code> */ public Builder setStoreId(long value) { bitField0_ |= 0x00000001; storeId_ = value; onChanged(); return this; } /** * <code>optional int64 store_id = 1;</code> */ public Builder clearStoreId() { bitField0_ = (bitField0_ & ~0x00000001); storeId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.CompleteStoreEntry) } static { defaultInstance = new CompleteStoreEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.CompleteStoreEntry) } public interface CreateStoreEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 store_id = 1; /** * <code>optional int64 store_id = 1;</code> */ boolean hasStoreId(); /** * <code>optional int64 store_id = 1;</code> */ long getStoreId(); } /** * Protobuf type {@code alluxio.proto.journal.CreateStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class CreateStoreEntry extends com.google.protobuf.GeneratedMessage implements CreateStoreEntryOrBuilder { // Use CreateStoreEntry.newBuilder() to construct. private CreateStoreEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private CreateStoreEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final CreateStoreEntry defaultInstance; public static CreateStoreEntry getDefaultInstance() { return defaultInstance; } public CreateStoreEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateStoreEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; storeId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CreateStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CreateStoreEntry.class, alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder.class); } public static com.google.protobuf.Parser<CreateStoreEntry> PARSER = new com.google.protobuf.AbstractParser<CreateStoreEntry>() { public CreateStoreEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateStoreEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<CreateStoreEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 store_id = 1; public static final int STORE_ID_FIELD_NUMBER = 1; private long storeId_; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } private void initFields() { storeId_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, storeId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, storeId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.CreateStoreEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.CreateStoreEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.CreateStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CreateStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.CreateStoreEntry.class, alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.CreateStoreEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); storeId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor; } public alluxio.proto.journal.KeyValue.CreateStoreEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.CreateStoreEntry build() { alluxio.proto.journal.KeyValue.CreateStoreEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.CreateStoreEntry buildPartial() { alluxio.proto.journal.KeyValue.CreateStoreEntry result = new alluxio.proto.journal.KeyValue.CreateStoreEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.storeId_ = storeId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.CreateStoreEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.CreateStoreEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.CreateStoreEntry other) { if (other == alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance()) return this; if (other.hasStoreId()) { setStoreId(other.getStoreId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.CreateStoreEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.CreateStoreEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 store_id = 1; private long storeId_ ; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } /** * <code>optional int64 store_id = 1;</code> */ public Builder setStoreId(long value) { bitField0_ |= 0x00000001; storeId_ = value; onChanged(); return this; } /** * <code>optional int64 store_id = 1;</code> */ public Builder clearStoreId() { bitField0_ = (bitField0_ & ~0x00000001); storeId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.CreateStoreEntry) } static { defaultInstance = new CreateStoreEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.CreateStoreEntry) } public interface DeleteStoreEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 store_id = 1; /** * <code>optional int64 store_id = 1;</code> */ boolean hasStoreId(); /** * <code>optional int64 store_id = 1;</code> */ long getStoreId(); } /** * Protobuf type {@code alluxio.proto.journal.DeleteStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class DeleteStoreEntry extends com.google.protobuf.GeneratedMessage implements DeleteStoreEntryOrBuilder { // Use DeleteStoreEntry.newBuilder() to construct. private DeleteStoreEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DeleteStoreEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DeleteStoreEntry defaultInstance; public static DeleteStoreEntry getDefaultInstance() { return defaultInstance; } public DeleteStoreEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteStoreEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; storeId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_DeleteStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.DeleteStoreEntry.class, alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder.class); } public static com.google.protobuf.Parser<DeleteStoreEntry> PARSER = new com.google.protobuf.AbstractParser<DeleteStoreEntry>() { public DeleteStoreEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteStoreEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<DeleteStoreEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 store_id = 1; public static final int STORE_ID_FIELD_NUMBER = 1; private long storeId_; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } private void initFields() { storeId_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, storeId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, storeId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.DeleteStoreEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.DeleteStoreEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.DeleteStoreEntry} * * <pre> * next available id: 2 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_DeleteStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.DeleteStoreEntry.class, alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.DeleteStoreEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); storeId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor; } public alluxio.proto.journal.KeyValue.DeleteStoreEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.DeleteStoreEntry build() { alluxio.proto.journal.KeyValue.DeleteStoreEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.DeleteStoreEntry buildPartial() { alluxio.proto.journal.KeyValue.DeleteStoreEntry result = new alluxio.proto.journal.KeyValue.DeleteStoreEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.storeId_ = storeId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.DeleteStoreEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.DeleteStoreEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.DeleteStoreEntry other) { if (other == alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance()) return this; if (other.hasStoreId()) { setStoreId(other.getStoreId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.DeleteStoreEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.DeleteStoreEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 store_id = 1; private long storeId_ ; /** * <code>optional int64 store_id = 1;</code> */ public boolean hasStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 store_id = 1;</code> */ public long getStoreId() { return storeId_; } /** * <code>optional int64 store_id = 1;</code> */ public Builder setStoreId(long value) { bitField0_ |= 0x00000001; storeId_ = value; onChanged(); return this; } /** * <code>optional int64 store_id = 1;</code> */ public Builder clearStoreId() { bitField0_ = (bitField0_ & ~0x00000001); storeId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.DeleteStoreEntry) } static { defaultInstance = new DeleteStoreEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.DeleteStoreEntry) } public interface RenameStoreEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 old_store_id = 1; /** * <code>optional int64 old_store_id = 1;</code> */ boolean hasOldStoreId(); /** * <code>optional int64 old_store_id = 1;</code> */ long getOldStoreId(); // optional int64 new_store_id = 2; /** * <code>optional int64 new_store_id = 2;</code> */ boolean hasNewStoreId(); /** * <code>optional int64 new_store_id = 2;</code> */ long getNewStoreId(); } /** * Protobuf type {@code alluxio.proto.journal.RenameStoreEntry} * * <pre> * next available id: 3 * </pre> */ public static final class RenameStoreEntry extends com.google.protobuf.GeneratedMessage implements RenameStoreEntryOrBuilder { // Use RenameStoreEntry.newBuilder() to construct. private RenameStoreEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RenameStoreEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RenameStoreEntry defaultInstance; public static RenameStoreEntry getDefaultInstance() { return defaultInstance; } public RenameStoreEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RenameStoreEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; oldStoreId_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; newStoreId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_RenameStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.RenameStoreEntry.class, alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder.class); } public static com.google.protobuf.Parser<RenameStoreEntry> PARSER = new com.google.protobuf.AbstractParser<RenameStoreEntry>() { public RenameStoreEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RenameStoreEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<RenameStoreEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 old_store_id = 1; public static final int OLD_STORE_ID_FIELD_NUMBER = 1; private long oldStoreId_; /** * <code>optional int64 old_store_id = 1;</code> */ public boolean hasOldStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 old_store_id = 1;</code> */ public long getOldStoreId() { return oldStoreId_; } // optional int64 new_store_id = 2; public static final int NEW_STORE_ID_FIELD_NUMBER = 2; private long newStoreId_; /** * <code>optional int64 new_store_id = 2;</code> */ public boolean hasNewStoreId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int64 new_store_id = 2;</code> */ public long getNewStoreId() { return newStoreId_; } private void initFields() { oldStoreId_ = 0L; newStoreId_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, oldStoreId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, newStoreId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, oldStoreId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, newStoreId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.RenameStoreEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.RenameStoreEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.RenameStoreEntry} * * <pre> * next available id: 3 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_RenameStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.RenameStoreEntry.class, alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.RenameStoreEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); oldStoreId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); newStoreId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor; } public alluxio.proto.journal.KeyValue.RenameStoreEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.RenameStoreEntry build() { alluxio.proto.journal.KeyValue.RenameStoreEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.RenameStoreEntry buildPartial() { alluxio.proto.journal.KeyValue.RenameStoreEntry result = new alluxio.proto.journal.KeyValue.RenameStoreEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.oldStoreId_ = oldStoreId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.newStoreId_ = newStoreId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.RenameStoreEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.RenameStoreEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.RenameStoreEntry other) { if (other == alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance()) return this; if (other.hasOldStoreId()) { setOldStoreId(other.getOldStoreId()); } if (other.hasNewStoreId()) { setNewStoreId(other.getNewStoreId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.RenameStoreEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.RenameStoreEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 old_store_id = 1; private long oldStoreId_ ; /** * <code>optional int64 old_store_id = 1;</code> */ public boolean hasOldStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 old_store_id = 1;</code> */ public long getOldStoreId() { return oldStoreId_; } /** * <code>optional int64 old_store_id = 1;</code> */ public Builder setOldStoreId(long value) { bitField0_ |= 0x00000001; oldStoreId_ = value; onChanged(); return this; } /** * <code>optional int64 old_store_id = 1;</code> */ public Builder clearOldStoreId() { bitField0_ = (bitField0_ & ~0x00000001); oldStoreId_ = 0L; onChanged(); return this; } // optional int64 new_store_id = 2; private long newStoreId_ ; /** * <code>optional int64 new_store_id = 2;</code> */ public boolean hasNewStoreId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int64 new_store_id = 2;</code> */ public long getNewStoreId() { return newStoreId_; } /** * <code>optional int64 new_store_id = 2;</code> */ public Builder setNewStoreId(long value) { bitField0_ |= 0x00000002; newStoreId_ = value; onChanged(); return this; } /** * <code>optional int64 new_store_id = 2;</code> */ public Builder clearNewStoreId() { bitField0_ = (bitField0_ & ~0x00000002); newStoreId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.RenameStoreEntry) } static { defaultInstance = new RenameStoreEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.RenameStoreEntry) } public interface MergeStoreEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 from_store_id = 1; /** * <code>optional int64 from_store_id = 1;</code> */ boolean hasFromStoreId(); /** * <code>optional int64 from_store_id = 1;</code> */ long getFromStoreId(); // optional int64 to_store_id = 2; /** * <code>optional int64 to_store_id = 2;</code> */ boolean hasToStoreId(); /** * <code>optional int64 to_store_id = 2;</code> */ long getToStoreId(); } /** * Protobuf type {@code alluxio.proto.journal.MergeStoreEntry} * * <pre> * next available id: 3 * </pre> */ public static final class MergeStoreEntry extends com.google.protobuf.GeneratedMessage implements MergeStoreEntryOrBuilder { // Use MergeStoreEntry.newBuilder() to construct. private MergeStoreEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private MergeStoreEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final MergeStoreEntry defaultInstance; public static MergeStoreEntry getDefaultInstance() { return defaultInstance; } public MergeStoreEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MergeStoreEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; fromStoreId_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; toStoreId_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_MergeStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.MergeStoreEntry.class, alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder.class); } public static com.google.protobuf.Parser<MergeStoreEntry> PARSER = new com.google.protobuf.AbstractParser<MergeStoreEntry>() { public MergeStoreEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MergeStoreEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<MergeStoreEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 from_store_id = 1; public static final int FROM_STORE_ID_FIELD_NUMBER = 1; private long fromStoreId_; /** * <code>optional int64 from_store_id = 1;</code> */ public boolean hasFromStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 from_store_id = 1;</code> */ public long getFromStoreId() { return fromStoreId_; } // optional int64 to_store_id = 2; public static final int TO_STORE_ID_FIELD_NUMBER = 2; private long toStoreId_; /** * <code>optional int64 to_store_id = 2;</code> */ public boolean hasToStoreId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int64 to_store_id = 2;</code> */ public long getToStoreId() { return toStoreId_; } private void initFields() { fromStoreId_ = 0L; toStoreId_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, fromStoreId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, toStoreId_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, fromStoreId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, toStoreId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.KeyValue.MergeStoreEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(alluxio.proto.journal.KeyValue.MergeStoreEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code alluxio.proto.journal.MergeStoreEntry} * * <pre> * next available id: 3 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_MergeStoreEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.KeyValue.MergeStoreEntry.class, alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder.class); } // Construct using alluxio.proto.journal.KeyValue.MergeStoreEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); fromStoreId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); toStoreId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.KeyValue.internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor; } public alluxio.proto.journal.KeyValue.MergeStoreEntry getDefaultInstanceForType() { return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance(); } public alluxio.proto.journal.KeyValue.MergeStoreEntry build() { alluxio.proto.journal.KeyValue.MergeStoreEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.KeyValue.MergeStoreEntry buildPartial() { alluxio.proto.journal.KeyValue.MergeStoreEntry result = new alluxio.proto.journal.KeyValue.MergeStoreEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.fromStoreId_ = fromStoreId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.toStoreId_ = toStoreId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.KeyValue.MergeStoreEntry) { return mergeFrom((alluxio.proto.journal.KeyValue.MergeStoreEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.KeyValue.MergeStoreEntry other) { if (other == alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance()) return this; if (other.hasFromStoreId()) { setFromStoreId(other.getFromStoreId()); } if (other.hasToStoreId()) { setToStoreId(other.getToStoreId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.KeyValue.MergeStoreEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.KeyValue.MergeStoreEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 from_store_id = 1; private long fromStoreId_ ; /** * <code>optional int64 from_store_id = 1;</code> */ public boolean hasFromStoreId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 from_store_id = 1;</code> */ public long getFromStoreId() { return fromStoreId_; } /** * <code>optional int64 from_store_id = 1;</code> */ public Builder setFromStoreId(long value) { bitField0_ |= 0x00000001; fromStoreId_ = value; onChanged(); return this; } /** * <code>optional int64 from_store_id = 1;</code> */ public Builder clearFromStoreId() { bitField0_ = (bitField0_ & ~0x00000001); fromStoreId_ = 0L; onChanged(); return this; } // optional int64 to_store_id = 2; private long toStoreId_ ; /** * <code>optional int64 to_store_id = 2;</code> */ public boolean hasToStoreId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional int64 to_store_id = 2;</code> */ public long getToStoreId() { return toStoreId_; } /** * <code>optional int64 to_store_id = 2;</code> */ public Builder setToStoreId(long value) { bitField0_ |= 0x00000002; toStoreId_ = value; onChanged(); return this; } /** * <code>optional int64 to_store_id = 2;</code> */ public Builder clearToStoreId() { bitField0_ = (bitField0_ & ~0x00000002); toStoreId_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.MergeStoreEntry) } static { defaultInstance = new MergeStoreEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.MergeStoreEntry) } private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_CompletePartitionEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_CompleteStoreEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_CreateStoreEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_DeleteStoreEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_RenameStoreEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_MergeStoreEntry_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\027journal/key_value.proto\022\025alluxio.proto" + ".journal\"u\n\026CompletePartitionEntry\022\020\n\010st" + "ore_id\030\001 \001(\003\022\021\n\tkey_start\030\002 \001(\t\022\021\n\tkey_l" + "imit\030\003 \001(\t\022\020\n\010block_id\030\004 \001(\003\022\021\n\tkey_coun" + "t\030\005 \001(\005\"&\n\022CompleteStoreEntry\022\020\n\010store_i" + "d\030\001 \001(\003\"$\n\020CreateStoreEntry\022\020\n\010store_id\030" + "\001 \001(\003\"$\n\020DeleteStoreEntry\022\020\n\010store_id\030\001 " + "\001(\003\">\n\020RenameStoreEntry\022\024\n\014old_store_id\030" + "\001 \001(\003\022\024\n\014new_store_id\030\002 \001(\003\"=\n\017MergeStor" + "eEntry\022\025\n\rfrom_store_id\030\001 \001(\003\022\023\n\013to_stor", "e_id\030\002 \001(\003" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_alluxio_proto_journal_CompletePartitionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_CompletePartitionEntry_descriptor, new java.lang.String[] { "StoreId", "KeyStart", "KeyLimit", "BlockId", "KeyCount", }); internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_alluxio_proto_journal_CompleteStoreEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_CompleteStoreEntry_descriptor, new java.lang.String[] { "StoreId", }); internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_alluxio_proto_journal_CreateStoreEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_CreateStoreEntry_descriptor, new java.lang.String[] { "StoreId", }); internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_alluxio_proto_journal_DeleteStoreEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_DeleteStoreEntry_descriptor, new java.lang.String[] { "StoreId", }); internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_alluxio_proto_journal_RenameStoreEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_RenameStoreEntry_descriptor, new java.lang.String[] { "OldStoreId", "NewStoreId", }); internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_alluxio_proto_journal_MergeStoreEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_MergeStoreEntry_descriptor, new java.lang.String[] { "FromStoreId", "ToStoreId", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }