alluxio.proto.journal.Lineage Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: 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
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.DeleteLineageEntry)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 lineage_id = 1;
*/
boolean hasLineageId();
/**
* optional int64 lineage_id = 1;
*/
long getLineageId();
/**
* optional bool cascade = 2;
*/
boolean hasCascade();
/**
* optional bool cascade = 2;
*/
boolean getCascade();
}
/**
* Protobuf type {@code alluxio.proto.journal.DeleteLineageEntry}
*
*
* next available id: 3
*
*/
public static final class DeleteLineageEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.DeleteLineageEntry)
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 PARSER =
new com.google.protobuf.AbstractParser() {
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 getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int LINEAGE_ID_FIELD_NUMBER = 1;
private long lineageId_;
/**
* optional int64 lineage_id = 1;
*/
public boolean hasLineageId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 lineage_id = 1;
*/
public long getLineageId() {
return lineageId_;
}
public static final int CASCADE_FIELD_NUMBER = 2;
private boolean cascade_;
/**
* optional bool cascade = 2;
*/
public boolean hasCascade() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool cascade = 2;
*/
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 true;
if (isInitialized == 0) return false;
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}
*
*
* next available id: 3
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.DeleteLineageEntry)
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_;
private long lineageId_ ;
/**
* optional int64 lineage_id = 1;
*/
public boolean hasLineageId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 lineage_id = 1;
*/
public long getLineageId() {
return lineageId_;
}
/**
* optional int64 lineage_id = 1;
*/
public Builder setLineageId(long value) {
bitField0_ |= 0x00000001;
lineageId_ = value;
onChanged();
return this;
}
/**
* optional int64 lineage_id = 1;
*/
public Builder clearLineageId() {
bitField0_ = (bitField0_ & ~0x00000001);
lineageId_ = 0L;
onChanged();
return this;
}
private boolean cascade_ ;
/**
* optional bool cascade = 2;
*/
public boolean hasCascade() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool cascade = 2;
*/
public boolean getCascade() {
return cascade_;
}
/**
* optional bool cascade = 2;
*/
public Builder setCascade(boolean value) {
bitField0_ |= 0x00000002;
cascade_ = value;
onChanged();
return this;
}
/**
* optional bool cascade = 2;
*/
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
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.LineageEntry)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
*/
boolean hasId();
/**
* optional int64 id = 1;
*/
long getId();
/**
* repeated int64 input_files = 2;
*/
java.util.List getInputFilesList();
/**
* repeated int64 input_files = 2;
*/
int getInputFilesCount();
/**
* repeated int64 input_files = 2;
*/
long getInputFiles(int index);
/**
* repeated int64 output_file_ids = 3;
*/
java.util.List getOutputFileIdsList();
/**
* repeated int64 output_file_ids = 3;
*/
int getOutputFileIdsCount();
/**
* repeated int64 output_file_ids = 3;
*/
long getOutputFileIds(int index);
/**
* optional string job_command = 4;
*/
boolean hasJobCommand();
/**
* optional string job_command = 4;
*/
java.lang.String getJobCommand();
/**
* optional string job_command = 4;
*/
com.google.protobuf.ByteString
getJobCommandBytes();
/**
* optional string job_output_path = 5;
*/
boolean hasJobOutputPath();
/**
* optional string job_output_path = 5;
*/
java.lang.String getJobOutputPath();
/**
* optional string job_output_path = 5;
*/
com.google.protobuf.ByteString
getJobOutputPathBytes();
/**
* optional int64 creation_time_ms = 6;
*/
boolean hasCreationTimeMs();
/**
* optional int64 creation_time_ms = 6;
*/
long getCreationTimeMs();
}
/**
* Protobuf type {@code alluxio.proto.journal.LineageEntry}
*
*
* next available id: 7
*
*/
public static final class LineageEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.LineageEntry)
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();
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();
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();
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();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
outputFileIds_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
jobCommand_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
jobOutputPath_ = bs;
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 PARSER =
new com.google.protobuf.AbstractParser() {
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 getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 id = 1;
*/
public long getId() {
return id_;
}
public static final int INPUT_FILES_FIELD_NUMBER = 2;
private java.util.List inputFiles_;
/**
* repeated int64 input_files = 2;
*/
public java.util.List
getInputFilesList() {
return inputFiles_;
}
/**
* repeated int64 input_files = 2;
*/
public int getInputFilesCount() {
return inputFiles_.size();
}
/**
* repeated int64 input_files = 2;
*/
public long getInputFiles(int index) {
return inputFiles_.get(index);
}
public static final int OUTPUT_FILE_IDS_FIELD_NUMBER = 3;
private java.util.List outputFileIds_;
/**
* repeated int64 output_file_ids = 3;
*/
public java.util.List
getOutputFileIdsList() {
return outputFileIds_;
}
/**
* repeated int64 output_file_ids = 3;
*/
public int getOutputFileIdsCount() {
return outputFileIds_.size();
}
/**
* repeated int64 output_file_ids = 3;
*/
public long getOutputFileIds(int index) {
return outputFileIds_.get(index);
}
public static final int JOB_COMMAND_FIELD_NUMBER = 4;
private java.lang.Object jobCommand_;
/**
* optional string job_command = 4;
*/
public boolean hasJobCommand() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string job_command = 4;
*/
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;
}
}
/**
* optional string job_command = 4;
*/
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;
}
}
public static final int JOB_OUTPUT_PATH_FIELD_NUMBER = 5;
private java.lang.Object jobOutputPath_;
/**
* optional string job_output_path = 5;
*/
public boolean hasJobOutputPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string job_output_path = 5;
*/
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;
}
}
/**
* optional string job_output_path = 5;
*/
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;
}
}
public static final int CREATION_TIME_MS_FIELD_NUMBER = 6;
private long creationTimeMs_;
/**
* optional int64 creation_time_ms = 6;
*/
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int64 creation_time_ms = 6;
*/
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 true;
if (isInitialized == 0) return false;
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}
*
*
* next available id: 7
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.LineageEntry)
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_;
private long id_ ;
/**
* optional int64 id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 id = 1;
*/
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private java.util.List inputFiles_ = java.util.Collections.emptyList();
private void ensureInputFilesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
inputFiles_ = new java.util.ArrayList(inputFiles_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated int64 input_files = 2;
*/
public java.util.List
getInputFilesList() {
return java.util.Collections.unmodifiableList(inputFiles_);
}
/**
* repeated int64 input_files = 2;
*/
public int getInputFilesCount() {
return inputFiles_.size();
}
/**
* repeated int64 input_files = 2;
*/
public long getInputFiles(int index) {
return inputFiles_.get(index);
}
/**
* repeated int64 input_files = 2;
*/
public Builder setInputFiles(
int index, long value) {
ensureInputFilesIsMutable();
inputFiles_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 input_files = 2;
*/
public Builder addInputFiles(long value) {
ensureInputFilesIsMutable();
inputFiles_.add(value);
onChanged();
return this;
}
/**
* repeated int64 input_files = 2;
*/
public Builder addAllInputFiles(
java.lang.Iterable extends java.lang.Long> values) {
ensureInputFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inputFiles_);
onChanged();
return this;
}
/**
* repeated int64 input_files = 2;
*/
public Builder clearInputFiles() {
inputFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private java.util.List outputFileIds_ = java.util.Collections.emptyList();
private void ensureOutputFileIdsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
outputFileIds_ = new java.util.ArrayList(outputFileIds_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated int64 output_file_ids = 3;
*/
public java.util.List
getOutputFileIdsList() {
return java.util.Collections.unmodifiableList(outputFileIds_);
}
/**
* repeated int64 output_file_ids = 3;
*/
public int getOutputFileIdsCount() {
return outputFileIds_.size();
}
/**
* repeated int64 output_file_ids = 3;
*/
public long getOutputFileIds(int index) {
return outputFileIds_.get(index);
}
/**
* repeated int64 output_file_ids = 3;
*/
public Builder setOutputFileIds(
int index, long value) {
ensureOutputFileIdsIsMutable();
outputFileIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 output_file_ids = 3;
*/
public Builder addOutputFileIds(long value) {
ensureOutputFileIdsIsMutable();
outputFileIds_.add(value);
onChanged();
return this;
}
/**
* repeated int64 output_file_ids = 3;
*/
public Builder addAllOutputFileIds(
java.lang.Iterable extends java.lang.Long> values) {
ensureOutputFileIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputFileIds_);
onChanged();
return this;
}
/**
* repeated int64 output_file_ids = 3;
*/
public Builder clearOutputFileIds() {
outputFileIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private java.lang.Object jobCommand_ = "";
/**
* optional string job_command = 4;
*/
public boolean hasJobCommand() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string job_command = 4;
*/
public java.lang.String getJobCommand() {
java.lang.Object ref = jobCommand_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jobCommand_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string job_command = 4;
*/
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;
}
}
/**
* optional string job_command = 4;
*/
public Builder setJobCommand(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
jobCommand_ = value;
onChanged();
return this;
}
/**
* optional string job_command = 4;
*/
public Builder clearJobCommand() {
bitField0_ = (bitField0_ & ~0x00000008);
jobCommand_ = getDefaultInstance().getJobCommand();
onChanged();
return this;
}
/**
* optional string job_command = 4;
*/
public Builder setJobCommandBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
jobCommand_ = value;
onChanged();
return this;
}
private java.lang.Object jobOutputPath_ = "";
/**
* optional string job_output_path = 5;
*/
public boolean hasJobOutputPath() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string job_output_path = 5;
*/
public java.lang.String getJobOutputPath() {
java.lang.Object ref = jobOutputPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jobOutputPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string job_output_path = 5;
*/
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;
}
}
/**
* optional string job_output_path = 5;
*/
public Builder setJobOutputPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
jobOutputPath_ = value;
onChanged();
return this;
}
/**
* optional string job_output_path = 5;
*/
public Builder clearJobOutputPath() {
bitField0_ = (bitField0_ & ~0x00000010);
jobOutputPath_ = getDefaultInstance().getJobOutputPath();
onChanged();
return this;
}
/**
* optional string job_output_path = 5;
*/
public Builder setJobOutputPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
jobOutputPath_ = value;
onChanged();
return this;
}
private long creationTimeMs_ ;
/**
* optional int64 creation_time_ms = 6;
*/
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int64 creation_time_ms = 6;
*/
public long getCreationTimeMs() {
return creationTimeMs_;
}
/**
* optional int64 creation_time_ms = 6;
*/
public Builder setCreationTimeMs(long value) {
bitField0_ |= 0x00000020;
creationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 creation_time_ms = 6;
*/
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
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.LineageIdGeneratorEntry)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 sequence_number = 1;
*/
boolean hasSequenceNumber();
/**
* optional int64 sequence_number = 1;
*/
long getSequenceNumber();
}
/**
* Protobuf type {@code alluxio.proto.journal.LineageIdGeneratorEntry}
*
*
* next available id: 2
*
*/
public static final class LineageIdGeneratorEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.LineageIdGeneratorEntry)
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 PARSER =
new com.google.protobuf.AbstractParser() {
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 getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
private long sequenceNumber_;
/**
* optional int64 sequence_number = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 sequence_number = 1;
*/
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 true;
if (isInitialized == 0) return false;
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}
*
*
* next available id: 2
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.LineageIdGeneratorEntry)
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_;
private long sequenceNumber_ ;
/**
* optional int64 sequence_number = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 sequence_number = 1;
*/
public long getSequenceNumber() {
return sequenceNumber_;
}
/**
* optional int64 sequence_number = 1;
*/
public Builder setSequenceNumber(long value) {
bitField0_ |= 0x00000001;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* optional int64 sequence_number = 1;
*/
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 final 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 final 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 final 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\rlineage.proto\022\025alluxio.proto.journal\"9" +
"\n\022DeleteLineageEntry\022\022\n\nlineage_id\030\001 \001(\003" +
"\022\017\n\007cascade\030\002 \001(\010\"\220\001\n\014LineageEntry\022\n\n\002id" +
"\030\001 \001(\003\022\023\n\013input_files\030\002 \003(\003\022\027\n\017output_fi" +
"le_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_time_ms\030\006" +
" \001(\003\"2\n\027LineageIdGeneratorEntry\022\027\n\017seque" +
"nce_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;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
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", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy