// Generated by the protocol buffer compiler. DO NOT EDIT! // source: journal/lineage.proto package alluxio.proto.journal; public final class Lineage { private Lineage() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public interface DeleteLineageEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 lineage_id = 1; /** * <code>optional int64 lineage_id = 1;</code> */ boolean hasLineageId(); /** * <code>optional int64 lineage_id = 1;</code> */ long getLineageId(); // optional bool cascade = 2; /** * <code>optional bool cascade = 2;</code> */ boolean hasCascade(); /** * <code>optional bool cascade = 2;</code> */ boolean getCascade(); } /** * Protobuf type {@code alluxio.proto.journal.DeleteLineageEntry} * * <pre> * next available id: 3 * </pre> */ public static final class DeleteLineageEntry extends com.google.protobuf.GeneratedMessage implements DeleteLineageEntryOrBuilder { // Use DeleteLineageEntry.newBuilder() to construct. private DeleteLineageEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DeleteLineageEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DeleteLineageEntry defaultInstance; public static DeleteLineageEntry getDefaultInstance() { return defaultInstance; } public DeleteLineageEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteLineageEntry( 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; lineageId_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; cascade_ = input.readBool(); 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.Lineage.internal_static_alluxio_proto_journal_DeleteLineageEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_DeleteLineageEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.DeleteLineageEntry.class, alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder.class); } public static com.google.protobuf.Parser<DeleteLineageEntry> PARSER = new com.google.protobuf.AbstractParser<DeleteLineageEntry>() { public DeleteLineageEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteLineageEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<DeleteLineageEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 lineage_id = 1; public static final int LINEAGE_ID_FIELD_NUMBER = 1; private long lineageId_; /** * <code>optional int64 lineage_id = 1;</code> */ public boolean hasLineageId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 lineage_id = 1;</code> */ public long getLineageId() { return lineageId_; } // optional bool cascade = 2; public static final int CASCADE_FIELD_NUMBER = 2; private boolean cascade_; /** * <code>optional bool cascade = 2;</code> */ public boolean hasCascade() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bool cascade = 2;</code> */ public boolean getCascade() { return cascade_; } private void initFields() { lineageId_ = 0L; cascade_ = false; } 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, lineageId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, cascade_); } 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, lineageId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, cascade_); } 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.Lineage.DeleteLineageEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry 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.Lineage.DeleteLineageEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.DeleteLineageEntry 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.Lineage.DeleteLineageEntry 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.DeleteLineageEntry} * * <pre> * next available id: 3 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_DeleteLineageEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_DeleteLineageEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.DeleteLineageEntry.class, alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder.class); } // Construct using alluxio.proto.journal.Lineage.DeleteLineageEntry.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(); lineageId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); cascade_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_DeleteLineageEntry_descriptor; } public alluxio.proto.journal.Lineage.DeleteLineageEntry getDefaultInstanceForType() { return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance(); } public alluxio.proto.journal.Lineage.DeleteLineageEntry build() { alluxio.proto.journal.Lineage.DeleteLineageEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.Lineage.DeleteLineageEntry buildPartial() { alluxio.proto.journal.Lineage.DeleteLineageEntry result = new alluxio.proto.journal.Lineage.DeleteLineageEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.lineageId_ = lineageId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.cascade_ = cascade_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.Lineage.DeleteLineageEntry) { return mergeFrom((alluxio.proto.journal.Lineage.DeleteLineageEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Lineage.DeleteLineageEntry other) { if (other == alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance()) return this; if (other.hasLineageId()) { setLineageId(other.getLineageId()); } if (other.hasCascade()) { setCascade(other.getCascade()); } 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.Lineage.DeleteLineageEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.Lineage.DeleteLineageEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 lineage_id = 1; private long lineageId_ ; /** * <code>optional int64 lineage_id = 1;</code> */ public boolean hasLineageId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 lineage_id = 1;</code> */ public long getLineageId() { return lineageId_; } /** * <code>optional int64 lineage_id = 1;</code> */ public Builder setLineageId(long value) { bitField0_ |= 0x00000001; lineageId_ = value; onChanged(); return this; } /** * <code>optional int64 lineage_id = 1;</code> */ public Builder clearLineageId() { bitField0_ = (bitField0_ & ~0x00000001); lineageId_ = 0L; onChanged(); return this; } // optional bool cascade = 2; private boolean cascade_ ; /** * <code>optional bool cascade = 2;</code> */ public boolean hasCascade() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional bool cascade = 2;</code> */ public boolean getCascade() { return cascade_; } /** * <code>optional bool cascade = 2;</code> */ public Builder setCascade(boolean value) { bitField0_ |= 0x00000002; cascade_ = value; onChanged(); return this; } /** * <code>optional bool cascade = 2;</code> */ public Builder clearCascade() { bitField0_ = (bitField0_ & ~0x00000002); cascade_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.DeleteLineageEntry) } static { defaultInstance = new DeleteLineageEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.DeleteLineageEntry) } public interface LineageEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 id = 1; /** * <code>optional int64 id = 1;</code> */ boolean hasId(); /** * <code>optional int64 id = 1;</code> */ long getId(); // repeated int64 input_files = 2; /** * <code>repeated int64 input_files = 2;</code> */ java.util.List<java.lang.Long> getInputFilesList(); /** * <code>repeated int64 input_files = 2;</code> */ int getInputFilesCount(); /** * <code>repeated int64 input_files = 2;</code> */ long getInputFiles(int index); // repeated int64 output_file_ids = 3; /** * <code>repeated int64 output_file_ids = 3;</code> */ java.util.List<java.lang.Long> getOutputFileIdsList(); /** * <code>repeated int64 output_file_ids = 3;</code> */ int getOutputFileIdsCount(); /** * <code>repeated int64 output_file_ids = 3;</code> */ long getOutputFileIds(int index); // optional string job_command = 4; /** * <code>optional string job_command = 4;</code> */ boolean hasJobCommand(); /** * <code>optional string job_command = 4;</code> */ java.lang.String getJobCommand(); /** * <code>optional string job_command = 4;</code> */ com.google.protobuf.ByteString getJobCommandBytes(); // optional string job_output_path = 5; /** * <code>optional string job_output_path = 5;</code> */ boolean hasJobOutputPath(); /** * <code>optional string job_output_path = 5;</code> */ java.lang.String getJobOutputPath(); /** * <code>optional string job_output_path = 5;</code> */ com.google.protobuf.ByteString getJobOutputPathBytes(); // optional int64 creation_time_ms = 6; /** * <code>optional int64 creation_time_ms = 6;</code> */ boolean hasCreationTimeMs(); /** * <code>optional int64 creation_time_ms = 6;</code> */ long getCreationTimeMs(); } /** * Protobuf type {@code alluxio.proto.journal.LineageEntry} * * <pre> * next available id: 7 * </pre> */ public static final class LineageEntry extends com.google.protobuf.GeneratedMessage implements LineageEntryOrBuilder { // Use LineageEntry.newBuilder() to construct. private LineageEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LineageEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LineageEntry defaultInstance; public static LineageEntry getDefaultInstance() { return defaultInstance; } public LineageEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LineageEntry( 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; id_ = input.readInt64(); break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { inputFiles_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000002; } inputFiles_.add(input.readInt64()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { inputFiles_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { inputFiles_.add(input.readInt64()); } input.popLimit(limit); break; } case 24: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { outputFileIds_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000004; } outputFileIds_.add(input.readInt64()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { outputFileIds_ = new java.util.ArrayList<java.lang.Long>(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { outputFileIds_.add(input.readInt64()); } input.popLimit(limit); break; } case 34: { bitField0_ |= 0x00000002; jobCommand_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000004; jobOutputPath_ = input.readBytes(); break; } case 48: { bitField0_ |= 0x00000008; creationTimeMs_ = 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { inputFiles_ = java.util.Collections.unmodifiableList(inputFiles_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { outputFileIds_ = java.util.Collections.unmodifiableList(outputFileIds_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.LineageEntry.class, alluxio.proto.journal.Lineage.LineageEntry.Builder.class); } public static com.google.protobuf.Parser<LineageEntry> PARSER = new com.google.protobuf.AbstractParser<LineageEntry>() { public LineageEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LineageEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<LineageEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 id = 1; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * <code>optional int64 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 id = 1;</code> */ public long getId() { return id_; } // repeated int64 input_files = 2; public static final int INPUT_FILES_FIELD_NUMBER = 2; private java.util.List<java.lang.Long> inputFiles_; /** * <code>repeated int64 input_files = 2;</code> */ public java.util.List<java.lang.Long> getInputFilesList() { return inputFiles_; } /** * <code>repeated int64 input_files = 2;</code> */ public int getInputFilesCount() { return inputFiles_.size(); } /** * <code>repeated int64 input_files = 2;</code> */ public long getInputFiles(int index) { return inputFiles_.get(index); } // repeated int64 output_file_ids = 3; public static final int OUTPUT_FILE_IDS_FIELD_NUMBER = 3; private java.util.List<java.lang.Long> outputFileIds_; /** * <code>repeated int64 output_file_ids = 3;</code> */ public java.util.List<java.lang.Long> getOutputFileIdsList() { return outputFileIds_; } /** * <code>repeated int64 output_file_ids = 3;</code> */ public int getOutputFileIdsCount() { return outputFileIds_.size(); } /** * <code>repeated int64 output_file_ids = 3;</code> */ public long getOutputFileIds(int index) { return outputFileIds_.get(index); } // optional string job_command = 4; public static final int JOB_COMMAND_FIELD_NUMBER = 4; private java.lang.Object jobCommand_; /** * <code>optional string job_command = 4;</code> */ public boolean hasJobCommand() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * <code>optional string job_command = 4;</code> */ public java.lang.String getJobCommand() { java.lang.Object ref = jobCommand_; 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()) { jobCommand_ = s; } return s; } } /** * <code>optional string job_command = 4;</code> */ public com.google.protobuf.ByteString getJobCommandBytes() { java.lang.Object ref = jobCommand_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobCommand_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string job_output_path = 5; public static final int JOB_OUTPUT_PATH_FIELD_NUMBER = 5; private java.lang.Object jobOutputPath_; /** * <code>optional string job_output_path = 5;</code> */ public boolean hasJobOutputPath() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * <code>optional string job_output_path = 5;</code> */ public java.lang.String getJobOutputPath() { java.lang.Object ref = jobOutputPath_; 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()) { jobOutputPath_ = s; } return s; } } /** * <code>optional string job_output_path = 5;</code> */ public com.google.protobuf.ByteString getJobOutputPathBytes() { java.lang.Object ref = jobOutputPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobOutputPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional int64 creation_time_ms = 6; public static final int CREATION_TIME_MS_FIELD_NUMBER = 6; private long creationTimeMs_; /** * <code>optional int64 creation_time_ms = 6;</code> */ public boolean hasCreationTimeMs() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional int64 creation_time_ms = 6;</code> */ public long getCreationTimeMs() { return creationTimeMs_; } private void initFields() { id_ = 0L; inputFiles_ = java.util.Collections.emptyList(); outputFileIds_ = java.util.Collections.emptyList(); jobCommand_ = ""; jobOutputPath_ = ""; creationTimeMs_ = 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, id_); } for (int i = 0; i < inputFiles_.size(); i++) { output.writeInt64(2, inputFiles_.get(i)); } for (int i = 0; i < outputFileIds_.size(); i++) { output.writeInt64(3, outputFileIds_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(4, getJobCommandBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(5, getJobOutputPathBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(6, creationTimeMs_); } 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, id_); } { int dataSize = 0; for (int i = 0; i < inputFiles_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(inputFiles_.get(i)); } size += dataSize; size += 1 * getInputFilesList().size(); } { int dataSize = 0; for (int i = 0; i < outputFileIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(outputFileIds_.get(i)); } size += dataSize; size += 1 * getOutputFileIdsList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getJobCommandBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getJobOutputPathBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, creationTimeMs_); } 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.Lineage.LineageEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.LineageEntry 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.Lineage.LineageEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.LineageEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.LineageEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.Lineage.LineageEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.LineageEntry 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.Lineage.LineageEntry 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.LineageEntry} * * <pre> * next available id: 7 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.Lineage.LineageEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.LineageEntry.class, alluxio.proto.journal.Lineage.LineageEntry.Builder.class); } // Construct using alluxio.proto.journal.Lineage.LineageEntry.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(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); inputFiles_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); outputFileIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); jobCommand_ = ""; bitField0_ = (bitField0_ & ~0x00000008); jobOutputPath_ = ""; bitField0_ = (bitField0_ & ~0x00000010); creationTimeMs_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageEntry_descriptor; } public alluxio.proto.journal.Lineage.LineageEntry getDefaultInstanceForType() { return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance(); } public alluxio.proto.journal.Lineage.LineageEntry build() { alluxio.proto.journal.Lineage.LineageEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.Lineage.LineageEntry buildPartial() { alluxio.proto.journal.Lineage.LineageEntry result = new alluxio.proto.journal.Lineage.LineageEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.id_ = id_; if (((bitField0_ & 0x00000002) == 0x00000002)) { inputFiles_ = java.util.Collections.unmodifiableList(inputFiles_); bitField0_ = (bitField0_ & ~0x00000002); } result.inputFiles_ = inputFiles_; if (((bitField0_ & 0x00000004) == 0x00000004)) { outputFileIds_ = java.util.Collections.unmodifiableList(outputFileIds_); bitField0_ = (bitField0_ & ~0x00000004); } result.outputFileIds_ = outputFileIds_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.jobCommand_ = jobCommand_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000004; } result.jobOutputPath_ = jobOutputPath_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } result.creationTimeMs_ = creationTimeMs_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.Lineage.LineageEntry) { return mergeFrom((alluxio.proto.journal.Lineage.LineageEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Lineage.LineageEntry other) { if (other == alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (!other.inputFiles_.isEmpty()) { if (inputFiles_.isEmpty()) { inputFiles_ = other.inputFiles_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureInputFilesIsMutable(); inputFiles_.addAll(other.inputFiles_); } onChanged(); } if (!other.outputFileIds_.isEmpty()) { if (outputFileIds_.isEmpty()) { outputFileIds_ = other.outputFileIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureOutputFileIdsIsMutable(); outputFileIds_.addAll(other.outputFileIds_); } onChanged(); } if (other.hasJobCommand()) { bitField0_ |= 0x00000008; jobCommand_ = other.jobCommand_; onChanged(); } if (other.hasJobOutputPath()) { bitField0_ |= 0x00000010; jobOutputPath_ = other.jobOutputPath_; onChanged(); } if (other.hasCreationTimeMs()) { setCreationTimeMs(other.getCreationTimeMs()); } 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.Lineage.LineageEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.Lineage.LineageEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 id = 1; private long id_ ; /** * <code>optional int64 id = 1;</code> */ public boolean hasId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 id = 1;</code> */ public long getId() { return id_; } /** * <code>optional int64 id = 1;</code> */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * <code>optional int64 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } // repeated int64 input_files = 2; private java.util.List<java.lang.Long> inputFiles_ = java.util.Collections.emptyList(); private void ensureInputFilesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { inputFiles_ = new java.util.ArrayList<java.lang.Long>(inputFiles_); bitField0_ |= 0x00000002; } } /** * <code>repeated int64 input_files = 2;</code> */ public java.util.List<java.lang.Long> getInputFilesList() { return java.util.Collections.unmodifiableList(inputFiles_); } /** * <code>repeated int64 input_files = 2;</code> */ public int getInputFilesCount() { return inputFiles_.size(); } /** * <code>repeated int64 input_files = 2;</code> */ public long getInputFiles(int index) { return inputFiles_.get(index); } /** * <code>repeated int64 input_files = 2;</code> */ public Builder setInputFiles( int index, long value) { ensureInputFilesIsMutable(); inputFiles_.set(index, value); onChanged(); return this; } /** * <code>repeated int64 input_files = 2;</code> */ public Builder addInputFiles(long value) { ensureInputFilesIsMutable(); inputFiles_.add(value); onChanged(); return this; } /** * <code>repeated int64 input_files = 2;</code> */ public Builder addAllInputFiles( java.lang.Iterable<? extends java.lang.Long> values) { ensureInputFilesIsMutable(); super.addAll(values, inputFiles_); onChanged(); return this; } /** * <code>repeated int64 input_files = 2;</code> */ public Builder clearInputFiles() { inputFiles_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // repeated int64 output_file_ids = 3; private java.util.List<java.lang.Long> outputFileIds_ = java.util.Collections.emptyList(); private void ensureOutputFileIdsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { outputFileIds_ = new java.util.ArrayList<java.lang.Long>(outputFileIds_); bitField0_ |= 0x00000004; } } /** * <code>repeated int64 output_file_ids = 3;</code> */ public java.util.List<java.lang.Long> getOutputFileIdsList() { return java.util.Collections.unmodifiableList(outputFileIds_); } /** * <code>repeated int64 output_file_ids = 3;</code> */ public int getOutputFileIdsCount() { return outputFileIds_.size(); } /** * <code>repeated int64 output_file_ids = 3;</code> */ public long getOutputFileIds(int index) { return outputFileIds_.get(index); } /** * <code>repeated int64 output_file_ids = 3;</code> */ public Builder setOutputFileIds( int index, long value) { ensureOutputFileIdsIsMutable(); outputFileIds_.set(index, value); onChanged(); return this; } /** * <code>repeated int64 output_file_ids = 3;</code> */ public Builder addOutputFileIds(long value) { ensureOutputFileIdsIsMutable(); outputFileIds_.add(value); onChanged(); return this; } /** * <code>repeated int64 output_file_ids = 3;</code> */ public Builder addAllOutputFileIds( java.lang.Iterable<? extends java.lang.Long> values) { ensureOutputFileIdsIsMutable(); super.addAll(values, outputFileIds_); onChanged(); return this; } /** * <code>repeated int64 output_file_ids = 3;</code> */ public Builder clearOutputFileIds() { outputFileIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } // optional string job_command = 4; private java.lang.Object jobCommand_ = ""; /** * <code>optional string job_command = 4;</code> */ public boolean hasJobCommand() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * <code>optional string job_command = 4;</code> */ public java.lang.String getJobCommand() { java.lang.Object ref = jobCommand_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); jobCommand_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string job_command = 4;</code> */ public com.google.protobuf.ByteString getJobCommandBytes() { java.lang.Object ref = jobCommand_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobCommand_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string job_command = 4;</code> */ public Builder setJobCommand( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; jobCommand_ = value; onChanged(); return this; } /** * <code>optional string job_command = 4;</code> */ public Builder clearJobCommand() { bitField0_ = (bitField0_ & ~0x00000008); jobCommand_ = getDefaultInstance().getJobCommand(); onChanged(); return this; } /** * <code>optional string job_command = 4;</code> */ public Builder setJobCommandBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; jobCommand_ = value; onChanged(); return this; } // optional string job_output_path = 5; private java.lang.Object jobOutputPath_ = ""; /** * <code>optional string job_output_path = 5;</code> */ public boolean hasJobOutputPath() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * <code>optional string job_output_path = 5;</code> */ public java.lang.String getJobOutputPath() { java.lang.Object ref = jobOutputPath_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); jobOutputPath_ = s; return s; } else { return (java.lang.String) ref; } } /** * <code>optional string job_output_path = 5;</code> */ public com.google.protobuf.ByteString getJobOutputPathBytes() { java.lang.Object ref = jobOutputPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobOutputPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * <code>optional string job_output_path = 5;</code> */ public Builder setJobOutputPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; jobOutputPath_ = value; onChanged(); return this; } /** * <code>optional string job_output_path = 5;</code> */ public Builder clearJobOutputPath() { bitField0_ = (bitField0_ & ~0x00000010); jobOutputPath_ = getDefaultInstance().getJobOutputPath(); onChanged(); return this; } /** * <code>optional string job_output_path = 5;</code> */ public Builder setJobOutputPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; jobOutputPath_ = value; onChanged(); return this; } // optional int64 creation_time_ms = 6; private long creationTimeMs_ ; /** * <code>optional int64 creation_time_ms = 6;</code> */ public boolean hasCreationTimeMs() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * <code>optional int64 creation_time_ms = 6;</code> */ public long getCreationTimeMs() { return creationTimeMs_; } /** * <code>optional int64 creation_time_ms = 6;</code> */ public Builder setCreationTimeMs(long value) { bitField0_ |= 0x00000020; creationTimeMs_ = value; onChanged(); return this; } /** * <code>optional int64 creation_time_ms = 6;</code> */ public Builder clearCreationTimeMs() { bitField0_ = (bitField0_ & ~0x00000020); creationTimeMs_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.LineageEntry) } static { defaultInstance = new LineageEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.LineageEntry) } public interface LineageIdGeneratorEntryOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional int64 sequence_number = 1; /** * <code>optional int64 sequence_number = 1;</code> */ boolean hasSequenceNumber(); /** * <code>optional int64 sequence_number = 1;</code> */ long getSequenceNumber(); } /** * Protobuf type {@code alluxio.proto.journal.LineageIdGeneratorEntry} * * <pre> * next available id: 2 * </pre> */ public static final class LineageIdGeneratorEntry extends com.google.protobuf.GeneratedMessage implements LineageIdGeneratorEntryOrBuilder { // Use LineageIdGeneratorEntry.newBuilder() to construct. private LineageIdGeneratorEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private LineageIdGeneratorEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final LineageIdGeneratorEntry defaultInstance; public static LineageIdGeneratorEntry getDefaultInstance() { return defaultInstance; } public LineageIdGeneratorEntry getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LineageIdGeneratorEntry( 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; sequenceNumber_ = 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.Lineage.internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.class, alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder.class); } public static com.google.protobuf.Parser<LineageIdGeneratorEntry> PARSER = new com.google.protobuf.AbstractParser<LineageIdGeneratorEntry>() { public LineageIdGeneratorEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LineageIdGeneratorEntry(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser<LineageIdGeneratorEntry> getParserForType() { return PARSER; } private int bitField0_; // optional int64 sequence_number = 1; public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1; private long sequenceNumber_; /** * <code>optional int64 sequence_number = 1;</code> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 sequence_number = 1;</code> */ public long getSequenceNumber() { return sequenceNumber_; } private void initFields() { sequenceNumber_ = 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, sequenceNumber_); } 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, sequenceNumber_); } 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.Lineage.LineageIdGeneratorEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry 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.Lineage.LineageIdGeneratorEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static alluxio.proto.journal.Lineage.LineageIdGeneratorEntry 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.Lineage.LineageIdGeneratorEntry 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.LineageIdGeneratorEntry} * * <pre> * next available id: 2 * </pre> */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.class, alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder.class); } // Construct using alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.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(); sequenceNumber_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Lineage.internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor; } public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry getDefaultInstanceForType() { return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance(); } public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry build() { alluxio.proto.journal.Lineage.LineageIdGeneratorEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry buildPartial() { alluxio.proto.journal.Lineage.LineageIdGeneratorEntry result = new alluxio.proto.journal.Lineage.LineageIdGeneratorEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.sequenceNumber_ = sequenceNumber_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) { return mergeFrom((alluxio.proto.journal.Lineage.LineageIdGeneratorEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Lineage.LineageIdGeneratorEntry other) { if (other == alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance()) return this; if (other.hasSequenceNumber()) { setSequenceNumber(other.getSequenceNumber()); } 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.Lineage.LineageIdGeneratorEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional int64 sequence_number = 1; private long sequenceNumber_ ; /** * <code>optional int64 sequence_number = 1;</code> */ public boolean hasSequenceNumber() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * <code>optional int64 sequence_number = 1;</code> */ public long getSequenceNumber() { return sequenceNumber_; } /** * <code>optional int64 sequence_number = 1;</code> */ public Builder setSequenceNumber(long value) { bitField0_ |= 0x00000001; sequenceNumber_ = value; onChanged(); return this; } /** * <code>optional int64 sequence_number = 1;</code> */ public Builder clearSequenceNumber() { bitField0_ = (bitField0_ & ~0x00000001); sequenceNumber_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.LineageIdGeneratorEntry) } static { defaultInstance = new LineageIdGeneratorEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.LineageIdGeneratorEntry) } private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_DeleteLineageEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_DeleteLineageEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_LineageEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_LineageEntry_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_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\025journal/lineage.proto\022\025alluxio.proto.j" + "ournal\"9\n\022DeleteLineageEntry\022\022\n\nlineage_" + "id\030\001 \001(\003\022\017\n\007cascade\030\002 \001(\010\"\220\001\n\014LineageEnt" + "ry\022\n\n\002id\030\001 \001(\003\022\023\n\013input_files\030\002 \003(\003\022\027\n\017o" + "utput_file_ids\030\003 \003(\003\022\023\n\013job_command\030\004 \001(" + "\t\022\027\n\017job_output_path\030\005 \001(\t\022\030\n\020creation_t" + "ime_ms\030\006 \001(\003\"2\n\027LineageIdGeneratorEntry\022" + "\027\n\017sequence_number\030\001 \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_DeleteLineageEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_alluxio_proto_journal_DeleteLineageEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_DeleteLineageEntry_descriptor, new java.lang.String[] { "LineageId", "Cascade", }); internal_static_alluxio_proto_journal_LineageEntry_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_alluxio_proto_journal_LineageEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_LineageEntry_descriptor, new java.lang.String[] { "Id", "InputFiles", "OutputFileIds", "JobCommand", "JobOutputPath", "CreationTimeMs", }); internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_alluxio_proto_journal_LineageIdGeneratorEntry_descriptor, new java.lang.String[] { "SequenceNumber", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }