alluxio.proto.journal.File Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Shaded Alluxio Client Module for hadoop 3
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: proto/journal/file.proto
package alluxio.proto.journal;
public final class File {
private File() {}
public static void registerAllExtensions(
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
alluxio.shaded.client.com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* XAttrUpdateStrategy controls the behaviour for
* handling updates to the xAttr map
* - TRUNCATE: Replaces the existing xAttr map with the provided xAttr
* - UNION_REPLACE: Inserts all keys from xAttr and overwrites any existing keys
* - UNION_PRESERVE: Inserts all new keys from xAttr (i.e: preserves any existing keys)
* - DELETE_KEYS: Deletes the specified xAttr keys from the existing xAttr map
*
*
* Protobuf enum {@code alluxio.proto.journal.XAttrUpdateStrategy}
*/
public enum XAttrUpdateStrategy
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* TRUNCATE = 1;
*/
TRUNCATE(1),
/**
* UNION_REPLACE = 2;
*/
UNION_REPLACE(2),
/**
* UNION_PRESERVE = 3;
*/
UNION_PRESERVE(3),
/**
* DELETE_KEYS = 4;
*/
DELETE_KEYS(4),
;
/**
* TRUNCATE = 1;
*/
public static final int TRUNCATE_VALUE = 1;
/**
* UNION_REPLACE = 2;
*/
public static final int UNION_REPLACE_VALUE = 2;
/**
* UNION_PRESERVE = 3;
*/
public static final int UNION_PRESERVE_VALUE = 3;
/**
* DELETE_KEYS = 4;
*/
public static final int DELETE_KEYS_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static XAttrUpdateStrategy valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static XAttrUpdateStrategy forNumber(int value) {
switch (value) {
case 1: return TRUNCATE;
case 2: return UNION_REPLACE;
case 3: return UNION_PRESERVE;
case 4: return DELETE_KEYS;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
XAttrUpdateStrategy> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public XAttrUpdateStrategy findValueByNumber(int number) {
return XAttrUpdateStrategy.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.proto.journal.File.getDescriptor().getEnumTypes().get(0);
}
private static final XAttrUpdateStrategy[] VALUES = values();
public static XAttrUpdateStrategy valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private XAttrUpdateStrategy(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.proto.journal.XAttrUpdateStrategy)
}
/**
* Protobuf enum {@code alluxio.proto.journal.PTtlAction}
*/
public enum PTtlAction
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* DELETE = 0;
*/
DELETE(0),
/**
* FREE = 1;
*/
FREE(1),
/**
* DELETE_ALLUXIO = 2;
*/
DELETE_ALLUXIO(2),
;
/**
* DELETE = 0;
*/
public static final int DELETE_VALUE = 0;
/**
* FREE = 1;
*/
public static final int FREE_VALUE = 1;
/**
* DELETE_ALLUXIO = 2;
*/
public static final int DELETE_ALLUXIO_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PTtlAction valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PTtlAction forNumber(int value) {
switch (value) {
case 0: return DELETE;
case 1: return FREE;
case 2: return DELETE_ALLUXIO;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
PTtlAction> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public PTtlAction findValueByNumber(int number) {
return PTtlAction.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.proto.journal.File.getDescriptor().getEnumTypes().get(1);
}
private static final PTtlAction[] VALUES = values();
public static PTtlAction valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private PTtlAction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.proto.journal.PTtlAction)
}
/**
* Protobuf enum {@code alluxio.proto.journal.PSetAclAction}
*/
public enum PSetAclAction
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* REPLACE = 0;
*/
REPLACE(0),
/**
* MODIFY = 1;
*/
MODIFY(1),
/**
* REMOVE = 2;
*/
REMOVE(2),
/**
* REMOVE_ALL = 3;
*/
REMOVE_ALL(3),
/**
* REMOVE_DEFAULT = 4;
*/
REMOVE_DEFAULT(4),
;
/**
* REPLACE = 0;
*/
public static final int REPLACE_VALUE = 0;
/**
* MODIFY = 1;
*/
public static final int MODIFY_VALUE = 1;
/**
* REMOVE = 2;
*/
public static final int REMOVE_VALUE = 2;
/**
* REMOVE_ALL = 3;
*/
public static final int REMOVE_ALL_VALUE = 3;
/**
* REMOVE_DEFAULT = 4;
*/
public static final int REMOVE_DEFAULT_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PSetAclAction valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PSetAclAction forNumber(int value) {
switch (value) {
case 0: return REPLACE;
case 1: return MODIFY;
case 2: return REMOVE;
case 3: return REMOVE_ALL;
case 4: return REMOVE_DEFAULT;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
PSetAclAction> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public PSetAclAction findValueByNumber(int number) {
return PSetAclAction.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.proto.journal.File.getDescriptor().getEnumTypes().get(2);
}
private static final PSetAclAction[] VALUES = values();
public static PSetAclAction valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private PSetAclAction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.proto.journal.PSetAclAction)
}
/**
* Protobuf enum {@code alluxio.proto.journal.UfsMode}
*/
public enum UfsMode
implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum {
/**
* NO_ACCESS = 0;
*/
NO_ACCESS(0),
/**
* READ_ONLY = 1;
*/
READ_ONLY(1),
/**
* READ_WRITE = 2;
*/
READ_WRITE(2),
;
/**
* NO_ACCESS = 0;
*/
public static final int NO_ACCESS_VALUE = 0;
/**
* READ_ONLY = 1;
*/
public static final int READ_ONLY_VALUE = 1;
/**
* READ_WRITE = 2;
*/
public static final int READ_WRITE_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static UfsMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static UfsMode forNumber(int value) {
switch (value) {
case 0: return NO_ACCESS;
case 1: return READ_ONLY;
case 2: return READ_WRITE;
default: return null;
}
}
public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap<
UfsMode> internalValueMap =
new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() {
public UfsMode findValueByNumber(int number) {
return UfsMode.forNumber(number);
}
};
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return alluxio.proto.journal.File.getDescriptor().getEnumTypes().get(3);
}
private static final UfsMode[] VALUES = values();
public static UfsMode valueOf(
alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private UfsMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:alluxio.proto.journal.UfsMode)
}
public interface StringPairEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.StringPairEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
* optional string key = 1;
* @return The key.
*/
java.lang.String getKey();
/**
* optional string key = 1;
* @return The bytes for key.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getKeyBytes();
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* optional string value = 2;
* @return The value.
*/
java.lang.String getValue();
/**
* optional string value = 2;
* @return The bytes for value.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getValueBytes();
}
/**
*
* A pair of strings, useful for maps.
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.StringPairEntry}
*/
public static final class StringPairEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.StringPairEntry)
StringPairEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use StringPairEntry.newBuilder() to construct.
private StringPairEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StringPairEntry() {
key_ = "";
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StringPairEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_StringPairEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_StringPairEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.StringPairEntry.class, alluxio.proto.journal.File.StringPairEntry.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* optional string key = 1;
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key = 1;
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* optional string key = 1;
* @return The bytes for key.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object value_;
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.StringPairEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.StringPairEntry other = (alluxio.proto.journal.File.StringPairEntry) obj;
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.StringPairEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.StringPairEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.StringPairEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.StringPairEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* A pair of strings, useful for maps.
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.StringPairEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.StringPairEntry)
alluxio.proto.journal.File.StringPairEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_StringPairEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_StringPairEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.StringPairEntry.class, alluxio.proto.journal.File.StringPairEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.StringPairEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_StringPairEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.StringPairEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntry build() {
alluxio.proto.journal.File.StringPairEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntry buildPartial() {
alluxio.proto.journal.File.StringPairEntry result = new alluxio.proto.journal.File.StringPairEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.StringPairEntry) {
return mergeFrom((alluxio.proto.journal.File.StringPairEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.StringPairEntry other) {
if (other == alluxio.proto.journal.File.StringPairEntry.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
key_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object key_ = "";
/**
* optional string key = 1;
* @return Whether the key field is set.
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string key = 1;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 1;
* @return The bytes for key.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key = 1;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 1;
* @return This builder for chaining.
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 1;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* optional string value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string value = 2;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
* @return The bytes for value.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* optional string value = 2;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.StringPairEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.StringPairEntry)
private static final alluxio.proto.journal.File.StringPairEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.StringPairEntry();
}
public static alluxio.proto.journal.File.StringPairEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public StringPairEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ActiveSyncTxIdEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.ActiveSyncTxIdEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 mount_id = 1;
* @return Whether the mountId field is set.
*/
boolean hasMountId();
/**
* optional int64 mount_id = 1;
* @return The mountId.
*/
long getMountId();
/**
* optional int64 tx_id = 2;
* @return Whether the txId field is set.
*/
boolean hasTxId();
/**
* optional int64 tx_id = 2;
* @return The txId.
*/
long getTxId();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.ActiveSyncTxIdEntry}
*/
public static final class ActiveSyncTxIdEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.ActiveSyncTxIdEntry)
ActiveSyncTxIdEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use ActiveSyncTxIdEntry.newBuilder() to construct.
private ActiveSyncTxIdEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ActiveSyncTxIdEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ActiveSyncTxIdEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.ActiveSyncTxIdEntry.class, alluxio.proto.journal.File.ActiveSyncTxIdEntry.Builder.class);
}
private int bitField0_;
public static final int MOUNT_ID_FIELD_NUMBER = 1;
private long mountId_;
/**
* optional int64 mount_id = 1;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 mount_id = 1;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
public static final int TX_ID_FIELD_NUMBER = 2;
private long txId_;
/**
* optional int64 tx_id = 2;
* @return Whether the txId field is set.
*/
@java.lang.Override
public boolean hasTxId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 tx_id = 2;
* @return The txId.
*/
@java.lang.Override
public long getTxId() {
return txId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, mountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, mountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, txId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.ActiveSyncTxIdEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.ActiveSyncTxIdEntry other = (alluxio.proto.journal.File.ActiveSyncTxIdEntry) obj;
if (hasMountId() != other.hasMountId()) return false;
if (hasMountId()) {
if (getMountId()
!= other.getMountId()) return false;
}
if (hasTxId() != other.hasTxId()) return false;
if (hasTxId()) {
if (getTxId()
!= other.getTxId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMountId()) {
hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getMountId());
}
if (hasTxId()) {
hash = (37 * hash) + TX_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getTxId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.ActiveSyncTxIdEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.ActiveSyncTxIdEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.ActiveSyncTxIdEntry)
alluxio.proto.journal.File.ActiveSyncTxIdEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.ActiveSyncTxIdEntry.class, alluxio.proto.journal.File.ActiveSyncTxIdEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.ActiveSyncTxIdEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
mountId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
txId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.ActiveSyncTxIdEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.ActiveSyncTxIdEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.ActiveSyncTxIdEntry build() {
alluxio.proto.journal.File.ActiveSyncTxIdEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.ActiveSyncTxIdEntry buildPartial() {
alluxio.proto.journal.File.ActiveSyncTxIdEntry result = new alluxio.proto.journal.File.ActiveSyncTxIdEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.mountId_ = mountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txId_ = txId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.ActiveSyncTxIdEntry) {
return mergeFrom((alluxio.proto.journal.File.ActiveSyncTxIdEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.ActiveSyncTxIdEntry other) {
if (other == alluxio.proto.journal.File.ActiveSyncTxIdEntry.getDefaultInstance()) return this;
if (other.hasMountId()) {
setMountId(other.getMountId());
}
if (other.hasTxId()) {
setTxId(other.getTxId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
mountId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
txId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long mountId_ ;
/**
* optional int64 mount_id = 1;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 mount_id = 1;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
/**
* optional int64 mount_id = 1;
* @param value The mountId to set.
* @return This builder for chaining.
*/
public Builder setMountId(long value) {
bitField0_ |= 0x00000001;
mountId_ = value;
onChanged();
return this;
}
/**
* optional int64 mount_id = 1;
* @return This builder for chaining.
*/
public Builder clearMountId() {
bitField0_ = (bitField0_ & ~0x00000001);
mountId_ = 0L;
onChanged();
return this;
}
private long txId_ ;
/**
* optional int64 tx_id = 2;
* @return Whether the txId field is set.
*/
@java.lang.Override
public boolean hasTxId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 tx_id = 2;
* @return The txId.
*/
@java.lang.Override
public long getTxId() {
return txId_;
}
/**
* optional int64 tx_id = 2;
* @param value The txId to set.
* @return This builder for chaining.
*/
public Builder setTxId(long value) {
bitField0_ |= 0x00000002;
txId_ = value;
onChanged();
return this;
}
/**
* optional int64 tx_id = 2;
* @return This builder for chaining.
*/
public Builder clearTxId() {
bitField0_ = (bitField0_ & ~0x00000002);
txId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.ActiveSyncTxIdEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.ActiveSyncTxIdEntry)
private static final alluxio.proto.journal.File.ActiveSyncTxIdEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.ActiveSyncTxIdEntry();
}
public static alluxio.proto.journal.File.ActiveSyncTxIdEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public ActiveSyncTxIdEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.ActiveSyncTxIdEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddSyncPointEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.AddSyncPointEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
boolean hasSyncpointPath();
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
java.lang.String getSyncpointPath();
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes();
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
boolean hasMountId();
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
long getMountId();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.AddSyncPointEntry}
*/
public static final class AddSyncPointEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.AddSyncPointEntry)
AddSyncPointEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddSyncPointEntry.newBuilder() to construct.
private AddSyncPointEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private AddSyncPointEntry() {
syncpointPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddSyncPointEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddSyncPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AddSyncPointEntry.class, alluxio.proto.journal.File.AddSyncPointEntry.Builder.class);
}
private int bitField0_;
public static final int SYNCPOINT_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object syncpointPath_;
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
@java.lang.Override
public boolean hasSyncpointPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
@java.lang.Override
public java.lang.String getSyncpointPath() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syncpointPath_ = s;
}
return s;
}
}
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syncpointPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MOUNT_ID_FIELD_NUMBER = 2;
private long mountId_;
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, syncpointPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, mountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, syncpointPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, mountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.AddSyncPointEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.AddSyncPointEntry other = (alluxio.proto.journal.File.AddSyncPointEntry) obj;
if (hasSyncpointPath() != other.hasSyncpointPath()) return false;
if (hasSyncpointPath()) {
if (!getSyncpointPath()
.equals(other.getSyncpointPath())) return false;
}
if (hasMountId() != other.hasMountId()) return false;
if (hasMountId()) {
if (getMountId()
!= other.getMountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSyncpointPath()) {
hash = (37 * hash) + SYNCPOINT_PATH_FIELD_NUMBER;
hash = (53 * hash) + getSyncpointPath().hashCode();
}
if (hasMountId()) {
hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getMountId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.AddSyncPointEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.AddSyncPointEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.AddSyncPointEntry)
alluxio.proto.journal.File.AddSyncPointEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddSyncPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AddSyncPointEntry.class, alluxio.proto.journal.File.AddSyncPointEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.AddSyncPointEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
syncpointPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
mountId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.AddSyncPointEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.AddSyncPointEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.AddSyncPointEntry build() {
alluxio.proto.journal.File.AddSyncPointEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.AddSyncPointEntry buildPartial() {
alluxio.proto.journal.File.AddSyncPointEntry result = new alluxio.proto.journal.File.AddSyncPointEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.syncpointPath_ = syncpointPath_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mountId_ = mountId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.AddSyncPointEntry) {
return mergeFrom((alluxio.proto.journal.File.AddSyncPointEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.AddSyncPointEntry other) {
if (other == alluxio.proto.journal.File.AddSyncPointEntry.getDefaultInstance()) return this;
if (other.hasSyncpointPath()) {
bitField0_ |= 0x00000001;
syncpointPath_ = other.syncpointPath_;
onChanged();
}
if (other.hasMountId()) {
setMountId(other.getMountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
syncpointPath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
mountId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object syncpointPath_ = "";
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
public boolean hasSyncpointPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
public java.lang.String getSyncpointPath() {
java.lang.Object ref = syncpointPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syncpointPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syncpointPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string syncpoint_path = 1;
* @param value The syncpointPath to set.
* @return This builder for chaining.
*/
public Builder setSyncpointPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
syncpointPath_ = value;
onChanged();
return this;
}
/**
* optional string syncpoint_path = 1;
* @return This builder for chaining.
*/
public Builder clearSyncpointPath() {
bitField0_ = (bitField0_ & ~0x00000001);
syncpointPath_ = getDefaultInstance().getSyncpointPath();
onChanged();
return this;
}
/**
* optional string syncpoint_path = 1;
* @param value The bytes for syncpointPath to set.
* @return This builder for chaining.
*/
public Builder setSyncpointPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
syncpointPath_ = value;
onChanged();
return this;
}
private long mountId_ ;
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
/**
* optional int64 mount_id = 2;
* @param value The mountId to set.
* @return This builder for chaining.
*/
public Builder setMountId(long value) {
bitField0_ |= 0x00000002;
mountId_ = value;
onChanged();
return this;
}
/**
* optional int64 mount_id = 2;
* @return This builder for chaining.
*/
public Builder clearMountId() {
bitField0_ = (bitField0_ & ~0x00000002);
mountId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.AddSyncPointEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.AddSyncPointEntry)
private static final alluxio.proto.journal.File.AddSyncPointEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.AddSyncPointEntry();
}
public static alluxio.proto.journal.File.AddSyncPointEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddSyncPointEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.AddSyncPointEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveSyncPointEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.RemoveSyncPointEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
boolean hasSyncpointPath();
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
java.lang.String getSyncpointPath();
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes();
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
boolean hasMountId();
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
long getMountId();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.RemoveSyncPointEntry}
*/
public static final class RemoveSyncPointEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.RemoveSyncPointEntry)
RemoveSyncPointEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveSyncPointEntry.newBuilder() to construct.
private RemoveSyncPointEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private RemoveSyncPointEntry() {
syncpointPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveSyncPointEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RemoveSyncPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.RemoveSyncPointEntry.class, alluxio.proto.journal.File.RemoveSyncPointEntry.Builder.class);
}
private int bitField0_;
public static final int SYNCPOINT_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object syncpointPath_;
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
@java.lang.Override
public boolean hasSyncpointPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
@java.lang.Override
public java.lang.String getSyncpointPath() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syncpointPath_ = s;
}
return s;
}
}
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syncpointPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MOUNT_ID_FIELD_NUMBER = 2;
private long mountId_;
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, syncpointPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, mountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, syncpointPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, mountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.RemoveSyncPointEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.RemoveSyncPointEntry other = (alluxio.proto.journal.File.RemoveSyncPointEntry) obj;
if (hasSyncpointPath() != other.hasSyncpointPath()) return false;
if (hasSyncpointPath()) {
if (!getSyncpointPath()
.equals(other.getSyncpointPath())) return false;
}
if (hasMountId() != other.hasMountId()) return false;
if (hasMountId()) {
if (getMountId()
!= other.getMountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSyncpointPath()) {
hash = (37 * hash) + SYNCPOINT_PATH_FIELD_NUMBER;
hash = (53 * hash) + getSyncpointPath().hashCode();
}
if (hasMountId()) {
hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getMountId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.RemoveSyncPointEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.RemoveSyncPointEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.RemoveSyncPointEntry)
alluxio.proto.journal.File.RemoveSyncPointEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RemoveSyncPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.RemoveSyncPointEntry.class, alluxio.proto.journal.File.RemoveSyncPointEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.RemoveSyncPointEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
syncpointPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
mountId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.RemoveSyncPointEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.RemoveSyncPointEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.RemoveSyncPointEntry build() {
alluxio.proto.journal.File.RemoveSyncPointEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.RemoveSyncPointEntry buildPartial() {
alluxio.proto.journal.File.RemoveSyncPointEntry result = new alluxio.proto.journal.File.RemoveSyncPointEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.syncpointPath_ = syncpointPath_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mountId_ = mountId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.RemoveSyncPointEntry) {
return mergeFrom((alluxio.proto.journal.File.RemoveSyncPointEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.RemoveSyncPointEntry other) {
if (other == alluxio.proto.journal.File.RemoveSyncPointEntry.getDefaultInstance()) return this;
if (other.hasSyncpointPath()) {
bitField0_ |= 0x00000001;
syncpointPath_ = other.syncpointPath_;
onChanged();
}
if (other.hasMountId()) {
setMountId(other.getMountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
syncpointPath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
mountId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object syncpointPath_ = "";
/**
* optional string syncpoint_path = 1;
* @return Whether the syncpointPath field is set.
*/
public boolean hasSyncpointPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string syncpoint_path = 1;
* @return The syncpointPath.
*/
public java.lang.String getSyncpointPath() {
java.lang.Object ref = syncpointPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
syncpointPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string syncpoint_path = 1;
* @return The bytes for syncpointPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getSyncpointPathBytes() {
java.lang.Object ref = syncpointPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syncpointPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string syncpoint_path = 1;
* @param value The syncpointPath to set.
* @return This builder for chaining.
*/
public Builder setSyncpointPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
syncpointPath_ = value;
onChanged();
return this;
}
/**
* optional string syncpoint_path = 1;
* @return This builder for chaining.
*/
public Builder clearSyncpointPath() {
bitField0_ = (bitField0_ & ~0x00000001);
syncpointPath_ = getDefaultInstance().getSyncpointPath();
onChanged();
return this;
}
/**
* optional string syncpoint_path = 1;
* @param value The bytes for syncpointPath to set.
* @return This builder for chaining.
*/
public Builder setSyncpointPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
syncpointPath_ = value;
onChanged();
return this;
}
private long mountId_ ;
/**
* optional int64 mount_id = 2;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 mount_id = 2;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
/**
* optional int64 mount_id = 2;
* @param value The mountId to set.
* @return This builder for chaining.
*/
public Builder setMountId(long value) {
bitField0_ |= 0x00000002;
mountId_ = value;
onChanged();
return this;
}
/**
* optional int64 mount_id = 2;
* @return This builder for chaining.
*/
public Builder clearMountId() {
bitField0_ = (bitField0_ & ~0x00000002);
mountId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.RemoveSyncPointEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.RemoveSyncPointEntry)
private static final alluxio.proto.journal.File.RemoveSyncPointEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.RemoveSyncPointEntry();
}
public static alluxio.proto.journal.File.RemoveSyncPointEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public RemoveSyncPointEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.RemoveSyncPointEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AddMountPointEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.AddMountPointEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
boolean hasAlluxioPath();
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
java.lang.String getAlluxioPath();
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes();
/**
* optional string ufs_path = 2;
* @return Whether the ufsPath field is set.
*/
boolean hasUfsPath();
/**
* optional string ufs_path = 2;
* @return The ufsPath.
*/
java.lang.String getUfsPath();
/**
* optional string ufs_path = 2;
* @return The bytes for ufsPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes();
/**
* optional bool readOnly = 3;
* @return Whether the readOnly field is set.
*/
boolean hasReadOnly();
/**
* optional bool readOnly = 3;
* @return The readOnly.
*/
boolean getReadOnly();
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
java.util.List
getPropertiesList();
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
alluxio.proto.journal.File.StringPairEntry getProperties(int index);
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
int getPropertiesCount();
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
java.util.List
getPropertiesOrBuilderList();
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
alluxio.proto.journal.File.StringPairEntryOrBuilder getPropertiesOrBuilder(
int index);
/**
* optional bool shared = 5;
* @return Whether the shared field is set.
*/
boolean hasShared();
/**
* optional bool shared = 5;
* @return The shared.
*/
boolean getShared();
/**
* optional int64 mount_id = 6;
* @return Whether the mountId field is set.
*/
boolean hasMountId();
/**
* optional int64 mount_id = 6;
* @return The mountId.
*/
long getMountId();
}
/**
*
* next available id: 7
*
*
* Protobuf type {@code alluxio.proto.journal.AddMountPointEntry}
*/
public static final class AddMountPointEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.AddMountPointEntry)
AddMountPointEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use AddMountPointEntry.newBuilder() to construct.
private AddMountPointEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private AddMountPointEntry() {
alluxioPath_ = "";
ufsPath_ = "";
properties_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AddMountPointEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddMountPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AddMountPointEntry.class, alluxio.proto.journal.File.AddMountPointEntry.Builder.class);
}
private int bitField0_;
public static final int ALLUXIO_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object alluxioPath_;
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
@java.lang.Override
public boolean hasAlluxioPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
@java.lang.Override
public java.lang.String getAlluxioPath() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioPath_ = s;
}
return s;
}
}
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int UFS_PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object ufsPath_;
/**
* optional string ufs_path = 2;
* @return Whether the ufsPath field is set.
*/
@java.lang.Override
public boolean hasUfsPath() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string ufs_path = 2;
* @return The ufsPath.
*/
@java.lang.Override
public java.lang.String getUfsPath() {
java.lang.Object ref = ufsPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsPath_ = s;
}
return s;
}
}
/**
* optional string ufs_path = 2;
* @return The bytes for ufsPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes() {
java.lang.Object ref = ufsPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int READONLY_FIELD_NUMBER = 3;
private boolean readOnly_;
/**
* optional bool readOnly = 3;
* @return Whether the readOnly field is set.
*/
@java.lang.Override
public boolean hasReadOnly() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool readOnly = 3;
* @return The readOnly.
*/
@java.lang.Override
public boolean getReadOnly() {
return readOnly_;
}
public static final int PROPERTIES_FIELD_NUMBER = 4;
private java.util.List properties_;
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
@java.lang.Override
public java.util.List getPropertiesList() {
return properties_;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
@java.lang.Override
public java.util.List
getPropertiesOrBuilderList() {
return properties_;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
@java.lang.Override
public int getPropertiesCount() {
return properties_.size();
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntry getProperties(int index) {
return properties_.get(index);
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
@java.lang.Override
public alluxio.proto.journal.File.StringPairEntryOrBuilder getPropertiesOrBuilder(
int index) {
return properties_.get(index);
}
public static final int SHARED_FIELD_NUMBER = 5;
private boolean shared_;
/**
* optional bool shared = 5;
* @return Whether the shared field is set.
*/
@java.lang.Override
public boolean hasShared() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool shared = 5;
* @return The shared.
*/
@java.lang.Override
public boolean getShared() {
return shared_;
}
public static final int MOUNT_ID_FIELD_NUMBER = 6;
private long mountId_;
/**
* optional int64 mount_id = 6;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int64 mount_id = 6;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, alluxioPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ufsPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, readOnly_);
}
for (int i = 0; i < properties_.size(); i++) {
output.writeMessage(4, properties_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(5, shared_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, mountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, alluxioPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, ufsPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(3, readOnly_);
}
for (int i = 0; i < properties_.size(); i++) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, properties_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, shared_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(6, mountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.AddMountPointEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.AddMountPointEntry other = (alluxio.proto.journal.File.AddMountPointEntry) obj;
if (hasAlluxioPath() != other.hasAlluxioPath()) return false;
if (hasAlluxioPath()) {
if (!getAlluxioPath()
.equals(other.getAlluxioPath())) return false;
}
if (hasUfsPath() != other.hasUfsPath()) return false;
if (hasUfsPath()) {
if (!getUfsPath()
.equals(other.getUfsPath())) return false;
}
if (hasReadOnly() != other.hasReadOnly()) return false;
if (hasReadOnly()) {
if (getReadOnly()
!= other.getReadOnly()) return false;
}
if (!getPropertiesList()
.equals(other.getPropertiesList())) return false;
if (hasShared() != other.hasShared()) return false;
if (hasShared()) {
if (getShared()
!= other.getShared()) return false;
}
if (hasMountId() != other.hasMountId()) return false;
if (hasMountId()) {
if (getMountId()
!= other.getMountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAlluxioPath()) {
hash = (37 * hash) + ALLUXIO_PATH_FIELD_NUMBER;
hash = (53 * hash) + getAlluxioPath().hashCode();
}
if (hasUfsPath()) {
hash = (37 * hash) + UFS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getUfsPath().hashCode();
}
if (hasReadOnly()) {
hash = (37 * hash) + READONLY_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getReadOnly());
}
if (getPropertiesCount() > 0) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + getPropertiesList().hashCode();
}
if (hasShared()) {
hash = (37 * hash) + SHARED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getShared());
}
if (hasMountId()) {
hash = (37 * hash) + MOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getMountId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AddMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.AddMountPointEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 7
*
*
* Protobuf type {@code alluxio.proto.journal.AddMountPointEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.AddMountPointEntry)
alluxio.proto.journal.File.AddMountPointEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddMountPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AddMountPointEntry.class, alluxio.proto.journal.File.AddMountPointEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.AddMountPointEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
alluxioPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
ufsPath_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
readOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
} else {
properties_ = null;
propertiesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
shared_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
mountId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.AddMountPointEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.AddMountPointEntry build() {
alluxio.proto.journal.File.AddMountPointEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.AddMountPointEntry buildPartial() {
alluxio.proto.journal.File.AddMountPointEntry result = new alluxio.proto.journal.File.AddMountPointEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.alluxioPath_ = alluxioPath_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.ufsPath_ = ufsPath_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.readOnly_ = readOnly_;
to_bitField0_ |= 0x00000004;
}
if (propertiesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
properties_ = java.util.Collections.unmodifiableList(properties_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.properties_ = properties_;
} else {
result.properties_ = propertiesBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.shared_ = shared_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.mountId_ = mountId_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.AddMountPointEntry) {
return mergeFrom((alluxio.proto.journal.File.AddMountPointEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.AddMountPointEntry other) {
if (other == alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance()) return this;
if (other.hasAlluxioPath()) {
bitField0_ |= 0x00000001;
alluxioPath_ = other.alluxioPath_;
onChanged();
}
if (other.hasUfsPath()) {
bitField0_ |= 0x00000002;
ufsPath_ = other.ufsPath_;
onChanged();
}
if (other.hasReadOnly()) {
setReadOnly(other.getReadOnly());
}
if (propertiesBuilder_ == null) {
if (!other.properties_.isEmpty()) {
if (properties_.isEmpty()) {
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePropertiesIsMutable();
properties_.addAll(other.properties_);
}
onChanged();
}
} else {
if (!other.properties_.isEmpty()) {
if (propertiesBuilder_.isEmpty()) {
propertiesBuilder_.dispose();
propertiesBuilder_ = null;
properties_ = other.properties_;
bitField0_ = (bitField0_ & ~0x00000008);
propertiesBuilder_ =
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPropertiesFieldBuilder() : null;
} else {
propertiesBuilder_.addAllMessages(other.properties_);
}
}
}
if (other.hasShared()) {
setShared(other.getShared());
}
if (other.hasMountId()) {
setMountId(other.getMountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
alluxioPath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ufsPath_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
readOnly_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
alluxio.proto.journal.File.StringPairEntry m =
input.readMessage(
alluxio.proto.journal.File.StringPairEntry.PARSER,
extensionRegistry);
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(m);
} else {
propertiesBuilder_.addMessage(m);
}
break;
} // case 34
case 40: {
shared_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
mountId_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object alluxioPath_ = "";
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
public boolean hasAlluxioPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
public java.lang.String getAlluxioPath() {
java.lang.Object ref = alluxioPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string alluxio_path = 1;
* @param value The alluxioPath to set.
* @return This builder for chaining.
*/
public Builder setAlluxioPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
alluxioPath_ = value;
onChanged();
return this;
}
/**
* optional string alluxio_path = 1;
* @return This builder for chaining.
*/
public Builder clearAlluxioPath() {
bitField0_ = (bitField0_ & ~0x00000001);
alluxioPath_ = getDefaultInstance().getAlluxioPath();
onChanged();
return this;
}
/**
* optional string alluxio_path = 1;
* @param value The bytes for alluxioPath to set.
* @return This builder for chaining.
*/
public Builder setAlluxioPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
alluxioPath_ = value;
onChanged();
return this;
}
private java.lang.Object ufsPath_ = "";
/**
* optional string ufs_path = 2;
* @return Whether the ufsPath field is set.
*/
public boolean hasUfsPath() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string ufs_path = 2;
* @return The ufsPath.
*/
public java.lang.String getUfsPath() {
java.lang.Object ref = ufsPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufs_path = 2;
* @return The bytes for ufsPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes() {
java.lang.Object ref = ufsPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufs_path = 2;
* @param value The ufsPath to set.
* @return This builder for chaining.
*/
public Builder setUfsPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
ufsPath_ = value;
onChanged();
return this;
}
/**
* optional string ufs_path = 2;
* @return This builder for chaining.
*/
public Builder clearUfsPath() {
bitField0_ = (bitField0_ & ~0x00000002);
ufsPath_ = getDefaultInstance().getUfsPath();
onChanged();
return this;
}
/**
* optional string ufs_path = 2;
* @param value The bytes for ufsPath to set.
* @return This builder for chaining.
*/
public Builder setUfsPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
ufsPath_ = value;
onChanged();
return this;
}
private boolean readOnly_ ;
/**
* optional bool readOnly = 3;
* @return Whether the readOnly field is set.
*/
@java.lang.Override
public boolean hasReadOnly() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool readOnly = 3;
* @return The readOnly.
*/
@java.lang.Override
public boolean getReadOnly() {
return readOnly_;
}
/**
* optional bool readOnly = 3;
* @param value The readOnly to set.
* @return This builder for chaining.
*/
public Builder setReadOnly(boolean value) {
bitField0_ |= 0x00000004;
readOnly_ = value;
onChanged();
return this;
}
/**
* optional bool readOnly = 3;
* @return This builder for chaining.
*/
public Builder clearReadOnly() {
bitField0_ = (bitField0_ & ~0x00000004);
readOnly_ = false;
onChanged();
return this;
}
private java.util.List properties_ =
java.util.Collections.emptyList();
private void ensurePropertiesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
properties_ = new java.util.ArrayList(properties_);
bitField0_ |= 0x00000008;
}
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.journal.File.StringPairEntry, alluxio.proto.journal.File.StringPairEntry.Builder, alluxio.proto.journal.File.StringPairEntryOrBuilder> propertiesBuilder_;
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public java.util.List getPropertiesList() {
if (propertiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(properties_);
} else {
return propertiesBuilder_.getMessageList();
}
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public int getPropertiesCount() {
if (propertiesBuilder_ == null) {
return properties_.size();
} else {
return propertiesBuilder_.getCount();
}
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public alluxio.proto.journal.File.StringPairEntry getProperties(int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index);
} else {
return propertiesBuilder_.getMessage(index);
}
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder setProperties(
int index, alluxio.proto.journal.File.StringPairEntry value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.set(index, value);
onChanged();
} else {
propertiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder setProperties(
int index, alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.set(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder addProperties(alluxio.proto.journal.File.StringPairEntry value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(value);
onChanged();
} else {
propertiesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder addProperties(
int index, alluxio.proto.journal.File.StringPairEntry value) {
if (propertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropertiesIsMutable();
properties_.add(index, value);
onChanged();
} else {
propertiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder addProperties(
alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder addProperties(
int index, alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.add(index, builderForValue.build());
onChanged();
} else {
propertiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder addAllProperties(
java.lang.Iterable values) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, properties_);
onChanged();
} else {
propertiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder clearProperties() {
if (propertiesBuilder_ == null) {
properties_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
propertiesBuilder_.clear();
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public Builder removeProperties(int index) {
if (propertiesBuilder_ == null) {
ensurePropertiesIsMutable();
properties_.remove(index);
onChanged();
} else {
propertiesBuilder_.remove(index);
}
return this;
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public alluxio.proto.journal.File.StringPairEntry.Builder getPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().getBuilder(index);
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public alluxio.proto.journal.File.StringPairEntryOrBuilder getPropertiesOrBuilder(
int index) {
if (propertiesBuilder_ == null) {
return properties_.get(index); } else {
return propertiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public java.util.List
getPropertiesOrBuilderList() {
if (propertiesBuilder_ != null) {
return propertiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(properties_);
}
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public alluxio.proto.journal.File.StringPairEntry.Builder addPropertiesBuilder() {
return getPropertiesFieldBuilder().addBuilder(
alluxio.proto.journal.File.StringPairEntry.getDefaultInstance());
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public alluxio.proto.journal.File.StringPairEntry.Builder addPropertiesBuilder(
int index) {
return getPropertiesFieldBuilder().addBuilder(
index, alluxio.proto.journal.File.StringPairEntry.getDefaultInstance());
}
/**
* repeated .alluxio.proto.journal.StringPairEntry properties = 4;
*/
public java.util.List
getPropertiesBuilderList() {
return getPropertiesFieldBuilder().getBuilderList();
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.journal.File.StringPairEntry, alluxio.proto.journal.File.StringPairEntry.Builder, alluxio.proto.journal.File.StringPairEntryOrBuilder>
getPropertiesFieldBuilder() {
if (propertiesBuilder_ == null) {
propertiesBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.journal.File.StringPairEntry, alluxio.proto.journal.File.StringPairEntry.Builder, alluxio.proto.journal.File.StringPairEntryOrBuilder>(
properties_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
properties_ = null;
}
return propertiesBuilder_;
}
private boolean shared_ ;
/**
* optional bool shared = 5;
* @return Whether the shared field is set.
*/
@java.lang.Override
public boolean hasShared() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool shared = 5;
* @return The shared.
*/
@java.lang.Override
public boolean getShared() {
return shared_;
}
/**
* optional bool shared = 5;
* @param value The shared to set.
* @return This builder for chaining.
*/
public Builder setShared(boolean value) {
bitField0_ |= 0x00000010;
shared_ = value;
onChanged();
return this;
}
/**
* optional bool shared = 5;
* @return This builder for chaining.
*/
public Builder clearShared() {
bitField0_ = (bitField0_ & ~0x00000010);
shared_ = false;
onChanged();
return this;
}
private long mountId_ ;
/**
* optional int64 mount_id = 6;
* @return Whether the mountId field is set.
*/
@java.lang.Override
public boolean hasMountId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 mount_id = 6;
* @return The mountId.
*/
@java.lang.Override
public long getMountId() {
return mountId_;
}
/**
* optional int64 mount_id = 6;
* @param value The mountId to set.
* @return This builder for chaining.
*/
public Builder setMountId(long value) {
bitField0_ |= 0x00000020;
mountId_ = value;
onChanged();
return this;
}
/**
* optional int64 mount_id = 6;
* @return This builder for chaining.
*/
public Builder clearMountId() {
bitField0_ = (bitField0_ & ~0x00000020);
mountId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.AddMountPointEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.AddMountPointEntry)
private static final alluxio.proto.journal.File.AddMountPointEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.AddMountPointEntry();
}
public static alluxio.proto.journal.File.AddMountPointEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public AddMountPointEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.AddMountPointEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AsyncPersistRequestEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.AsyncPersistRequestEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 file_id = 1;
* @return Whether the fileId field is set.
*/
boolean hasFileId();
/**
* optional int64 file_id = 1;
* @return The fileId.
*/
long getFileId();
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.AsyncPersistRequestEntry}
*/
public static final class AsyncPersistRequestEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.AsyncPersistRequestEntry)
AsyncPersistRequestEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use AsyncPersistRequestEntry.newBuilder() to construct.
private AsyncPersistRequestEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private AsyncPersistRequestEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AsyncPersistRequestEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AsyncPersistRequestEntry.class, alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder.class);
}
private int bitField0_;
public static final int FILE_ID_FIELD_NUMBER = 1;
private long fileId_;
/**
* optional int64 file_id = 1;
* @return Whether the fileId field is set.
*/
@java.lang.Override
public boolean hasFileId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 file_id = 1;
* @return The fileId.
*/
@java.lang.Override
public long getFileId() {
return fileId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, fileId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, fileId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.AsyncPersistRequestEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.AsyncPersistRequestEntry other = (alluxio.proto.journal.File.AsyncPersistRequestEntry) obj;
if (hasFileId() != other.hasFileId()) return false;
if (hasFileId()) {
if (getFileId()
!= other.getFileId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFileId()) {
hash = (37 * hash) + FILE_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getFileId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.AsyncPersistRequestEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.AsyncPersistRequestEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.AsyncPersistRequestEntry)
alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.AsyncPersistRequestEntry.class, alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.AsyncPersistRequestEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
fileId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.AsyncPersistRequestEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.AsyncPersistRequestEntry build() {
alluxio.proto.journal.File.AsyncPersistRequestEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.AsyncPersistRequestEntry buildPartial() {
alluxio.proto.journal.File.AsyncPersistRequestEntry result = new alluxio.proto.journal.File.AsyncPersistRequestEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.fileId_ = fileId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.AsyncPersistRequestEntry) {
return mergeFrom((alluxio.proto.journal.File.AsyncPersistRequestEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.AsyncPersistRequestEntry other) {
if (other == alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance()) return this;
if (other.hasFileId()) {
setFileId(other.getFileId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fileId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long fileId_ ;
/**
* optional int64 file_id = 1;
* @return Whether the fileId field is set.
*/
@java.lang.Override
public boolean hasFileId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 file_id = 1;
* @return The fileId.
*/
@java.lang.Override
public long getFileId() {
return fileId_;
}
/**
* optional int64 file_id = 1;
* @param value The fileId to set.
* @return This builder for chaining.
*/
public Builder setFileId(long value) {
bitField0_ |= 0x00000001;
fileId_ = value;
onChanged();
return this;
}
/**
* optional int64 file_id = 1;
* @return This builder for chaining.
*/
public Builder clearFileId() {
bitField0_ = (bitField0_ & ~0x00000001);
fileId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.AsyncPersistRequestEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.AsyncPersistRequestEntry)
private static final alluxio.proto.journal.File.AsyncPersistRequestEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.AsyncPersistRequestEntry();
}
public static alluxio.proto.journal.File.AsyncPersistRequestEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public AsyncPersistRequestEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.AsyncPersistRequestEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CompleteFileEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.CompleteFileEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* repeated int64 block_ids = 1;
* @return A list containing the blockIds.
*/
java.util.List getBlockIdsList();
/**
* repeated int64 block_ids = 1;
* @return The count of blockIds.
*/
int getBlockIdsCount();
/**
* repeated int64 block_ids = 1;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
long getBlockIds(int index);
/**
* optional int64 id = 2;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 2;
* @return The id.
*/
long getId();
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
boolean hasLength();
/**
* optional int64 length = 3;
* @return The length.
*/
long getLength();
/**
* optional int64 op_time_ms = 4;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 4;
* @return The opTimeMs.
*/
long getOpTimeMs();
/**
* optional string ufs_fingerprint = 5;
* @return Whether the ufsFingerprint field is set.
*/
boolean hasUfsFingerprint();
/**
* optional string ufs_fingerprint = 5;
* @return The ufsFingerprint.
*/
java.lang.String getUfsFingerprint();
/**
* optional string ufs_fingerprint = 5;
* @return The bytes for ufsFingerprint.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes();
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.CompleteFileEntry}
*/
public static final class CompleteFileEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.CompleteFileEntry)
CompleteFileEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use CompleteFileEntry.newBuilder() to construct.
private CompleteFileEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private CompleteFileEntry() {
blockIds_ = emptyLongList();
ufsFingerprint_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CompleteFileEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_CompleteFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.CompleteFileEntry.class, alluxio.proto.journal.File.CompleteFileEntry.Builder.class);
}
private int bitField0_;
public static final int BLOCK_IDS_FIELD_NUMBER = 1;
private alluxio.shaded.client.com.google.protobuf.Internal.LongList blockIds_;
/**
* repeated int64 block_ids = 1;
* @return A list containing the blockIds.
*/
@java.lang.Override
public java.util.List
getBlockIdsList() {
return blockIds_;
}
/**
* repeated int64 block_ids = 1;
* @return The count of blockIds.
*/
public int getBlockIdsCount() {
return blockIds_.size();
}
/**
* repeated int64 block_ids = 1;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
public long getBlockIds(int index) {
return blockIds_.getLong(index);
}
public static final int ID_FIELD_NUMBER = 2;
private long id_;
/**
* optional int64 id = 2;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 2;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int LENGTH_FIELD_NUMBER = 3;
private long length_;
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 length = 3;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
public static final int OP_TIME_MS_FIELD_NUMBER = 4;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 4;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 4;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
public static final int UFS_FINGERPRINT_FIELD_NUMBER = 5;
private volatile java.lang.Object ufsFingerprint_;
/**
* optional string ufs_fingerprint = 5;
* @return Whether the ufsFingerprint field is set.
*/
@java.lang.Override
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string ufs_fingerprint = 5;
* @return The ufsFingerprint.
*/
@java.lang.Override
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
}
}
/**
* optional string ufs_fingerprint = 5;
* @return The bytes for ufsFingerprint.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
for (int i = 0; i < blockIds_.size(); i++) {
output.writeInt64(1, blockIds_.getLong(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(2, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, length_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ufsFingerprint_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < blockIds_.size(); i++) {
dataSize += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64SizeNoTag(blockIds_.getLong(i));
}
size += dataSize;
size += 1 * getBlockIdsList().size();
}
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(3, length_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(4, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(5, ufsFingerprint_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.CompleteFileEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.CompleteFileEntry other = (alluxio.proto.journal.File.CompleteFileEntry) obj;
if (!getBlockIdsList()
.equals(other.getBlockIdsList())) return false;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasLength() != other.hasLength()) return false;
if (hasLength()) {
if (getLength()
!= other.getLength()) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (hasUfsFingerprint() != other.hasUfsFingerprint()) return false;
if (hasUfsFingerprint()) {
if (!getUfsFingerprint()
.equals(other.getUfsFingerprint())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getBlockIdsCount() > 0) {
hash = (37 * hash) + BLOCK_IDS_FIELD_NUMBER;
hash = (53 * hash) + getBlockIdsList().hashCode();
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasLength()) {
hash = (37 * hash) + LENGTH_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLength());
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
if (hasUfsFingerprint()) {
hash = (37 * hash) + UFS_FINGERPRINT_FIELD_NUMBER;
hash = (53 * hash) + getUfsFingerprint().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.CompleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.CompleteFileEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.CompleteFileEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.CompleteFileEntry)
alluxio.proto.journal.File.CompleteFileEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_CompleteFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.CompleteFileEntry.class, alluxio.proto.journal.File.CompleteFileEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.CompleteFileEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
blockIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
ufsFingerprint_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.CompleteFileEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.CompleteFileEntry build() {
alluxio.proto.journal.File.CompleteFileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.CompleteFileEntry buildPartial() {
alluxio.proto.journal.File.CompleteFileEntry result = new alluxio.proto.journal.File.CompleteFileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) != 0)) {
blockIds_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.blockIds_ = blockIds_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.length_ = length_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.ufsFingerprint_ = ufsFingerprint_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.CompleteFileEntry) {
return mergeFrom((alluxio.proto.journal.File.CompleteFileEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.CompleteFileEntry other) {
if (other == alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance()) return this;
if (!other.blockIds_.isEmpty()) {
if (blockIds_.isEmpty()) {
blockIds_ = other.blockIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBlockIdsIsMutable();
blockIds_.addAll(other.blockIds_);
}
onChanged();
}
if (other.hasId()) {
setId(other.getId());
}
if (other.hasLength()) {
setLength(other.getLength());
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
if (other.hasUfsFingerprint()) {
bitField0_ |= 0x00000010;
ufsFingerprint_ = other.ufsFingerprint_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
long v = input.readInt64();
ensureBlockIdsIsMutable();
blockIds_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBlockIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
blockIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 10
case 16: {
id_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
length_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
ufsFingerprint_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private alluxio.shaded.client.com.google.protobuf.Internal.LongList blockIds_ = emptyLongList();
private void ensureBlockIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
blockIds_ = mutableCopy(blockIds_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int64 block_ids = 1;
* @return A list containing the blockIds.
*/
public java.util.List
getBlockIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(blockIds_) : blockIds_;
}
/**
* repeated int64 block_ids = 1;
* @return The count of blockIds.
*/
public int getBlockIdsCount() {
return blockIds_.size();
}
/**
* repeated int64 block_ids = 1;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
public long getBlockIds(int index) {
return blockIds_.getLong(index);
}
/**
* repeated int64 block_ids = 1;
* @param index The index to set the value at.
* @param value The blockIds to set.
* @return This builder for chaining.
*/
public Builder setBlockIds(
int index, long value) {
ensureBlockIdsIsMutable();
blockIds_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated int64 block_ids = 1;
* @param value The blockIds to add.
* @return This builder for chaining.
*/
public Builder addBlockIds(long value) {
ensureBlockIdsIsMutable();
blockIds_.addLong(value);
onChanged();
return this;
}
/**
* repeated int64 block_ids = 1;
* @param values The blockIds to add.
* @return This builder for chaining.
*/
public Builder addAllBlockIds(
java.lang.Iterable values) {
ensureBlockIdsIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blockIds_);
onChanged();
return this;
}
/**
* repeated int64 block_ids = 1;
* @return This builder for chaining.
*/
public Builder clearBlockIds() {
blockIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private long id_ ;
/**
* optional int64 id = 2;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 id = 2;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 2;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000002;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 2;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000002);
id_ = 0L;
onChanged();
return this;
}
private long length_ ;
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 length = 3;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
/**
* optional int64 length = 3;
* @param value The length to set.
* @return This builder for chaining.
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000004;
length_ = value;
onChanged();
return this;
}
/**
* optional int64 length = 3;
* @return This builder for chaining.
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000004);
length_ = 0L;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 4;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 op_time_ms = 4;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 4;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000008;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 4;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000008);
opTimeMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object ufsFingerprint_ = "";
/**
* optional string ufs_fingerprint = 5;
* @return Whether the ufsFingerprint field is set.
*/
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string ufs_fingerprint = 5;
* @return The ufsFingerprint.
*/
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufs_fingerprint = 5;
* @return The bytes for ufsFingerprint.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufs_fingerprint = 5;
* @param value The ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprint(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
ufsFingerprint_ = value;
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 5;
* @return This builder for chaining.
*/
public Builder clearUfsFingerprint() {
bitField0_ = (bitField0_ & ~0x00000010);
ufsFingerprint_ = getDefaultInstance().getUfsFingerprint();
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 5;
* @param value The bytes for ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprintBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
ufsFingerprint_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.CompleteFileEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.CompleteFileEntry)
private static final alluxio.proto.journal.File.CompleteFileEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.CompleteFileEntry();
}
public static alluxio.proto.journal.File.CompleteFileEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public CompleteFileEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.CompleteFileEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteFileEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.DeleteFileEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return Whether the recursive field is set.
*/
boolean hasRecursive();
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return The recursive.
*/
boolean getRecursive();
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
long getOpTimeMs();
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return Whether the alluxioOnly field is set.
*/
boolean hasAlluxioOnly();
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return The alluxioOnly.
*/
boolean getAlluxioOnly();
/**
* optional string path = 5;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* optional string path = 5;
* @return The path.
*/
java.lang.String getPath();
/**
* optional string path = 5;
* @return The bytes for path.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.DeleteFileEntry}
*/
public static final class DeleteFileEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.DeleteFileEntry)
DeleteFileEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteFileEntry.newBuilder() to construct.
private DeleteFileEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private DeleteFileEntry() {
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeleteFileEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.DeleteFileEntry.class, alluxio.proto.journal.File.DeleteFileEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int RECURSIVE_FIELD_NUMBER = 2;
private boolean recursive_;
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
public static final int OP_TIME_MS_FIELD_NUMBER = 3;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
public static final int ALLUXIOONLY_FIELD_NUMBER = 4;
private boolean alluxioOnly_;
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return Whether the alluxioOnly field is set.
*/
@java.lang.Override
public boolean hasAlluxioOnly() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return The alluxioOnly.
*/
@java.lang.Override
public boolean getAlluxioOnly() {
return alluxioOnly_;
}
public static final int PATH_FIELD_NUMBER = 5;
private volatile java.lang.Object path_;
/**
* optional string path = 5;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string path = 5;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 5;
* @return The bytes for path.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, recursive_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, alluxioOnly_);
}
if (((bitField0_ & 0x00000010) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(2, recursive_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(3, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(4, alluxioOnly_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(5, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.DeleteFileEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.DeleteFileEntry other = (alluxio.proto.journal.File.DeleteFileEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasRecursive() != other.hasRecursive()) return false;
if (hasRecursive()) {
if (getRecursive()
!= other.getRecursive()) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (hasAlluxioOnly() != other.hasAlluxioOnly()) return false;
if (hasAlluxioOnly()) {
if (getAlluxioOnly()
!= other.getAlluxioOnly()) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasRecursive()) {
hash = (37 * hash) + RECURSIVE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getRecursive());
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
if (hasAlluxioOnly()) {
hash = (37 * hash) + ALLUXIOONLY_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getAlluxioOnly());
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.DeleteFileEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.DeleteFileEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.DeleteFileEntry)
alluxio.proto.journal.File.DeleteFileEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.DeleteFileEntry.class, alluxio.proto.journal.File.DeleteFileEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.DeleteFileEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
recursive_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
alluxioOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteFileEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteFileEntry build() {
alluxio.proto.journal.File.DeleteFileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteFileEntry buildPartial() {
alluxio.proto.journal.File.DeleteFileEntry result = new alluxio.proto.journal.File.DeleteFileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.recursive_ = recursive_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.alluxioOnly_ = alluxioOnly_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.path_ = path_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.DeleteFileEntry) {
return mergeFrom((alluxio.proto.journal.File.DeleteFileEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.DeleteFileEntry other) {
if (other == alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasRecursive()) {
setRecursive(other.getRecursive());
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
if (other.hasAlluxioOnly()) {
setAlluxioOnly(other.getAlluxioOnly());
}
if (other.hasPath()) {
bitField0_ |= 0x00000010;
path_ = other.path_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
recursive_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
alluxioOnly_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
path_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private boolean recursive_ ;
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @param value The recursive to set.
* @return This builder for chaining.
*/
public Builder setRecursive(boolean value) {
bitField0_ |= 0x00000002;
recursive_ = value;
onChanged();
return this;
}
/**
*
* Deprecated, we now write one journal entry per inode removed
*
*
* optional bool recursive = 2;
* @return This builder for chaining.
*/
public Builder clearRecursive() {
bitField0_ = (bitField0_ & ~0x00000002);
recursive_ = false;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 3;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000004;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 3;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000004);
opTimeMs_ = 0L;
onChanged();
return this;
}
private boolean alluxioOnly_ ;
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return Whether the alluxioOnly field is set.
*/
@java.lang.Override
public boolean hasAlluxioOnly() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return The alluxioOnly.
*/
@java.lang.Override
public boolean getAlluxioOnly() {
return alluxioOnly_;
}
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @param value The alluxioOnly to set.
* @return This builder for chaining.
*/
public Builder setAlluxioOnly(boolean value) {
bitField0_ |= 0x00000008;
alluxioOnly_ = value;
onChanged();
return this;
}
/**
*
* Deprecated, this field is about whether to delete in the UFS. We don't journal UFS changes.
*
*
* optional bool alluxioOnly = 4;
* @return This builder for chaining.
*/
public Builder clearAlluxioOnly() {
bitField0_ = (bitField0_ & ~0x00000008);
alluxioOnly_ = false;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 5;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string path = 5;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 5;
* @return The bytes for path.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 5;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 5;
* @return This builder for chaining.
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000010);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 5;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
path_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.DeleteFileEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.DeleteFileEntry)
private static final alluxio.proto.journal.File.DeleteFileEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.DeleteFileEntry();
}
public static alluxio.proto.journal.File.DeleteFileEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public DeleteFileEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteFileEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteMountPointEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.DeleteMountPointEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
boolean hasAlluxioPath();
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
java.lang.String getAlluxioPath();
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes();
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.DeleteMountPointEntry}
*/
public static final class DeleteMountPointEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.DeleteMountPointEntry)
DeleteMountPointEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteMountPointEntry.newBuilder() to construct.
private DeleteMountPointEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private DeleteMountPointEntry() {
alluxioPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeleteMountPointEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteMountPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.DeleteMountPointEntry.class, alluxio.proto.journal.File.DeleteMountPointEntry.Builder.class);
}
private int bitField0_;
public static final int ALLUXIO_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object alluxioPath_;
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
@java.lang.Override
public boolean hasAlluxioPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
@java.lang.Override
public java.lang.String getAlluxioPath() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioPath_ = s;
}
return s;
}
}
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, alluxioPath_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, alluxioPath_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.DeleteMountPointEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.DeleteMountPointEntry other = (alluxio.proto.journal.File.DeleteMountPointEntry) obj;
if (hasAlluxioPath() != other.hasAlluxioPath()) return false;
if (hasAlluxioPath()) {
if (!getAlluxioPath()
.equals(other.getAlluxioPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAlluxioPath()) {
hash = (37 * hash) + ALLUXIO_PATH_FIELD_NUMBER;
hash = (53 * hash) + getAlluxioPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.DeleteMountPointEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.DeleteMountPointEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.DeleteMountPointEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.DeleteMountPointEntry)
alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteMountPointEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.DeleteMountPointEntry.class, alluxio.proto.journal.File.DeleteMountPointEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.DeleteMountPointEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
alluxioPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteMountPointEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteMountPointEntry build() {
alluxio.proto.journal.File.DeleteMountPointEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteMountPointEntry buildPartial() {
alluxio.proto.journal.File.DeleteMountPointEntry result = new alluxio.proto.journal.File.DeleteMountPointEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.alluxioPath_ = alluxioPath_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.DeleteMountPointEntry) {
return mergeFrom((alluxio.proto.journal.File.DeleteMountPointEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.DeleteMountPointEntry other) {
if (other == alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance()) return this;
if (other.hasAlluxioPath()) {
bitField0_ |= 0x00000001;
alluxioPath_ = other.alluxioPath_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
alluxioPath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object alluxioPath_ = "";
/**
* optional string alluxio_path = 1;
* @return Whether the alluxioPath field is set.
*/
public boolean hasAlluxioPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string alluxio_path = 1;
* @return The alluxioPath.
*/
public java.lang.String getAlluxioPath() {
java.lang.Object ref = alluxioPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string alluxio_path = 1;
* @return The bytes for alluxioPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioPathBytes() {
java.lang.Object ref = alluxioPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string alluxio_path = 1;
* @param value The alluxioPath to set.
* @return This builder for chaining.
*/
public Builder setAlluxioPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
alluxioPath_ = value;
onChanged();
return this;
}
/**
* optional string alluxio_path = 1;
* @return This builder for chaining.
*/
public Builder clearAlluxioPath() {
bitField0_ = (bitField0_ & ~0x00000001);
alluxioPath_ = getDefaultInstance().getAlluxioPath();
onChanged();
return this;
}
/**
* optional string alluxio_path = 1;
* @param value The bytes for alluxioPath to set.
* @return This builder for chaining.
*/
public Builder setAlluxioPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
alluxioPath_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.DeleteMountPointEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.DeleteMountPointEntry)
private static final alluxio.proto.journal.File.DeleteMountPointEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.DeleteMountPointEntry();
}
public static alluxio.proto.journal.File.DeleteMountPointEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public DeleteMountPointEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.DeleteMountPointEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NewBlockEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.NewBlockEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
}
/**
*
* Creates a new block for a file inode.
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.NewBlockEntry}
*/
public static final class NewBlockEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.NewBlockEntry)
NewBlockEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use NewBlockEntry.newBuilder() to construct.
private NewBlockEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private NewBlockEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NewBlockEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_NewBlockEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_NewBlockEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.NewBlockEntry.class, alluxio.proto.journal.File.NewBlockEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.NewBlockEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.NewBlockEntry other = (alluxio.proto.journal.File.NewBlockEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.NewBlockEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.NewBlockEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.NewBlockEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.NewBlockEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Creates a new block for a file inode.
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.NewBlockEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.NewBlockEntry)
alluxio.proto.journal.File.NewBlockEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_NewBlockEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_NewBlockEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.NewBlockEntry.class, alluxio.proto.journal.File.NewBlockEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.NewBlockEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_NewBlockEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.NewBlockEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.NewBlockEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.NewBlockEntry build() {
alluxio.proto.journal.File.NewBlockEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.NewBlockEntry buildPartial() {
alluxio.proto.journal.File.NewBlockEntry result = new alluxio.proto.journal.File.NewBlockEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.NewBlockEntry) {
return mergeFrom((alluxio.proto.journal.File.NewBlockEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.NewBlockEntry other) {
if (other == alluxio.proto.journal.File.NewBlockEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.NewBlockEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.NewBlockEntry)
private static final alluxio.proto.journal.File.NewBlockEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.NewBlockEntry();
}
public static alluxio.proto.journal.File.NewBlockEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public NewBlockEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.NewBlockEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateInodeEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.UpdateInodeEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
boolean hasParentId();
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
long getParentId();
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 3;
* @return The bytes for name.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes();
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
boolean hasPersistenceState();
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
java.lang.String getPersistenceState();
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes();
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
boolean hasPinned();
/**
* optional bool pinned = 5;
* @return The pinned.
*/
boolean getPinned();
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
boolean hasCreationTimeMs();
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
long getCreationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
boolean hasLastModificationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
long getLastModificationTimeMs();
/**
* optional bool overwrite_modification_time = 8;
* @return Whether the overwriteModificationTime field is set.
*/
boolean hasOverwriteModificationTime();
/**
* optional bool overwrite_modification_time = 8;
* @return The overwriteModificationTime.
*/
boolean getOverwriteModificationTime();
/**
* optional string owner = 9;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* optional string owner = 9;
* @return The owner.
*/
java.lang.String getOwner();
/**
* optional string owner = 9;
* @return The bytes for owner.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes();
/**
* optional string group = 10;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 10;
* @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 10;
* @return The bytes for group.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes();
/**
* optional int32 mode = 11;
* @return Whether the mode field is set.
*/
boolean hasMode();
/**
* optional int32 mode = 11;
* @return The mode.
*/
int getMode();
/**
* optional int64 ttl = 12;
* @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
* optional int64 ttl = 12;
* @return The ttl.
*/
long getTtl();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
boolean hasTtlAction();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return The ttlAction.
*/
alluxio.proto.journal.File.PTtlAction getTtlAction();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return Whether the acl field is set.
*/
boolean hasAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return The acl.
*/
alluxio.proto.shared.Acl.AccessControlList getAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder();
/**
* optional string ufs_fingerprint = 15;
* @return Whether the ufsFingerprint field is set.
*/
boolean hasUfsFingerprint();
/**
* optional string ufs_fingerprint = 15;
* @return The ufsFingerprint.
*/
java.lang.String getUfsFingerprint();
/**
* optional string ufs_fingerprint = 15;
* @return The bytes for ufsFingerprint.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes();
/**
* repeated string medium_type = 16;
* @return A list containing the mediumType.
*/
java.util.List
getMediumTypeList();
/**
* repeated string medium_type = 16;
* @return The count of mediumType.
*/
int getMediumTypeCount();
/**
* repeated string medium_type = 16;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
java.lang.String getMediumType(int index);
/**
* repeated string medium_type = 16;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index);
/**
* map<string, bytes> xAttr = 17;
*/
int getXAttrCount();
/**
* map<string, bytes> xAttr = 17;
*/
boolean containsXAttr(
java.lang.String key);
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getXAttr();
/**
* map<string, bytes> xAttr = 17;
*/
java.util.Map
getXAttrMap();
/**
* map<string, bytes> xAttr = 17;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue);
/**
* map<string, bytes> xAttr = 17;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key);
/**
* optional int64 last_access_time_ms = 18;
* @return Whether the lastAccessTimeMs field is set.
*/
boolean hasLastAccessTimeMs();
/**
* optional int64 last_access_time_ms = 18;
* @return The lastAccessTimeMs.
*/
long getLastAccessTimeMs();
/**
* optional bool overwrite_access_time = 19;
* @return Whether the overwriteAccessTime field is set.
*/
boolean hasOverwriteAccessTime();
/**
* optional bool overwrite_access_time = 19;
* @return The overwriteAccessTime.
*/
boolean getOverwriteAccessTime();
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return Whether the xAttrUpdateStrategy field is set.
*/
boolean hasXAttrUpdateStrategy();
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return The xAttrUpdateStrategy.
*/
alluxio.proto.journal.File.XAttrUpdateStrategy getXAttrUpdateStrategy();
}
/**
*
* next available id: 21
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeEntry}
*/
public static final class UpdateInodeEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.UpdateInodeEntry)
UpdateInodeEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateInodeEntry.newBuilder() to construct.
private UpdateInodeEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UpdateInodeEntry() {
name_ = "";
persistenceState_ = "";
owner_ = "";
group_ = "";
ttlAction_ = 0;
ufsFingerprint_ = "";
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
xAttrUpdateStrategy_ = 1;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateInodeEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 17:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeEntry.class, alluxio.proto.journal.File.UpdateInodeEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int PARENT_ID_FIELD_NUMBER = 2;
private long parentId_;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PERSISTENCE_STATE_FIELD_NUMBER = 4;
private volatile java.lang.Object persistenceState_;
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
@java.lang.Override
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
@java.lang.Override
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PINNED_FIELD_NUMBER = 5;
private boolean pinned_;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
public static final int CREATION_TIME_MS_FIELD_NUMBER = 6;
private long creationTimeMs_;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
public static final int LAST_MODIFICATION_TIME_MS_FIELD_NUMBER = 7;
private long lastModificationTimeMs_;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
public static final int OVERWRITE_MODIFICATION_TIME_FIELD_NUMBER = 8;
private boolean overwriteModificationTime_;
/**
* optional bool overwrite_modification_time = 8;
* @return Whether the overwriteModificationTime field is set.
*/
@java.lang.Override
public boolean hasOverwriteModificationTime() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional bool overwrite_modification_time = 8;
* @return The overwriteModificationTime.
*/
@java.lang.Override
public boolean getOverwriteModificationTime() {
return overwriteModificationTime_;
}
public static final int OWNER_FIELD_NUMBER = 9;
private volatile java.lang.Object owner_;
/**
* optional string owner = 9;
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string owner = 9;
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
}
}
/**
* optional string owner = 9;
* @return The bytes for owner.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_FIELD_NUMBER = 10;
private volatile java.lang.Object group_;
/**
* optional string group = 10;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string group = 10;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
}
}
/**
* optional string group = 10;
* @return The bytes for group.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MODE_FIELD_NUMBER = 11;
private int mode_;
/**
* optional int32 mode = 11;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional int32 mode = 11;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
public static final int TTL_FIELD_NUMBER = 12;
private long ttl_;
/**
* optional int64 ttl = 12;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional int64 ttl = 12;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
public static final int TTLACTION_FIELD_NUMBER = 13;
private int ttlAction_;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
public static final int ACL_FIELD_NUMBER = 14;
private alluxio.proto.shared.Acl.AccessControlList acl_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return Whether the acl field is set.
*/
@java.lang.Override
public boolean hasAcl() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return The acl.
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
public static final int UFS_FINGERPRINT_FIELD_NUMBER = 15;
private volatile java.lang.Object ufsFingerprint_;
/**
* optional string ufs_fingerprint = 15;
* @return Whether the ufsFingerprint field is set.
*/
@java.lang.Override
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string ufs_fingerprint = 15;
* @return The ufsFingerprint.
*/
@java.lang.Override
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
}
}
/**
* optional string ufs_fingerprint = 15;
* @return The bytes for ufsFingerprint.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MEDIUM_TYPE_FIELD_NUMBER = 16;
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_;
/**
* repeated string medium_type = 16;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_;
}
/**
* repeated string medium_type = 16;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 16;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 16;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
public static final int XATTR_FIELD_NUMBER = 17;
private static final class XAttrDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.BYTES,
alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY);
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int LAST_ACCESS_TIME_MS_FIELD_NUMBER = 18;
private long lastAccessTimeMs_;
/**
* optional int64 last_access_time_ms = 18;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional int64 last_access_time_ms = 18;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
public static final int OVERWRITE_ACCESS_TIME_FIELD_NUMBER = 19;
private boolean overwriteAccessTime_;
/**
* optional bool overwrite_access_time = 19;
* @return Whether the overwriteAccessTime field is set.
*/
@java.lang.Override
public boolean hasOverwriteAccessTime() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional bool overwrite_access_time = 19;
* @return The overwriteAccessTime.
*/
@java.lang.Override
public boolean getOverwriteAccessTime() {
return overwriteAccessTime_;
}
public static final int XATTR_UPDATE_STRATEGY_FIELD_NUMBER = 20;
private int xAttrUpdateStrategy_;
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return Whether the xAttrUpdateStrategy field is set.
*/
@java.lang.Override public boolean hasXAttrUpdateStrategy() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return The xAttrUpdateStrategy.
*/
@java.lang.Override public alluxio.proto.journal.File.XAttrUpdateStrategy getXAttrUpdateStrategy() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.XAttrUpdateStrategy result = alluxio.proto.journal.File.XAttrUpdateStrategy.valueOf(xAttrUpdateStrategy_);
return result == null ? alluxio.proto.journal.File.XAttrUpdateStrategy.TRUNCATE : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeBool(8, overwriteModificationTime_);
}
if (((bitField0_ & 0x00000100) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 9, owner_);
}
if (((bitField0_ & 0x00000200) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 10, group_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt32(11, mode_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(12, ttl_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeEnum(13, ttlAction_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeMessage(14, getAcl());
}
if (((bitField0_ & 0x00004000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 15, ufsFingerprint_);
}
for (int i = 0; i < mediumType_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 16, mediumType_.getRaw(i));
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetXAttr(),
XAttrDefaultEntryHolder.defaultEntry,
17);
if (((bitField0_ & 0x00008000) != 0)) {
output.writeInt64(18, lastAccessTimeMs_);
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeBool(19, overwriteAccessTime_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeEnum(20, xAttrUpdateStrategy_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(8, overwriteModificationTime_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(9, owner_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(10, group_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(11, mode_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(12, ttl_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(13, ttlAction_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(14, getAcl());
}
if (((bitField0_ & 0x00004000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(15, ufsFingerprint_);
}
{
int dataSize = 0;
for (int i = 0; i < mediumType_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(mediumType_.getRaw(i));
}
size += dataSize;
size += 2 * getMediumTypeList().size();
}
for (java.util.Map.Entry entry
: internalGetXAttr().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = XAttrDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(17, xAttr__);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(18, lastAccessTimeMs_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(19, overwriteAccessTime_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(20, xAttrUpdateStrategy_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.UpdateInodeEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.UpdateInodeEntry other = (alluxio.proto.journal.File.UpdateInodeEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasParentId() != other.hasParentId()) return false;
if (hasParentId()) {
if (getParentId()
!= other.getParentId()) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasPersistenceState() != other.hasPersistenceState()) return false;
if (hasPersistenceState()) {
if (!getPersistenceState()
.equals(other.getPersistenceState())) return false;
}
if (hasPinned() != other.hasPinned()) return false;
if (hasPinned()) {
if (getPinned()
!= other.getPinned()) return false;
}
if (hasCreationTimeMs() != other.hasCreationTimeMs()) return false;
if (hasCreationTimeMs()) {
if (getCreationTimeMs()
!= other.getCreationTimeMs()) return false;
}
if (hasLastModificationTimeMs() != other.hasLastModificationTimeMs()) return false;
if (hasLastModificationTimeMs()) {
if (getLastModificationTimeMs()
!= other.getLastModificationTimeMs()) return false;
}
if (hasOverwriteModificationTime() != other.hasOverwriteModificationTime()) return false;
if (hasOverwriteModificationTime()) {
if (getOverwriteModificationTime()
!= other.getOverwriteModificationTime()) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasMode() != other.hasMode()) return false;
if (hasMode()) {
if (getMode()
!= other.getMode()) return false;
}
if (hasTtl() != other.hasTtl()) return false;
if (hasTtl()) {
if (getTtl()
!= other.getTtl()) return false;
}
if (hasTtlAction() != other.hasTtlAction()) return false;
if (hasTtlAction()) {
if (ttlAction_ != other.ttlAction_) return false;
}
if (hasAcl() != other.hasAcl()) return false;
if (hasAcl()) {
if (!getAcl()
.equals(other.getAcl())) return false;
}
if (hasUfsFingerprint() != other.hasUfsFingerprint()) return false;
if (hasUfsFingerprint()) {
if (!getUfsFingerprint()
.equals(other.getUfsFingerprint())) return false;
}
if (!getMediumTypeList()
.equals(other.getMediumTypeList())) return false;
if (!internalGetXAttr().equals(
other.internalGetXAttr())) return false;
if (hasLastAccessTimeMs() != other.hasLastAccessTimeMs()) return false;
if (hasLastAccessTimeMs()) {
if (getLastAccessTimeMs()
!= other.getLastAccessTimeMs()) return false;
}
if (hasOverwriteAccessTime() != other.hasOverwriteAccessTime()) return false;
if (hasOverwriteAccessTime()) {
if (getOverwriteAccessTime()
!= other.getOverwriteAccessTime()) return false;
}
if (hasXAttrUpdateStrategy() != other.hasXAttrUpdateStrategy()) return false;
if (hasXAttrUpdateStrategy()) {
if (xAttrUpdateStrategy_ != other.xAttrUpdateStrategy_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasParentId()) {
hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getParentId());
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasPersistenceState()) {
hash = (37 * hash) + PERSISTENCE_STATE_FIELD_NUMBER;
hash = (53 * hash) + getPersistenceState().hashCode();
}
if (hasPinned()) {
hash = (37 * hash) + PINNED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getPinned());
}
if (hasCreationTimeMs()) {
hash = (37 * hash) + CREATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getCreationTimeMs());
}
if (hasLastModificationTimeMs()) {
hash = (37 * hash) + LAST_MODIFICATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastModificationTimeMs());
}
if (hasOverwriteModificationTime()) {
hash = (37 * hash) + OVERWRITE_MODIFICATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getOverwriteModificationTime());
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasMode()) {
hash = (37 * hash) + MODE_FIELD_NUMBER;
hash = (53 * hash) + getMode();
}
if (hasTtl()) {
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getTtl());
}
if (hasTtlAction()) {
hash = (37 * hash) + TTLACTION_FIELD_NUMBER;
hash = (53 * hash) + ttlAction_;
}
if (hasAcl()) {
hash = (37 * hash) + ACL_FIELD_NUMBER;
hash = (53 * hash) + getAcl().hashCode();
}
if (hasUfsFingerprint()) {
hash = (37 * hash) + UFS_FINGERPRINT_FIELD_NUMBER;
hash = (53 * hash) + getUfsFingerprint().hashCode();
}
if (getMediumTypeCount() > 0) {
hash = (37 * hash) + MEDIUM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediumTypeList().hashCode();
}
if (!internalGetXAttr().getMap().isEmpty()) {
hash = (37 * hash) + XATTR_FIELD_NUMBER;
hash = (53 * hash) + internalGetXAttr().hashCode();
}
if (hasLastAccessTimeMs()) {
hash = (37 * hash) + LAST_ACCESS_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastAccessTimeMs());
}
if (hasOverwriteAccessTime()) {
hash = (37 * hash) + OVERWRITE_ACCESS_TIME_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getOverwriteAccessTime());
}
if (hasXAttrUpdateStrategy()) {
hash = (37 * hash) + XATTR_UPDATE_STRATEGY_FIELD_NUMBER;
hash = (53 * hash) + xAttrUpdateStrategy_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.UpdateInodeEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 21
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.UpdateInodeEntry)
alluxio.proto.journal.File.UpdateInodeEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 17:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 17:
return internalGetMutableXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeEntry.class, alluxio.proto.journal.File.UpdateInodeEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.UpdateInodeEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAclFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
parentId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
persistenceState_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
pinned_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
creationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
lastModificationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
overwriteModificationTime_ = false;
bitField0_ = (bitField0_ & ~0x00000080);
owner_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
group_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
mode_ = 0;
bitField0_ = (bitField0_ & ~0x00000400);
ttl_ = 0L;
bitField0_ = (bitField0_ & ~0x00000800);
ttlAction_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
if (aclBuilder_ == null) {
acl_ = null;
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00002000);
ufsFingerprint_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00008000);
internalGetMutableXAttr().clear();
lastAccessTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00020000);
overwriteAccessTime_ = false;
bitField0_ = (bitField0_ & ~0x00040000);
xAttrUpdateStrategy_ = 1;
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.UpdateInodeEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeEntry build() {
alluxio.proto.journal.File.UpdateInodeEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeEntry buildPartial() {
alluxio.proto.journal.File.UpdateInodeEntry result = new alluxio.proto.journal.File.UpdateInodeEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.parentId_ = parentId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.persistenceState_ = persistenceState_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.pinned_ = pinned_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.creationTimeMs_ = creationTimeMs_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.lastModificationTimeMs_ = lastModificationTimeMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.overwriteModificationTime_ = overwriteModificationTime_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.owner_ = owner_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.group_ = group_;
if (((from_bitField0_ & 0x00000400) != 0)) {
result.mode_ = mode_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.ttl_ = ttl_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.ttlAction_ = ttlAction_;
if (((from_bitField0_ & 0x00002000) != 0)) {
if (aclBuilder_ == null) {
result.acl_ = acl_;
} else {
result.acl_ = aclBuilder_.build();
}
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00004000;
}
result.ufsFingerprint_ = ufsFingerprint_;
if (((bitField0_ & 0x00008000) != 0)) {
mediumType_ = mediumType_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00008000);
}
result.mediumType_ = mediumType_;
result.xAttr_ = internalGetXAttr();
result.xAttr_.makeImmutable();
if (((from_bitField0_ & 0x00020000) != 0)) {
result.lastAccessTimeMs_ = lastAccessTimeMs_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.overwriteAccessTime_ = overwriteAccessTime_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
to_bitField0_ |= 0x00020000;
}
result.xAttrUpdateStrategy_ = xAttrUpdateStrategy_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.UpdateInodeEntry) {
return mergeFrom((alluxio.proto.journal.File.UpdateInodeEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.UpdateInodeEntry other) {
if (other == alluxio.proto.journal.File.UpdateInodeEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasParentId()) {
setParentId(other.getParentId());
}
if (other.hasName()) {
bitField0_ |= 0x00000004;
name_ = other.name_;
onChanged();
}
if (other.hasPersistenceState()) {
bitField0_ |= 0x00000008;
persistenceState_ = other.persistenceState_;
onChanged();
}
if (other.hasPinned()) {
setPinned(other.getPinned());
}
if (other.hasCreationTimeMs()) {
setCreationTimeMs(other.getCreationTimeMs());
}
if (other.hasLastModificationTimeMs()) {
setLastModificationTimeMs(other.getLastModificationTimeMs());
}
if (other.hasOverwriteModificationTime()) {
setOverwriteModificationTime(other.getOverwriteModificationTime());
}
if (other.hasOwner()) {
bitField0_ |= 0x00000100;
owner_ = other.owner_;
onChanged();
}
if (other.hasGroup()) {
bitField0_ |= 0x00000200;
group_ = other.group_;
onChanged();
}
if (other.hasMode()) {
setMode(other.getMode());
}
if (other.hasTtl()) {
setTtl(other.getTtl());
}
if (other.hasTtlAction()) {
setTtlAction(other.getTtlAction());
}
if (other.hasAcl()) {
mergeAcl(other.getAcl());
}
if (other.hasUfsFingerprint()) {
bitField0_ |= 0x00004000;
ufsFingerprint_ = other.ufsFingerprint_;
onChanged();
}
if (!other.mediumType_.isEmpty()) {
if (mediumType_.isEmpty()) {
mediumType_ = other.mediumType_;
bitField0_ = (bitField0_ & ~0x00008000);
} else {
ensureMediumTypeIsMutable();
mediumType_.addAll(other.mediumType_);
}
onChanged();
}
internalGetMutableXAttr().mergeFrom(
other.internalGetXAttr());
if (other.hasLastAccessTimeMs()) {
setLastAccessTimeMs(other.getLastAccessTimeMs());
}
if (other.hasOverwriteAccessTime()) {
setOverwriteAccessTime(other.getOverwriteAccessTime());
}
if (other.hasXAttrUpdateStrategy()) {
setXAttrUpdateStrategy(other.getXAttrUpdateStrategy());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
parentId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
persistenceState_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
pinned_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
creationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
lastModificationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
overwriteModificationTime_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
owner_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
group_ = input.readBytes();
bitField0_ |= 0x00000200;
break;
} // case 82
case 88: {
mode_ = input.readInt32();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
ttl_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.PTtlAction tmpValue =
alluxio.proto.journal.File.PTtlAction.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(13, tmpRaw);
} else {
ttlAction_ = tmpRaw;
bitField0_ |= 0x00001000;
}
break;
} // case 104
case 114: {
input.readMessage(
getAclFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00002000;
break;
} // case 114
case 122: {
ufsFingerprint_ = input.readBytes();
bitField0_ |= 0x00004000;
break;
} // case 122
case 130: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureMediumTypeIsMutable();
mediumType_.add(bs);
break;
} // case 130
case 138: {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = input.readMessage(
XAttrDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableXAttr().getMutableMap().put(
xAttr__.getKey(), xAttr__.getValue());
break;
} // case 138
case 144: {
lastAccessTimeMs_ = input.readInt64();
bitField0_ |= 0x00020000;
break;
} // case 144
case 152: {
overwriteAccessTime_ = input.readBool();
bitField0_ |= 0x00040000;
break;
} // case 152
case 160: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.XAttrUpdateStrategy tmpValue =
alluxio.proto.journal.File.XAttrUpdateStrategy.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(20, tmpRaw);
} else {
xAttrUpdateStrategy_ = tmpRaw;
bitField0_ |= 0x00080000;
}
break;
} // case 160
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long parentId_ ;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
/**
* optional int64 parent_id = 2;
* @param value The parentId to set.
* @return This builder for chaining.
*/
public Builder setParentId(long value) {
bitField0_ |= 0x00000002;
parentId_ = value;
onChanged();
return this;
}
/**
* optional int64 parent_id = 2;
* @return This builder for chaining.
*/
public Builder clearParentId() {
bitField0_ = (bitField0_ & ~0x00000002);
parentId_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
private java.lang.Object persistenceState_ = "";
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string persistence_state = 4;
* @param value The persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @return This builder for chaining.
*/
public Builder clearPersistenceState() {
bitField0_ = (bitField0_ & ~0x00000008);
persistenceState_ = getDefaultInstance().getPersistenceState();
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @param value The bytes for persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceStateBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
private boolean pinned_ ;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
/**
* optional bool pinned = 5;
* @param value The pinned to set.
* @return This builder for chaining.
*/
public Builder setPinned(boolean value) {
bitField0_ |= 0x00000010;
pinned_ = value;
onChanged();
return this;
}
/**
* optional bool pinned = 5;
* @return This builder for chaining.
*/
public Builder clearPinned() {
bitField0_ = (bitField0_ & ~0x00000010);
pinned_ = false;
onChanged();
return this;
}
private long creationTimeMs_ ;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
/**
* optional int64 creation_time_ms = 6;
* @param value The creationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setCreationTimeMs(long value) {
bitField0_ |= 0x00000020;
creationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 creation_time_ms = 6;
* @return This builder for chaining.
*/
public Builder clearCreationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
creationTimeMs_ = 0L;
onChanged();
return this;
}
private long lastModificationTimeMs_ ;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
/**
* optional int64 last_modification_time_ms = 7;
* @param value The lastModificationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastModificationTimeMs(long value) {
bitField0_ |= 0x00000040;
lastModificationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_modification_time_ms = 7;
* @return This builder for chaining.
*/
public Builder clearLastModificationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
lastModificationTimeMs_ = 0L;
onChanged();
return this;
}
private boolean overwriteModificationTime_ ;
/**
* optional bool overwrite_modification_time = 8;
* @return Whether the overwriteModificationTime field is set.
*/
@java.lang.Override
public boolean hasOverwriteModificationTime() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional bool overwrite_modification_time = 8;
* @return The overwriteModificationTime.
*/
@java.lang.Override
public boolean getOverwriteModificationTime() {
return overwriteModificationTime_;
}
/**
* optional bool overwrite_modification_time = 8;
* @param value The overwriteModificationTime to set.
* @return This builder for chaining.
*/
public Builder setOverwriteModificationTime(boolean value) {
bitField0_ |= 0x00000080;
overwriteModificationTime_ = value;
onChanged();
return this;
}
/**
* optional bool overwrite_modification_time = 8;
* @return This builder for chaining.
*/
public Builder clearOverwriteModificationTime() {
bitField0_ = (bitField0_ & ~0x00000080);
overwriteModificationTime_ = false;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* optional string owner = 9;
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string owner = 9;
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string owner = 9;
* @return The bytes for owner.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string owner = 9;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
owner_ = value;
onChanged();
return this;
}
/**
* optional string owner = 9;
* @return This builder for chaining.
*/
public Builder clearOwner() {
bitField0_ = (bitField0_ & ~0x00000100);
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* optional string owner = 9;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
owner_ = value;
onChanged();
return this;
}
private java.lang.Object group_ = "";
/**
* optional string group = 10;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string group = 10;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string group = 10;
* @return The bytes for group.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string group = 10;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
group_ = value;
onChanged();
return this;
}
/**
* optional string group = 10;
* @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00000200);
group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 10;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
group_ = value;
onChanged();
return this;
}
private int mode_ ;
/**
* optional int32 mode = 11;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional int32 mode = 11;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
/**
* optional int32 mode = 11;
* @param value The mode to set.
* @return This builder for chaining.
*/
public Builder setMode(int value) {
bitField0_ |= 0x00000400;
mode_ = value;
onChanged();
return this;
}
/**
* optional int32 mode = 11;
* @return This builder for chaining.
*/
public Builder clearMode() {
bitField0_ = (bitField0_ & ~0x00000400);
mode_ = 0;
onChanged();
return this;
}
private long ttl_ ;
/**
* optional int64 ttl = 12;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional int64 ttl = 12;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
/**
* optional int64 ttl = 12;
* @param value The ttl to set.
* @return This builder for chaining.
*/
public Builder setTtl(long value) {
bitField0_ |= 0x00000800;
ttl_ = value;
onChanged();
return this;
}
/**
* optional int64 ttl = 12;
* @return This builder for chaining.
*/
public Builder clearTtl() {
bitField0_ = (bitField0_ & ~0x00000800);
ttl_ = 0L;
onChanged();
return this;
}
private int ttlAction_ = 0;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override
public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @param value The ttlAction to set.
* @return This builder for chaining.
*/
public Builder setTtlAction(alluxio.proto.journal.File.PTtlAction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
ttlAction_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 13 [default = DELETE];
* @return This builder for chaining.
*/
public Builder clearTtlAction() {
bitField0_ = (bitField0_ & ~0x00001000);
ttlAction_ = 0;
onChanged();
return this;
}
private alluxio.proto.shared.Acl.AccessControlList acl_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder> aclBuilder_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return Whether the acl field is set.
*/
public boolean hasAcl() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
* @return The acl.
*/
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
if (aclBuilder_ == null) {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
} else {
return aclBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public Builder setAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
acl_ = value;
onChanged();
} else {
aclBuilder_.setMessage(value);
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public Builder setAcl(
alluxio.proto.shared.Acl.AccessControlList.Builder builderForValue) {
if (aclBuilder_ == null) {
acl_ = builderForValue.build();
onChanged();
} else {
aclBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public Builder mergeAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0) &&
acl_ != null &&
acl_ != alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance()) {
acl_ =
alluxio.proto.shared.Acl.AccessControlList.newBuilder(acl_).mergeFrom(value).buildPartial();
} else {
acl_ = value;
}
onChanged();
} else {
aclBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00002000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public Builder clearAcl() {
if (aclBuilder_ == null) {
acl_ = null;
onChanged();
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public alluxio.proto.shared.Acl.AccessControlList.Builder getAclBuilder() {
bitField0_ |= 0x00002000;
onChanged();
return getAclFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
if (aclBuilder_ != null) {
return aclBuilder_.getMessageOrBuilder();
} else {
return acl_ == null ?
alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 14;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>
getAclFieldBuilder() {
if (aclBuilder_ == null) {
aclBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>(
getAcl(),
getParentForChildren(),
isClean());
acl_ = null;
}
return aclBuilder_;
}
private java.lang.Object ufsFingerprint_ = "";
/**
* optional string ufs_fingerprint = 15;
* @return Whether the ufsFingerprint field is set.
*/
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string ufs_fingerprint = 15;
* @return The ufsFingerprint.
*/
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufs_fingerprint = 15;
* @return The bytes for ufsFingerprint.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufs_fingerprint = 15;
* @param value The ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprint(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
ufsFingerprint_ = value;
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 15;
* @return This builder for chaining.
*/
public Builder clearUfsFingerprint() {
bitField0_ = (bitField0_ & ~0x00004000);
ufsFingerprint_ = getDefaultInstance().getUfsFingerprint();
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 15;
* @param value The bytes for ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprintBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
ufsFingerprint_ = value;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMediumTypeIsMutable() {
if (!((bitField0_ & 0x00008000) != 0)) {
mediumType_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(mediumType_);
bitField0_ |= 0x00008000;
}
}
/**
* repeated string medium_type = 16;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_.getUnmodifiableView();
}
/**
* repeated string medium_type = 16;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 16;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 16;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
/**
* repeated string medium_type = 16;
* @param index The index to set the value at.
* @param value The mediumType to set.
* @return This builder for chaining.
*/
public Builder setMediumType(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.set(index, value);
onChanged();
return this;
}
/**
* repeated string medium_type = 16;
* @param value The mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
/**
* repeated string medium_type = 16;
* @param values The mediumType to add.
* @return This builder for chaining.
*/
public Builder addAllMediumType(
java.lang.Iterable values) {
ensureMediumTypeIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mediumType_);
onChanged();
return this;
}
/**
* repeated string medium_type = 16;
* @return This builder for chaining.
*/
public Builder clearMediumType() {
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
* repeated string medium_type = 16;
* @param value The bytes of the mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumTypeBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableXAttr() {
onChanged();;
if (xAttr_ == null) {
xAttr_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
if (!xAttr_.isMutable()) {
xAttr_ = xAttr_.copy();
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 17;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearXAttr() {
internalGetMutableXAttr().getMutableMap()
.clear();
return this;
}
/**
* map<string, bytes> xAttr = 17;
*/
public Builder removeXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableXAttr().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableXAttr() {
return internalGetMutableXAttr().getMutableMap();
}
/**
* map<string, bytes> xAttr = 17;
*/
public Builder putXAttr(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableXAttr().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, bytes> xAttr = 17;
*/
public Builder putAllXAttr(
java.util.Map values) {
internalGetMutableXAttr().getMutableMap()
.putAll(values);
return this;
}
private long lastAccessTimeMs_ ;
/**
* optional int64 last_access_time_ms = 18;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional int64 last_access_time_ms = 18;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
/**
* optional int64 last_access_time_ms = 18;
* @param value The lastAccessTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastAccessTimeMs(long value) {
bitField0_ |= 0x00020000;
lastAccessTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_access_time_ms = 18;
* @return This builder for chaining.
*/
public Builder clearLastAccessTimeMs() {
bitField0_ = (bitField0_ & ~0x00020000);
lastAccessTimeMs_ = 0L;
onChanged();
return this;
}
private boolean overwriteAccessTime_ ;
/**
* optional bool overwrite_access_time = 19;
* @return Whether the overwriteAccessTime field is set.
*/
@java.lang.Override
public boolean hasOverwriteAccessTime() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional bool overwrite_access_time = 19;
* @return The overwriteAccessTime.
*/
@java.lang.Override
public boolean getOverwriteAccessTime() {
return overwriteAccessTime_;
}
/**
* optional bool overwrite_access_time = 19;
* @param value The overwriteAccessTime to set.
* @return This builder for chaining.
*/
public Builder setOverwriteAccessTime(boolean value) {
bitField0_ |= 0x00040000;
overwriteAccessTime_ = value;
onChanged();
return this;
}
/**
* optional bool overwrite_access_time = 19;
* @return This builder for chaining.
*/
public Builder clearOverwriteAccessTime() {
bitField0_ = (bitField0_ & ~0x00040000);
overwriteAccessTime_ = false;
onChanged();
return this;
}
private int xAttrUpdateStrategy_ = 1;
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return Whether the xAttrUpdateStrategy field is set.
*/
@java.lang.Override public boolean hasXAttrUpdateStrategy() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return The xAttrUpdateStrategy.
*/
@java.lang.Override
public alluxio.proto.journal.File.XAttrUpdateStrategy getXAttrUpdateStrategy() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.XAttrUpdateStrategy result = alluxio.proto.journal.File.XAttrUpdateStrategy.valueOf(xAttrUpdateStrategy_);
return result == null ? alluxio.proto.journal.File.XAttrUpdateStrategy.TRUNCATE : result;
}
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @param value The xAttrUpdateStrategy to set.
* @return This builder for chaining.
*/
public Builder setXAttrUpdateStrategy(alluxio.proto.journal.File.XAttrUpdateStrategy value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
xAttrUpdateStrategy_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.XAttrUpdateStrategy xAttr_update_strategy = 20 [default = TRUNCATE];
* @return This builder for chaining.
*/
public Builder clearXAttrUpdateStrategy() {
bitField0_ = (bitField0_ & ~0x00080000);
xAttrUpdateStrategy_ = 1;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.UpdateInodeEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.UpdateInodeEntry)
private static final alluxio.proto.journal.File.UpdateInodeEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.UpdateInodeEntry();
}
public static alluxio.proto.journal.File.UpdateInodeEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateInodeEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateInodeDirectoryEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.UpdateInodeDirectoryEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional bool mount_point = 2;
* @return Whether the mountPoint field is set.
*/
boolean hasMountPoint();
/**
* optional bool mount_point = 2;
* @return The mountPoint.
*/
boolean getMountPoint();
/**
* optional bool direct_children_loaded = 3;
* @return Whether the directChildrenLoaded field is set.
*/
boolean hasDirectChildrenLoaded();
/**
* optional bool direct_children_loaded = 3;
* @return The directChildrenLoaded.
*/
boolean getDirectChildrenLoaded();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return Whether the defaultAcl field is set.
*/
boolean hasDefaultAcl();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return The defaultAcl.
*/
alluxio.proto.shared.Acl.AccessControlList getDefaultAcl();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder();
}
/**
*
* next available id: 5
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeDirectoryEntry}
*/
public static final class UpdateInodeDirectoryEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.UpdateInodeDirectoryEntry)
UpdateInodeDirectoryEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateInodeDirectoryEntry.newBuilder() to construct.
private UpdateInodeDirectoryEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UpdateInodeDirectoryEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateInodeDirectoryEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeDirectoryEntry.class, alluxio.proto.journal.File.UpdateInodeDirectoryEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int MOUNT_POINT_FIELD_NUMBER = 2;
private boolean mountPoint_;
/**
* optional bool mount_point = 2;
* @return Whether the mountPoint field is set.
*/
@java.lang.Override
public boolean hasMountPoint() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool mount_point = 2;
* @return The mountPoint.
*/
@java.lang.Override
public boolean getMountPoint() {
return mountPoint_;
}
public static final int DIRECT_CHILDREN_LOADED_FIELD_NUMBER = 3;
private boolean directChildrenLoaded_;
/**
* optional bool direct_children_loaded = 3;
* @return Whether the directChildrenLoaded field is set.
*/
@java.lang.Override
public boolean hasDirectChildrenLoaded() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool direct_children_loaded = 3;
* @return The directChildrenLoaded.
*/
@java.lang.Override
public boolean getDirectChildrenLoaded() {
return directChildrenLoaded_;
}
public static final int DEFAULTACL_FIELD_NUMBER = 4;
private alluxio.proto.shared.Acl.AccessControlList defaultAcl_;
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return Whether the defaultAcl field is set.
*/
@java.lang.Override
public boolean hasDefaultAcl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return The defaultAcl.
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlList getDefaultAcl() {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder() {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, mountPoint_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, directChildrenLoaded_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getDefaultAcl());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(2, mountPoint_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(3, directChildrenLoaded_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, getDefaultAcl());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.UpdateInodeDirectoryEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.UpdateInodeDirectoryEntry other = (alluxio.proto.journal.File.UpdateInodeDirectoryEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasMountPoint() != other.hasMountPoint()) return false;
if (hasMountPoint()) {
if (getMountPoint()
!= other.getMountPoint()) return false;
}
if (hasDirectChildrenLoaded() != other.hasDirectChildrenLoaded()) return false;
if (hasDirectChildrenLoaded()) {
if (getDirectChildrenLoaded()
!= other.getDirectChildrenLoaded()) return false;
}
if (hasDefaultAcl() != other.hasDefaultAcl()) return false;
if (hasDefaultAcl()) {
if (!getDefaultAcl()
.equals(other.getDefaultAcl())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasMountPoint()) {
hash = (37 * hash) + MOUNT_POINT_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getMountPoint());
}
if (hasDirectChildrenLoaded()) {
hash = (37 * hash) + DIRECT_CHILDREN_LOADED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getDirectChildrenLoaded());
}
if (hasDefaultAcl()) {
hash = (37 * hash) + DEFAULTACL_FIELD_NUMBER;
hash = (53 * hash) + getDefaultAcl().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.UpdateInodeDirectoryEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 5
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeDirectoryEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.UpdateInodeDirectoryEntry)
alluxio.proto.journal.File.UpdateInodeDirectoryEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeDirectoryEntry.class, alluxio.proto.journal.File.UpdateInodeDirectoryEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.UpdateInodeDirectoryEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDefaultAclFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
mountPoint_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
directChildrenLoaded_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
if (defaultAclBuilder_ == null) {
defaultAcl_ = null;
} else {
defaultAclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeDirectoryEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.UpdateInodeDirectoryEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeDirectoryEntry build() {
alluxio.proto.journal.File.UpdateInodeDirectoryEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeDirectoryEntry buildPartial() {
alluxio.proto.journal.File.UpdateInodeDirectoryEntry result = new alluxio.proto.journal.File.UpdateInodeDirectoryEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mountPoint_ = mountPoint_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.directChildrenLoaded_ = directChildrenLoaded_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (defaultAclBuilder_ == null) {
result.defaultAcl_ = defaultAcl_;
} else {
result.defaultAcl_ = defaultAclBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.UpdateInodeDirectoryEntry) {
return mergeFrom((alluxio.proto.journal.File.UpdateInodeDirectoryEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.UpdateInodeDirectoryEntry other) {
if (other == alluxio.proto.journal.File.UpdateInodeDirectoryEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasMountPoint()) {
setMountPoint(other.getMountPoint());
}
if (other.hasDirectChildrenLoaded()) {
setDirectChildrenLoaded(other.getDirectChildrenLoaded());
}
if (other.hasDefaultAcl()) {
mergeDefaultAcl(other.getDefaultAcl());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
mountPoint_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
directChildrenLoaded_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getDefaultAclFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private boolean mountPoint_ ;
/**
* optional bool mount_point = 2;
* @return Whether the mountPoint field is set.
*/
@java.lang.Override
public boolean hasMountPoint() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool mount_point = 2;
* @return The mountPoint.
*/
@java.lang.Override
public boolean getMountPoint() {
return mountPoint_;
}
/**
* optional bool mount_point = 2;
* @param value The mountPoint to set.
* @return This builder for chaining.
*/
public Builder setMountPoint(boolean value) {
bitField0_ |= 0x00000002;
mountPoint_ = value;
onChanged();
return this;
}
/**
* optional bool mount_point = 2;
* @return This builder for chaining.
*/
public Builder clearMountPoint() {
bitField0_ = (bitField0_ & ~0x00000002);
mountPoint_ = false;
onChanged();
return this;
}
private boolean directChildrenLoaded_ ;
/**
* optional bool direct_children_loaded = 3;
* @return Whether the directChildrenLoaded field is set.
*/
@java.lang.Override
public boolean hasDirectChildrenLoaded() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool direct_children_loaded = 3;
* @return The directChildrenLoaded.
*/
@java.lang.Override
public boolean getDirectChildrenLoaded() {
return directChildrenLoaded_;
}
/**
* optional bool direct_children_loaded = 3;
* @param value The directChildrenLoaded to set.
* @return This builder for chaining.
*/
public Builder setDirectChildrenLoaded(boolean value) {
bitField0_ |= 0x00000004;
directChildrenLoaded_ = value;
onChanged();
return this;
}
/**
* optional bool direct_children_loaded = 3;
* @return This builder for chaining.
*/
public Builder clearDirectChildrenLoaded() {
bitField0_ = (bitField0_ & ~0x00000004);
directChildrenLoaded_ = false;
onChanged();
return this;
}
private alluxio.proto.shared.Acl.AccessControlList defaultAcl_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder> defaultAclBuilder_;
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return Whether the defaultAcl field is set.
*/
public boolean hasDefaultAcl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
* @return The defaultAcl.
*/
public alluxio.proto.shared.Acl.AccessControlList getDefaultAcl() {
if (defaultAclBuilder_ == null) {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
} else {
return defaultAclBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public Builder setDefaultAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (defaultAclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defaultAcl_ = value;
onChanged();
} else {
defaultAclBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public Builder setDefaultAcl(
alluxio.proto.shared.Acl.AccessControlList.Builder builderForValue) {
if (defaultAclBuilder_ == null) {
defaultAcl_ = builderForValue.build();
onChanged();
} else {
defaultAclBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public Builder mergeDefaultAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (defaultAclBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
defaultAcl_ != null &&
defaultAcl_ != alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance()) {
defaultAcl_ =
alluxio.proto.shared.Acl.AccessControlList.newBuilder(defaultAcl_).mergeFrom(value).buildPartial();
} else {
defaultAcl_ = value;
}
onChanged();
} else {
defaultAclBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public Builder clearDefaultAcl() {
if (defaultAclBuilder_ == null) {
defaultAcl_ = null;
onChanged();
} else {
defaultAclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public alluxio.proto.shared.Acl.AccessControlList.Builder getDefaultAclBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getDefaultAclFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder() {
if (defaultAclBuilder_ != null) {
return defaultAclBuilder_.getMessageOrBuilder();
} else {
return defaultAcl_ == null ?
alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 4;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>
getDefaultAclFieldBuilder() {
if (defaultAclBuilder_ == null) {
defaultAclBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>(
getDefaultAcl(),
getParentForChildren(),
isClean());
defaultAcl_ = null;
}
return defaultAclBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.UpdateInodeDirectoryEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.UpdateInodeDirectoryEntry)
private static final alluxio.proto.journal.File.UpdateInodeDirectoryEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.UpdateInodeDirectoryEntry();
}
public static alluxio.proto.journal.File.UpdateInodeDirectoryEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateInodeDirectoryEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeDirectoryEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateInodeFileEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.UpdateInodeFileEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 block_size_bytes = 2;
* @return Whether the blockSizeBytes field is set.
*/
boolean hasBlockSizeBytes();
/**
* optional int64 block_size_bytes = 2;
* @return The blockSizeBytes.
*/
long getBlockSizeBytes();
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
boolean hasLength();
/**
* optional int64 length = 3;
* @return The length.
*/
long getLength();
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
boolean hasCompleted();
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return The alluxio.shaded.client.com.leted.
*/
boolean getCompleted();
/**
* optional bool cacheable = 5;
* @return Whether the cacheable field is set.
*/
boolean hasCacheable();
/**
* optional bool cacheable = 5;
* @return The cacheable.
*/
boolean getCacheable();
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return A list containing the setBlocks.
*/
java.util.List getSetBlocksList();
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return The count of setBlocks.
*/
int getSetBlocksCount();
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param index The index of the element to return.
* @return The setBlocks at the given index.
*/
long getSetBlocks(int index);
/**
* optional int32 replication_max = 8;
* @return Whether the replicationMax field is set.
*/
boolean hasReplicationMax();
/**
* optional int32 replication_max = 8;
* @return The replicationMax.
*/
int getReplicationMax();
/**
* optional int32 replication_min = 9;
* @return Whether the replicationMin field is set.
*/
boolean hasReplicationMin();
/**
* optional int32 replication_min = 9;
* @return The replicationMin.
*/
int getReplicationMin();
/**
* optional int64 persist_job_id = 10;
* @return Whether the persistJobId field is set.
*/
boolean hasPersistJobId();
/**
* optional int64 persist_job_id = 10;
* @return The persistJobId.
*/
long getPersistJobId();
/**
* optional string temp_ufs_path = 11;
* @return Whether the tempUfsPath field is set.
*/
boolean hasTempUfsPath();
/**
* optional string temp_ufs_path = 11;
* @return The tempUfsPath.
*/
java.lang.String getTempUfsPath();
/**
* optional string temp_ufs_path = 11;
* @return The bytes for tempUfsPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes();
/**
* optional string path = 12;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* optional string path = 12;
* @return The path.
*/
java.lang.String getPath();
/**
* optional string path = 12;
* @return The bytes for path.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes();
}
/**
*
* next available id: 13
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeFileEntry}
*/
public static final class UpdateInodeFileEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.UpdateInodeFileEntry)
UpdateInodeFileEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateInodeFileEntry.newBuilder() to construct.
private UpdateInodeFileEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UpdateInodeFileEntry() {
setBlocks_ = emptyLongList();
tempUfsPath_ = "";
path_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateInodeFileEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeFileEntry.class, alluxio.proto.journal.File.UpdateInodeFileEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int BLOCK_SIZE_BYTES_FIELD_NUMBER = 2;
private long blockSizeBytes_;
/**
* optional int64 block_size_bytes = 2;
* @return Whether the blockSizeBytes field is set.
*/
@java.lang.Override
public boolean hasBlockSizeBytes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 block_size_bytes = 2;
* @return The blockSizeBytes.
*/
@java.lang.Override
public long getBlockSizeBytes() {
return blockSizeBytes_;
}
public static final int LENGTH_FIELD_NUMBER = 3;
private long length_;
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 length = 3;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
public static final int COMPLETED_FIELD_NUMBER = 4;
private boolean alluxio.shaded.client.com.leted_;
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
@java.lang.Override
public boolean hasCompleted() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return The alluxio.shaded.client.com.leted.
*/
@java.lang.Override
public boolean getCompleted() {
return alluxio.shaded.client.com.leted_;
}
public static final int CACHEABLE_FIELD_NUMBER = 5;
private boolean cacheable_;
/**
* optional bool cacheable = 5;
* @return Whether the cacheable field is set.
*/
@java.lang.Override
public boolean hasCacheable() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool cacheable = 5;
* @return The cacheable.
*/
@java.lang.Override
public boolean getCacheable() {
return cacheable_;
}
public static final int SET_BLOCKS_FIELD_NUMBER = 7;
private alluxio.shaded.client.com.google.protobuf.Internal.LongList setBlocks_;
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return A list containing the setBlocks.
*/
@java.lang.Override
public java.util.List
getSetBlocksList() {
return setBlocks_;
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return The count of setBlocks.
*/
public int getSetBlocksCount() {
return setBlocks_.size();
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param index The index of the element to return.
* @return The setBlocks at the given index.
*/
public long getSetBlocks(int index) {
return setBlocks_.getLong(index);
}
public static final int REPLICATION_MAX_FIELD_NUMBER = 8;
private int replicationMax_;
/**
* optional int32 replication_max = 8;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int32 replication_max = 8;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
public static final int REPLICATION_MIN_FIELD_NUMBER = 9;
private int replicationMin_;
/**
* optional int32 replication_min = 9;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int32 replication_min = 9;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
public static final int PERSIST_JOB_ID_FIELD_NUMBER = 10;
private long persistJobId_;
/**
* optional int64 persist_job_id = 10;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int64 persist_job_id = 10;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
public static final int TEMP_UFS_PATH_FIELD_NUMBER = 11;
private volatile java.lang.Object tempUfsPath_;
/**
* optional string temp_ufs_path = 11;
* @return Whether the tempUfsPath field is set.
*/
@java.lang.Override
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string temp_ufs_path = 11;
* @return The tempUfsPath.
*/
@java.lang.Override
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
}
}
/**
* optional string temp_ufs_path = 11;
* @return The bytes for tempUfsPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PATH_FIELD_NUMBER = 12;
private volatile java.lang.Object path_;
/**
* optional string path = 12;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string path = 12;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 12;
* @return The bytes for path.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, blockSizeBytes_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, length_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, alluxio.shaded.client.com.leted_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, cacheable_);
}
for (int i = 0; i < setBlocks_.size(); i++) {
output.writeInt64(7, setBlocks_.getLong(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(8, replicationMax_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt32(9, replicationMin_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(10, persistJobId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 11, tempUfsPath_);
}
if (((bitField0_ & 0x00000200) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 12, path_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, blockSizeBytes_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(3, length_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(4, alluxio.shaded.client.com.leted_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, cacheable_);
}
{
int dataSize = 0;
for (int i = 0; i < setBlocks_.size(); i++) {
dataSize += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64SizeNoTag(setBlocks_.getLong(i));
}
size += dataSize;
size += 1 * getSetBlocksList().size();
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(8, replicationMax_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(9, replicationMin_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(10, persistJobId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(11, tempUfsPath_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(12, path_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.UpdateInodeFileEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.UpdateInodeFileEntry other = (alluxio.proto.journal.File.UpdateInodeFileEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasBlockSizeBytes() != other.hasBlockSizeBytes()) return false;
if (hasBlockSizeBytes()) {
if (getBlockSizeBytes()
!= other.getBlockSizeBytes()) return false;
}
if (hasLength() != other.hasLength()) return false;
if (hasLength()) {
if (getLength()
!= other.getLength()) return false;
}
if (hasCompleted() != other.hasCompleted()) return false;
if (hasCompleted()) {
if (getCompleted()
!= other.getCompleted()) return false;
}
if (hasCacheable() != other.hasCacheable()) return false;
if (hasCacheable()) {
if (getCacheable()
!= other.getCacheable()) return false;
}
if (!getSetBlocksList()
.equals(other.getSetBlocksList())) return false;
if (hasReplicationMax() != other.hasReplicationMax()) return false;
if (hasReplicationMax()) {
if (getReplicationMax()
!= other.getReplicationMax()) return false;
}
if (hasReplicationMin() != other.hasReplicationMin()) return false;
if (hasReplicationMin()) {
if (getReplicationMin()
!= other.getReplicationMin()) return false;
}
if (hasPersistJobId() != other.hasPersistJobId()) return false;
if (hasPersistJobId()) {
if (getPersistJobId()
!= other.getPersistJobId()) return false;
}
if (hasTempUfsPath() != other.hasTempUfsPath()) return false;
if (hasTempUfsPath()) {
if (!getTempUfsPath()
.equals(other.getTempUfsPath())) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasBlockSizeBytes()) {
hash = (37 * hash) + BLOCK_SIZE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getBlockSizeBytes());
}
if (hasLength()) {
hash = (37 * hash) + LENGTH_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLength());
}
if (hasCompleted()) {
hash = (37 * hash) + COMPLETED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getCompleted());
}
if (hasCacheable()) {
hash = (37 * hash) + CACHEABLE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getCacheable());
}
if (getSetBlocksCount() > 0) {
hash = (37 * hash) + SET_BLOCKS_FIELD_NUMBER;
hash = (53 * hash) + getSetBlocksList().hashCode();
}
if (hasReplicationMax()) {
hash = (37 * hash) + REPLICATION_MAX_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMax();
}
if (hasReplicationMin()) {
hash = (37 * hash) + REPLICATION_MIN_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMin();
}
if (hasPersistJobId()) {
hash = (37 * hash) + PERSIST_JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getPersistJobId());
}
if (hasTempUfsPath()) {
hash = (37 * hash) + TEMP_UFS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getTempUfsPath().hashCode();
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.UpdateInodeFileEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 13
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateInodeFileEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.UpdateInodeFileEntry)
alluxio.proto.journal.File.UpdateInodeFileEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateInodeFileEntry.class, alluxio.proto.journal.File.UpdateInodeFileEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.UpdateInodeFileEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
blockSizeBytes_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
alluxio.shaded.client.com.leted_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
cacheable_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
setBlocks_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
replicationMax_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
replicationMin_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
persistJobId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000100);
tempUfsPath_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeFileEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.UpdateInodeFileEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeFileEntry build() {
alluxio.proto.journal.File.UpdateInodeFileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeFileEntry buildPartial() {
alluxio.proto.journal.File.UpdateInodeFileEntry result = new alluxio.proto.journal.File.UpdateInodeFileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.blockSizeBytes_ = blockSizeBytes_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.length_ = length_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.alluxio.shaded.client.com.leted_ = alluxio.shaded.client.com.leted_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.cacheable_ = cacheable_;
to_bitField0_ |= 0x00000010;
}
if (((bitField0_ & 0x00000020) != 0)) {
setBlocks_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.setBlocks_ = setBlocks_;
if (((from_bitField0_ & 0x00000040) != 0)) {
result.replicationMax_ = replicationMax_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.replicationMin_ = replicationMin_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.persistJobId_ = persistJobId_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.tempUfsPath_ = tempUfsPath_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.path_ = path_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.UpdateInodeFileEntry) {
return mergeFrom((alluxio.proto.journal.File.UpdateInodeFileEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.UpdateInodeFileEntry other) {
if (other == alluxio.proto.journal.File.UpdateInodeFileEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasBlockSizeBytes()) {
setBlockSizeBytes(other.getBlockSizeBytes());
}
if (other.hasLength()) {
setLength(other.getLength());
}
if (other.hasCompleted()) {
setCompleted(other.getCompleted());
}
if (other.hasCacheable()) {
setCacheable(other.getCacheable());
}
if (!other.setBlocks_.isEmpty()) {
if (setBlocks_.isEmpty()) {
setBlocks_ = other.setBlocks_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSetBlocksIsMutable();
setBlocks_.addAll(other.setBlocks_);
}
onChanged();
}
if (other.hasReplicationMax()) {
setReplicationMax(other.getReplicationMax());
}
if (other.hasReplicationMin()) {
setReplicationMin(other.getReplicationMin());
}
if (other.hasPersistJobId()) {
setPersistJobId(other.getPersistJobId());
}
if (other.hasTempUfsPath()) {
bitField0_ |= 0x00000200;
tempUfsPath_ = other.tempUfsPath_;
onChanged();
}
if (other.hasPath()) {
bitField0_ |= 0x00000400;
path_ = other.path_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
blockSizeBytes_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
length_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
alluxio.shaded.client.com.leted_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
cacheable_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 56: {
long v = input.readInt64();
ensureSetBlocksIsMutable();
setBlocks_.addLong(v);
break;
} // case 56
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSetBlocksIsMutable();
while (input.getBytesUntilLimit() > 0) {
setBlocks_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 58
case 64: {
replicationMax_ = input.readInt32();
bitField0_ |= 0x00000040;
break;
} // case 64
case 72: {
replicationMin_ = input.readInt32();
bitField0_ |= 0x00000080;
break;
} // case 72
case 80: {
persistJobId_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 80
case 90: {
tempUfsPath_ = input.readBytes();
bitField0_ |= 0x00000200;
break;
} // case 90
case 98: {
path_ = input.readBytes();
bitField0_ |= 0x00000400;
break;
} // case 98
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long blockSizeBytes_ ;
/**
* optional int64 block_size_bytes = 2;
* @return Whether the blockSizeBytes field is set.
*/
@java.lang.Override
public boolean hasBlockSizeBytes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 block_size_bytes = 2;
* @return The blockSizeBytes.
*/
@java.lang.Override
public long getBlockSizeBytes() {
return blockSizeBytes_;
}
/**
* optional int64 block_size_bytes = 2;
* @param value The blockSizeBytes to set.
* @return This builder for chaining.
*/
public Builder setBlockSizeBytes(long value) {
bitField0_ |= 0x00000002;
blockSizeBytes_ = value;
onChanged();
return this;
}
/**
* optional int64 block_size_bytes = 2;
* @return This builder for chaining.
*/
public Builder clearBlockSizeBytes() {
bitField0_ = (bitField0_ & ~0x00000002);
blockSizeBytes_ = 0L;
onChanged();
return this;
}
private long length_ ;
/**
* optional int64 length = 3;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 length = 3;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
/**
* optional int64 length = 3;
* @param value The length to set.
* @return This builder for chaining.
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000004;
length_ = value;
onChanged();
return this;
}
/**
* optional int64 length = 3;
* @return This builder for chaining.
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000004);
length_ = 0L;
onChanged();
return this;
}
private boolean alluxio.shaded.client.com.leted_ ;
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
@java.lang.Override
public boolean hasCompleted() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return The alluxio.shaded.client.com.leted.
*/
@java.lang.Override
public boolean getCompleted() {
return alluxio.shaded.client.com.leted_;
}
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @param value The alluxio.shaded.client.com.leted to set.
* @return This builder for chaining.
*/
public Builder setCompleted(boolean value) {
bitField0_ |= 0x00000008;
alluxio.shaded.client.com.leted_ = value;
onChanged();
return this;
}
/**
* optional bool alluxio.shaded.client.com.leted = 4;
* @return This builder for chaining.
*/
public Builder clearCompleted() {
bitField0_ = (bitField0_ & ~0x00000008);
alluxio.shaded.client.com.leted_ = false;
onChanged();
return this;
}
private boolean cacheable_ ;
/**
* optional bool cacheable = 5;
* @return Whether the cacheable field is set.
*/
@java.lang.Override
public boolean hasCacheable() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool cacheable = 5;
* @return The cacheable.
*/
@java.lang.Override
public boolean getCacheable() {
return cacheable_;
}
/**
* optional bool cacheable = 5;
* @param value The cacheable to set.
* @return This builder for chaining.
*/
public Builder setCacheable(boolean value) {
bitField0_ |= 0x00000010;
cacheable_ = value;
onChanged();
return this;
}
/**
* optional bool cacheable = 5;
* @return This builder for chaining.
*/
public Builder clearCacheable() {
bitField0_ = (bitField0_ & ~0x00000010);
cacheable_ = false;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.Internal.LongList setBlocks_ = emptyLongList();
private void ensureSetBlocksIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
setBlocks_ = mutableCopy(setBlocks_);
bitField0_ |= 0x00000020;
}
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return A list containing the setBlocks.
*/
public java.util.List
getSetBlocksList() {
return ((bitField0_ & 0x00000020) != 0) ?
java.util.Collections.unmodifiableList(setBlocks_) : setBlocks_;
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return The count of setBlocks.
*/
public int getSetBlocksCount() {
return setBlocks_.size();
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param index The index of the element to return.
* @return The setBlocks at the given index.
*/
public long getSetBlocks(int index) {
return setBlocks_.getLong(index);
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param index The index to set the value at.
* @param value The setBlocks to set.
* @return This builder for chaining.
*/
public Builder setSetBlocks(
int index, long value) {
ensureSetBlocksIsMutable();
setBlocks_.setLong(index, value);
onChanged();
return this;
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param value The setBlocks to add.
* @return This builder for chaining.
*/
public Builder addSetBlocks(long value) {
ensureSetBlocksIsMutable();
setBlocks_.addLong(value);
onChanged();
return this;
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @param values The setBlocks to add.
* @return This builder for chaining.
*/
public Builder addAllSetBlocks(
java.lang.Iterable values) {
ensureSetBlocksIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, setBlocks_);
onChanged();
return this;
}
/**
*
* Overwrite the blocks list
*
*
* repeated int64 set_blocks = 7;
* @return This builder for chaining.
*/
public Builder clearSetBlocks() {
setBlocks_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private int replicationMax_ ;
/**
* optional int32 replication_max = 8;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int32 replication_max = 8;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
/**
* optional int32 replication_max = 8;
* @param value The replicationMax to set.
* @return This builder for chaining.
*/
public Builder setReplicationMax(int value) {
bitField0_ |= 0x00000040;
replicationMax_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_max = 8;
* @return This builder for chaining.
*/
public Builder clearReplicationMax() {
bitField0_ = (bitField0_ & ~0x00000040);
replicationMax_ = 0;
onChanged();
return this;
}
private int replicationMin_ ;
/**
* optional int32 replication_min = 9;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int32 replication_min = 9;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
/**
* optional int32 replication_min = 9;
* @param value The replicationMin to set.
* @return This builder for chaining.
*/
public Builder setReplicationMin(int value) {
bitField0_ |= 0x00000080;
replicationMin_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_min = 9;
* @return This builder for chaining.
*/
public Builder clearReplicationMin() {
bitField0_ = (bitField0_ & ~0x00000080);
replicationMin_ = 0;
onChanged();
return this;
}
private long persistJobId_ ;
/**
* optional int64 persist_job_id = 10;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int64 persist_job_id = 10;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
/**
* optional int64 persist_job_id = 10;
* @param value The persistJobId to set.
* @return This builder for chaining.
*/
public Builder setPersistJobId(long value) {
bitField0_ |= 0x00000100;
persistJobId_ = value;
onChanged();
return this;
}
/**
* optional int64 persist_job_id = 10;
* @return This builder for chaining.
*/
public Builder clearPersistJobId() {
bitField0_ = (bitField0_ & ~0x00000100);
persistJobId_ = 0L;
onChanged();
return this;
}
private java.lang.Object tempUfsPath_ = "";
/**
* optional string temp_ufs_path = 11;
* @return Whether the tempUfsPath field is set.
*/
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string temp_ufs_path = 11;
* @return The tempUfsPath.
*/
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string temp_ufs_path = 11;
* @return The bytes for tempUfsPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string temp_ufs_path = 11;
* @param value The tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
tempUfsPath_ = value;
onChanged();
return this;
}
/**
* optional string temp_ufs_path = 11;
* @return This builder for chaining.
*/
public Builder clearTempUfsPath() {
bitField0_ = (bitField0_ & ~0x00000200);
tempUfsPath_ = getDefaultInstance().getTempUfsPath();
onChanged();
return this;
}
/**
* optional string temp_ufs_path = 11;
* @param value The bytes for tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
tempUfsPath_ = value;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 12;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string path = 12;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 12;
* @return The bytes for path.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 12;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 12;
* @return This builder for chaining.
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000400);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 12;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
path_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.UpdateInodeFileEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.UpdateInodeFileEntry)
private static final alluxio.proto.journal.File.UpdateInodeFileEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.UpdateInodeFileEntry();
}
public static alluxio.proto.journal.File.UpdateInodeFileEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateInodeFileEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateInodeFileEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InodeDirectoryEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.InodeDirectoryEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
boolean hasParentId();
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
long getParentId();
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 3;
* @return The bytes for name.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes();
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
boolean hasPersistenceState();
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
java.lang.String getPersistenceState();
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes();
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
boolean hasPinned();
/**
* optional bool pinned = 5;
* @return The pinned.
*/
boolean getPinned();
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
boolean hasCreationTimeMs();
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
long getCreationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
boolean hasLastModificationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
long getLastModificationTimeMs();
/**
* optional string owner = 8;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* optional string owner = 8;
* @return The owner.
*/
java.lang.String getOwner();
/**
* optional string owner = 8;
* @return The bytes for owner.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes();
/**
* optional string group = 9;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 9;
* @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 9;
* @return The bytes for group.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes();
/**
* optional int32 mode = 10;
* @return Whether the mode field is set.
*/
boolean hasMode();
/**
* optional int32 mode = 10;
* @return The mode.
*/
int getMode();
/**
* optional bool mount_point = 11;
* @return Whether the mountPoint field is set.
*/
boolean hasMountPoint();
/**
* optional bool mount_point = 11;
* @return The mountPoint.
*/
boolean getMountPoint();
/**
* optional bool direct_children_loaded = 12;
* @return Whether the directChildrenLoaded field is set.
*/
boolean hasDirectChildrenLoaded();
/**
* optional bool direct_children_loaded = 12;
* @return The directChildrenLoaded.
*/
boolean getDirectChildrenLoaded();
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
long getTtl();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
boolean hasTtlAction();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return The ttlAction.
*/
alluxio.proto.journal.File.PTtlAction getTtlAction();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return Whether the acl field is set.
*/
boolean hasAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return The acl.
*/
alluxio.proto.shared.Acl.AccessControlList getAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return Whether the defaultAcl field is set.
*/
boolean hasDefaultAcl();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return The defaultAcl.
*/
alluxio.proto.shared.Acl.AccessControlList getDefaultAcl();
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder();
/**
* optional string path = 17;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* optional string path = 17;
* @return The path.
*/
java.lang.String getPath();
/**
* optional string path = 17;
* @return The bytes for path.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes();
/**
* repeated string medium_type = 18;
* @return A list containing the mediumType.
*/
java.util.List
getMediumTypeList();
/**
* repeated string medium_type = 18;
* @return The count of mediumType.
*/
int getMediumTypeCount();
/**
* repeated string medium_type = 18;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
java.lang.String getMediumType(int index);
/**
* repeated string medium_type = 18;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index);
/**
* map<string, bytes> xAttr = 19;
*/
int getXAttrCount();
/**
* map<string, bytes> xAttr = 19;
*/
boolean containsXAttr(
java.lang.String key);
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getXAttr();
/**
* map<string, bytes> xAttr = 19;
*/
java.util.Map
getXAttrMap();
/**
* map<string, bytes> xAttr = 19;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue);
/**
* map<string, bytes> xAttr = 19;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key);
/**
* optional int64 last_access_time_ms = 20;
* @return Whether the lastAccessTimeMs field is set.
*/
boolean hasLastAccessTimeMs();
/**
* optional int64 last_access_time_ms = 20;
* @return The lastAccessTimeMs.
*/
long getLastAccessTimeMs();
}
/**
*
* next available id: 21
*
*
* Protobuf type {@code alluxio.proto.journal.InodeDirectoryEntry}
*/
public static final class InodeDirectoryEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.InodeDirectoryEntry)
InodeDirectoryEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use InodeDirectoryEntry.newBuilder() to construct.
private InodeDirectoryEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private InodeDirectoryEntry() {
name_ = "";
persistenceState_ = "";
owner_ = "";
group_ = "";
ttlAction_ = 0;
path_ = "";
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InodeDirectoryEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 19:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeDirectoryEntry.class, alluxio.proto.journal.File.InodeDirectoryEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int PARENT_ID_FIELD_NUMBER = 2;
private long parentId_;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PERSISTENCE_STATE_FIELD_NUMBER = 4;
private volatile java.lang.Object persistenceState_;
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
@java.lang.Override
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
@java.lang.Override
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PINNED_FIELD_NUMBER = 5;
private boolean pinned_;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
public static final int CREATION_TIME_MS_FIELD_NUMBER = 6;
private long creationTimeMs_;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
public static final int LAST_MODIFICATION_TIME_MS_FIELD_NUMBER = 7;
private long lastModificationTimeMs_;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
public static final int OWNER_FIELD_NUMBER = 8;
private volatile java.lang.Object owner_;
/**
* optional string owner = 8;
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string owner = 8;
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
}
}
/**
* optional string owner = 8;
* @return The bytes for owner.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_FIELD_NUMBER = 9;
private volatile java.lang.Object group_;
/**
* optional string group = 9;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string group = 9;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
}
}
/**
* optional string group = 9;
* @return The bytes for group.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MODE_FIELD_NUMBER = 10;
private int mode_;
/**
* optional int32 mode = 10;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int32 mode = 10;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
public static final int MOUNT_POINT_FIELD_NUMBER = 11;
private boolean mountPoint_;
/**
* optional bool mount_point = 11;
* @return Whether the mountPoint field is set.
*/
@java.lang.Override
public boolean hasMountPoint() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool mount_point = 11;
* @return The mountPoint.
*/
@java.lang.Override
public boolean getMountPoint() {
return mountPoint_;
}
public static final int DIRECT_CHILDREN_LOADED_FIELD_NUMBER = 12;
private boolean directChildrenLoaded_;
/**
* optional bool direct_children_loaded = 12;
* @return Whether the directChildrenLoaded field is set.
*/
@java.lang.Override
public boolean hasDirectChildrenLoaded() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional bool direct_children_loaded = 12;
* @return The directChildrenLoaded.
*/
@java.lang.Override
public boolean getDirectChildrenLoaded() {
return directChildrenLoaded_;
}
public static final int TTL_FIELD_NUMBER = 13;
private long ttl_;
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
public static final int TTLACTION_FIELD_NUMBER = 14;
private int ttlAction_;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
public static final int ACL_FIELD_NUMBER = 15;
private alluxio.proto.shared.Acl.AccessControlList acl_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return Whether the acl field is set.
*/
@java.lang.Override
public boolean hasAcl() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return The acl.
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
public static final int DEFAULTACL_FIELD_NUMBER = 16;
private alluxio.proto.shared.Acl.AccessControlList defaultAcl_;
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return Whether the defaultAcl field is set.
*/
@java.lang.Override
public boolean hasDefaultAcl() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return The defaultAcl.
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlList getDefaultAcl() {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder() {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
public static final int PATH_FIELD_NUMBER = 17;
private volatile java.lang.Object path_;
/**
* optional string path = 17;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string path = 17;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 17;
* @return The bytes for path.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MEDIUM_TYPE_FIELD_NUMBER = 18;
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_;
/**
* repeated string medium_type = 18;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_;
}
/**
* repeated string medium_type = 18;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 18;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 18;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
public static final int XATTR_FIELD_NUMBER = 19;
private static final class XAttrDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.BYTES,
alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY);
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int LAST_ACCESS_TIME_MS_FIELD_NUMBER = 20;
private long lastAccessTimeMs_;
/**
* optional int64 last_access_time_ms = 20;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional int64 last_access_time_ms = 20;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 8, owner_);
}
if (((bitField0_ & 0x00000100) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 9, group_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt32(10, mode_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeBool(11, mountPoint_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeBool(12, directChildrenLoaded_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt64(13, ttl_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeEnum(14, ttlAction_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeMessage(15, getAcl());
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeMessage(16, getDefaultAcl());
}
if (((bitField0_ & 0x00010000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 17, path_);
}
for (int i = 0; i < mediumType_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 18, mediumType_.getRaw(i));
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetXAttr(),
XAttrDefaultEntryHolder.defaultEntry,
19);
if (((bitField0_ & 0x00020000) != 0)) {
output.writeInt64(20, lastAccessTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(8, owner_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(9, group_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(10, mode_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(11, mountPoint_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(12, directChildrenLoaded_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(13, ttl_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(14, ttlAction_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(15, getAcl());
}
if (((bitField0_ & 0x00008000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(16, getDefaultAcl());
}
if (((bitField0_ & 0x00010000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(17, path_);
}
{
int dataSize = 0;
for (int i = 0; i < mediumType_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(mediumType_.getRaw(i));
}
size += dataSize;
size += 2 * getMediumTypeList().size();
}
for (java.util.Map.Entry entry
: internalGetXAttr().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = XAttrDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(19, xAttr__);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(20, lastAccessTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.InodeDirectoryEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.InodeDirectoryEntry other = (alluxio.proto.journal.File.InodeDirectoryEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasParentId() != other.hasParentId()) return false;
if (hasParentId()) {
if (getParentId()
!= other.getParentId()) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasPersistenceState() != other.hasPersistenceState()) return false;
if (hasPersistenceState()) {
if (!getPersistenceState()
.equals(other.getPersistenceState())) return false;
}
if (hasPinned() != other.hasPinned()) return false;
if (hasPinned()) {
if (getPinned()
!= other.getPinned()) return false;
}
if (hasCreationTimeMs() != other.hasCreationTimeMs()) return false;
if (hasCreationTimeMs()) {
if (getCreationTimeMs()
!= other.getCreationTimeMs()) return false;
}
if (hasLastModificationTimeMs() != other.hasLastModificationTimeMs()) return false;
if (hasLastModificationTimeMs()) {
if (getLastModificationTimeMs()
!= other.getLastModificationTimeMs()) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasMode() != other.hasMode()) return false;
if (hasMode()) {
if (getMode()
!= other.getMode()) return false;
}
if (hasMountPoint() != other.hasMountPoint()) return false;
if (hasMountPoint()) {
if (getMountPoint()
!= other.getMountPoint()) return false;
}
if (hasDirectChildrenLoaded() != other.hasDirectChildrenLoaded()) return false;
if (hasDirectChildrenLoaded()) {
if (getDirectChildrenLoaded()
!= other.getDirectChildrenLoaded()) return false;
}
if (hasTtl() != other.hasTtl()) return false;
if (hasTtl()) {
if (getTtl()
!= other.getTtl()) return false;
}
if (hasTtlAction() != other.hasTtlAction()) return false;
if (hasTtlAction()) {
if (ttlAction_ != other.ttlAction_) return false;
}
if (hasAcl() != other.hasAcl()) return false;
if (hasAcl()) {
if (!getAcl()
.equals(other.getAcl())) return false;
}
if (hasDefaultAcl() != other.hasDefaultAcl()) return false;
if (hasDefaultAcl()) {
if (!getDefaultAcl()
.equals(other.getDefaultAcl())) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (!getMediumTypeList()
.equals(other.getMediumTypeList())) return false;
if (!internalGetXAttr().equals(
other.internalGetXAttr())) return false;
if (hasLastAccessTimeMs() != other.hasLastAccessTimeMs()) return false;
if (hasLastAccessTimeMs()) {
if (getLastAccessTimeMs()
!= other.getLastAccessTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasParentId()) {
hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getParentId());
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasPersistenceState()) {
hash = (37 * hash) + PERSISTENCE_STATE_FIELD_NUMBER;
hash = (53 * hash) + getPersistenceState().hashCode();
}
if (hasPinned()) {
hash = (37 * hash) + PINNED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getPinned());
}
if (hasCreationTimeMs()) {
hash = (37 * hash) + CREATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getCreationTimeMs());
}
if (hasLastModificationTimeMs()) {
hash = (37 * hash) + LAST_MODIFICATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastModificationTimeMs());
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasMode()) {
hash = (37 * hash) + MODE_FIELD_NUMBER;
hash = (53 * hash) + getMode();
}
if (hasMountPoint()) {
hash = (37 * hash) + MOUNT_POINT_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getMountPoint());
}
if (hasDirectChildrenLoaded()) {
hash = (37 * hash) + DIRECT_CHILDREN_LOADED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getDirectChildrenLoaded());
}
if (hasTtl()) {
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getTtl());
}
if (hasTtlAction()) {
hash = (37 * hash) + TTLACTION_FIELD_NUMBER;
hash = (53 * hash) + ttlAction_;
}
if (hasAcl()) {
hash = (37 * hash) + ACL_FIELD_NUMBER;
hash = (53 * hash) + getAcl().hashCode();
}
if (hasDefaultAcl()) {
hash = (37 * hash) + DEFAULTACL_FIELD_NUMBER;
hash = (53 * hash) + getDefaultAcl().hashCode();
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
if (getMediumTypeCount() > 0) {
hash = (37 * hash) + MEDIUM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediumTypeList().hashCode();
}
if (!internalGetXAttr().getMap().isEmpty()) {
hash = (37 * hash) + XATTR_FIELD_NUMBER;
hash = (53 * hash) + internalGetXAttr().hashCode();
}
if (hasLastAccessTimeMs()) {
hash = (37 * hash) + LAST_ACCESS_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastAccessTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.InodeDirectoryEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 21
*
*
* Protobuf type {@code alluxio.proto.journal.InodeDirectoryEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.InodeDirectoryEntry)
alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 19:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 19:
return internalGetMutableXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeDirectoryEntry.class, alluxio.proto.journal.File.InodeDirectoryEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.InodeDirectoryEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAclFieldBuilder();
getDefaultAclFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
parentId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
persistenceState_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
pinned_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
creationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
lastModificationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
owner_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
group_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
mode_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
mountPoint_ = false;
bitField0_ = (bitField0_ & ~0x00000400);
directChildrenLoaded_ = false;
bitField0_ = (bitField0_ & ~0x00000800);
ttl_ = 0L;
bitField0_ = (bitField0_ & ~0x00001000);
ttlAction_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
if (aclBuilder_ == null) {
acl_ = null;
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
if (defaultAclBuilder_ == null) {
defaultAcl_ = null;
} else {
defaultAclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
path_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00020000);
internalGetMutableXAttr().clear();
lastAccessTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryEntry build() {
alluxio.proto.journal.File.InodeDirectoryEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryEntry buildPartial() {
alluxio.proto.journal.File.InodeDirectoryEntry result = new alluxio.proto.journal.File.InodeDirectoryEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.parentId_ = parentId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.persistenceState_ = persistenceState_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.pinned_ = pinned_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.creationTimeMs_ = creationTimeMs_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.lastModificationTimeMs_ = lastModificationTimeMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.owner_ = owner_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.group_ = group_;
if (((from_bitField0_ & 0x00000200) != 0)) {
result.mode_ = mode_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.mountPoint_ = mountPoint_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.directChildrenLoaded_ = directChildrenLoaded_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.ttl_ = ttl_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.ttlAction_ = ttlAction_;
if (((from_bitField0_ & 0x00004000) != 0)) {
if (aclBuilder_ == null) {
result.acl_ = acl_;
} else {
result.acl_ = aclBuilder_.build();
}
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
if (defaultAclBuilder_ == null) {
result.defaultAcl_ = defaultAcl_;
} else {
result.defaultAcl_ = defaultAclBuilder_.build();
}
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
to_bitField0_ |= 0x00010000;
}
result.path_ = path_;
if (((bitField0_ & 0x00020000) != 0)) {
mediumType_ = mediumType_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00020000);
}
result.mediumType_ = mediumType_;
result.xAttr_ = internalGetXAttr();
result.xAttr_.makeImmutable();
if (((from_bitField0_ & 0x00080000) != 0)) {
result.lastAccessTimeMs_ = lastAccessTimeMs_;
to_bitField0_ |= 0x00020000;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.InodeDirectoryEntry) {
return mergeFrom((alluxio.proto.journal.File.InodeDirectoryEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.InodeDirectoryEntry other) {
if (other == alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasParentId()) {
setParentId(other.getParentId());
}
if (other.hasName()) {
bitField0_ |= 0x00000004;
name_ = other.name_;
onChanged();
}
if (other.hasPersistenceState()) {
bitField0_ |= 0x00000008;
persistenceState_ = other.persistenceState_;
onChanged();
}
if (other.hasPinned()) {
setPinned(other.getPinned());
}
if (other.hasCreationTimeMs()) {
setCreationTimeMs(other.getCreationTimeMs());
}
if (other.hasLastModificationTimeMs()) {
setLastModificationTimeMs(other.getLastModificationTimeMs());
}
if (other.hasOwner()) {
bitField0_ |= 0x00000080;
owner_ = other.owner_;
onChanged();
}
if (other.hasGroup()) {
bitField0_ |= 0x00000100;
group_ = other.group_;
onChanged();
}
if (other.hasMode()) {
setMode(other.getMode());
}
if (other.hasMountPoint()) {
setMountPoint(other.getMountPoint());
}
if (other.hasDirectChildrenLoaded()) {
setDirectChildrenLoaded(other.getDirectChildrenLoaded());
}
if (other.hasTtl()) {
setTtl(other.getTtl());
}
if (other.hasTtlAction()) {
setTtlAction(other.getTtlAction());
}
if (other.hasAcl()) {
mergeAcl(other.getAcl());
}
if (other.hasDefaultAcl()) {
mergeDefaultAcl(other.getDefaultAcl());
}
if (other.hasPath()) {
bitField0_ |= 0x00010000;
path_ = other.path_;
onChanged();
}
if (!other.mediumType_.isEmpty()) {
if (mediumType_.isEmpty()) {
mediumType_ = other.mediumType_;
bitField0_ = (bitField0_ & ~0x00020000);
} else {
ensureMediumTypeIsMutable();
mediumType_.addAll(other.mediumType_);
}
onChanged();
}
internalGetMutableXAttr().mergeFrom(
other.internalGetXAttr());
if (other.hasLastAccessTimeMs()) {
setLastAccessTimeMs(other.getLastAccessTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
parentId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
persistenceState_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
pinned_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
creationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
lastModificationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
owner_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
group_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
case 80: {
mode_ = input.readInt32();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
mountPoint_ = input.readBool();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
directChildrenLoaded_ = input.readBool();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
ttl_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.PTtlAction tmpValue =
alluxio.proto.journal.File.PTtlAction.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(14, tmpRaw);
} else {
ttlAction_ = tmpRaw;
bitField0_ |= 0x00002000;
}
break;
} // case 112
case 122: {
input.readMessage(
getAclFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00004000;
break;
} // case 122
case 130: {
input.readMessage(
getDefaultAclFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00008000;
break;
} // case 130
case 138: {
path_ = input.readBytes();
bitField0_ |= 0x00010000;
break;
} // case 138
case 146: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureMediumTypeIsMutable();
mediumType_.add(bs);
break;
} // case 146
case 154: {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = input.readMessage(
XAttrDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableXAttr().getMutableMap().put(
xAttr__.getKey(), xAttr__.getValue());
break;
} // case 154
case 160: {
lastAccessTimeMs_ = input.readInt64();
bitField0_ |= 0x00080000;
break;
} // case 160
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long parentId_ ;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
/**
* optional int64 parent_id = 2;
* @param value The parentId to set.
* @return This builder for chaining.
*/
public Builder setParentId(long value) {
bitField0_ |= 0x00000002;
parentId_ = value;
onChanged();
return this;
}
/**
* optional int64 parent_id = 2;
* @return This builder for chaining.
*/
public Builder clearParentId() {
bitField0_ = (bitField0_ & ~0x00000002);
parentId_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
private java.lang.Object persistenceState_ = "";
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string persistence_state = 4;
* @param value The persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @return This builder for chaining.
*/
public Builder clearPersistenceState() {
bitField0_ = (bitField0_ & ~0x00000008);
persistenceState_ = getDefaultInstance().getPersistenceState();
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @param value The bytes for persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceStateBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
private boolean pinned_ ;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
/**
* optional bool pinned = 5;
* @param value The pinned to set.
* @return This builder for chaining.
*/
public Builder setPinned(boolean value) {
bitField0_ |= 0x00000010;
pinned_ = value;
onChanged();
return this;
}
/**
* optional bool pinned = 5;
* @return This builder for chaining.
*/
public Builder clearPinned() {
bitField0_ = (bitField0_ & ~0x00000010);
pinned_ = false;
onChanged();
return this;
}
private long creationTimeMs_ ;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
/**
* optional int64 creation_time_ms = 6;
* @param value The creationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setCreationTimeMs(long value) {
bitField0_ |= 0x00000020;
creationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 creation_time_ms = 6;
* @return This builder for chaining.
*/
public Builder clearCreationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
creationTimeMs_ = 0L;
onChanged();
return this;
}
private long lastModificationTimeMs_ ;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
/**
* optional int64 last_modification_time_ms = 7;
* @param value The lastModificationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastModificationTimeMs(long value) {
bitField0_ |= 0x00000040;
lastModificationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_modification_time_ms = 7;
* @return This builder for chaining.
*/
public Builder clearLastModificationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
lastModificationTimeMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* optional string owner = 8;
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string owner = 8;
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string owner = 8;
* @return The bytes for owner.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string owner = 8;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
owner_ = value;
onChanged();
return this;
}
/**
* optional string owner = 8;
* @return This builder for chaining.
*/
public Builder clearOwner() {
bitField0_ = (bitField0_ & ~0x00000080);
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* optional string owner = 8;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
owner_ = value;
onChanged();
return this;
}
private java.lang.Object group_ = "";
/**
* optional string group = 9;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string group = 9;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string group = 9;
* @return The bytes for group.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string group = 9;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
group_ = value;
onChanged();
return this;
}
/**
* optional string group = 9;
* @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00000100);
group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 9;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
group_ = value;
onChanged();
return this;
}
private int mode_ ;
/**
* optional int32 mode = 10;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional int32 mode = 10;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
/**
* optional int32 mode = 10;
* @param value The mode to set.
* @return This builder for chaining.
*/
public Builder setMode(int value) {
bitField0_ |= 0x00000200;
mode_ = value;
onChanged();
return this;
}
/**
* optional int32 mode = 10;
* @return This builder for chaining.
*/
public Builder clearMode() {
bitField0_ = (bitField0_ & ~0x00000200);
mode_ = 0;
onChanged();
return this;
}
private boolean mountPoint_ ;
/**
* optional bool mount_point = 11;
* @return Whether the mountPoint field is set.
*/
@java.lang.Override
public boolean hasMountPoint() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool mount_point = 11;
* @return The mountPoint.
*/
@java.lang.Override
public boolean getMountPoint() {
return mountPoint_;
}
/**
* optional bool mount_point = 11;
* @param value The mountPoint to set.
* @return This builder for chaining.
*/
public Builder setMountPoint(boolean value) {
bitField0_ |= 0x00000400;
mountPoint_ = value;
onChanged();
return this;
}
/**
* optional bool mount_point = 11;
* @return This builder for chaining.
*/
public Builder clearMountPoint() {
bitField0_ = (bitField0_ & ~0x00000400);
mountPoint_ = false;
onChanged();
return this;
}
private boolean directChildrenLoaded_ ;
/**
* optional bool direct_children_loaded = 12;
* @return Whether the directChildrenLoaded field is set.
*/
@java.lang.Override
public boolean hasDirectChildrenLoaded() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional bool direct_children_loaded = 12;
* @return The directChildrenLoaded.
*/
@java.lang.Override
public boolean getDirectChildrenLoaded() {
return directChildrenLoaded_;
}
/**
* optional bool direct_children_loaded = 12;
* @param value The directChildrenLoaded to set.
* @return This builder for chaining.
*/
public Builder setDirectChildrenLoaded(boolean value) {
bitField0_ |= 0x00000800;
directChildrenLoaded_ = value;
onChanged();
return this;
}
/**
* optional bool direct_children_loaded = 12;
* @return This builder for chaining.
*/
public Builder clearDirectChildrenLoaded() {
bitField0_ = (bitField0_ & ~0x00000800);
directChildrenLoaded_ = false;
onChanged();
return this;
}
private long ttl_ ;
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
/**
* optional int64 ttl = 13;
* @param value The ttl to set.
* @return This builder for chaining.
*/
public Builder setTtl(long value) {
bitField0_ |= 0x00001000;
ttl_ = value;
onChanged();
return this;
}
/**
* optional int64 ttl = 13;
* @return This builder for chaining.
*/
public Builder clearTtl() {
bitField0_ = (bitField0_ & ~0x00001000);
ttl_ = 0L;
onChanged();
return this;
}
private int ttlAction_ = 0;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override
public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @param value The ttlAction to set.
* @return This builder for chaining.
*/
public Builder setTtlAction(alluxio.proto.journal.File.PTtlAction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
ttlAction_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 14 [default = DELETE];
* @return This builder for chaining.
*/
public Builder clearTtlAction() {
bitField0_ = (bitField0_ & ~0x00002000);
ttlAction_ = 0;
onChanged();
return this;
}
private alluxio.proto.shared.Acl.AccessControlList acl_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder> aclBuilder_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return Whether the acl field is set.
*/
public boolean hasAcl() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
* @return The acl.
*/
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
if (aclBuilder_ == null) {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
} else {
return aclBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public Builder setAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
acl_ = value;
onChanged();
} else {
aclBuilder_.setMessage(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public Builder setAcl(
alluxio.proto.shared.Acl.AccessControlList.Builder builderForValue) {
if (aclBuilder_ == null) {
acl_ = builderForValue.build();
onChanged();
} else {
aclBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public Builder mergeAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (((bitField0_ & 0x00004000) != 0) &&
acl_ != null &&
acl_ != alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance()) {
acl_ =
alluxio.proto.shared.Acl.AccessControlList.newBuilder(acl_).mergeFrom(value).buildPartial();
} else {
acl_ = value;
}
onChanged();
} else {
aclBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00004000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public Builder clearAcl() {
if (aclBuilder_ == null) {
acl_ = null;
onChanged();
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public alluxio.proto.shared.Acl.AccessControlList.Builder getAclBuilder() {
bitField0_ |= 0x00004000;
onChanged();
return getAclFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
if (aclBuilder_ != null) {
return aclBuilder_.getMessageOrBuilder();
} else {
return acl_ == null ?
alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 15;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>
getAclFieldBuilder() {
if (aclBuilder_ == null) {
aclBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>(
getAcl(),
getParentForChildren(),
isClean());
acl_ = null;
}
return aclBuilder_;
}
private alluxio.proto.shared.Acl.AccessControlList defaultAcl_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder> defaultAclBuilder_;
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return Whether the defaultAcl field is set.
*/
public boolean hasDefaultAcl() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
* @return The defaultAcl.
*/
public alluxio.proto.shared.Acl.AccessControlList getDefaultAcl() {
if (defaultAclBuilder_ == null) {
return defaultAcl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
} else {
return defaultAclBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public Builder setDefaultAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (defaultAclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defaultAcl_ = value;
onChanged();
} else {
defaultAclBuilder_.setMessage(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public Builder setDefaultAcl(
alluxio.proto.shared.Acl.AccessControlList.Builder builderForValue) {
if (defaultAclBuilder_ == null) {
defaultAcl_ = builderForValue.build();
onChanged();
} else {
defaultAclBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public Builder mergeDefaultAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (defaultAclBuilder_ == null) {
if (((bitField0_ & 0x00008000) != 0) &&
defaultAcl_ != null &&
defaultAcl_ != alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance()) {
defaultAcl_ =
alluxio.proto.shared.Acl.AccessControlList.newBuilder(defaultAcl_).mergeFrom(value).buildPartial();
} else {
defaultAcl_ = value;
}
onChanged();
} else {
defaultAclBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public Builder clearDefaultAcl() {
if (defaultAclBuilder_ == null) {
defaultAcl_ = null;
onChanged();
} else {
defaultAclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public alluxio.proto.shared.Acl.AccessControlList.Builder getDefaultAclBuilder() {
bitField0_ |= 0x00008000;
onChanged();
return getDefaultAclFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getDefaultAclOrBuilder() {
if (defaultAclBuilder_ != null) {
return defaultAclBuilder_.getMessageOrBuilder();
} else {
return defaultAcl_ == null ?
alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : defaultAcl_;
}
}
/**
* optional .alluxio.proto.shared.AccessControlList defaultAcl = 16;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>
getDefaultAclFieldBuilder() {
if (defaultAclBuilder_ == null) {
defaultAclBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>(
getDefaultAcl(),
getParentForChildren(),
isClean());
defaultAcl_ = null;
}
return defaultAclBuilder_;
}
private java.lang.Object path_ = "";
/**
* optional string path = 17;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string path = 17;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 17;
* @return The bytes for path.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 17;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 17;
* @return This builder for chaining.
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00010000);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 17;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
path_ = value;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMediumTypeIsMutable() {
if (!((bitField0_ & 0x00020000) != 0)) {
mediumType_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(mediumType_);
bitField0_ |= 0x00020000;
}
}
/**
* repeated string medium_type = 18;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_.getUnmodifiableView();
}
/**
* repeated string medium_type = 18;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 18;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 18;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
/**
* repeated string medium_type = 18;
* @param index The index to set the value at.
* @param value The mediumType to set.
* @return This builder for chaining.
*/
public Builder setMediumType(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.set(index, value);
onChanged();
return this;
}
/**
* repeated string medium_type = 18;
* @param value The mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
/**
* repeated string medium_type = 18;
* @param values The mediumType to add.
* @return This builder for chaining.
*/
public Builder addAllMediumType(
java.lang.Iterable values) {
ensureMediumTypeIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mediumType_);
onChanged();
return this;
}
/**
* repeated string medium_type = 18;
* @return This builder for chaining.
*/
public Builder clearMediumType() {
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
/**
* repeated string medium_type = 18;
* @param value The bytes of the mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumTypeBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableXAttr() {
onChanged();;
if (xAttr_ == null) {
xAttr_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
if (!xAttr_.isMutable()) {
xAttr_ = xAttr_.copy();
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 19;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearXAttr() {
internalGetMutableXAttr().getMutableMap()
.clear();
return this;
}
/**
* map<string, bytes> xAttr = 19;
*/
public Builder removeXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableXAttr().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableXAttr() {
return internalGetMutableXAttr().getMutableMap();
}
/**
* map<string, bytes> xAttr = 19;
*/
public Builder putXAttr(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableXAttr().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, bytes> xAttr = 19;
*/
public Builder putAllXAttr(
java.util.Map values) {
internalGetMutableXAttr().getMutableMap()
.putAll(values);
return this;
}
private long lastAccessTimeMs_ ;
/**
* optional int64 last_access_time_ms = 20;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional int64 last_access_time_ms = 20;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
/**
* optional int64 last_access_time_ms = 20;
* @param value The lastAccessTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastAccessTimeMs(long value) {
bitField0_ |= 0x00080000;
lastAccessTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_access_time_ms = 20;
* @return This builder for chaining.
*/
public Builder clearLastAccessTimeMs() {
bitField0_ = (bitField0_ & ~0x00080000);
lastAccessTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.InodeDirectoryEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.InodeDirectoryEntry)
private static final alluxio.proto.journal.File.InodeDirectoryEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.InodeDirectoryEntry();
}
public static alluxio.proto.journal.File.InodeDirectoryEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public InodeDirectoryEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InodeDirectoryIdGeneratorEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.InodeDirectoryIdGeneratorEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 container_id = 1;
* @return Whether the containerId field is set.
*/
boolean hasContainerId();
/**
* optional int64 container_id = 1;
* @return The containerId.
*/
long getContainerId();
/**
* optional int64 sequence_number = 2;
* @return Whether the sequenceNumber field is set.
*/
boolean hasSequenceNumber();
/**
* optional int64 sequence_number = 2;
* @return The sequenceNumber.
*/
long getSequenceNumber();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.InodeDirectoryIdGeneratorEntry}
*/
public static final class InodeDirectoryIdGeneratorEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.InodeDirectoryIdGeneratorEntry)
InodeDirectoryIdGeneratorEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use InodeDirectoryIdGeneratorEntry.newBuilder() to construct.
private InodeDirectoryIdGeneratorEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private InodeDirectoryIdGeneratorEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InodeDirectoryIdGeneratorEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.class, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder.class);
}
private int bitField0_;
public static final int CONTAINER_ID_FIELD_NUMBER = 1;
private long containerId_;
/**
* optional int64 container_id = 1;
* @return Whether the containerId field is set.
*/
@java.lang.Override
public boolean hasContainerId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 container_id = 1;
* @return The containerId.
*/
@java.lang.Override
public long getContainerId() {
return containerId_;
}
public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 2;
private long sequenceNumber_;
/**
* optional int64 sequence_number = 2;
* @return Whether the sequenceNumber field is set.
*/
@java.lang.Override
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 sequence_number = 2;
* @return The sequenceNumber.
*/
@java.lang.Override
public long getSequenceNumber() {
return sequenceNumber_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, containerId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, sequenceNumber_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, containerId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, sequenceNumber_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry other = (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) obj;
if (hasContainerId() != other.hasContainerId()) return false;
if (hasContainerId()) {
if (getContainerId()
!= other.getContainerId()) return false;
}
if (hasSequenceNumber() != other.hasSequenceNumber()) return false;
if (hasSequenceNumber()) {
if (getSequenceNumber()
!= other.getSequenceNumber()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContainerId()) {
hash = (37 * hash) + CONTAINER_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getContainerId());
}
if (hasSequenceNumber()) {
hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getSequenceNumber());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.InodeDirectoryIdGeneratorEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.InodeDirectoryIdGeneratorEntry)
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.class, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
containerId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
sequenceNumber_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry build() {
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry buildPartial() {
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry result = new alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.containerId_ = containerId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.sequenceNumber_ = sequenceNumber_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) {
return mergeFrom((alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry other) {
if (other == alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance()) return this;
if (other.hasContainerId()) {
setContainerId(other.getContainerId());
}
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
containerId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
sequenceNumber_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long containerId_ ;
/**
* optional int64 container_id = 1;
* @return Whether the containerId field is set.
*/
@java.lang.Override
public boolean hasContainerId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 container_id = 1;
* @return The containerId.
*/
@java.lang.Override
public long getContainerId() {
return containerId_;
}
/**
* optional int64 container_id = 1;
* @param value The containerId to set.
* @return This builder for chaining.
*/
public Builder setContainerId(long value) {
bitField0_ |= 0x00000001;
containerId_ = value;
onChanged();
return this;
}
/**
* optional int64 container_id = 1;
* @return This builder for chaining.
*/
public Builder clearContainerId() {
bitField0_ = (bitField0_ & ~0x00000001);
containerId_ = 0L;
onChanged();
return this;
}
private long sequenceNumber_ ;
/**
* optional int64 sequence_number = 2;
* @return Whether the sequenceNumber field is set.
*/
@java.lang.Override
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 sequence_number = 2;
* @return The sequenceNumber.
*/
@java.lang.Override
public long getSequenceNumber() {
return sequenceNumber_;
}
/**
* optional int64 sequence_number = 2;
* @param value The sequenceNumber to set.
* @return This builder for chaining.
*/
public Builder setSequenceNumber(long value) {
bitField0_ |= 0x00000002;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* optional int64 sequence_number = 2;
* @return This builder for chaining.
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
sequenceNumber_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.InodeDirectoryIdGeneratorEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.InodeDirectoryIdGeneratorEntry)
private static final alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry();
}
public static alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public InodeDirectoryIdGeneratorEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InodeFileEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.InodeFileEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
boolean hasParentId();
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
long getParentId();
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 3;
* @return The bytes for name.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes();
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
boolean hasPersistenceState();
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
java.lang.String getPersistenceState();
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes();
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
boolean hasPinned();
/**
* optional bool pinned = 5;
* @return The pinned.
*/
boolean getPinned();
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
boolean hasCreationTimeMs();
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
long getCreationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
boolean hasLastModificationTimeMs();
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
long getLastModificationTimeMs();
/**
* optional int64 block_size_bytes = 8;
* @return Whether the blockSizeBytes field is set.
*/
boolean hasBlockSizeBytes();
/**
* optional int64 block_size_bytes = 8;
* @return The blockSizeBytes.
*/
long getBlockSizeBytes();
/**
* optional int64 length = 9;
* @return Whether the length field is set.
*/
boolean hasLength();
/**
* optional int64 length = 9;
* @return The length.
*/
long getLength();
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
boolean hasCompleted();
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return The alluxio.shaded.client.com.leted.
*/
boolean getCompleted();
/**
* optional bool cacheable = 11;
* @return Whether the cacheable field is set.
*/
boolean hasCacheable();
/**
* optional bool cacheable = 11;
* @return The cacheable.
*/
boolean getCacheable();
/**
* repeated int64 blocks = 12;
* @return A list containing the blocks.
*/
java.util.List getBlocksList();
/**
* repeated int64 blocks = 12;
* @return The count of blocks.
*/
int getBlocksCount();
/**
* repeated int64 blocks = 12;
* @param index The index of the element to return.
* @return The blocks at the given index.
*/
long getBlocks(int index);
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
long getTtl();
/**
* optional string owner = 14;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* optional string owner = 14;
* @return The owner.
*/
java.lang.String getOwner();
/**
* optional string owner = 14;
* @return The bytes for owner.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes();
/**
* optional string group = 15;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 15;
* @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 15;
* @return The bytes for group.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes();
/**
* optional int32 mode = 16;
* @return Whether the mode field is set.
*/
boolean hasMode();
/**
* optional int32 mode = 16;
* @return The mode.
*/
int getMode();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
boolean hasTtlAction();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return The ttlAction.
*/
alluxio.proto.journal.File.PTtlAction getTtlAction();
/**
* optional string ufs_fingerprint = 18;
* @return Whether the ufsFingerprint field is set.
*/
boolean hasUfsFingerprint();
/**
* optional string ufs_fingerprint = 18;
* @return The ufsFingerprint.
*/
java.lang.String getUfsFingerprint();
/**
* optional string ufs_fingerprint = 18;
* @return The bytes for ufsFingerprint.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return Whether the acl field is set.
*/
boolean hasAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return The acl.
*/
alluxio.proto.shared.Acl.AccessControlList getAcl();
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder();
/**
* optional int32 replication_max = 20;
* @return Whether the replicationMax field is set.
*/
boolean hasReplicationMax();
/**
* optional int32 replication_max = 20;
* @return The replicationMax.
*/
int getReplicationMax();
/**
* optional int32 replication_min = 21;
* @return Whether the replicationMin field is set.
*/
boolean hasReplicationMin();
/**
* optional int32 replication_min = 21;
* @return The replicationMin.
*/
int getReplicationMin();
/**
* optional int64 persist_job_id = 22;
* @return Whether the persistJobId field is set.
*/
boolean hasPersistJobId();
/**
* optional int64 persist_job_id = 22;
* @return The persistJobId.
*/
long getPersistJobId();
/**
* optional string temp_ufs_path = 23;
* @return Whether the tempUfsPath field is set.
*/
boolean hasTempUfsPath();
/**
* optional string temp_ufs_path = 23;
* @return The tempUfsPath.
*/
java.lang.String getTempUfsPath();
/**
* optional string temp_ufs_path = 23;
* @return The bytes for tempUfsPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes();
/**
* optional int32 replication_durable = 24;
* @return Whether the replicationDurable field is set.
*/
boolean hasReplicationDurable();
/**
* optional int32 replication_durable = 24;
* @return The replicationDurable.
*/
int getReplicationDurable();
/**
* optional string path = 25;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* optional string path = 25;
* @return The path.
*/
java.lang.String getPath();
/**
* optional string path = 25;
* @return The bytes for path.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes();
/**
* repeated string medium_type = 26;
* @return A list containing the mediumType.
*/
java.util.List
getMediumTypeList();
/**
* repeated string medium_type = 26;
* @return The count of mediumType.
*/
int getMediumTypeCount();
/**
* repeated string medium_type = 26;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
java.lang.String getMediumType(int index);
/**
* repeated string medium_type = 26;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index);
/**
* optional int64 should_persist_time = 27;
* @return Whether the shouldPersistTime field is set.
*/
boolean hasShouldPersistTime();
/**
* optional int64 should_persist_time = 27;
* @return The shouldPersistTime.
*/
long getShouldPersistTime();
/**
* map<string, bytes> xAttr = 28;
*/
int getXAttrCount();
/**
* map<string, bytes> xAttr = 28;
*/
boolean containsXAttr(
java.lang.String key);
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getXAttr();
/**
* map<string, bytes> xAttr = 28;
*/
java.util.Map
getXAttrMap();
/**
* map<string, bytes> xAttr = 28;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue);
/**
* map<string, bytes> xAttr = 28;
*/
alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key);
/**
* optional int64 last_access_time_ms = 29;
* @return Whether the lastAccessTimeMs field is set.
*/
boolean hasLastAccessTimeMs();
/**
* optional int64 last_access_time_ms = 29;
* @return The lastAccessTimeMs.
*/
long getLastAccessTimeMs();
}
/**
*
* next available id: 30
*
*
* Protobuf type {@code alluxio.proto.journal.InodeFileEntry}
*/
public static final class InodeFileEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.InodeFileEntry)
InodeFileEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use InodeFileEntry.newBuilder() to construct.
private InodeFileEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private InodeFileEntry() {
name_ = "";
persistenceState_ = "";
blocks_ = emptyLongList();
owner_ = "";
group_ = "";
ttlAction_ = 0;
ufsFingerprint_ = "";
tempUfsPath_ = "";
path_ = "";
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InodeFileEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 28:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeFileEntry.class, alluxio.proto.journal.File.InodeFileEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int PARENT_ID_FIELD_NUMBER = 2;
private long parentId_;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PERSISTENCE_STATE_FIELD_NUMBER = 4;
private volatile java.lang.Object persistenceState_;
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
@java.lang.Override
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
@java.lang.Override
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PINNED_FIELD_NUMBER = 5;
private boolean pinned_;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
public static final int CREATION_TIME_MS_FIELD_NUMBER = 6;
private long creationTimeMs_;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
public static final int LAST_MODIFICATION_TIME_MS_FIELD_NUMBER = 7;
private long lastModificationTimeMs_;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
public static final int BLOCK_SIZE_BYTES_FIELD_NUMBER = 8;
private long blockSizeBytes_;
/**
* optional int64 block_size_bytes = 8;
* @return Whether the blockSizeBytes field is set.
*/
@java.lang.Override
public boolean hasBlockSizeBytes() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int64 block_size_bytes = 8;
* @return The blockSizeBytes.
*/
@java.lang.Override
public long getBlockSizeBytes() {
return blockSizeBytes_;
}
public static final int LENGTH_FIELD_NUMBER = 9;
private long length_;
/**
* optional int64 length = 9;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int64 length = 9;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
public static final int COMPLETED_FIELD_NUMBER = 10;
private boolean alluxio.shaded.client.com.leted_;
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
@java.lang.Override
public boolean hasCompleted() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return The alluxio.shaded.client.com.leted.
*/
@java.lang.Override
public boolean getCompleted() {
return alluxio.shaded.client.com.leted_;
}
public static final int CACHEABLE_FIELD_NUMBER = 11;
private boolean cacheable_;
/**
* optional bool cacheable = 11;
* @return Whether the cacheable field is set.
*/
@java.lang.Override
public boolean hasCacheable() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool cacheable = 11;
* @return The cacheable.
*/
@java.lang.Override
public boolean getCacheable() {
return cacheable_;
}
public static final int BLOCKS_FIELD_NUMBER = 12;
private alluxio.shaded.client.com.google.protobuf.Internal.LongList blocks_;
/**
* repeated int64 blocks = 12;
* @return A list containing the blocks.
*/
@java.lang.Override
public java.util.List
getBlocksList() {
return blocks_;
}
/**
* repeated int64 blocks = 12;
* @return The count of blocks.
*/
public int getBlocksCount() {
return blocks_.size();
}
/**
* repeated int64 blocks = 12;
* @param index The index of the element to return.
* @return The blocks at the given index.
*/
public long getBlocks(int index) {
return blocks_.getLong(index);
}
public static final int TTL_FIELD_NUMBER = 13;
private long ttl_;
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
public static final int OWNER_FIELD_NUMBER = 14;
private volatile java.lang.Object owner_;
/**
* optional string owner = 14;
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string owner = 14;
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
}
}
/**
* optional string owner = 14;
* @return The bytes for owner.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_FIELD_NUMBER = 15;
private volatile java.lang.Object group_;
/**
* optional string group = 15;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string group = 15;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
}
}
/**
* optional string group = 15;
* @return The bytes for group.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MODE_FIELD_NUMBER = 16;
private int mode_;
/**
* optional int32 mode = 16;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional int32 mode = 16;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
public static final int TTLACTION_FIELD_NUMBER = 17;
private int ttlAction_;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
public static final int UFS_FINGERPRINT_FIELD_NUMBER = 18;
private volatile java.lang.Object ufsFingerprint_;
/**
* optional string ufs_fingerprint = 18;
* @return Whether the ufsFingerprint field is set.
*/
@java.lang.Override
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional string ufs_fingerprint = 18;
* @return The ufsFingerprint.
*/
@java.lang.Override
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
}
}
/**
* optional string ufs_fingerprint = 18;
* @return The bytes for ufsFingerprint.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int ACL_FIELD_NUMBER = 19;
private alluxio.proto.shared.Acl.AccessControlList acl_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return Whether the acl field is set.
*/
@java.lang.Override
public boolean hasAcl() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return The acl.
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
public static final int REPLICATION_MAX_FIELD_NUMBER = 20;
private int replicationMax_;
/**
* optional int32 replication_max = 20;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional int32 replication_max = 20;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
public static final int REPLICATION_MIN_FIELD_NUMBER = 21;
private int replicationMin_;
/**
* optional int32 replication_min = 21;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional int32 replication_min = 21;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
public static final int PERSIST_JOB_ID_FIELD_NUMBER = 22;
private long persistJobId_;
/**
* optional int64 persist_job_id = 22;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional int64 persist_job_id = 22;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
public static final int TEMP_UFS_PATH_FIELD_NUMBER = 23;
private volatile java.lang.Object tempUfsPath_;
/**
* optional string temp_ufs_path = 23;
* @return Whether the tempUfsPath field is set.
*/
@java.lang.Override
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional string temp_ufs_path = 23;
* @return The tempUfsPath.
*/
@java.lang.Override
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
}
}
/**
* optional string temp_ufs_path = 23;
* @return The bytes for tempUfsPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int REPLICATION_DURABLE_FIELD_NUMBER = 24;
private int replicationDurable_;
/**
* optional int32 replication_durable = 24;
* @return Whether the replicationDurable field is set.
*/
@java.lang.Override
public boolean hasReplicationDurable() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional int32 replication_durable = 24;
* @return The replicationDurable.
*/
@java.lang.Override
public int getReplicationDurable() {
return replicationDurable_;
}
public static final int PATH_FIELD_NUMBER = 25;
private volatile java.lang.Object path_;
/**
* optional string path = 25;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional string path = 25;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 25;
* @return The bytes for path.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int MEDIUM_TYPE_FIELD_NUMBER = 26;
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_;
/**
* repeated string medium_type = 26;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_;
}
/**
* repeated string medium_type = 26;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 26;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 26;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
public static final int SHOULD_PERSIST_TIME_FIELD_NUMBER = 27;
private long shouldPersistTime_;
/**
* optional int64 should_persist_time = 27;
* @return Whether the shouldPersistTime field is set.
*/
@java.lang.Override
public boolean hasShouldPersistTime() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional int64 should_persist_time = 27;
* @return The shouldPersistTime.
*/
@java.lang.Override
public long getShouldPersistTime() {
return shouldPersistTime_;
}
public static final int XATTR_FIELD_NUMBER = 28;
private static final class XAttrDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.BYTES,
alluxio.shaded.client.com.google.protobuf.ByteString.EMPTY);
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int LAST_ACCESS_TIME_MS_FIELD_NUMBER = 29;
private long lastAccessTimeMs_;
/**
* optional int64 last_access_time_ms = 29;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* optional int64 last_access_time_ms = 29;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, blockSizeBytes_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(9, length_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeBool(10, alluxio.shaded.client.com.leted_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeBool(11, cacheable_);
}
for (int i = 0; i < blocks_.size(); i++) {
output.writeInt64(12, blocks_.getLong(i));
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(13, ttl_);
}
if (((bitField0_ & 0x00001000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 14, owner_);
}
if (((bitField0_ & 0x00002000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 15, group_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeInt32(16, mode_);
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeEnum(17, ttlAction_);
}
if (((bitField0_ & 0x00010000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 18, ufsFingerprint_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeMessage(19, getAcl());
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeInt32(20, replicationMax_);
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeInt32(21, replicationMin_);
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeInt64(22, persistJobId_);
}
if (((bitField0_ & 0x00200000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 23, tempUfsPath_);
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeInt32(24, replicationDurable_);
}
if (((bitField0_ & 0x00800000) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 25, path_);
}
for (int i = 0; i < mediumType_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 26, mediumType_.getRaw(i));
}
if (((bitField0_ & 0x01000000) != 0)) {
output.writeInt64(27, shouldPersistTime_);
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetXAttr(),
XAttrDefaultEntryHolder.defaultEntry,
28);
if (((bitField0_ & 0x02000000) != 0)) {
output.writeInt64(29, lastAccessTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, parentId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(4, persistenceState_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, pinned_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(6, creationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(7, lastModificationTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(8, blockSizeBytes_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(9, length_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(10, alluxio.shaded.client.com.leted_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(11, cacheable_);
}
{
int dataSize = 0;
for (int i = 0; i < blocks_.size(); i++) {
dataSize += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64SizeNoTag(blocks_.getLong(i));
}
size += dataSize;
size += 1 * getBlocksList().size();
}
if (((bitField0_ & 0x00000800) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(13, ttl_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(14, owner_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(15, group_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(16, mode_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(17, ttlAction_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(18, ufsFingerprint_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(19, getAcl());
}
if (((bitField0_ & 0x00040000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(20, replicationMax_);
}
if (((bitField0_ & 0x00080000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(21, replicationMin_);
}
if (((bitField0_ & 0x00100000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(22, persistJobId_);
}
if (((bitField0_ & 0x00200000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(23, tempUfsPath_);
}
if (((bitField0_ & 0x00400000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(24, replicationDurable_);
}
if (((bitField0_ & 0x00800000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(25, path_);
}
{
int dataSize = 0;
for (int i = 0; i < mediumType_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(mediumType_.getRaw(i));
}
size += dataSize;
size += 2 * getMediumTypeList().size();
}
if (((bitField0_ & 0x01000000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(27, shouldPersistTime_);
}
for (java.util.Map.Entry entry
: internalGetXAttr().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = XAttrDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(28, xAttr__);
}
if (((bitField0_ & 0x02000000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(29, lastAccessTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.InodeFileEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.InodeFileEntry other = (alluxio.proto.journal.File.InodeFileEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasParentId() != other.hasParentId()) return false;
if (hasParentId()) {
if (getParentId()
!= other.getParentId()) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasPersistenceState() != other.hasPersistenceState()) return false;
if (hasPersistenceState()) {
if (!getPersistenceState()
.equals(other.getPersistenceState())) return false;
}
if (hasPinned() != other.hasPinned()) return false;
if (hasPinned()) {
if (getPinned()
!= other.getPinned()) return false;
}
if (hasCreationTimeMs() != other.hasCreationTimeMs()) return false;
if (hasCreationTimeMs()) {
if (getCreationTimeMs()
!= other.getCreationTimeMs()) return false;
}
if (hasLastModificationTimeMs() != other.hasLastModificationTimeMs()) return false;
if (hasLastModificationTimeMs()) {
if (getLastModificationTimeMs()
!= other.getLastModificationTimeMs()) return false;
}
if (hasBlockSizeBytes() != other.hasBlockSizeBytes()) return false;
if (hasBlockSizeBytes()) {
if (getBlockSizeBytes()
!= other.getBlockSizeBytes()) return false;
}
if (hasLength() != other.hasLength()) return false;
if (hasLength()) {
if (getLength()
!= other.getLength()) return false;
}
if (hasCompleted() != other.hasCompleted()) return false;
if (hasCompleted()) {
if (getCompleted()
!= other.getCompleted()) return false;
}
if (hasCacheable() != other.hasCacheable()) return false;
if (hasCacheable()) {
if (getCacheable()
!= other.getCacheable()) return false;
}
if (!getBlocksList()
.equals(other.getBlocksList())) return false;
if (hasTtl() != other.hasTtl()) return false;
if (hasTtl()) {
if (getTtl()
!= other.getTtl()) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasMode() != other.hasMode()) return false;
if (hasMode()) {
if (getMode()
!= other.getMode()) return false;
}
if (hasTtlAction() != other.hasTtlAction()) return false;
if (hasTtlAction()) {
if (ttlAction_ != other.ttlAction_) return false;
}
if (hasUfsFingerprint() != other.hasUfsFingerprint()) return false;
if (hasUfsFingerprint()) {
if (!getUfsFingerprint()
.equals(other.getUfsFingerprint())) return false;
}
if (hasAcl() != other.hasAcl()) return false;
if (hasAcl()) {
if (!getAcl()
.equals(other.getAcl())) return false;
}
if (hasReplicationMax() != other.hasReplicationMax()) return false;
if (hasReplicationMax()) {
if (getReplicationMax()
!= other.getReplicationMax()) return false;
}
if (hasReplicationMin() != other.hasReplicationMin()) return false;
if (hasReplicationMin()) {
if (getReplicationMin()
!= other.getReplicationMin()) return false;
}
if (hasPersistJobId() != other.hasPersistJobId()) return false;
if (hasPersistJobId()) {
if (getPersistJobId()
!= other.getPersistJobId()) return false;
}
if (hasTempUfsPath() != other.hasTempUfsPath()) return false;
if (hasTempUfsPath()) {
if (!getTempUfsPath()
.equals(other.getTempUfsPath())) return false;
}
if (hasReplicationDurable() != other.hasReplicationDurable()) return false;
if (hasReplicationDurable()) {
if (getReplicationDurable()
!= other.getReplicationDurable()) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (!getMediumTypeList()
.equals(other.getMediumTypeList())) return false;
if (hasShouldPersistTime() != other.hasShouldPersistTime()) return false;
if (hasShouldPersistTime()) {
if (getShouldPersistTime()
!= other.getShouldPersistTime()) return false;
}
if (!internalGetXAttr().equals(
other.internalGetXAttr())) return false;
if (hasLastAccessTimeMs() != other.hasLastAccessTimeMs()) return false;
if (hasLastAccessTimeMs()) {
if (getLastAccessTimeMs()
!= other.getLastAccessTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasParentId()) {
hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getParentId());
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasPersistenceState()) {
hash = (37 * hash) + PERSISTENCE_STATE_FIELD_NUMBER;
hash = (53 * hash) + getPersistenceState().hashCode();
}
if (hasPinned()) {
hash = (37 * hash) + PINNED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getPinned());
}
if (hasCreationTimeMs()) {
hash = (37 * hash) + CREATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getCreationTimeMs());
}
if (hasLastModificationTimeMs()) {
hash = (37 * hash) + LAST_MODIFICATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastModificationTimeMs());
}
if (hasBlockSizeBytes()) {
hash = (37 * hash) + BLOCK_SIZE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getBlockSizeBytes());
}
if (hasLength()) {
hash = (37 * hash) + LENGTH_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLength());
}
if (hasCompleted()) {
hash = (37 * hash) + COMPLETED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getCompleted());
}
if (hasCacheable()) {
hash = (37 * hash) + CACHEABLE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getCacheable());
}
if (getBlocksCount() > 0) {
hash = (37 * hash) + BLOCKS_FIELD_NUMBER;
hash = (53 * hash) + getBlocksList().hashCode();
}
if (hasTtl()) {
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getTtl());
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasMode()) {
hash = (37 * hash) + MODE_FIELD_NUMBER;
hash = (53 * hash) + getMode();
}
if (hasTtlAction()) {
hash = (37 * hash) + TTLACTION_FIELD_NUMBER;
hash = (53 * hash) + ttlAction_;
}
if (hasUfsFingerprint()) {
hash = (37 * hash) + UFS_FINGERPRINT_FIELD_NUMBER;
hash = (53 * hash) + getUfsFingerprint().hashCode();
}
if (hasAcl()) {
hash = (37 * hash) + ACL_FIELD_NUMBER;
hash = (53 * hash) + getAcl().hashCode();
}
if (hasReplicationMax()) {
hash = (37 * hash) + REPLICATION_MAX_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMax();
}
if (hasReplicationMin()) {
hash = (37 * hash) + REPLICATION_MIN_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMin();
}
if (hasPersistJobId()) {
hash = (37 * hash) + PERSIST_JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getPersistJobId());
}
if (hasTempUfsPath()) {
hash = (37 * hash) + TEMP_UFS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getTempUfsPath().hashCode();
}
if (hasReplicationDurable()) {
hash = (37 * hash) + REPLICATION_DURABLE_FIELD_NUMBER;
hash = (53 * hash) + getReplicationDurable();
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
if (getMediumTypeCount() > 0) {
hash = (37 * hash) + MEDIUM_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediumTypeList().hashCode();
}
if (hasShouldPersistTime()) {
hash = (37 * hash) + SHOULD_PERSIST_TIME_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getShouldPersistTime());
}
if (!internalGetXAttr().getMap().isEmpty()) {
hash = (37 * hash) + XATTR_FIELD_NUMBER;
hash = (53 * hash) + internalGetXAttr().hashCode();
}
if (hasLastAccessTimeMs()) {
hash = (37 * hash) + LAST_ACCESS_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastAccessTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeFileEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeFileEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.InodeFileEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 30
*
*
* Protobuf type {@code alluxio.proto.journal.InodeFileEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.InodeFileEntry)
alluxio.proto.journal.File.InodeFileEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 28:
return internalGetXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 28:
return internalGetMutableXAttr();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeFileEntry.class, alluxio.proto.journal.File.InodeFileEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.InodeFileEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAclFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
parentId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
persistenceState_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
pinned_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
creationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
lastModificationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
blockSizeBytes_ = 0L;
bitField0_ = (bitField0_ & ~0x00000080);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000100);
alluxio.shaded.client.com.leted_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
cacheable_ = false;
bitField0_ = (bitField0_ & ~0x00000400);
blocks_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000800);
ttl_ = 0L;
bitField0_ = (bitField0_ & ~0x00001000);
owner_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
group_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
mode_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
ttlAction_ = 0;
bitField0_ = (bitField0_ & ~0x00010000);
ufsFingerprint_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
if (aclBuilder_ == null) {
acl_ = null;
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
replicationMax_ = 0;
bitField0_ = (bitField0_ & ~0x00080000);
replicationMin_ = 0;
bitField0_ = (bitField0_ & ~0x00100000);
persistJobId_ = 0L;
bitField0_ = (bitField0_ & ~0x00200000);
tempUfsPath_ = "";
bitField0_ = (bitField0_ & ~0x00400000);
replicationDurable_ = 0;
bitField0_ = (bitField0_ & ~0x00800000);
path_ = "";
bitField0_ = (bitField0_ & ~0x01000000);
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x02000000);
shouldPersistTime_ = 0L;
bitField0_ = (bitField0_ & ~0x04000000);
internalGetMutableXAttr().clear();
lastAccessTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x10000000);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeFileEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeFileEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.InodeFileEntry build() {
alluxio.proto.journal.File.InodeFileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeFileEntry buildPartial() {
alluxio.proto.journal.File.InodeFileEntry result = new alluxio.proto.journal.File.InodeFileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.parentId_ = parentId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.persistenceState_ = persistenceState_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.pinned_ = pinned_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.creationTimeMs_ = creationTimeMs_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.lastModificationTimeMs_ = lastModificationTimeMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.blockSizeBytes_ = blockSizeBytes_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.length_ = length_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.alluxio.shaded.client.com.leted_ = alluxio.shaded.client.com.leted_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.cacheable_ = cacheable_;
to_bitField0_ |= 0x00000400;
}
if (((bitField0_ & 0x00000800) != 0)) {
blocks_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000800);
}
result.blocks_ = blocks_;
if (((from_bitField0_ & 0x00001000) != 0)) {
result.ttl_ = ttl_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.owner_ = owner_;
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.group_ = group_;
if (((from_bitField0_ & 0x00008000) != 0)) {
result.mode_ = mode_;
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.ttlAction_ = ttlAction_;
if (((from_bitField0_ & 0x00020000) != 0)) {
to_bitField0_ |= 0x00010000;
}
result.ufsFingerprint_ = ufsFingerprint_;
if (((from_bitField0_ & 0x00040000) != 0)) {
if (aclBuilder_ == null) {
result.acl_ = acl_;
} else {
result.acl_ = aclBuilder_.build();
}
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.replicationMax_ = replicationMax_;
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.replicationMin_ = replicationMin_;
to_bitField0_ |= 0x00080000;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.persistJobId_ = persistJobId_;
to_bitField0_ |= 0x00100000;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
to_bitField0_ |= 0x00200000;
}
result.tempUfsPath_ = tempUfsPath_;
if (((from_bitField0_ & 0x00800000) != 0)) {
result.replicationDurable_ = replicationDurable_;
to_bitField0_ |= 0x00400000;
}
if (((from_bitField0_ & 0x01000000) != 0)) {
to_bitField0_ |= 0x00800000;
}
result.path_ = path_;
if (((bitField0_ & 0x02000000) != 0)) {
mediumType_ = mediumType_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x02000000);
}
result.mediumType_ = mediumType_;
if (((from_bitField0_ & 0x04000000) != 0)) {
result.shouldPersistTime_ = shouldPersistTime_;
to_bitField0_ |= 0x01000000;
}
result.xAttr_ = internalGetXAttr();
result.xAttr_.makeImmutable();
if (((from_bitField0_ & 0x10000000) != 0)) {
result.lastAccessTimeMs_ = lastAccessTimeMs_;
to_bitField0_ |= 0x02000000;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.InodeFileEntry) {
return mergeFrom((alluxio.proto.journal.File.InodeFileEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.InodeFileEntry other) {
if (other == alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasParentId()) {
setParentId(other.getParentId());
}
if (other.hasName()) {
bitField0_ |= 0x00000004;
name_ = other.name_;
onChanged();
}
if (other.hasPersistenceState()) {
bitField0_ |= 0x00000008;
persistenceState_ = other.persistenceState_;
onChanged();
}
if (other.hasPinned()) {
setPinned(other.getPinned());
}
if (other.hasCreationTimeMs()) {
setCreationTimeMs(other.getCreationTimeMs());
}
if (other.hasLastModificationTimeMs()) {
setLastModificationTimeMs(other.getLastModificationTimeMs());
}
if (other.hasBlockSizeBytes()) {
setBlockSizeBytes(other.getBlockSizeBytes());
}
if (other.hasLength()) {
setLength(other.getLength());
}
if (other.hasCompleted()) {
setCompleted(other.getCompleted());
}
if (other.hasCacheable()) {
setCacheable(other.getCacheable());
}
if (!other.blocks_.isEmpty()) {
if (blocks_.isEmpty()) {
blocks_ = other.blocks_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureBlocksIsMutable();
blocks_.addAll(other.blocks_);
}
onChanged();
}
if (other.hasTtl()) {
setTtl(other.getTtl());
}
if (other.hasOwner()) {
bitField0_ |= 0x00002000;
owner_ = other.owner_;
onChanged();
}
if (other.hasGroup()) {
bitField0_ |= 0x00004000;
group_ = other.group_;
onChanged();
}
if (other.hasMode()) {
setMode(other.getMode());
}
if (other.hasTtlAction()) {
setTtlAction(other.getTtlAction());
}
if (other.hasUfsFingerprint()) {
bitField0_ |= 0x00020000;
ufsFingerprint_ = other.ufsFingerprint_;
onChanged();
}
if (other.hasAcl()) {
mergeAcl(other.getAcl());
}
if (other.hasReplicationMax()) {
setReplicationMax(other.getReplicationMax());
}
if (other.hasReplicationMin()) {
setReplicationMin(other.getReplicationMin());
}
if (other.hasPersistJobId()) {
setPersistJobId(other.getPersistJobId());
}
if (other.hasTempUfsPath()) {
bitField0_ |= 0x00400000;
tempUfsPath_ = other.tempUfsPath_;
onChanged();
}
if (other.hasReplicationDurable()) {
setReplicationDurable(other.getReplicationDurable());
}
if (other.hasPath()) {
bitField0_ |= 0x01000000;
path_ = other.path_;
onChanged();
}
if (!other.mediumType_.isEmpty()) {
if (mediumType_.isEmpty()) {
mediumType_ = other.mediumType_;
bitField0_ = (bitField0_ & ~0x02000000);
} else {
ensureMediumTypeIsMutable();
mediumType_.addAll(other.mediumType_);
}
onChanged();
}
if (other.hasShouldPersistTime()) {
setShouldPersistTime(other.getShouldPersistTime());
}
internalGetMutableXAttr().mergeFrom(
other.internalGetXAttr());
if (other.hasLastAccessTimeMs()) {
setLastAccessTimeMs(other.getLastAccessTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
parentId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
persistenceState_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
pinned_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
creationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
lastModificationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
blockSizeBytes_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
length_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
alluxio.shaded.client.com.leted_ = input.readBool();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
cacheable_ = input.readBool();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
long v = input.readInt64();
ensureBlocksIsMutable();
blocks_.addLong(v);
break;
} // case 96
case 98: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBlocksIsMutable();
while (input.getBytesUntilLimit() > 0) {
blocks_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 98
case 104: {
ttl_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 114: {
owner_ = input.readBytes();
bitField0_ |= 0x00002000;
break;
} // case 114
case 122: {
group_ = input.readBytes();
bitField0_ |= 0x00004000;
break;
} // case 122
case 128: {
mode_ = input.readInt32();
bitField0_ |= 0x00008000;
break;
} // case 128
case 136: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.PTtlAction tmpValue =
alluxio.proto.journal.File.PTtlAction.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(17, tmpRaw);
} else {
ttlAction_ = tmpRaw;
bitField0_ |= 0x00010000;
}
break;
} // case 136
case 146: {
ufsFingerprint_ = input.readBytes();
bitField0_ |= 0x00020000;
break;
} // case 146
case 154: {
input.readMessage(
getAclFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00040000;
break;
} // case 154
case 160: {
replicationMax_ = input.readInt32();
bitField0_ |= 0x00080000;
break;
} // case 160
case 168: {
replicationMin_ = input.readInt32();
bitField0_ |= 0x00100000;
break;
} // case 168
case 176: {
persistJobId_ = input.readInt64();
bitField0_ |= 0x00200000;
break;
} // case 176
case 186: {
tempUfsPath_ = input.readBytes();
bitField0_ |= 0x00400000;
break;
} // case 186
case 192: {
replicationDurable_ = input.readInt32();
bitField0_ |= 0x00800000;
break;
} // case 192
case 202: {
path_ = input.readBytes();
bitField0_ |= 0x01000000;
break;
} // case 202
case 210: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureMediumTypeIsMutable();
mediumType_.add(bs);
break;
} // case 210
case 216: {
shouldPersistTime_ = input.readInt64();
bitField0_ |= 0x04000000;
break;
} // case 216
case 226: {
alluxio.shaded.client.com.google.protobuf.MapEntry
xAttr__ = input.readMessage(
XAttrDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableXAttr().getMutableMap().put(
xAttr__.getKey(), xAttr__.getValue());
break;
} // case 226
case 232: {
lastAccessTimeMs_ = input.readInt64();
bitField0_ |= 0x10000000;
break;
} // case 232
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long parentId_ ;
/**
* optional int64 parent_id = 2;
* @return Whether the parentId field is set.
*/
@java.lang.Override
public boolean hasParentId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 parent_id = 2;
* @return The parentId.
*/
@java.lang.Override
public long getParentId() {
return parentId_;
}
/**
* optional int64 parent_id = 2;
* @param value The parentId to set.
* @return This builder for chaining.
*/
public Builder setParentId(long value) {
bitField0_ |= 0x00000002;
parentId_ = value;
onChanged();
return this;
}
/**
* optional int64 parent_id = 2;
* @return This builder for chaining.
*/
public Builder clearParentId() {
bitField0_ = (bitField0_ & ~0x00000002);
parentId_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 3;
* @return The bytes for name.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000004);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
name_ = value;
onChanged();
return this;
}
private java.lang.Object persistenceState_ = "";
/**
* optional string persistence_state = 4;
* @return Whether the persistenceState field is set.
*/
public boolean hasPersistenceState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string persistence_state = 4;
* @return The persistenceState.
*/
public java.lang.String getPersistenceState() {
java.lang.Object ref = persistenceState_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
persistenceState_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string persistence_state = 4;
* @return The bytes for persistenceState.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPersistenceStateBytes() {
java.lang.Object ref = persistenceState_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
persistenceState_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string persistence_state = 4;
* @param value The persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @return This builder for chaining.
*/
public Builder clearPersistenceState() {
bitField0_ = (bitField0_ & ~0x00000008);
persistenceState_ = getDefaultInstance().getPersistenceState();
onChanged();
return this;
}
/**
* optional string persistence_state = 4;
* @param value The bytes for persistenceState to set.
* @return This builder for chaining.
*/
public Builder setPersistenceStateBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
persistenceState_ = value;
onChanged();
return this;
}
private boolean pinned_ ;
/**
* optional bool pinned = 5;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool pinned = 5;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
/**
* optional bool pinned = 5;
* @param value The pinned to set.
* @return This builder for chaining.
*/
public Builder setPinned(boolean value) {
bitField0_ |= 0x00000010;
pinned_ = value;
onChanged();
return this;
}
/**
* optional bool pinned = 5;
* @return This builder for chaining.
*/
public Builder clearPinned() {
bitField0_ = (bitField0_ & ~0x00000010);
pinned_ = false;
onChanged();
return this;
}
private long creationTimeMs_ ;
/**
* optional int64 creation_time_ms = 6;
* @return Whether the creationTimeMs field is set.
*/
@java.lang.Override
public boolean hasCreationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 creation_time_ms = 6;
* @return The creationTimeMs.
*/
@java.lang.Override
public long getCreationTimeMs() {
return creationTimeMs_;
}
/**
* optional int64 creation_time_ms = 6;
* @param value The creationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setCreationTimeMs(long value) {
bitField0_ |= 0x00000020;
creationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 creation_time_ms = 6;
* @return This builder for chaining.
*/
public Builder clearCreationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
creationTimeMs_ = 0L;
onChanged();
return this;
}
private long lastModificationTimeMs_ ;
/**
* optional int64 last_modification_time_ms = 7;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 last_modification_time_ms = 7;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
/**
* optional int64 last_modification_time_ms = 7;
* @param value The lastModificationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastModificationTimeMs(long value) {
bitField0_ |= 0x00000040;
lastModificationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_modification_time_ms = 7;
* @return This builder for chaining.
*/
public Builder clearLastModificationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
lastModificationTimeMs_ = 0L;
onChanged();
return this;
}
private long blockSizeBytes_ ;
/**
* optional int64 block_size_bytes = 8;
* @return Whether the blockSizeBytes field is set.
*/
@java.lang.Override
public boolean hasBlockSizeBytes() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int64 block_size_bytes = 8;
* @return The blockSizeBytes.
*/
@java.lang.Override
public long getBlockSizeBytes() {
return blockSizeBytes_;
}
/**
* optional int64 block_size_bytes = 8;
* @param value The blockSizeBytes to set.
* @return This builder for chaining.
*/
public Builder setBlockSizeBytes(long value) {
bitField0_ |= 0x00000080;
blockSizeBytes_ = value;
onChanged();
return this;
}
/**
* optional int64 block_size_bytes = 8;
* @return This builder for chaining.
*/
public Builder clearBlockSizeBytes() {
bitField0_ = (bitField0_ & ~0x00000080);
blockSizeBytes_ = 0L;
onChanged();
return this;
}
private long length_ ;
/**
* optional int64 length = 9;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int64 length = 9;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
/**
* optional int64 length = 9;
* @param value The length to set.
* @return This builder for chaining.
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000100;
length_ = value;
onChanged();
return this;
}
/**
* optional int64 length = 9;
* @return This builder for chaining.
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000100);
length_ = 0L;
onChanged();
return this;
}
private boolean alluxio.shaded.client.com.leted_ ;
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return Whether the alluxio.shaded.client.com.leted field is set.
*/
@java.lang.Override
public boolean hasCompleted() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return The alluxio.shaded.client.com.leted.
*/
@java.lang.Override
public boolean getCompleted() {
return alluxio.shaded.client.com.leted_;
}
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @param value The alluxio.shaded.client.com.leted to set.
* @return This builder for chaining.
*/
public Builder setCompleted(boolean value) {
bitField0_ |= 0x00000200;
alluxio.shaded.client.com.leted_ = value;
onChanged();
return this;
}
/**
* optional bool alluxio.shaded.client.com.leted = 10;
* @return This builder for chaining.
*/
public Builder clearCompleted() {
bitField0_ = (bitField0_ & ~0x00000200);
alluxio.shaded.client.com.leted_ = false;
onChanged();
return this;
}
private boolean cacheable_ ;
/**
* optional bool cacheable = 11;
* @return Whether the cacheable field is set.
*/
@java.lang.Override
public boolean hasCacheable() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional bool cacheable = 11;
* @return The cacheable.
*/
@java.lang.Override
public boolean getCacheable() {
return cacheable_;
}
/**
* optional bool cacheable = 11;
* @param value The cacheable to set.
* @return This builder for chaining.
*/
public Builder setCacheable(boolean value) {
bitField0_ |= 0x00000400;
cacheable_ = value;
onChanged();
return this;
}
/**
* optional bool cacheable = 11;
* @return This builder for chaining.
*/
public Builder clearCacheable() {
bitField0_ = (bitField0_ & ~0x00000400);
cacheable_ = false;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.Internal.LongList blocks_ = emptyLongList();
private void ensureBlocksIsMutable() {
if (!((bitField0_ & 0x00000800) != 0)) {
blocks_ = mutableCopy(blocks_);
bitField0_ |= 0x00000800;
}
}
/**
* repeated int64 blocks = 12;
* @return A list containing the blocks.
*/
public java.util.List
getBlocksList() {
return ((bitField0_ & 0x00000800) != 0) ?
java.util.Collections.unmodifiableList(blocks_) : blocks_;
}
/**
* repeated int64 blocks = 12;
* @return The count of blocks.
*/
public int getBlocksCount() {
return blocks_.size();
}
/**
* repeated int64 blocks = 12;
* @param index The index of the element to return.
* @return The blocks at the given index.
*/
public long getBlocks(int index) {
return blocks_.getLong(index);
}
/**
* repeated int64 blocks = 12;
* @param index The index to set the value at.
* @param value The blocks to set.
* @return This builder for chaining.
*/
public Builder setBlocks(
int index, long value) {
ensureBlocksIsMutable();
blocks_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated int64 blocks = 12;
* @param value The blocks to add.
* @return This builder for chaining.
*/
public Builder addBlocks(long value) {
ensureBlocksIsMutable();
blocks_.addLong(value);
onChanged();
return this;
}
/**
* repeated int64 blocks = 12;
* @param values The blocks to add.
* @return This builder for chaining.
*/
public Builder addAllBlocks(
java.lang.Iterable values) {
ensureBlocksIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blocks_);
onChanged();
return this;
}
/**
* repeated int64 blocks = 12;
* @return This builder for chaining.
*/
public Builder clearBlocks() {
blocks_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
private long ttl_ ;
/**
* optional int64 ttl = 13;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int64 ttl = 13;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
/**
* optional int64 ttl = 13;
* @param value The ttl to set.
* @return This builder for chaining.
*/
public Builder setTtl(long value) {
bitField0_ |= 0x00001000;
ttl_ = value;
onChanged();
return this;
}
/**
* optional int64 ttl = 13;
* @return This builder for chaining.
*/
public Builder clearTtl() {
bitField0_ = (bitField0_ & ~0x00001000);
ttl_ = 0L;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* optional string owner = 14;
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string owner = 14;
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string owner = 14;
* @return The bytes for owner.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string owner = 14;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
owner_ = value;
onChanged();
return this;
}
/**
* optional string owner = 14;
* @return This builder for chaining.
*/
public Builder clearOwner() {
bitField0_ = (bitField0_ & ~0x00002000);
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* optional string owner = 14;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
owner_ = value;
onChanged();
return this;
}
private java.lang.Object group_ = "";
/**
* optional string group = 15;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string group = 15;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string group = 15;
* @return The bytes for group.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string group = 15;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
group_ = value;
onChanged();
return this;
}
/**
* optional string group = 15;
* @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00004000);
group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 15;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
group_ = value;
onChanged();
return this;
}
private int mode_ ;
/**
* optional int32 mode = 16;
* @return Whether the mode field is set.
*/
@java.lang.Override
public boolean hasMode() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional int32 mode = 16;
* @return The mode.
*/
@java.lang.Override
public int getMode() {
return mode_;
}
/**
* optional int32 mode = 16;
* @param value The mode to set.
* @return This builder for chaining.
*/
public Builder setMode(int value) {
bitField0_ |= 0x00008000;
mode_ = value;
onChanged();
return this;
}
/**
* optional int32 mode = 16;
* @return This builder for chaining.
*/
public Builder clearMode() {
bitField0_ = (bitField0_ & ~0x00008000);
mode_ = 0;
onChanged();
return this;
}
private int ttlAction_ = 0;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override
public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @param value The ttlAction to set.
* @return This builder for chaining.
*/
public Builder setTtlAction(alluxio.proto.journal.File.PTtlAction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
ttlAction_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 17 [default = DELETE];
* @return This builder for chaining.
*/
public Builder clearTtlAction() {
bitField0_ = (bitField0_ & ~0x00010000);
ttlAction_ = 0;
onChanged();
return this;
}
private java.lang.Object ufsFingerprint_ = "";
/**
* optional string ufs_fingerprint = 18;
* @return Whether the ufsFingerprint field is set.
*/
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional string ufs_fingerprint = 18;
* @return The ufsFingerprint.
*/
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufs_fingerprint = 18;
* @return The bytes for ufsFingerprint.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufs_fingerprint = 18;
* @param value The ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprint(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
ufsFingerprint_ = value;
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 18;
* @return This builder for chaining.
*/
public Builder clearUfsFingerprint() {
bitField0_ = (bitField0_ & ~0x00020000);
ufsFingerprint_ = getDefaultInstance().getUfsFingerprint();
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 18;
* @param value The bytes for ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprintBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
ufsFingerprint_ = value;
onChanged();
return this;
}
private alluxio.proto.shared.Acl.AccessControlList acl_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder> aclBuilder_;
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return Whether the acl field is set.
*/
public boolean hasAcl() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
* @return The acl.
*/
public alluxio.proto.shared.Acl.AccessControlList getAcl() {
if (aclBuilder_ == null) {
return acl_ == null ? alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
} else {
return aclBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public Builder setAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
acl_ = value;
onChanged();
} else {
aclBuilder_.setMessage(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public Builder setAcl(
alluxio.proto.shared.Acl.AccessControlList.Builder builderForValue) {
if (aclBuilder_ == null) {
acl_ = builderForValue.build();
onChanged();
} else {
aclBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public Builder mergeAcl(alluxio.proto.shared.Acl.AccessControlList value) {
if (aclBuilder_ == null) {
if (((bitField0_ & 0x00040000) != 0) &&
acl_ != null &&
acl_ != alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance()) {
acl_ =
alluxio.proto.shared.Acl.AccessControlList.newBuilder(acl_).mergeFrom(value).buildPartial();
} else {
acl_ = value;
}
onChanged();
} else {
aclBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public Builder clearAcl() {
if (aclBuilder_ == null) {
acl_ = null;
onChanged();
} else {
aclBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
return this;
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public alluxio.proto.shared.Acl.AccessControlList.Builder getAclBuilder() {
bitField0_ |= 0x00040000;
onChanged();
return getAclFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
public alluxio.proto.shared.Acl.AccessControlListOrBuilder getAclOrBuilder() {
if (aclBuilder_ != null) {
return aclBuilder_.getMessageOrBuilder();
} else {
return acl_ == null ?
alluxio.proto.shared.Acl.AccessControlList.getDefaultInstance() : acl_;
}
}
/**
* optional .alluxio.proto.shared.AccessControlList acl = 19;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>
getAclFieldBuilder() {
if (aclBuilder_ == null) {
aclBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.shared.Acl.AccessControlList, alluxio.proto.shared.Acl.AccessControlList.Builder, alluxio.proto.shared.Acl.AccessControlListOrBuilder>(
getAcl(),
getParentForChildren(),
isClean());
acl_ = null;
}
return aclBuilder_;
}
private int replicationMax_ ;
/**
* optional int32 replication_max = 20;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* optional int32 replication_max = 20;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
/**
* optional int32 replication_max = 20;
* @param value The replicationMax to set.
* @return This builder for chaining.
*/
public Builder setReplicationMax(int value) {
bitField0_ |= 0x00080000;
replicationMax_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_max = 20;
* @return This builder for chaining.
*/
public Builder clearReplicationMax() {
bitField0_ = (bitField0_ & ~0x00080000);
replicationMax_ = 0;
onChanged();
return this;
}
private int replicationMin_ ;
/**
* optional int32 replication_min = 21;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* optional int32 replication_min = 21;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
/**
* optional int32 replication_min = 21;
* @param value The replicationMin to set.
* @return This builder for chaining.
*/
public Builder setReplicationMin(int value) {
bitField0_ |= 0x00100000;
replicationMin_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_min = 21;
* @return This builder for chaining.
*/
public Builder clearReplicationMin() {
bitField0_ = (bitField0_ & ~0x00100000);
replicationMin_ = 0;
onChanged();
return this;
}
private long persistJobId_ ;
/**
* optional int64 persist_job_id = 22;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* optional int64 persist_job_id = 22;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
/**
* optional int64 persist_job_id = 22;
* @param value The persistJobId to set.
* @return This builder for chaining.
*/
public Builder setPersistJobId(long value) {
bitField0_ |= 0x00200000;
persistJobId_ = value;
onChanged();
return this;
}
/**
* optional int64 persist_job_id = 22;
* @return This builder for chaining.
*/
public Builder clearPersistJobId() {
bitField0_ = (bitField0_ & ~0x00200000);
persistJobId_ = 0L;
onChanged();
return this;
}
private java.lang.Object tempUfsPath_ = "";
/**
* optional string temp_ufs_path = 23;
* @return Whether the tempUfsPath field is set.
*/
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* optional string temp_ufs_path = 23;
* @return The tempUfsPath.
*/
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string temp_ufs_path = 23;
* @return The bytes for tempUfsPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string temp_ufs_path = 23;
* @param value The tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00400000;
tempUfsPath_ = value;
onChanged();
return this;
}
/**
* optional string temp_ufs_path = 23;
* @return This builder for chaining.
*/
public Builder clearTempUfsPath() {
bitField0_ = (bitField0_ & ~0x00400000);
tempUfsPath_ = getDefaultInstance().getTempUfsPath();
onChanged();
return this;
}
/**
* optional string temp_ufs_path = 23;
* @param value The bytes for tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00400000;
tempUfsPath_ = value;
onChanged();
return this;
}
private int replicationDurable_ ;
/**
* optional int32 replication_durable = 24;
* @return Whether the replicationDurable field is set.
*/
@java.lang.Override
public boolean hasReplicationDurable() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional int32 replication_durable = 24;
* @return The replicationDurable.
*/
@java.lang.Override
public int getReplicationDurable() {
return replicationDurable_;
}
/**
* optional int32 replication_durable = 24;
* @param value The replicationDurable to set.
* @return This builder for chaining.
*/
public Builder setReplicationDurable(int value) {
bitField0_ |= 0x00800000;
replicationDurable_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_durable = 24;
* @return This builder for chaining.
*/
public Builder clearReplicationDurable() {
bitField0_ = (bitField0_ & ~0x00800000);
replicationDurable_ = 0;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 25;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional string path = 25;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 25;
* @return The bytes for path.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 25;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x01000000;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 25;
* @return This builder for chaining.
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x01000000);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 25;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x01000000;
path_ = value;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMediumTypeIsMutable() {
if (!((bitField0_ & 0x02000000) != 0)) {
mediumType_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(mediumType_);
bitField0_ |= 0x02000000;
}
}
/**
* repeated string medium_type = 26;
* @return A list containing the mediumType.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getMediumTypeList() {
return mediumType_.getUnmodifiableView();
}
/**
* repeated string medium_type = 26;
* @return The count of mediumType.
*/
public int getMediumTypeCount() {
return mediumType_.size();
}
/**
* repeated string medium_type = 26;
* @param index The index of the element to return.
* @return The mediumType at the given index.
*/
public java.lang.String getMediumType(int index) {
return mediumType_.get(index);
}
/**
* repeated string medium_type = 26;
* @param index The index of the value to return.
* @return The bytes of the mediumType at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getMediumTypeBytes(int index) {
return mediumType_.getByteString(index);
}
/**
* repeated string medium_type = 26;
* @param index The index to set the value at.
* @param value The mediumType to set.
* @return This builder for chaining.
*/
public Builder setMediumType(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.set(index, value);
onChanged();
return this;
}
/**
* repeated string medium_type = 26;
* @param value The mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
/**
* repeated string medium_type = 26;
* @param values The mediumType to add.
* @return This builder for chaining.
*/
public Builder addAllMediumType(
java.lang.Iterable values) {
ensureMediumTypeIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mediumType_);
onChanged();
return this;
}
/**
* repeated string medium_type = 26;
* @return This builder for chaining.
*/
public Builder clearMediumType() {
mediumType_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x02000000);
onChanged();
return this;
}
/**
* repeated string medium_type = 26;
* @param value The bytes of the mediumType to add.
* @return This builder for chaining.
*/
public Builder addMediumTypeBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureMediumTypeIsMutable();
mediumType_.add(value);
onChanged();
return this;
}
private long shouldPersistTime_ ;
/**
* optional int64 should_persist_time = 27;
* @return Whether the shouldPersistTime field is set.
*/
@java.lang.Override
public boolean hasShouldPersistTime() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* optional int64 should_persist_time = 27;
* @return The shouldPersistTime.
*/
@java.lang.Override
public long getShouldPersistTime() {
return shouldPersistTime_;
}
/**
* optional int64 should_persist_time = 27;
* @param value The shouldPersistTime to set.
* @return This builder for chaining.
*/
public Builder setShouldPersistTime(long value) {
bitField0_ |= 0x04000000;
shouldPersistTime_ = value;
onChanged();
return this;
}
/**
* optional int64 should_persist_time = 27;
* @return This builder for chaining.
*/
public Builder clearShouldPersistTime() {
bitField0_ = (bitField0_ & ~0x04000000);
shouldPersistTime_ = 0L;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.shaded.client.com.google.protobuf.ByteString> xAttr_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetXAttr() {
if (xAttr_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
return xAttr_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableXAttr() {
onChanged();;
if (xAttr_ == null) {
xAttr_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
XAttrDefaultEntryHolder.defaultEntry);
}
if (!xAttr_.isMutable()) {
xAttr_ = xAttr_.copy();
}
return xAttr_;
}
public int getXAttrCount() {
return internalGetXAttr().getMap().size();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public boolean containsXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetXAttr().getMap().containsKey(key);
}
/**
* Use {@link #getXAttrMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getXAttr() {
return getXAttrMap();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public java.util.Map getXAttrMap() {
return internalGetXAttr().getMap();
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrDefault(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, bytes> xAttr = 28;
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString getXAttrOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetXAttr().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearXAttr() {
internalGetMutableXAttr().getMutableMap()
.clear();
return this;
}
/**
* map<string, bytes> xAttr = 28;
*/
public Builder removeXAttr(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableXAttr().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableXAttr() {
return internalGetMutableXAttr().getMutableMap();
}
/**
* map<string, bytes> xAttr = 28;
*/
public Builder putXAttr(
java.lang.String key,
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableXAttr().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, bytes> xAttr = 28;
*/
public Builder putAllXAttr(
java.util.Map values) {
internalGetMutableXAttr().getMutableMap()
.putAll(values);
return this;
}
private long lastAccessTimeMs_ ;
/**
* optional int64 last_access_time_ms = 29;
* @return Whether the lastAccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastAccessTimeMs() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
* optional int64 last_access_time_ms = 29;
* @return The lastAccessTimeMs.
*/
@java.lang.Override
public long getLastAccessTimeMs() {
return lastAccessTimeMs_;
}
/**
* optional int64 last_access_time_ms = 29;
* @param value The lastAccessTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastAccessTimeMs(long value) {
bitField0_ |= 0x10000000;
lastAccessTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_access_time_ms = 29;
* @return This builder for chaining.
*/
public Builder clearLastAccessTimeMs() {
bitField0_ = (bitField0_ & ~0x10000000);
lastAccessTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.InodeFileEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.InodeFileEntry)
private static final alluxio.proto.journal.File.InodeFileEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.InodeFileEntry();
}
public static alluxio.proto.journal.File.InodeFileEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public InodeFileEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeFileEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InodeLastModificationTimeEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.InodeLastModificationTimeEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 last_modification_time_ms = 2;
* @return Whether the lastModificationTimeMs field is set.
*/
boolean hasLastModificationTimeMs();
/**
* optional int64 last_modification_time_ms = 2;
* @return The lastModificationTimeMs.
*/
long getLastModificationTimeMs();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.InodeLastModificationTimeEntry}
*/
public static final class InodeLastModificationTimeEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.InodeLastModificationTimeEntry)
InodeLastModificationTimeEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use InodeLastModificationTimeEntry.newBuilder() to construct.
private InodeLastModificationTimeEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private InodeLastModificationTimeEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InodeLastModificationTimeEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeLastModificationTimeEntry.class, alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int LAST_MODIFICATION_TIME_MS_FIELD_NUMBER = 2;
private long lastModificationTimeMs_;
/**
* optional int64 last_modification_time_ms = 2;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 last_modification_time_ms = 2;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, lastModificationTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, lastModificationTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.InodeLastModificationTimeEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.InodeLastModificationTimeEntry other = (alluxio.proto.journal.File.InodeLastModificationTimeEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasLastModificationTimeMs() != other.hasLastModificationTimeMs()) return false;
if (hasLastModificationTimeMs()) {
if (getLastModificationTimeMs()
!= other.getLastModificationTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasLastModificationTimeMs()) {
hash = (37 * hash) + LAST_MODIFICATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLastModificationTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.InodeLastModificationTimeEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.InodeLastModificationTimeEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.InodeLastModificationTimeEntry)
alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.InodeLastModificationTimeEntry.class, alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.InodeLastModificationTimeEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
lastModificationTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeLastModificationTimeEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.InodeLastModificationTimeEntry build() {
alluxio.proto.journal.File.InodeLastModificationTimeEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeLastModificationTimeEntry buildPartial() {
alluxio.proto.journal.File.InodeLastModificationTimeEntry result = new alluxio.proto.journal.File.InodeLastModificationTimeEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lastModificationTimeMs_ = lastModificationTimeMs_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.InodeLastModificationTimeEntry) {
return mergeFrom((alluxio.proto.journal.File.InodeLastModificationTimeEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.InodeLastModificationTimeEntry other) {
if (other == alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasLastModificationTimeMs()) {
setLastModificationTimeMs(other.getLastModificationTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
lastModificationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long lastModificationTimeMs_ ;
/**
* optional int64 last_modification_time_ms = 2;
* @return Whether the lastModificationTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastModificationTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 last_modification_time_ms = 2;
* @return The lastModificationTimeMs.
*/
@java.lang.Override
public long getLastModificationTimeMs() {
return lastModificationTimeMs_;
}
/**
* optional int64 last_modification_time_ms = 2;
* @param value The lastModificationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastModificationTimeMs(long value) {
bitField0_ |= 0x00000002;
lastModificationTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 last_modification_time_ms = 2;
* @return This builder for chaining.
*/
public Builder clearLastModificationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000002);
lastModificationTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.InodeLastModificationTimeEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.InodeLastModificationTimeEntry)
private static final alluxio.proto.journal.File.InodeLastModificationTimeEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.InodeLastModificationTimeEntry();
}
public static alluxio.proto.journal.File.InodeLastModificationTimeEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public InodeLastModificationTimeEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.InodeLastModificationTimeEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PersistDirectoryEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.PersistDirectoryEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.PersistDirectoryEntry}
*/
public static final class PersistDirectoryEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.PersistDirectoryEntry)
PersistDirectoryEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use PersistDirectoryEntry.newBuilder() to construct.
private PersistDirectoryEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PersistDirectoryEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PersistDirectoryEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.PersistDirectoryEntry.class, alluxio.proto.journal.File.PersistDirectoryEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.PersistDirectoryEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.PersistDirectoryEntry other = (alluxio.proto.journal.File.PersistDirectoryEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistDirectoryEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.PersistDirectoryEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 2
*
*
* Protobuf type {@code alluxio.proto.journal.PersistDirectoryEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.PersistDirectoryEntry)
alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistDirectoryEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.PersistDirectoryEntry.class, alluxio.proto.journal.File.PersistDirectoryEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.PersistDirectoryEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistDirectoryEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.PersistDirectoryEntry build() {
alluxio.proto.journal.File.PersistDirectoryEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistDirectoryEntry buildPartial() {
alluxio.proto.journal.File.PersistDirectoryEntry result = new alluxio.proto.journal.File.PersistDirectoryEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.PersistDirectoryEntry) {
return mergeFrom((alluxio.proto.journal.File.PersistDirectoryEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.PersistDirectoryEntry other) {
if (other == alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.PersistDirectoryEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.PersistDirectoryEntry)
private static final alluxio.proto.journal.File.PersistDirectoryEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.PersistDirectoryEntry();
}
public static alluxio.proto.journal.File.PersistDirectoryEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public PersistDirectoryEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistDirectoryEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PersistFileEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.PersistFileEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 length = 2;
* @return Whether the length field is set.
*/
boolean hasLength();
/**
* optional int64 length = 2;
* @return The length.
*/
long getLength();
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
long getOpTimeMs();
}
/**
*
* next available id: 4
*
*
* Protobuf type {@code alluxio.proto.journal.PersistFileEntry}
*/
public static final class PersistFileEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.PersistFileEntry)
PersistFileEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use PersistFileEntry.newBuilder() to construct.
private PersistFileEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PersistFileEntry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PersistFileEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.PersistFileEntry.class, alluxio.proto.journal.File.PersistFileEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int LENGTH_FIELD_NUMBER = 2;
private long length_;
/**
* optional int64 length = 2;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 length = 2;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
public static final int OP_TIME_MS_FIELD_NUMBER = 3;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, length_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, opTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, length_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(3, opTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.PersistFileEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.PersistFileEntry other = (alluxio.proto.journal.File.PersistFileEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasLength() != other.hasLength()) return false;
if (hasLength()) {
if (getLength()
!= other.getLength()) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasLength()) {
hash = (37 * hash) + LENGTH_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getLength());
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistFileEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistFileEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.PersistFileEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.PersistFileEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 4
*
*
* Protobuf type {@code alluxio.proto.journal.PersistFileEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.PersistFileEntry)
alluxio.proto.journal.File.PersistFileEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistFileEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistFileEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.PersistFileEntry.class, alluxio.proto.journal.File.PersistFileEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.PersistFileEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_PersistFileEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistFileEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.PersistFileEntry build() {
alluxio.proto.journal.File.PersistFileEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistFileEntry buildPartial() {
alluxio.proto.journal.File.PersistFileEntry result = new alluxio.proto.journal.File.PersistFileEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.length_ = length_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.PersistFileEntry) {
return mergeFrom((alluxio.proto.journal.File.PersistFileEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.PersistFileEntry other) {
if (other == alluxio.proto.journal.File.PersistFileEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasLength()) {
setLength(other.getLength());
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
length_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long length_ ;
/**
* optional int64 length = 2;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 length = 2;
* @return The length.
*/
@java.lang.Override
public long getLength() {
return length_;
}
/**
* optional int64 length = 2;
* @param value The length to set.
* @return This builder for chaining.
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000002;
length_ = value;
onChanged();
return this;
}
/**
* optional int64 length = 2;
* @return This builder for chaining.
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000002);
length_ = 0L;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 3;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000004;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 3;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000004);
opTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.PersistFileEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.PersistFileEntry)
private static final alluxio.proto.journal.File.PersistFileEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.PersistFileEntry();
}
public static alluxio.proto.journal.File.PersistFileEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public PersistFileEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.PersistFileEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RenameEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.RenameEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return Whether the dstPath field is set.
*/
boolean hasDstPath();
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The dstPath.
*/
java.lang.String getDstPath();
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The bytes for dstPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getDstPathBytes();
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
long getOpTimeMs();
/**
* optional int64 new_parent_id = 4;
* @return Whether the newParentId field is set.
*/
boolean hasNewParentId();
/**
* optional int64 new_parent_id = 4;
* @return The newParentId.
*/
long getNewParentId();
/**
* optional string new_name = 5;
* @return Whether the newName field is set.
*/
boolean hasNewName();
/**
* optional string new_name = 5;
* @return The newName.
*/
java.lang.String getNewName();
/**
* optional string new_name = 5;
* @return The bytes for newName.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getNewNameBytes();
/**
* optional string path = 6;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* optional string path = 6;
* @return The path.
*/
java.lang.String getPath();
/**
* optional string path = 6;
* @return The bytes for path.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes();
/**
* optional string new_path = 7;
* @return Whether the newPath field is set.
*/
boolean hasNewPath();
/**
* optional string new_path = 7;
* @return The newPath.
*/
java.lang.String getNewPath();
/**
* optional string new_path = 7;
* @return The bytes for newPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getNewPathBytes();
}
/**
*
* next available id: 8
*
*
* Protobuf type {@code alluxio.proto.journal.RenameEntry}
*/
public static final class RenameEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.RenameEntry)
RenameEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use RenameEntry.newBuilder() to construct.
private RenameEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private RenameEntry() {
dstPath_ = "";
newName_ = "";
path_ = "";
newPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RenameEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RenameEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RenameEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.RenameEntry.class, alluxio.proto.journal.File.RenameEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int DST_PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object dstPath_;
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return Whether the dstPath field is set.
*/
@java.lang.Override
public boolean hasDstPath() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The dstPath.
*/
@java.lang.Override
public java.lang.String getDstPath() {
java.lang.Object ref = dstPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dstPath_ = s;
}
return s;
}
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The bytes for dstPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getDstPathBytes() {
java.lang.Object ref = dstPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int OP_TIME_MS_FIELD_NUMBER = 3;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
public static final int NEW_PARENT_ID_FIELD_NUMBER = 4;
private long newParentId_;
/**
* optional int64 new_parent_id = 4;
* @return Whether the newParentId field is set.
*/
@java.lang.Override
public boolean hasNewParentId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 new_parent_id = 4;
* @return The newParentId.
*/
@java.lang.Override
public long getNewParentId() {
return newParentId_;
}
public static final int NEW_NAME_FIELD_NUMBER = 5;
private volatile java.lang.Object newName_;
/**
* optional string new_name = 5;
* @return Whether the newName field is set.
*/
@java.lang.Override
public boolean hasNewName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string new_name = 5;
* @return The newName.
*/
@java.lang.Override
public java.lang.String getNewName() {
java.lang.Object ref = newName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
newName_ = s;
}
return s;
}
}
/**
* optional string new_name = 5;
* @return The bytes for newName.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = newName_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newName_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PATH_FIELD_NUMBER = 6;
private volatile java.lang.Object path_;
/**
* optional string path = 6;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string path = 6;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 6;
* @return The bytes for path.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int NEW_PATH_FIELD_NUMBER = 7;
private volatile java.lang.Object newPath_;
/**
* optional string new_path = 7;
* @return Whether the newPath field is set.
*/
@java.lang.Override
public boolean hasNewPath() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string new_path = 7;
* @return The newPath.
*/
@java.lang.Override
public java.lang.String getNewPath() {
java.lang.Object ref = newPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
newPath_ = s;
}
return s;
}
}
/**
* optional string new_path = 7;
* @return The bytes for newPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getNewPathBytes() {
java.lang.Object ref = newPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dstPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, newParentId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, newName_);
}
if (((bitField0_ & 0x00000020) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, path_);
}
if (((bitField0_ & 0x00000040) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, newPath_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, dstPath_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(3, opTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(4, newParentId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(5, newName_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(6, path_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(7, newPath_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.RenameEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.RenameEntry other = (alluxio.proto.journal.File.RenameEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasDstPath() != other.hasDstPath()) return false;
if (hasDstPath()) {
if (!getDstPath()
.equals(other.getDstPath())) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (hasNewParentId() != other.hasNewParentId()) return false;
if (hasNewParentId()) {
if (getNewParentId()
!= other.getNewParentId()) return false;
}
if (hasNewName() != other.hasNewName()) return false;
if (hasNewName()) {
if (!getNewName()
.equals(other.getNewName())) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (hasNewPath() != other.hasNewPath()) return false;
if (hasNewPath()) {
if (!getNewPath()
.equals(other.getNewPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasDstPath()) {
hash = (37 * hash) + DST_PATH_FIELD_NUMBER;
hash = (53 * hash) + getDstPath().hashCode();
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
if (hasNewParentId()) {
hash = (37 * hash) + NEW_PARENT_ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getNewParentId());
}
if (hasNewName()) {
hash = (37 * hash) + NEW_NAME_FIELD_NUMBER;
hash = (53 * hash) + getNewName().hashCode();
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
if (hasNewPath()) {
hash = (37 * hash) + NEW_PATH_FIELD_NUMBER;
hash = (53 * hash) + getNewPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.RenameEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RenameEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.RenameEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.RenameEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 8
*
*
* Protobuf type {@code alluxio.proto.journal.RenameEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.RenameEntry)
alluxio.proto.journal.File.RenameEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RenameEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RenameEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.RenameEntry.class, alluxio.proto.journal.File.RenameEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.RenameEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
dstPath_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
newParentId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
newName_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
newPath_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_RenameEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.RenameEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.RenameEntry build() {
alluxio.proto.journal.File.RenameEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.RenameEntry buildPartial() {
alluxio.proto.journal.File.RenameEntry result = new alluxio.proto.journal.File.RenameEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.dstPath_ = dstPath_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.newParentId_ = newParentId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.newName_ = newName_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.newPath_ = newPath_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.RenameEntry) {
return mergeFrom((alluxio.proto.journal.File.RenameEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.RenameEntry other) {
if (other == alluxio.proto.journal.File.RenameEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasDstPath()) {
bitField0_ |= 0x00000002;
dstPath_ = other.dstPath_;
onChanged();
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
if (other.hasNewParentId()) {
setNewParentId(other.getNewParentId());
}
if (other.hasNewName()) {
bitField0_ |= 0x00000010;
newName_ = other.newName_;
onChanged();
}
if (other.hasPath()) {
bitField0_ |= 0x00000020;
path_ = other.path_;
onChanged();
}
if (other.hasNewPath()) {
bitField0_ |= 0x00000040;
newPath_ = other.newPath_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
dstPath_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
newParentId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
newName_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
path_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
newPath_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private java.lang.Object dstPath_ = "";
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return Whether the dstPath field is set.
*/
public boolean hasDstPath() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The dstPath.
*/
public java.lang.String getDstPath() {
java.lang.Object ref = dstPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dstPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return The bytes for dstPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getDstPathBytes() {
java.lang.Object ref = dstPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dstPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @param value The dstPath to set.
* @return This builder for chaining.
*/
public Builder setDstPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
dstPath_ = value;
onChanged();
return this;
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @return This builder for chaining.
*/
public Builder clearDstPath() {
bitField0_ = (bitField0_ & ~0x00000002);
dstPath_ = getDefaultInstance().getDstPath();
onChanged();
return this;
}
/**
*
* Deprecated, use new_parent_id/new_name instead
*
*
* optional string dst_path = 2;
* @param value The bytes for dstPath to set.
* @return This builder for chaining.
*/
public Builder setDstPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
dstPath_ = value;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 3;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 op_time_ms = 3;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 3;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000004;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 3;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000004);
opTimeMs_ = 0L;
onChanged();
return this;
}
private long newParentId_ ;
/**
* optional int64 new_parent_id = 4;
* @return Whether the newParentId field is set.
*/
@java.lang.Override
public boolean hasNewParentId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 new_parent_id = 4;
* @return The newParentId.
*/
@java.lang.Override
public long getNewParentId() {
return newParentId_;
}
/**
* optional int64 new_parent_id = 4;
* @param value The newParentId to set.
* @return This builder for chaining.
*/
public Builder setNewParentId(long value) {
bitField0_ |= 0x00000008;
newParentId_ = value;
onChanged();
return this;
}
/**
* optional int64 new_parent_id = 4;
* @return This builder for chaining.
*/
public Builder clearNewParentId() {
bitField0_ = (bitField0_ & ~0x00000008);
newParentId_ = 0L;
onChanged();
return this;
}
private java.lang.Object newName_ = "";
/**
* optional string new_name = 5;
* @return Whether the newName field is set.
*/
public boolean hasNewName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string new_name = 5;
* @return The newName.
*/
public java.lang.String getNewName() {
java.lang.Object ref = newName_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
newName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string new_name = 5;
* @return The bytes for newName.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getNewNameBytes() {
java.lang.Object ref = newName_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newName_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string new_name = 5;
* @param value The newName to set.
* @return This builder for chaining.
*/
public Builder setNewName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
newName_ = value;
onChanged();
return this;
}
/**
* optional string new_name = 5;
* @return This builder for chaining.
*/
public Builder clearNewName() {
bitField0_ = (bitField0_ & ~0x00000010);
newName_ = getDefaultInstance().getNewName();
onChanged();
return this;
}
/**
* optional string new_name = 5;
* @param value The bytes for newName to set.
* @return This builder for chaining.
*/
public Builder setNewNameBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
newName_ = value;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 6;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string path = 6;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 6;
* @return The bytes for path.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 6;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 6;
* @return This builder for chaining.
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000020);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 6;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
path_ = value;
onChanged();
return this;
}
private java.lang.Object newPath_ = "";
/**
* optional string new_path = 7;
* @return Whether the newPath field is set.
*/
public boolean hasNewPath() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string new_path = 7;
* @return The newPath.
*/
public java.lang.String getNewPath() {
java.lang.Object ref = newPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
newPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string new_path = 7;
* @return The bytes for newPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getNewPathBytes() {
java.lang.Object ref = newPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
newPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string new_path = 7;
* @param value The newPath to set.
* @return This builder for chaining.
*/
public Builder setNewPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
newPath_ = value;
onChanged();
return this;
}
/**
* optional string new_path = 7;
* @return This builder for chaining.
*/
public Builder clearNewPath() {
bitField0_ = (bitField0_ & ~0x00000040);
newPath_ = getDefaultInstance().getNewPath();
onChanged();
return this;
}
/**
* optional string new_path = 7;
* @param value The bytes for newPath to set.
* @return This builder for chaining.
*/
public Builder setNewPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
newPath_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.RenameEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.RenameEntry)
private static final alluxio.proto.journal.File.RenameEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.RenameEntry();
}
public static alluxio.proto.journal.File.RenameEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public RenameEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.RenameEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SetAclEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.SetAclEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
long getOpTimeMs();
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return Whether the action field is set.
*/
boolean hasAction();
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return The action.
*/
alluxio.proto.journal.File.PSetAclAction getAction();
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
java.util.List
getEntriesList();
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
alluxio.proto.shared.Acl.AclEntry getEntries(int index);
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
int getEntriesCount();
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
java.util.List
getEntriesOrBuilderList();
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
alluxio.proto.shared.Acl.AclEntryOrBuilder getEntriesOrBuilder(
int index);
/**
* optional bool recursive = 5;
* @return Whether the recursive field is set.
*/
boolean hasRecursive();
/**
* optional bool recursive = 5;
* @return The recursive.
*/
boolean getRecursive();
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.SetAclEntry}
*/
public static final class SetAclEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.SetAclEntry)
SetAclEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use SetAclEntry.newBuilder() to construct.
private SetAclEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SetAclEntry() {
action_ = 0;
entries_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SetAclEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAclEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAclEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.SetAclEntry.class, alluxio.proto.journal.File.SetAclEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int OP_TIME_MS_FIELD_NUMBER = 2;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
public static final int ACTION_FIELD_NUMBER = 3;
private int action_;
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return The action.
*/
@java.lang.Override public alluxio.proto.journal.File.PSetAclAction getAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PSetAclAction result = alluxio.proto.journal.File.PSetAclAction.valueOf(action_);
return result == null ? alluxio.proto.journal.File.PSetAclAction.REPLACE : result;
}
public static final int ENTRIES_FIELD_NUMBER = 4;
private java.util.List entries_;
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
@java.lang.Override
public java.util.List getEntriesList() {
return entries_;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
@java.lang.Override
public java.util.List
getEntriesOrBuilderList() {
return entries_;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
@java.lang.Override
public int getEntriesCount() {
return entries_.size();
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AclEntry getEntries(int index) {
return entries_.get(index);
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
@java.lang.Override
public alluxio.proto.shared.Acl.AclEntryOrBuilder getEntriesOrBuilder(
int index) {
return entries_.get(index);
}
public static final int RECURSIVE_FIELD_NUMBER = 5;
private boolean recursive_;
/**
* optional bool recursive = 5;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool recursive = 5;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, opTimeMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, action_);
}
for (int i = 0; i < entries_.size(); i++) {
output.writeMessage(4, entries_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(5, recursive_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, opTimeMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(3, action_);
}
for (int i = 0; i < entries_.size(); i++) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, entries_.get(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, recursive_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.SetAclEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.SetAclEntry other = (alluxio.proto.journal.File.SetAclEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (hasAction() != other.hasAction()) return false;
if (hasAction()) {
if (action_ != other.action_) return false;
}
if (!getEntriesList()
.equals(other.getEntriesList())) return false;
if (hasRecursive() != other.hasRecursive()) return false;
if (hasRecursive()) {
if (getRecursive()
!= other.getRecursive()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
if (hasAction()) {
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + action_;
}
if (getEntriesCount() > 0) {
hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
hash = (53 * hash) + getEntriesList().hashCode();
}
if (hasRecursive()) {
hash = (37 * hash) + RECURSIVE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getRecursive());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAclEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAclEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAclEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.SetAclEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 6
*
*
* Protobuf type {@code alluxio.proto.journal.SetAclEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.SetAclEntry)
alluxio.proto.journal.File.SetAclEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAclEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAclEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.SetAclEntry.class, alluxio.proto.journal.File.SetAclEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.SetAclEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
action_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
} else {
entries_ = null;
entriesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
recursive_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAclEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAclEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.SetAclEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.SetAclEntry build() {
alluxio.proto.journal.File.SetAclEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAclEntry buildPartial() {
alluxio.proto.journal.File.SetAclEntry result = new alluxio.proto.journal.File.SetAclEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.action_ = action_;
if (entriesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.entries_ = entries_;
} else {
result.entries_ = entriesBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.recursive_ = recursive_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.SetAclEntry) {
return mergeFrom((alluxio.proto.journal.File.SetAclEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.SetAclEntry other) {
if (other == alluxio.proto.journal.File.SetAclEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
if (other.hasAction()) {
setAction(other.getAction());
}
if (entriesBuilder_ == null) {
if (!other.entries_.isEmpty()) {
if (entries_.isEmpty()) {
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureEntriesIsMutable();
entries_.addAll(other.entries_);
}
onChanged();
}
} else {
if (!other.entries_.isEmpty()) {
if (entriesBuilder_.isEmpty()) {
entriesBuilder_.dispose();
entriesBuilder_ = null;
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000008);
entriesBuilder_ =
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntriesFieldBuilder() : null;
} else {
entriesBuilder_.addAllMessages(other.entries_);
}
}
}
if (other.hasRecursive()) {
setRecursive(other.getRecursive());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.PSetAclAction tmpValue =
alluxio.proto.journal.File.PSetAclAction.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
action_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 34: {
alluxio.proto.shared.Acl.AclEntry m =
input.readMessage(
alluxio.proto.shared.Acl.AclEntry.PARSER,
extensionRegistry);
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(m);
} else {
entriesBuilder_.addMessage(m);
}
break;
} // case 34
case 40: {
recursive_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 2;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000002;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 2;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000002);
opTimeMs_ = 0L;
onChanged();
return this;
}
private int action_ = 0;
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return The action.
*/
@java.lang.Override
public alluxio.proto.journal.File.PSetAclAction getAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PSetAclAction result = alluxio.proto.journal.File.PSetAclAction.valueOf(action_);
return result == null ? alluxio.proto.journal.File.PSetAclAction.REPLACE : result;
}
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @param value The action to set.
* @return This builder for chaining.
*/
public Builder setAction(alluxio.proto.journal.File.PSetAclAction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
action_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.PSetAclAction action = 3;
* @return This builder for chaining.
*/
public Builder clearAction() {
bitField0_ = (bitField0_ & ~0x00000004);
action_ = 0;
onChanged();
return this;
}
private java.util.List entries_ =
java.util.Collections.emptyList();
private void ensureEntriesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
entries_ = new java.util.ArrayList(entries_);
bitField0_ |= 0x00000008;
}
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.shared.Acl.AclEntry, alluxio.proto.shared.Acl.AclEntry.Builder, alluxio.proto.shared.Acl.AclEntryOrBuilder> entriesBuilder_;
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public java.util.List getEntriesList() {
if (entriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(entries_);
} else {
return entriesBuilder_.getMessageList();
}
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public int getEntriesCount() {
if (entriesBuilder_ == null) {
return entries_.size();
} else {
return entriesBuilder_.getCount();
}
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public alluxio.proto.shared.Acl.AclEntry getEntries(int index) {
if (entriesBuilder_ == null) {
return entries_.get(index);
} else {
return entriesBuilder_.getMessage(index);
}
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder setEntries(
int index, alluxio.proto.shared.Acl.AclEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
} else {
entriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder setEntries(
int index, alluxio.proto.shared.Acl.AclEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.set(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder addEntries(alluxio.proto.shared.Acl.AclEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
} else {
entriesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder addEntries(
int index, alluxio.proto.shared.Acl.AclEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
} else {
entriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder addEntries(
alluxio.proto.shared.Acl.AclEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder addEntries(
int index, alluxio.proto.shared.Acl.AclEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder addAllEntries(
java.lang.Iterable values) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entries_);
onChanged();
} else {
entriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder clearEntries() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
entriesBuilder_.clear();
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public Builder removeEntries(int index) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.remove(index);
onChanged();
} else {
entriesBuilder_.remove(index);
}
return this;
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public alluxio.proto.shared.Acl.AclEntry.Builder getEntriesBuilder(
int index) {
return getEntriesFieldBuilder().getBuilder(index);
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public alluxio.proto.shared.Acl.AclEntryOrBuilder getEntriesOrBuilder(
int index) {
if (entriesBuilder_ == null) {
return entries_.get(index); } else {
return entriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public java.util.List
getEntriesOrBuilderList() {
if (entriesBuilder_ != null) {
return entriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entries_);
}
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public alluxio.proto.shared.Acl.AclEntry.Builder addEntriesBuilder() {
return getEntriesFieldBuilder().addBuilder(
alluxio.proto.shared.Acl.AclEntry.getDefaultInstance());
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public alluxio.proto.shared.Acl.AclEntry.Builder addEntriesBuilder(
int index) {
return getEntriesFieldBuilder().addBuilder(
index, alluxio.proto.shared.Acl.AclEntry.getDefaultInstance());
}
/**
* repeated .alluxio.proto.shared.AclEntry entries = 4;
*/
public java.util.List
getEntriesBuilderList() {
return getEntriesFieldBuilder().getBuilderList();
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.shared.Acl.AclEntry, alluxio.proto.shared.Acl.AclEntry.Builder, alluxio.proto.shared.Acl.AclEntryOrBuilder>
getEntriesFieldBuilder() {
if (entriesBuilder_ == null) {
entriesBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.proto.shared.Acl.AclEntry, alluxio.proto.shared.Acl.AclEntry.Builder, alluxio.proto.shared.Acl.AclEntryOrBuilder>(
entries_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
entries_ = null;
}
return entriesBuilder_;
}
private boolean recursive_ ;
/**
* optional bool recursive = 5;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool recursive = 5;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
/**
* optional bool recursive = 5;
* @param value The recursive to set.
* @return This builder for chaining.
*/
public Builder setRecursive(boolean value) {
bitField0_ |= 0x00000010;
recursive_ = value;
onChanged();
return this;
}
/**
* optional bool recursive = 5;
* @return This builder for chaining.
*/
public Builder clearRecursive() {
bitField0_ = (bitField0_ & ~0x00000010);
recursive_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.SetAclEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.SetAclEntry)
private static final alluxio.proto.journal.File.SetAclEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.SetAclEntry();
}
public static alluxio.proto.journal.File.SetAclEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public SetAclEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAclEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SetAttributeEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.SetAttributeEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
boolean hasOpTimeMs();
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
long getOpTimeMs();
/**
* optional bool pinned = 3;
* @return Whether the pinned field is set.
*/
boolean hasPinned();
/**
* optional bool pinned = 3;
* @return The pinned.
*/
boolean getPinned();
/**
* optional int64 ttl = 4;
* @return Whether the ttl field is set.
*/
boolean hasTtl();
/**
* optional int64 ttl = 4;
* @return The ttl.
*/
long getTtl();
/**
* optional bool persisted = 5;
* @return Whether the persisted field is set.
*/
boolean hasPersisted();
/**
* optional bool persisted = 5;
* @return The persisted.
*/
boolean getPersisted();
/**
* optional string owner = 6;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* optional string owner = 6;
* @return The owner.
*/
java.lang.String getOwner();
/**
* optional string owner = 6;
* @return The bytes for owner.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes();
/**
* optional string group = 7;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 7;
* @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 7;
* @return The bytes for group.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes();
/**
* optional int32 permission = 8;
* @return Whether the permission field is set.
*/
boolean hasPermission();
/**
* optional int32 permission = 8;
* @return The permission.
*/
int getPermission();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
boolean hasTtlAction();
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return The ttlAction.
*/
alluxio.proto.journal.File.PTtlAction getTtlAction();
/**
* optional string ufs_fingerprint = 10;
* @return Whether the ufsFingerprint field is set.
*/
boolean hasUfsFingerprint();
/**
* optional string ufs_fingerprint = 10;
* @return The ufsFingerprint.
*/
java.lang.String getUfsFingerprint();
/**
* optional string ufs_fingerprint = 10;
* @return The bytes for ufsFingerprint.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes();
/**
* optional int64 persistJobId = 11;
* @return Whether the persistJobId field is set.
*/
boolean hasPersistJobId();
/**
* optional int64 persistJobId = 11;
* @return The persistJobId.
*/
long getPersistJobId();
/**
* optional string tempUfsPath = 12;
* @return Whether the tempUfsPath field is set.
*/
boolean hasTempUfsPath();
/**
* optional string tempUfsPath = 12;
* @return The tempUfsPath.
*/
java.lang.String getTempUfsPath();
/**
* optional string tempUfsPath = 12;
* @return The bytes for tempUfsPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes();
/**
* optional int32 replication_max = 13;
* @return Whether the replicationMax field is set.
*/
boolean hasReplicationMax();
/**
* optional int32 replication_max = 13;
* @return The replicationMax.
*/
int getReplicationMax();
/**
* optional int32 replication_min = 14;
* @return Whether the replicationMin field is set.
*/
boolean hasReplicationMin();
/**
* optional int32 replication_min = 14;
* @return The replicationMin.
*/
int getReplicationMin();
}
/**
*
* next available id: 15
*
*
* Protobuf type {@code alluxio.proto.journal.SetAttributeEntry}
*/
public static final class SetAttributeEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.SetAttributeEntry)
SetAttributeEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use SetAttributeEntry.newBuilder() to construct.
private SetAttributeEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SetAttributeEntry() {
owner_ = "";
group_ = "";
ttlAction_ = 0;
ufsFingerprint_ = "";
tempUfsPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SetAttributeEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAttributeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.SetAttributeEntry.class, alluxio.proto.journal.File.SetAttributeEntry.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int OP_TIME_MS_FIELD_NUMBER = 2;
private long opTimeMs_;
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
public static final int PINNED_FIELD_NUMBER = 3;
private boolean pinned_;
/**
* optional bool pinned = 3;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool pinned = 3;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
public static final int TTL_FIELD_NUMBER = 4;
private long ttl_;
/**
* optional int64 ttl = 4;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 ttl = 4;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
public static final int PERSISTED_FIELD_NUMBER = 5;
private boolean persisted_;
/**
* optional bool persisted = 5;
* @return Whether the persisted field is set.
*/
@java.lang.Override
public boolean hasPersisted() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool persisted = 5;
* @return The persisted.
*/
@java.lang.Override
public boolean getPersisted() {
return persisted_;
}
public static final int OWNER_FIELD_NUMBER = 6;
private volatile java.lang.Object owner_;
/**
* optional string owner = 6;
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string owner = 6;
* @return The owner.
*/
@java.lang.Override
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
}
}
/**
* optional string owner = 6;
* @return The bytes for owner.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_FIELD_NUMBER = 7;
private volatile java.lang.Object group_;
/**
* optional string group = 7;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string group = 7;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
}
}
/**
* optional string group = 7;
* @return The bytes for group.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PERMISSION_FIELD_NUMBER = 8;
private int permission_;
/**
* optional int32 permission = 8;
* @return Whether the permission field is set.
*/
@java.lang.Override
public boolean hasPermission() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int32 permission = 8;
* @return The permission.
*/
@java.lang.Override
public int getPermission() {
return permission_;
}
public static final int TTLACTION_FIELD_NUMBER = 9;
private int ttlAction_;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
public static final int UFS_FINGERPRINT_FIELD_NUMBER = 10;
private volatile java.lang.Object ufsFingerprint_;
/**
* optional string ufs_fingerprint = 10;
* @return Whether the ufsFingerprint field is set.
*/
@java.lang.Override
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string ufs_fingerprint = 10;
* @return The ufsFingerprint.
*/
@java.lang.Override
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
}
}
/**
* optional string ufs_fingerprint = 10;
* @return The bytes for ufsFingerprint.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int PERSISTJOBID_FIELD_NUMBER = 11;
private long persistJobId_;
/**
* optional int64 persistJobId = 11;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional int64 persistJobId = 11;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
public static final int TEMPUFSPATH_FIELD_NUMBER = 12;
private volatile java.lang.Object tempUfsPath_;
/**
* optional string tempUfsPath = 12;
* @return Whether the tempUfsPath field is set.
*/
@java.lang.Override
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string tempUfsPath = 12;
* @return The tempUfsPath.
*/
@java.lang.Override
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
}
}
/**
* optional string tempUfsPath = 12;
* @return The bytes for tempUfsPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int REPLICATION_MAX_FIELD_NUMBER = 13;
private int replicationMax_;
/**
* optional int32 replication_max = 13;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int32 replication_max = 13;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
public static final int REPLICATION_MIN_FIELD_NUMBER = 14;
private int replicationMin_;
/**
* optional int32 replication_min = 14;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional int32 replication_min = 14;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, opTimeMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, pinned_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, ttl_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, persisted_);
}
if (((bitField0_ & 0x00000020) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, owner_);
}
if (((bitField0_ & 0x00000040) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, group_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt32(8, permission_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeEnum(9, ttlAction_);
}
if (((bitField0_ & 0x00000200) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ufsFingerprint_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(11, persistJobId_);
}
if (((bitField0_ & 0x00000800) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 12, tempUfsPath_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt32(13, replicationMax_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt32(14, replicationMin_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, opTimeMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(3, pinned_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(4, ttl_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, persisted_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(6, owner_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(7, group_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(8, permission_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(9, ttlAction_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(10, ufsFingerprint_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(11, persistJobId_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(12, tempUfsPath_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(13, replicationMax_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt32Size(14, replicationMin_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.SetAttributeEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.SetAttributeEntry other = (alluxio.proto.journal.File.SetAttributeEntry) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasOpTimeMs() != other.hasOpTimeMs()) return false;
if (hasOpTimeMs()) {
if (getOpTimeMs()
!= other.getOpTimeMs()) return false;
}
if (hasPinned() != other.hasPinned()) return false;
if (hasPinned()) {
if (getPinned()
!= other.getPinned()) return false;
}
if (hasTtl() != other.hasTtl()) return false;
if (hasTtl()) {
if (getTtl()
!= other.getTtl()) return false;
}
if (hasPersisted() != other.hasPersisted()) return false;
if (hasPersisted()) {
if (getPersisted()
!= other.getPersisted()) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasPermission() != other.hasPermission()) return false;
if (hasPermission()) {
if (getPermission()
!= other.getPermission()) return false;
}
if (hasTtlAction() != other.hasTtlAction()) return false;
if (hasTtlAction()) {
if (ttlAction_ != other.ttlAction_) return false;
}
if (hasUfsFingerprint() != other.hasUfsFingerprint()) return false;
if (hasUfsFingerprint()) {
if (!getUfsFingerprint()
.equals(other.getUfsFingerprint())) return false;
}
if (hasPersistJobId() != other.hasPersistJobId()) return false;
if (hasPersistJobId()) {
if (getPersistJobId()
!= other.getPersistJobId()) return false;
}
if (hasTempUfsPath() != other.hasTempUfsPath()) return false;
if (hasTempUfsPath()) {
if (!getTempUfsPath()
.equals(other.getTempUfsPath())) return false;
}
if (hasReplicationMax() != other.hasReplicationMax()) return false;
if (hasReplicationMax()) {
if (getReplicationMax()
!= other.getReplicationMax()) return false;
}
if (hasReplicationMin() != other.hasReplicationMin()) return false;
if (hasReplicationMin()) {
if (getReplicationMin()
!= other.getReplicationMin()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getId());
}
if (hasOpTimeMs()) {
hash = (37 * hash) + OP_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getOpTimeMs());
}
if (hasPinned()) {
hash = (37 * hash) + PINNED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getPinned());
}
if (hasTtl()) {
hash = (37 * hash) + TTL_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getTtl());
}
if (hasPersisted()) {
hash = (37 * hash) + PERSISTED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getPersisted());
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasPermission()) {
hash = (37 * hash) + PERMISSION_FIELD_NUMBER;
hash = (53 * hash) + getPermission();
}
if (hasTtlAction()) {
hash = (37 * hash) + TTLACTION_FIELD_NUMBER;
hash = (53 * hash) + ttlAction_;
}
if (hasUfsFingerprint()) {
hash = (37 * hash) + UFS_FINGERPRINT_FIELD_NUMBER;
hash = (53 * hash) + getUfsFingerprint().hashCode();
}
if (hasPersistJobId()) {
hash = (37 * hash) + PERSISTJOBID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getPersistJobId());
}
if (hasTempUfsPath()) {
hash = (37 * hash) + TEMPUFSPATH_FIELD_NUMBER;
hash = (53 * hash) + getTempUfsPath().hashCode();
}
if (hasReplicationMax()) {
hash = (37 * hash) + REPLICATION_MAX_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMax();
}
if (hasReplicationMin()) {
hash = (37 * hash) + REPLICATION_MIN_FIELD_NUMBER;
hash = (53 * hash) + getReplicationMin();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.SetAttributeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.SetAttributeEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 15
*
*
* Protobuf type {@code alluxio.proto.journal.SetAttributeEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.SetAttributeEntry)
alluxio.proto.journal.File.SetAttributeEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAttributeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.SetAttributeEntry.class, alluxio.proto.journal.File.SetAttributeEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.SetAttributeEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
opTimeMs_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
pinned_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
ttl_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
persisted_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
owner_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
group_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
permission_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
ttlAction_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
ufsFingerprint_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
persistJobId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
tempUfsPath_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
replicationMax_ = 0;
bitField0_ = (bitField0_ & ~0x00001000);
replicationMin_ = 0;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAttributeEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.SetAttributeEntry build() {
alluxio.proto.journal.File.SetAttributeEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAttributeEntry buildPartial() {
alluxio.proto.journal.File.SetAttributeEntry result = new alluxio.proto.journal.File.SetAttributeEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.opTimeMs_ = opTimeMs_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.pinned_ = pinned_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.ttl_ = ttl_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.persisted_ = persisted_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.owner_ = owner_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.group_ = group_;
if (((from_bitField0_ & 0x00000080) != 0)) {
result.permission_ = permission_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.ttlAction_ = ttlAction_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.ufsFingerprint_ = ufsFingerprint_;
if (((from_bitField0_ & 0x00000400) != 0)) {
result.persistJobId_ = persistJobId_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.tempUfsPath_ = tempUfsPath_;
if (((from_bitField0_ & 0x00001000) != 0)) {
result.replicationMax_ = replicationMax_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.replicationMin_ = replicationMin_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.SetAttributeEntry) {
return mergeFrom((alluxio.proto.journal.File.SetAttributeEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.SetAttributeEntry other) {
if (other == alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasOpTimeMs()) {
setOpTimeMs(other.getOpTimeMs());
}
if (other.hasPinned()) {
setPinned(other.getPinned());
}
if (other.hasTtl()) {
setTtl(other.getTtl());
}
if (other.hasPersisted()) {
setPersisted(other.getPersisted());
}
if (other.hasOwner()) {
bitField0_ |= 0x00000020;
owner_ = other.owner_;
onChanged();
}
if (other.hasGroup()) {
bitField0_ |= 0x00000040;
group_ = other.group_;
onChanged();
}
if (other.hasPermission()) {
setPermission(other.getPermission());
}
if (other.hasTtlAction()) {
setTtlAction(other.getTtlAction());
}
if (other.hasUfsFingerprint()) {
bitField0_ |= 0x00000200;
ufsFingerprint_ = other.ufsFingerprint_;
onChanged();
}
if (other.hasPersistJobId()) {
setPersistJobId(other.getPersistJobId());
}
if (other.hasTempUfsPath()) {
bitField0_ |= 0x00000800;
tempUfsPath_ = other.tempUfsPath_;
onChanged();
}
if (other.hasReplicationMax()) {
setReplicationMax(other.getReplicationMax());
}
if (other.hasReplicationMin()) {
setReplicationMin(other.getReplicationMin());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
opTimeMs_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
pinned_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
ttl_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
persisted_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
owner_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
group_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
permission_ = input.readInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.PTtlAction tmpValue =
alluxio.proto.journal.File.PTtlAction.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(9, tmpRaw);
} else {
ttlAction_ = tmpRaw;
bitField0_ |= 0x00000100;
}
break;
} // case 72
case 82: {
ufsFingerprint_ = input.readBytes();
bitField0_ |= 0x00000200;
break;
} // case 82
case 88: {
persistJobId_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 98: {
tempUfsPath_ = input.readBytes();
bitField0_ |= 0x00000800;
break;
} // case 98
case 104: {
replicationMax_ = input.readInt32();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
replicationMin_ = input.readInt32();
bitField0_ |= 0x00002000;
break;
} // case 112
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* optional int64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional int64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private long opTimeMs_ ;
/**
* optional int64 op_time_ms = 2;
* @return Whether the opTimeMs field is set.
*/
@java.lang.Override
public boolean hasOpTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 op_time_ms = 2;
* @return The opTimeMs.
*/
@java.lang.Override
public long getOpTimeMs() {
return opTimeMs_;
}
/**
* optional int64 op_time_ms = 2;
* @param value The opTimeMs to set.
* @return This builder for chaining.
*/
public Builder setOpTimeMs(long value) {
bitField0_ |= 0x00000002;
opTimeMs_ = value;
onChanged();
return this;
}
/**
* optional int64 op_time_ms = 2;
* @return This builder for chaining.
*/
public Builder clearOpTimeMs() {
bitField0_ = (bitField0_ & ~0x00000002);
opTimeMs_ = 0L;
onChanged();
return this;
}
private boolean pinned_ ;
/**
* optional bool pinned = 3;
* @return Whether the pinned field is set.
*/
@java.lang.Override
public boolean hasPinned() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool pinned = 3;
* @return The pinned.
*/
@java.lang.Override
public boolean getPinned() {
return pinned_;
}
/**
* optional bool pinned = 3;
* @param value The pinned to set.
* @return This builder for chaining.
*/
public Builder setPinned(boolean value) {
bitField0_ |= 0x00000004;
pinned_ = value;
onChanged();
return this;
}
/**
* optional bool pinned = 3;
* @return This builder for chaining.
*/
public Builder clearPinned() {
bitField0_ = (bitField0_ & ~0x00000004);
pinned_ = false;
onChanged();
return this;
}
private long ttl_ ;
/**
* optional int64 ttl = 4;
* @return Whether the ttl field is set.
*/
@java.lang.Override
public boolean hasTtl() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 ttl = 4;
* @return The ttl.
*/
@java.lang.Override
public long getTtl() {
return ttl_;
}
/**
* optional int64 ttl = 4;
* @param value The ttl to set.
* @return This builder for chaining.
*/
public Builder setTtl(long value) {
bitField0_ |= 0x00000008;
ttl_ = value;
onChanged();
return this;
}
/**
* optional int64 ttl = 4;
* @return This builder for chaining.
*/
public Builder clearTtl() {
bitField0_ = (bitField0_ & ~0x00000008);
ttl_ = 0L;
onChanged();
return this;
}
private boolean persisted_ ;
/**
* optional bool persisted = 5;
* @return Whether the persisted field is set.
*/
@java.lang.Override
public boolean hasPersisted() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool persisted = 5;
* @return The persisted.
*/
@java.lang.Override
public boolean getPersisted() {
return persisted_;
}
/**
* optional bool persisted = 5;
* @param value The persisted to set.
* @return This builder for chaining.
*/
public Builder setPersisted(boolean value) {
bitField0_ |= 0x00000010;
persisted_ = value;
onChanged();
return this;
}
/**
* optional bool persisted = 5;
* @return This builder for chaining.
*/
public Builder clearPersisted() {
bitField0_ = (bitField0_ & ~0x00000010);
persisted_ = false;
onChanged();
return this;
}
private java.lang.Object owner_ = "";
/**
* optional string owner = 6;
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string owner = 6;
* @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
owner_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string owner = 6;
* @return The bytes for owner.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getOwnerBytes() {
java.lang.Object ref = owner_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
owner_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string owner = 6;
* @param value The owner to set.
* @return This builder for chaining.
*/
public Builder setOwner(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
owner_ = value;
onChanged();
return this;
}
/**
* optional string owner = 6;
* @return This builder for chaining.
*/
public Builder clearOwner() {
bitField0_ = (bitField0_ & ~0x00000020);
owner_ = getDefaultInstance().getOwner();
onChanged();
return this;
}
/**
* optional string owner = 6;
* @param value The bytes for owner to set.
* @return This builder for chaining.
*/
public Builder setOwnerBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
owner_ = value;
onChanged();
return this;
}
private java.lang.Object group_ = "";
/**
* optional string group = 7;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string group = 7;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
group_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string group = 7;
* @return The bytes for group.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string group = 7;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
group_ = value;
onChanged();
return this;
}
/**
* optional string group = 7;
* @return This builder for chaining.
*/
public Builder clearGroup() {
bitField0_ = (bitField0_ & ~0x00000040);
group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 7;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
group_ = value;
onChanged();
return this;
}
private int permission_ ;
/**
* optional int32 permission = 8;
* @return Whether the permission field is set.
*/
@java.lang.Override
public boolean hasPermission() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int32 permission = 8;
* @return The permission.
*/
@java.lang.Override
public int getPermission() {
return permission_;
}
/**
* optional int32 permission = 8;
* @param value The permission to set.
* @return This builder for chaining.
*/
public Builder setPermission(int value) {
bitField0_ |= 0x00000080;
permission_ = value;
onChanged();
return this;
}
/**
* optional int32 permission = 8;
* @return This builder for chaining.
*/
public Builder clearPermission() {
bitField0_ = (bitField0_ & ~0x00000080);
permission_ = 0;
onChanged();
return this;
}
private int ttlAction_ = 0;
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return Whether the ttlAction field is set.
*/
@java.lang.Override public boolean hasTtlAction() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return The ttlAction.
*/
@java.lang.Override
public alluxio.proto.journal.File.PTtlAction getTtlAction() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.PTtlAction result = alluxio.proto.journal.File.PTtlAction.valueOf(ttlAction_);
return result == null ? alluxio.proto.journal.File.PTtlAction.DELETE : result;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @param value The ttlAction to set.
* @return This builder for chaining.
*/
public Builder setTtlAction(alluxio.proto.journal.File.PTtlAction value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
ttlAction_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.PTtlAction ttlAction = 9 [default = DELETE];
* @return This builder for chaining.
*/
public Builder clearTtlAction() {
bitField0_ = (bitField0_ & ~0x00000100);
ttlAction_ = 0;
onChanged();
return this;
}
private java.lang.Object ufsFingerprint_ = "";
/**
* optional string ufs_fingerprint = 10;
* @return Whether the ufsFingerprint field is set.
*/
public boolean hasUfsFingerprint() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string ufs_fingerprint = 10;
* @return The ufsFingerprint.
*/
public java.lang.String getUfsFingerprint() {
java.lang.Object ref = ufsFingerprint_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsFingerprint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufs_fingerprint = 10;
* @return The bytes for ufsFingerprint.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsFingerprintBytes() {
java.lang.Object ref = ufsFingerprint_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsFingerprint_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufs_fingerprint = 10;
* @param value The ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprint(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
ufsFingerprint_ = value;
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 10;
* @return This builder for chaining.
*/
public Builder clearUfsFingerprint() {
bitField0_ = (bitField0_ & ~0x00000200);
ufsFingerprint_ = getDefaultInstance().getUfsFingerprint();
onChanged();
return this;
}
/**
* optional string ufs_fingerprint = 10;
* @param value The bytes for ufsFingerprint to set.
* @return This builder for chaining.
*/
public Builder setUfsFingerprintBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
ufsFingerprint_ = value;
onChanged();
return this;
}
private long persistJobId_ ;
/**
* optional int64 persistJobId = 11;
* @return Whether the persistJobId field is set.
*/
@java.lang.Override
public boolean hasPersistJobId() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional int64 persistJobId = 11;
* @return The persistJobId.
*/
@java.lang.Override
public long getPersistJobId() {
return persistJobId_;
}
/**
* optional int64 persistJobId = 11;
* @param value The persistJobId to set.
* @return This builder for chaining.
*/
public Builder setPersistJobId(long value) {
bitField0_ |= 0x00000400;
persistJobId_ = value;
onChanged();
return this;
}
/**
* optional int64 persistJobId = 11;
* @return This builder for chaining.
*/
public Builder clearPersistJobId() {
bitField0_ = (bitField0_ & ~0x00000400);
persistJobId_ = 0L;
onChanged();
return this;
}
private java.lang.Object tempUfsPath_ = "";
/**
* optional string tempUfsPath = 12;
* @return Whether the tempUfsPath field is set.
*/
public boolean hasTempUfsPath() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string tempUfsPath = 12;
* @return The tempUfsPath.
*/
public java.lang.String getTempUfsPath() {
java.lang.Object ref = tempUfsPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
tempUfsPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string tempUfsPath = 12;
* @return The bytes for tempUfsPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTempUfsPathBytes() {
java.lang.Object ref = tempUfsPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tempUfsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string tempUfsPath = 12;
* @param value The tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
tempUfsPath_ = value;
onChanged();
return this;
}
/**
* optional string tempUfsPath = 12;
* @return This builder for chaining.
*/
public Builder clearTempUfsPath() {
bitField0_ = (bitField0_ & ~0x00000800);
tempUfsPath_ = getDefaultInstance().getTempUfsPath();
onChanged();
return this;
}
/**
* optional string tempUfsPath = 12;
* @param value The bytes for tempUfsPath to set.
* @return This builder for chaining.
*/
public Builder setTempUfsPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
tempUfsPath_ = value;
onChanged();
return this;
}
private int replicationMax_ ;
/**
* optional int32 replication_max = 13;
* @return Whether the replicationMax field is set.
*/
@java.lang.Override
public boolean hasReplicationMax() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int32 replication_max = 13;
* @return The replicationMax.
*/
@java.lang.Override
public int getReplicationMax() {
return replicationMax_;
}
/**
* optional int32 replication_max = 13;
* @param value The replicationMax to set.
* @return This builder for chaining.
*/
public Builder setReplicationMax(int value) {
bitField0_ |= 0x00001000;
replicationMax_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_max = 13;
* @return This builder for chaining.
*/
public Builder clearReplicationMax() {
bitField0_ = (bitField0_ & ~0x00001000);
replicationMax_ = 0;
onChanged();
return this;
}
private int replicationMin_ ;
/**
* optional int32 replication_min = 14;
* @return Whether the replicationMin field is set.
*/
@java.lang.Override
public boolean hasReplicationMin() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional int32 replication_min = 14;
* @return The replicationMin.
*/
@java.lang.Override
public int getReplicationMin() {
return replicationMin_;
}
/**
* optional int32 replication_min = 14;
* @param value The replicationMin to set.
* @return This builder for chaining.
*/
public Builder setReplicationMin(int value) {
bitField0_ |= 0x00002000;
replicationMin_ = value;
onChanged();
return this;
}
/**
* optional int32 replication_min = 14;
* @return This builder for chaining.
*/
public Builder clearReplicationMin() {
bitField0_ = (bitField0_ & ~0x00002000);
replicationMin_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.SetAttributeEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.SetAttributeEntry)
private static final alluxio.proto.journal.File.SetAttributeEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.SetAttributeEntry();
}
public static alluxio.proto.journal.File.SetAttributeEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public SetAttributeEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.SetAttributeEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateUfsModeEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.UpdateUfsModeEntry)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional string ufsPath = 1;
* @return Whether the ufsPath field is set.
*/
boolean hasUfsPath();
/**
* optional string ufsPath = 1;
* @return The ufsPath.
*/
java.lang.String getUfsPath();
/**
* optional string ufsPath = 1;
* @return The bytes for ufsPath.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes();
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return Whether the ufsMode field is set.
*/
boolean hasUfsMode();
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return The ufsMode.
*/
alluxio.proto.journal.File.UfsMode getUfsMode();
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateUfsModeEntry}
*/
public static final class UpdateUfsModeEntry extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.UpdateUfsModeEntry)
UpdateUfsModeEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateUfsModeEntry.newBuilder() to construct.
private UpdateUfsModeEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UpdateUfsModeEntry() {
ufsPath_ = "";
ufsMode_ = 2;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateUfsModeEntry();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateUfsModeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateUfsModeEntry.class, alluxio.proto.journal.File.UpdateUfsModeEntry.Builder.class);
}
private int bitField0_;
public static final int UFSPATH_FIELD_NUMBER = 1;
private volatile java.lang.Object ufsPath_;
/**
* optional string ufsPath = 1;
* @return Whether the ufsPath field is set.
*/
@java.lang.Override
public boolean hasUfsPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string ufsPath = 1;
* @return The ufsPath.
*/
@java.lang.Override
public java.lang.String getUfsPath() {
java.lang.Object ref = ufsPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsPath_ = s;
}
return s;
}
}
/**
* optional string ufsPath = 1;
* @return The bytes for ufsPath.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes() {
java.lang.Object ref = ufsPath_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
public static final int UFSMODE_FIELD_NUMBER = 2;
private int ufsMode_;
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return Whether the ufsMode field is set.
*/
@java.lang.Override public boolean hasUfsMode() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return The ufsMode.
*/
@java.lang.Override public alluxio.proto.journal.File.UfsMode getUfsMode() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.UfsMode result = alluxio.proto.journal.File.UfsMode.valueOf(ufsMode_);
return result == null ? alluxio.proto.journal.File.UfsMode.READ_WRITE : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ufsPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(2, ufsMode_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, ufsPath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(2, ufsMode_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.journal.File.UpdateUfsModeEntry)) {
return super.equals(obj);
}
alluxio.proto.journal.File.UpdateUfsModeEntry other = (alluxio.proto.journal.File.UpdateUfsModeEntry) obj;
if (hasUfsPath() != other.hasUfsPath()) return false;
if (hasUfsPath()) {
if (!getUfsPath()
.equals(other.getUfsPath())) return false;
}
if (hasUfsMode() != other.hasUfsMode()) return false;
if (hasUfsMode()) {
if (ufsMode_ != other.ufsMode_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasUfsPath()) {
hash = (37 * hash) + UFSPATH_FIELD_NUMBER;
hash = (53 * hash) + getUfsPath().hashCode();
}
if (hasUfsMode()) {
hash = (37 * hash) + UFSMODE_FIELD_NUMBER;
hash = (53 * hash) + ufsMode_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.journal.File.UpdateUfsModeEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* next available id: 3
*
*
* Protobuf type {@code alluxio.proto.journal.UpdateUfsModeEntry}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.UpdateUfsModeEntry)
alluxio.proto.journal.File.UpdateUfsModeEntryOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateUfsModeEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.File.UpdateUfsModeEntry.class, alluxio.proto.journal.File.UpdateUfsModeEntry.Builder.class);
}
// Construct using alluxio.proto.journal.File.UpdateUfsModeEntry.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
ufsPath_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
ufsMode_ = 2;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.File.internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateUfsModeEntry getDefaultInstanceForType() {
return alluxio.proto.journal.File.UpdateUfsModeEntry.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateUfsModeEntry build() {
alluxio.proto.journal.File.UpdateUfsModeEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateUfsModeEntry buildPartial() {
alluxio.proto.journal.File.UpdateUfsModeEntry result = new alluxio.proto.journal.File.UpdateUfsModeEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.ufsPath_ = ufsPath_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.ufsMode_ = ufsMode_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.File.UpdateUfsModeEntry) {
return mergeFrom((alluxio.proto.journal.File.UpdateUfsModeEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.File.UpdateUfsModeEntry other) {
if (other == alluxio.proto.journal.File.UpdateUfsModeEntry.getDefaultInstance()) return this;
if (other.hasUfsPath()) {
bitField0_ |= 0x00000001;
ufsPath_ = other.ufsPath_;
onChanged();
}
if (other.hasUfsMode()) {
setUfsMode(other.getUfsMode());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
ufsPath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
int tmpRaw = input.readEnum();
alluxio.proto.journal.File.UfsMode tmpValue =
alluxio.proto.journal.File.UfsMode.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(2, tmpRaw);
} else {
ufsMode_ = tmpRaw;
bitField0_ |= 0x00000002;
}
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object ufsPath_ = "";
/**
* optional string ufsPath = 1;
* @return Whether the ufsPath field is set.
*/
public boolean hasUfsPath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string ufsPath = 1;
* @return The ufsPath.
*/
public java.lang.String getUfsPath() {
java.lang.Object ref = ufsPath_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ufsPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ufsPath = 1;
* @return The bytes for ufsPath.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getUfsPathBytes() {
java.lang.Object ref = ufsPath_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ufsPath_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ufsPath = 1;
* @param value The ufsPath to set.
* @return This builder for chaining.
*/
public Builder setUfsPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ufsPath_ = value;
onChanged();
return this;
}
/**
* optional string ufsPath = 1;
* @return This builder for chaining.
*/
public Builder clearUfsPath() {
bitField0_ = (bitField0_ & ~0x00000001);
ufsPath_ = getDefaultInstance().getUfsPath();
onChanged();
return this;
}
/**
* optional string ufsPath = 1;
* @param value The bytes for ufsPath to set.
* @return This builder for chaining.
*/
public Builder setUfsPathBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ufsPath_ = value;
onChanged();
return this;
}
private int ufsMode_ = 2;
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return Whether the ufsMode field is set.
*/
@java.lang.Override public boolean hasUfsMode() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return The ufsMode.
*/
@java.lang.Override
public alluxio.proto.journal.File.UfsMode getUfsMode() {
@SuppressWarnings("deprecation")
alluxio.proto.journal.File.UfsMode result = alluxio.proto.journal.File.UfsMode.valueOf(ufsMode_);
return result == null ? alluxio.proto.journal.File.UfsMode.READ_WRITE : result;
}
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @param value The ufsMode to set.
* @return This builder for chaining.
*/
public Builder setUfsMode(alluxio.proto.journal.File.UfsMode value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
ufsMode_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.proto.journal.UfsMode ufsMode = 2 [default = READ_WRITE];
* @return This builder for chaining.
*/
public Builder clearUfsMode() {
bitField0_ = (bitField0_ & ~0x00000002);
ufsMode_ = 2;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.UpdateUfsModeEntry)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.UpdateUfsModeEntry)
private static final alluxio.proto.journal.File.UpdateUfsModeEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.journal.File.UpdateUfsModeEntry();
}
public static alluxio.proto.journal.File.UpdateUfsModeEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateUfsModeEntry parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.journal.File.UpdateUfsModeEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_StringPairEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_StringPairEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_AddSyncPointEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_RemoveSyncPointEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_AddMountPointEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_CompleteFileEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_DeleteFileEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_DeleteMountPointEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_NewBlockEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_NewBlockEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_UpdateInodeEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_UpdateInodeFileEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeDirectoryEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeFileEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeFileEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_PersistDirectoryEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_PersistFileEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_PersistFileEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_RenameEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_RenameEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_SetAclEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_SetAclEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_SetAttributeEntry_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_journal_UpdateUfsModeEntry_fieldAccessorTable;
public static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\030proto/journal/file.proto\022\025alluxio.prot" +
"o.journal\032\026proto/shared/acl.proto\"-\n\017Str" +
"ingPairEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" +
"\"6\n\023ActiveSyncTxIdEntry\022\020\n\010mount_id\030\001 \001(" +
"\003\022\r\n\005tx_id\030\002 \001(\003\"=\n\021AddSyncPointEntry\022\026\n" +
"\016syncpoint_path\030\001 \001(\t\022\020\n\010mount_id\030\002 \001(\003\"" +
"@\n\024RemoveSyncPointEntry\022\026\n\016syncpoint_pat" +
"h\030\001 \001(\t\022\020\n\010mount_id\030\002 \001(\003\"\254\001\n\022AddMountPo" +
"intEntry\022\024\n\014alluxio_path\030\001 \001(\t\022\020\n\010ufs_pa" +
"th\030\002 \001(\t\022\020\n\010readOnly\030\003 \001(\010\022:\n\nproperties" +
"\030\004 \003(\0132&.alluxio.proto.journal.StringPai" +
"rEntry\022\016\n\006shared\030\005 \001(\010\022\020\n\010mount_id\030\006 \001(\003" +
"\"+\n\030AsyncPersistRequestEntry\022\017\n\007file_id\030" +
"\001 \001(\003\"o\n\021CompleteFileEntry\022\021\n\tblock_ids\030" +
"\001 \003(\003\022\n\n\002id\030\002 \001(\003\022\016\n\006length\030\003 \001(\003\022\022\n\nop_" +
"time_ms\030\004 \001(\003\022\027\n\017ufs_fingerprint\030\005 \001(\t\"g" +
"\n\017DeleteFileEntry\022\n\n\002id\030\001 \001(\003\022\021\n\trecursi" +
"ve\030\002 \001(\010\022\022\n\nop_time_ms\030\003 \001(\003\022\023\n\013alluxioO" +
"nly\030\004 \001(\010\022\014\n\004path\030\005 \001(\t\"-\n\025DeleteMountPo" +
"intEntry\022\024\n\014alluxio_path\030\001 \001(\t\"\033\n\rNewBlo" +
"ckEntry\022\n\n\002id\030\001 \001(\003\"\251\005\n\020UpdateInodeEntry" +
"\022\n\n\002id\030\001 \001(\003\022\021\n\tparent_id\030\002 \001(\003\022\014\n\004name\030" +
"\003 \001(\t\022\031\n\021persistence_state\030\004 \001(\t\022\016\n\006pinn" +
"ed\030\005 \001(\010\022\030\n\020creation_time_ms\030\006 \001(\003\022!\n\031la" +
"st_modification_time_ms\030\007 \001(\003\022#\n\033overwri" +
"te_modification_time\030\010 \001(\010\022\r\n\005owner\030\t \001(" +
"\t\022\r\n\005group\030\n \001(\t\022\014\n\004mode\030\013 \001(\005\022\013\n\003ttl\030\014 " +
"\001(\003\022<\n\tttlAction\030\r \001(\0162!.alluxio.proto.j" +
"ournal.PTtlAction:\006DELETE\0224\n\003acl\030\016 \001(\0132\'" +
".alluxio.proto.shared.AccessControlList\022" +
"\027\n\017ufs_fingerprint\030\017 \001(\t\022\023\n\013medium_type\030" +
"\020 \003(\t\022A\n\005xAttr\030\021 \003(\01322.alluxio.proto.jou" +
"rnal.UpdateInodeEntry.XAttrEntry\022\033\n\023last" +
"_access_time_ms\030\022 \001(\003\022\035\n\025overwrite_acces" +
"s_time\030\023 \001(\010\022S\n\025xAttr_update_strategy\030\024 " +
"\001(\0162*.alluxio.proto.journal.XAttrUpdateS" +
"trategy:\010TRUNCATE\032,\n\nXAttrEntry\022\013\n\003key\030\001" +
" \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\231\001\n\031UpdateInodeD" +
"irectoryEntry\022\n\n\002id\030\001 \001(\003\022\023\n\013mount_point" +
"\030\002 \001(\010\022\036\n\026direct_children_loaded\030\003 \001(\010\022;" +
"\n\ndefaultAcl\030\004 \001(\0132\'.alluxio.proto.share" +
"d.AccessControlList\"\365\001\n\024UpdateInodeFileE" +
"ntry\022\n\n\002id\030\001 \001(\003\022\030\n\020block_size_bytes\030\002 \001" +
"(\003\022\016\n\006length\030\003 \001(\003\022\021\n\tcompleted\030\004 \001(\010\022\021\n" +
"\tcacheable\030\005 \001(\010\022\022\n\nset_blocks\030\007 \003(\003\022\027\n\017" +
"replication_max\030\010 \001(\005\022\027\n\017replication_min" +
"\030\t \001(\005\022\026\n\016persist_job_id\030\n \001(\003\022\025\n\rtemp_u" +
"fs_path\030\013 \001(\t\022\014\n\004path\030\014 \001(\t\"\375\004\n\023InodeDir" +
"ectoryEntry\022\n\n\002id\030\001 \001(\003\022\021\n\tparent_id\030\002 \001" +
"(\003\022\014\n\004name\030\003 \001(\t\022\031\n\021persistence_state\030\004 " +
"\001(\t\022\016\n\006pinned\030\005 \001(\010\022\030\n\020creation_time_ms\030" +
"\006 \001(\003\022!\n\031last_modification_time_ms\030\007 \001(\003" +
"\022\r\n\005owner\030\010 \001(\t\022\r\n\005group\030\t \001(\t\022\014\n\004mode\030\n" +
" \001(\005\022\023\n\013mount_point\030\013 \001(\010\022\036\n\026direct_chil" +
"dren_loaded\030\014 \001(\010\022\013\n\003ttl\030\r \001(\003\022<\n\tttlAct" +
"alluxio.shaded.client.io.\030\016 \001(\0162!.alluxio.proto.journal.PTtlAc" +
"tion:\006DELETE\0224\n\003acl\030\017 \001(\0132\'.alluxio.prot" +
"o.shared.AccessControlList\022;\n\ndefaultAcl" +
"\030\020 \001(\0132\'.alluxio.proto.shared.AccessCont" +
"rolList\022\014\n\004path\030\021 \001(\t\022\023\n\013medium_type\030\022 \003" +
"(\t\022D\n\005xAttr\030\023 \003(\01325.alluxio.proto.journa" +
"l.InodeDirectoryEntry.XAttrEntry\022\033\n\023last" +
"_access_time_ms\030\024 \001(\003\032,\n\nXAttrEntry\022\013\n\003k" +
"ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"O\n\036InodeDire" +
"ctoryIdGeneratorEntry\022\024\n\014container_id\030\001 " +
"\001(\003\022\027\n\017sequence_number\030\002 \001(\003\"\225\006\n\016InodeFi" +
"leEntry\022\n\n\002id\030\001 \001(\003\022\021\n\tparent_id\030\002 \001(\003\022\014" +
"\n\004name\030\003 \001(\t\022\031\n\021persistence_state\030\004 \001(\t\022" +
"\016\n\006pinned\030\005 \001(\010\022\030\n\020creation_time_ms\030\006 \001(" +
"\003\022!\n\031last_modification_time_ms\030\007 \001(\003\022\030\n\020" +
"block_size_bytes\030\010 \001(\003\022\016\n\006length\030\t \001(\003\022\021" +
"\n\tcompleted\030\n \001(\010\022\021\n\tcacheable\030\013 \001(\010\022\016\n\006" +
"blocks\030\014 \003(\003\022\013\n\003ttl\030\r \001(\003\022\r\n\005owner\030\016 \001(\t" +
"\022\r\n\005group\030\017 \001(\t\022\014\n\004mode\030\020 \001(\005\022<\n\tttlActi" +
"on\030\021 \001(\0162!.alluxio.proto.journal.PTtlAct" +
"alluxio.shaded.client.io.:\006DELETE\022\027\n\017ufs_fingerprint\030\022 \001(\t\0224\n\003" +
"acl\030\023 \001(\0132\'.alluxio.proto.shared.AccessC" +
"ontrolList\022\027\n\017replication_max\030\024 \001(\005\022\027\n\017r" +
"eplication_min\030\025 \001(\005\022\026\n\016persist_job_id\030\026" +
" \001(\003\022\025\n\rtemp_ufs_path\030\027 \001(\t\022\033\n\023replicati" +
"on_durable\030\030 \001(\005\022\014\n\004path\030\031 \001(\t\022\023\n\013medium" +
"_type\030\032 \003(\t\022\033\n\023should_persist_time\030\033 \001(\003" +
"\022?\n\005xAttr\030\034 \003(\01320.alluxio.proto.journal." +
"InodeFileEntry.XAttrEntry\022\033\n\023last_access" +
"_time_ms\030\035 \001(\003\032,\n\nXAttrEntry\022\013\n\003key\030\001 \001(" +
"\t\022\r\n\005value\030\002 \001(\014:\0028\001\"O\n\036InodeLastModific" +
"ationTimeEntry\022\n\n\002id\030\001 \001(\003\022!\n\031last_modif" +
"ication_time_ms\030\002 \001(\003\"#\n\025PersistDirector" +
"yEntry\022\n\n\002id\030\001 \001(\003\"B\n\020PersistFileEntry\022\n" +
"\n\002id\030\001 \001(\003\022\016\n\006length\030\002 \001(\003\022\022\n\nop_time_ms" +
"\030\003 \001(\003\"\210\001\n\013RenameEntry\022\n\n\002id\030\001 \001(\003\022\020\n\010ds" +
"t_path\030\002 \001(\t\022\022\n\nop_time_ms\030\003 \001(\003\022\025\n\rnew_" +
"parent_id\030\004 \001(\003\022\020\n\010new_name\030\005 \001(\t\022\014\n\004pat" +
"h\030\006 \001(\t\022\020\n\010new_path\030\007 \001(\t\"\247\001\n\013SetAclEntr" +
"y\022\n\n\002id\030\001 \001(\003\022\022\n\nop_time_ms\030\002 \001(\003\0224\n\006act" +
"alluxio.shaded.client.io.\030\003 \001(\0162$.alluxio.proto.journal.PSetAc" +
"lAction\022/\n\007entries\030\004 \003(\0132\036.alluxio.proto" +
".shared.AclEntry\022\021\n\trecursive\030\005 \001(\010\"\311\002\n\021" +
"SetAttributeEntry\022\n\n\002id\030\001 \001(\003\022\022\n\nop_time" +
"_ms\030\002 \001(\003\022\016\n\006pinned\030\003 \001(\010\022\013\n\003ttl\030\004 \001(\003\022\021" +
"\n\tpersisted\030\005 \001(\010\022\r\n\005owner\030\006 \001(\t\022\r\n\005grou" +
"p\030\007 \001(\t\022\022\n\npermission\030\010 \001(\005\022<\n\tttlAction" +
"\030\t \001(\0162!.alluxio.proto.journal.PTtlActio" +
"n:\006DELETE\022\027\n\017ufs_fingerprint\030\n \001(\t\022\024\n\014pe" +
"rsistJobId\030\013 \001(\003\022\023\n\013tempUfsPath\030\014 \001(\t\022\027\n" +
"\017replication_max\030\r \001(\005\022\027\n\017replication_mi" +
"n\030\016 \001(\005\"b\n\022UpdateUfsModeEntry\022\017\n\007ufsPath" +
"\030\001 \001(\t\022;\n\007ufsMode\030\002 \001(\0162\036.alluxio.proto." +
"journal.UfsMode:\nREAD_WRITE*[\n\023XAttrUpda" +
"teStrategy\022\014\n\010TRUNCATE\020\001\022\021\n\rUNION_REPLAC" +
"E\020\002\022\022\n\016UNION_PRESERVE\020\003\022\017\n\013DELETE_KEYS\020\004" +
"*6\n\nPTtlAction\022\n\n\006DELETE\020\000\022\010\n\004FREE\020\001\022\022\n\016" +
"DELETE_ALLUXIO\020\002*X\n\rPSetAclAction\022\013\n\007REP" +
"LACE\020\000\022\n\n\006MODIFY\020\001\022\n\n\006REMOVE\020\002\022\016\n\nREMOVE" +
"_ALL\020\003\022\022\n\016REMOVE_DEFAULT\020\004*7\n\007UfsMode\022\r\n" +
"\tNO_ACCESS\020\000\022\r\n\tREAD_ONLY\020\001\022\016\n\nREAD_WRIT" +
"E\020\002"
};
descriptor = alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor[] {
alluxio.proto.shared.Acl.getDescriptor(),
});
internal_static_alluxio_proto_journal_StringPairEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_alluxio_proto_journal_StringPairEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_StringPairEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_ActiveSyncTxIdEntry_descriptor,
new java.lang.String[] { "MountId", "TxId", });
internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_alluxio_proto_journal_AddSyncPointEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_AddSyncPointEntry_descriptor,
new java.lang.String[] { "SyncpointPath", "MountId", });
internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_alluxio_proto_journal_RemoveSyncPointEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_RemoveSyncPointEntry_descriptor,
new java.lang.String[] { "SyncpointPath", "MountId", });
internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_alluxio_proto_journal_AddMountPointEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_AddMountPointEntry_descriptor,
new java.lang.String[] { "AlluxioPath", "UfsPath", "ReadOnly", "Properties", "Shared", "MountId", });
internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_AsyncPersistRequestEntry_descriptor,
new java.lang.String[] { "FileId", });
internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_alluxio_proto_journal_CompleteFileEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_CompleteFileEntry_descriptor,
new java.lang.String[] { "BlockIds", "Id", "Length", "OpTimeMs", "UfsFingerprint", });
internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_alluxio_proto_journal_DeleteFileEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_DeleteFileEntry_descriptor,
new java.lang.String[] { "Id", "Recursive", "OpTimeMs", "AlluxioOnly", "Path", });
internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_alluxio_proto_journal_DeleteMountPointEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_DeleteMountPointEntry_descriptor,
new java.lang.String[] { "AlluxioPath", });
internal_static_alluxio_proto_journal_NewBlockEntry_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_alluxio_proto_journal_NewBlockEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_NewBlockEntry_descriptor,
new java.lang.String[] { "Id", });
internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_alluxio_proto_journal_UpdateInodeEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor,
new java.lang.String[] { "Id", "ParentId", "Name", "PersistenceState", "Pinned", "CreationTimeMs", "LastModificationTimeMs", "OverwriteModificationTime", "Owner", "Group", "Mode", "Ttl", "TtlAction", "Acl", "UfsFingerprint", "MediumType", "XAttr", "LastAccessTimeMs", "OverwriteAccessTime", "XAttrUpdateStrategy", });
internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_descriptor =
internal_static_alluxio_proto_journal_UpdateInodeEntry_descriptor.getNestedTypes().get(0);
internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_UpdateInodeEntry_XAttrEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_UpdateInodeDirectoryEntry_descriptor,
new java.lang.String[] { "Id", "MountPoint", "DirectChildrenLoaded", "DefaultAcl", });
internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_alluxio_proto_journal_UpdateInodeFileEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_UpdateInodeFileEntry_descriptor,
new java.lang.String[] { "Id", "BlockSizeBytes", "Length", "Completed", "Cacheable", "SetBlocks", "ReplicationMax", "ReplicationMin", "PersistJobId", "TempUfsPath", "Path", });
internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_alluxio_proto_journal_InodeDirectoryEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor,
new java.lang.String[] { "Id", "ParentId", "Name", "PersistenceState", "Pinned", "CreationTimeMs", "LastModificationTimeMs", "Owner", "Group", "Mode", "MountPoint", "DirectChildrenLoaded", "Ttl", "TtlAction", "Acl", "DefaultAcl", "Path", "MediumType", "XAttr", "LastAccessTimeMs", });
internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_descriptor =
internal_static_alluxio_proto_journal_InodeDirectoryEntry_descriptor.getNestedTypes().get(0);
internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeDirectoryEntry_XAttrEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeDirectoryIdGeneratorEntry_descriptor,
new java.lang.String[] { "ContainerId", "SequenceNumber", });
internal_static_alluxio_proto_journal_InodeFileEntry_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_alluxio_proto_journal_InodeFileEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeFileEntry_descriptor,
new java.lang.String[] { "Id", "ParentId", "Name", "PersistenceState", "Pinned", "CreationTimeMs", "LastModificationTimeMs", "BlockSizeBytes", "Length", "Completed", "Cacheable", "Blocks", "Ttl", "Owner", "Group", "Mode", "TtlAction", "UfsFingerprint", "Acl", "ReplicationMax", "ReplicationMin", "PersistJobId", "TempUfsPath", "ReplicationDurable", "Path", "MediumType", "ShouldPersistTime", "XAttr", "LastAccessTimeMs", });
internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_descriptor =
internal_static_alluxio_proto_journal_InodeFileEntry_descriptor.getNestedTypes().get(0);
internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeFileEntry_XAttrEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_InodeLastModificationTimeEntry_descriptor,
new java.lang.String[] { "Id", "LastModificationTimeMs", });
internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_alluxio_proto_journal_PersistDirectoryEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_PersistDirectoryEntry_descriptor,
new java.lang.String[] { "Id", });
internal_static_alluxio_proto_journal_PersistFileEntry_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_alluxio_proto_journal_PersistFileEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_PersistFileEntry_descriptor,
new java.lang.String[] { "Id", "Length", "OpTimeMs", });
internal_static_alluxio_proto_journal_RenameEntry_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_alluxio_proto_journal_RenameEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_RenameEntry_descriptor,
new java.lang.String[] { "Id", "DstPath", "OpTimeMs", "NewParentId", "NewName", "Path", "NewPath", });
internal_static_alluxio_proto_journal_SetAclEntry_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_alluxio_proto_journal_SetAclEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_SetAclEntry_descriptor,
new java.lang.String[] { "Id", "OpTimeMs", "Action", "Entries", "Recursive", });
internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_alluxio_proto_journal_SetAttributeEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_SetAttributeEntry_descriptor,
new java.lang.String[] { "Id", "OpTimeMs", "Pinned", "Ttl", "Persisted", "Owner", "Group", "Permission", "TtlAction", "UfsFingerprint", "PersistJobId", "TempUfsPath", "ReplicationMax", "ReplicationMin", });
internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_alluxio_proto_journal_UpdateUfsModeEntry_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_journal_UpdateUfsModeEntry_descriptor,
new java.lang.String[] { "UfsPath", "UfsMode", });
alluxio.proto.shared.Acl.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}