Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.sandpolis.plugin.filesys.net.Filesys Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/sandpolis/plugin/filesys/net/Filesys.proto
package com.sandpolis.plugin.filesys.net;
public final class Filesys {
private Filesys() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FsHandleOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.FsHandleOptions)
com.google.protobuf.MessageOrBuilder {
/**
*
* Indicates whether size should be included in listings
*
*
* bool size = 1;
*/
boolean getSize();
/**
*
* Indicates whether creation timestamps should be included in listings
*
*
* bool ctime = 2;
*/
boolean getCtime();
/**
*
* Indicates whether modification timestamps should be included in listings
*
*
* bool mtime = 3;
*/
boolean getMtime();
/**
*
* Indicates whether access timestamps should be included in listings
*
*
* bool atime = 4;
*/
boolean getAtime();
/**
*
* Indicates whether MIME types should be included in listings
*
*
* bool mime = 5;
*/
boolean getMime();
/**
*
* The file owner
*
*
* bool owner = 6;
*/
boolean getOwner();
}
/**
* Protobuf type {@code net.FsHandleOptions}
*/
public static final class FsHandleOptions extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.FsHandleOptions)
FsHandleOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FsHandleOptions.newBuilder() to construct.
private FsHandleOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FsHandleOptions() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FsHandleOptions();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FsHandleOptions(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
size_ = input.readBool();
break;
}
case 16: {
ctime_ = input.readBool();
break;
}
case 24: {
mtime_ = input.readBool();
break;
}
case 32: {
atime_ = input.readBool();
break;
}
case 40: {
mime_ = input.readBool();
break;
}
case 48: {
owner_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FsHandleOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FsHandleOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.class, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder.class);
}
public static final int SIZE_FIELD_NUMBER = 1;
private boolean size_;
/**
*
* Indicates whether size should be included in listings
*
*
* bool size = 1;
*/
public boolean getSize() {
return size_;
}
public static final int CTIME_FIELD_NUMBER = 2;
private boolean ctime_;
/**
*
* Indicates whether creation timestamps should be included in listings
*
*
* bool ctime = 2;
*/
public boolean getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 3;
private boolean mtime_;
/**
*
* Indicates whether modification timestamps should be included in listings
*
*
* bool mtime = 3;
*/
public boolean getMtime() {
return mtime_;
}
public static final int ATIME_FIELD_NUMBER = 4;
private boolean atime_;
/**
*
* Indicates whether access timestamps should be included in listings
*
*
* bool atime = 4;
*/
public boolean getAtime() {
return atime_;
}
public static final int MIME_FIELD_NUMBER = 5;
private boolean mime_;
/**
*
* Indicates whether MIME types should be included in listings
*
*
* bool mime = 5;
*/
public boolean getMime() {
return mime_;
}
public static final int OWNER_FIELD_NUMBER = 6;
private boolean owner_;
/**
*
* The file owner
*
*
* bool owner = 6;
*/
public boolean getOwner() {
return owner_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (size_ != false) {
output.writeBool(1, size_);
}
if (ctime_ != false) {
output.writeBool(2, ctime_);
}
if (mtime_ != false) {
output.writeBool(3, mtime_);
}
if (atime_ != false) {
output.writeBool(4, atime_);
}
if (mime_ != false) {
output.writeBool(5, mime_);
}
if (owner_ != false) {
output.writeBool(6, owner_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (size_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, size_);
}
if (ctime_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, ctime_);
}
if (mtime_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, mtime_);
}
if (atime_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, atime_);
}
if (mime_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, mime_);
}
if (owner_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, owner_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions other = (com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions) obj;
if (getSize()
!= other.getSize()) return false;
if (getCtime()
!= other.getCtime()) return false;
if (getMtime()
!= other.getMtime()) return false;
if (getAtime()
!= other.getAtime()) return false;
if (getMime()
!= other.getMime()) return false;
if (getOwner()
!= other.getOwner()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSize());
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCtime());
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getMtime());
hash = (37 * hash) + ATIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAtime());
hash = (37 * hash) + MIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getMime());
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getOwner());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code net.FsHandleOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.FsHandleOptions)
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FsHandleOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FsHandleOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.class, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
size_ = false;
ctime_ = false;
mtime_ = false;
atime_ = false;
mime_ = false;
owner_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FsHandleOptions_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions build() {
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions result = new com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions(this);
result.size_ = size_;
result.ctime_ = ctime_;
result.mtime_ = mtime_;
result.atime_ = atime_;
result.mime_ = mime_;
result.owner_ = owner_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.getDefaultInstance()) return this;
if (other.getSize() != false) {
setSize(other.getSize());
}
if (other.getCtime() != false) {
setCtime(other.getCtime());
}
if (other.getMtime() != false) {
setMtime(other.getMtime());
}
if (other.getAtime() != false) {
setAtime(other.getAtime());
}
if (other.getMime() != false) {
setMime(other.getMime());
}
if (other.getOwner() != false) {
setOwner(other.getOwner());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean size_ ;
/**
*
* Indicates whether size should be included in listings
*
*
* bool size = 1;
*/
public boolean getSize() {
return size_;
}
/**
*
* Indicates whether size should be included in listings
*
*
* bool size = 1;
*/
public Builder setSize(boolean value) {
size_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether size should be included in listings
*
*
* bool size = 1;
*/
public Builder clearSize() {
size_ = false;
onChanged();
return this;
}
private boolean ctime_ ;
/**
*
* Indicates whether creation timestamps should be included in listings
*
*
* bool ctime = 2;
*/
public boolean getCtime() {
return ctime_;
}
/**
*
* Indicates whether creation timestamps should be included in listings
*
*
* bool ctime = 2;
*/
public Builder setCtime(boolean value) {
ctime_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether creation timestamps should be included in listings
*
*
* bool ctime = 2;
*/
public Builder clearCtime() {
ctime_ = false;
onChanged();
return this;
}
private boolean mtime_ ;
/**
*
* Indicates whether modification timestamps should be included in listings
*
*
* bool mtime = 3;
*/
public boolean getMtime() {
return mtime_;
}
/**
*
* Indicates whether modification timestamps should be included in listings
*
*
* bool mtime = 3;
*/
public Builder setMtime(boolean value) {
mtime_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether modification timestamps should be included in listings
*
*
* bool mtime = 3;
*/
public Builder clearMtime() {
mtime_ = false;
onChanged();
return this;
}
private boolean atime_ ;
/**
*
* Indicates whether access timestamps should be included in listings
*
*
* bool atime = 4;
*/
public boolean getAtime() {
return atime_;
}
/**
*
* Indicates whether access timestamps should be included in listings
*
*
* bool atime = 4;
*/
public Builder setAtime(boolean value) {
atime_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether access timestamps should be included in listings
*
*
* bool atime = 4;
*/
public Builder clearAtime() {
atime_ = false;
onChanged();
return this;
}
private boolean mime_ ;
/**
*
* Indicates whether MIME types should be included in listings
*
*
* bool mime = 5;
*/
public boolean getMime() {
return mime_;
}
/**
*
* Indicates whether MIME types should be included in listings
*
*
* bool mime = 5;
*/
public Builder setMime(boolean value) {
mime_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether MIME types should be included in listings
*
*
* bool mime = 5;
*/
public Builder clearMime() {
mime_ = false;
onChanged();
return this;
}
private boolean owner_ ;
/**
*
* The file owner
*
*
* bool owner = 6;
*/
public boolean getOwner() {
return owner_;
}
/**
*
* The file owner
*
*
* bool owner = 6;
*/
public Builder setOwner(boolean value) {
owner_ = value;
onChanged();
return this;
}
/**
*
* The file owner
*
*
* bool owner = 6;
*/
public Builder clearOwner() {
owner_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.FsHandleOptions)
}
// @@protoc_insertion_point(class_scope:net.FsHandleOptions)
private static final com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions();
}
public static com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FsHandleOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FsHandleOptions(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileListletOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.FileListlet)
com.google.protobuf.MessageOrBuilder {
/**
*
* Indicates whether the file is a directory
*
*
* bool directory = 1;
*/
boolean getDirectory();
/**
*
* The file's name
*
*
* string name = 2;
*/
java.lang.String getName();
/**
*
* The file's name
*
*
* string name = 2;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The file's creation time
*
*
* int64 ctime = 3;
*/
long getCtime();
/**
*
* The file's modification time
*
*
* int64 mtime = 4;
*/
long getMtime();
/**
*
* The file's access time
*
*
* int64 atime = 5;
*/
long getAtime();
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 6;
*/
long getSize();
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
java.lang.String getMime();
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
com.google.protobuf.ByteString
getMimeBytes();
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
int getUpdateTypeValue();
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType getUpdateType();
}
/**
*
**
* A FileListlet is a component of a directory listing.
*
*
* Protobuf type {@code net.FileListlet}
*/
public static final class FileListlet extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.FileListlet)
FileListletOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileListlet.newBuilder() to construct.
private FileListlet(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileListlet() {
name_ = "";
mime_ = "";
updateType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FileListlet();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileListlet(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
directory_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 24: {
ctime_ = input.readInt64();
break;
}
case 32: {
mtime_ = input.readInt64();
break;
}
case 40: {
atime_ = input.readInt64();
break;
}
case 48: {
size_ = input.readInt64();
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
mime_ = s;
break;
}
case 64: {
int rawValue = input.readEnum();
updateType_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FileListlet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FileListlet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.class, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder.class);
}
/**
* Protobuf enum {@code net.FileListlet.UpdateType}
*/
public enum UpdateType
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Indicates an entry has been added
*
*
* ENTRY_CREATE = 0;
*/
ENTRY_CREATE(0),
/**
*
* Indicates an entry has been removed
*
*
* ENTRY_DELETE = 1;
*/
ENTRY_DELETE(1),
/**
*
* Indicates an entry has been modified
*
*
* ENTRY_MODIFY = 2;
*/
ENTRY_MODIFY(2),
/**
*
* Indicates some updates were dropped and the listing should be refreshed
*
*
* OVERFLOW = 3;
*/
OVERFLOW(3),
UNRECOGNIZED(-1),
;
/**
*
* Indicates an entry has been added
*
*
* ENTRY_CREATE = 0;
*/
public static final int ENTRY_CREATE_VALUE = 0;
/**
*
* Indicates an entry has been removed
*
*
* ENTRY_DELETE = 1;
*/
public static final int ENTRY_DELETE_VALUE = 1;
/**
*
* Indicates an entry has been modified
*
*
* ENTRY_MODIFY = 2;
*/
public static final int ENTRY_MODIFY_VALUE = 2;
/**
*
* Indicates some updates were dropped and the listing should be refreshed
*
*
* OVERFLOW = 3;
*/
public static final int OVERFLOW_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static UpdateType valueOf(int value) {
return forNumber(value);
}
public static UpdateType forNumber(int value) {
switch (value) {
case 0: return ENTRY_CREATE;
case 1: return ENTRY_DELETE;
case 2: return ENTRY_MODIFY;
case 3: return OVERFLOW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
UpdateType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public UpdateType findValueByNumber(int number) {
return UpdateType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDescriptor().getEnumTypes().get(0);
}
private static final UpdateType[] VALUES = values();
public static UpdateType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private UpdateType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:net.FileListlet.UpdateType)
}
public static final int DIRECTORY_FIELD_NUMBER = 1;
private boolean directory_;
/**
*
* Indicates whether the file is a directory
*
*
* bool directory = 1;
*/
public boolean getDirectory() {
return directory_;
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* The file's name
*
*
* string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The file's name
*
*
* string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CTIME_FIELD_NUMBER = 3;
private long ctime_;
/**
*
* The file's creation time
*
*
* int64 ctime = 3;
*/
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 4;
private long mtime_;
/**
*
* The file's modification time
*
*
* int64 mtime = 4;
*/
public long getMtime() {
return mtime_;
}
public static final int ATIME_FIELD_NUMBER = 5;
private long atime_;
/**
*
* The file's access time
*
*
* int64 atime = 5;
*/
public long getAtime() {
return atime_;
}
public static final int SIZE_FIELD_NUMBER = 6;
private long size_;
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 6;
*/
public long getSize() {
return size_;
}
public static final int MIME_FIELD_NUMBER = 7;
private volatile java.lang.Object mime_;
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public java.lang.String getMime() {
java.lang.Object ref = mime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mime_ = s;
return s;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public com.google.protobuf.ByteString
getMimeBytes() {
java.lang.Object ref = mime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATE_TYPE_FIELD_NUMBER = 8;
private int updateType_;
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public int getUpdateTypeValue() {
return updateType_;
}
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType getUpdateType() {
@SuppressWarnings("deprecation")
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType result = com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.valueOf(updateType_);
return result == null ? com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.UNRECOGNIZED : 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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (directory_ != false) {
output.writeBool(1, directory_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (ctime_ != 0L) {
output.writeInt64(3, ctime_);
}
if (mtime_ != 0L) {
output.writeInt64(4, mtime_);
}
if (atime_ != 0L) {
output.writeInt64(5, atime_);
}
if (size_ != 0L) {
output.writeInt64(6, size_);
}
if (!getMimeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, mime_);
}
if (updateType_ != com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.ENTRY_CREATE.getNumber()) {
output.writeEnum(8, updateType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (directory_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, directory_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (ctime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, ctime_);
}
if (mtime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, mtime_);
}
if (atime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, atime_);
}
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, size_);
}
if (!getMimeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, mime_);
}
if (updateType_ != com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.ENTRY_CREATE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, updateType_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.FileListlet)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.FileListlet other = (com.sandpolis.plugin.filesys.net.Filesys.FileListlet) obj;
if (getDirectory()
!= other.getDirectory()) return false;
if (!getName()
.equals(other.getName())) return false;
if (getCtime()
!= other.getCtime()) return false;
if (getMtime()
!= other.getMtime()) return false;
if (getAtime()
!= other.getAtime()) return false;
if (getSize()
!= other.getSize()) return false;
if (!getMime()
.equals(other.getMime())) return false;
if (updateType_ != other.updateType_) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DIRECTORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDirectory());
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
hash = (37 * hash) + ATIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAtime());
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
hash = (37 * hash) + MIME_FIELD_NUMBER;
hash = (53 * hash) + getMime().hashCode();
hash = (37 * hash) + UPDATE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + updateType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.FileListlet prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* A FileListlet is a component of a directory listing.
*
*
* Protobuf type {@code net.FileListlet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.FileListlet)
com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FileListlet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FileListlet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.class, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.FileListlet.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
directory_ = false;
name_ = "";
ctime_ = 0L;
mtime_ = 0L;
atime_ = 0L;
size_ = 0L;
mime_ = "";
updateType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_FileListlet_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet build() {
com.sandpolis.plugin.filesys.net.Filesys.FileListlet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.FileListlet result = new com.sandpolis.plugin.filesys.net.Filesys.FileListlet(this);
result.directory_ = directory_;
result.name_ = name_;
result.ctime_ = ctime_;
result.mtime_ = mtime_;
result.atime_ = atime_;
result.size_ = size_;
result.mime_ = mime_;
result.updateType_ = updateType_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.FileListlet) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.FileListlet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.FileListlet other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance()) return this;
if (other.getDirectory() != false) {
setDirectory(other.getDirectory());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getCtime() != 0L) {
setCtime(other.getCtime());
}
if (other.getMtime() != 0L) {
setMtime(other.getMtime());
}
if (other.getAtime() != 0L) {
setAtime(other.getAtime());
}
if (other.getSize() != 0L) {
setSize(other.getSize());
}
if (!other.getMime().isEmpty()) {
mime_ = other.mime_;
onChanged();
}
if (other.updateType_ != 0) {
setUpdateTypeValue(other.getUpdateTypeValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.FileListlet parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.FileListlet) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean directory_ ;
/**
*
* Indicates whether the file is a directory
*
*
* bool directory = 1;
*/
public boolean getDirectory() {
return directory_;
}
/**
*
* Indicates whether the file is a directory
*
*
* bool directory = 1;
*/
public Builder setDirectory(boolean value) {
directory_ = value;
onChanged();
return this;
}
/**
*
* Indicates whether the file is a directory
*
*
* bool directory = 1;
*/
public Builder clearDirectory() {
directory_ = false;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* The file's name
*
*
* string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The file's name
*
*
* string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The file's name
*
*
* string name = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The file's name
*
*
* string name = 2;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The file's name
*
*
* string name = 2;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private long ctime_ ;
/**
*
* The file's creation time
*
*
* int64 ctime = 3;
*/
public long getCtime() {
return ctime_;
}
/**
*
* The file's creation time
*
*
* int64 ctime = 3;
*/
public Builder setCtime(long value) {
ctime_ = value;
onChanged();
return this;
}
/**
*
* The file's creation time
*
*
* int64 ctime = 3;
*/
public Builder clearCtime() {
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
*
* The file's modification time
*
*
* int64 mtime = 4;
*/
public long getMtime() {
return mtime_;
}
/**
*
* The file's modification time
*
*
* int64 mtime = 4;
*/
public Builder setMtime(long value) {
mtime_ = value;
onChanged();
return this;
}
/**
*
* The file's modification time
*
*
* int64 mtime = 4;
*/
public Builder clearMtime() {
mtime_ = 0L;
onChanged();
return this;
}
private long atime_ ;
/**
*
* The file's access time
*
*
* int64 atime = 5;
*/
public long getAtime() {
return atime_;
}
/**
*
* The file's access time
*
*
* int64 atime = 5;
*/
public Builder setAtime(long value) {
atime_ = value;
onChanged();
return this;
}
/**
*
* The file's access time
*
*
* int64 atime = 5;
*/
public Builder clearAtime() {
atime_ = 0L;
onChanged();
return this;
}
private long size_ ;
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 6;
*/
public long getSize() {
return size_;
}
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 6;
*/
public Builder setSize(long value) {
size_ = value;
onChanged();
return this;
}
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 6;
*/
public Builder clearSize() {
size_ = 0L;
onChanged();
return this;
}
private java.lang.Object mime_ = "";
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public java.lang.String getMime() {
java.lang.Object ref = mime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public com.google.protobuf.ByteString
getMimeBytes() {
java.lang.Object ref = mime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public Builder setMime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mime_ = value;
onChanged();
return this;
}
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public Builder clearMime() {
mime_ = getDefaultInstance().getMime();
onChanged();
return this;
}
/**
*
* The file's MIME type
*
*
* string mime = 7;
*/
public Builder setMimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mime_ = value;
onChanged();
return this;
}
private int updateType_ = 0;
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public int getUpdateTypeValue() {
return updateType_;
}
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public Builder setUpdateTypeValue(int value) {
updateType_ = value;
onChanged();
return this;
}
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType getUpdateType() {
@SuppressWarnings("deprecation")
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType result = com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.valueOf(updateType_);
return result == null ? com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType.UNRECOGNIZED : result;
}
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public Builder setUpdateType(com.sandpolis.plugin.filesys.net.Filesys.FileListlet.UpdateType value) {
if (value == null) {
throw new NullPointerException();
}
updateType_ = value.getNumber();
onChanged();
return this;
}
/**
* .net.FileListlet.UpdateType update_type = 8;
*/
public Builder clearUpdateType() {
updateType_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.FileListlet)
}
// @@protoc_insertion_point(class_scope:net.FileListlet)
private static final com.sandpolis.plugin.filesys.net.Filesys.FileListlet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.FileListlet();
}
public static com.sandpolis.plugin.filesys.net.Filesys.FileListlet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FileListlet parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FileListlet(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EV_FileListingOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.EV_FileListing)
com.google.protobuf.MessageOrBuilder {
/**
* int32 fmid = 1;
*/
int getFmid();
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
java.lang.String getPath();
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
java.util.List
getListingList();
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index);
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
int getListingCount();
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList();
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index);
}
/**
*
**
* Updates to a directory listing.
*
*
* Protobuf type {@code net.EV_FileListing}
*/
public static final class EV_FileListing extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.EV_FileListing)
EV_FileListingOrBuilder {
private static final long serialVersionUID = 0L;
// Use EV_FileListing.newBuilder() to construct.
private EV_FileListing(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EV_FileListing() {
path_ = "";
listing_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EV_FileListing();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EV_FileListing(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fmid_ = input.readInt32();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
listing_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
listing_.add(
input.readMessage(com.sandpolis.plugin.filesys.net.Filesys.FileListlet.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
listing_ = java.util.Collections.unmodifiableList(listing_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_EV_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_EV_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.Builder.class);
}
public static final int FMID_FIELD_NUMBER = 1;
private int fmid_;
/**
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
public static final int PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object path_;
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LISTING_FIELD_NUMBER = 3;
private java.util.List listing_;
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public java.util.List getListingList() {
return listing_;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList() {
return listing_;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public int getListingCount() {
return listing_.size();
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index) {
return listing_.get(index);
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index) {
return listing_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fmid_ != 0) {
output.writeInt32(1, fmid_);
}
if (!getPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
for (int i = 0; i < listing_.size(); i++) {
output.writeMessage(3, listing_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fmid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, fmid_);
}
if (!getPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
for (int i = 0; i < listing_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, listing_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing other = (com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing) obj;
if (getFmid()
!= other.getFmid()) return false;
if (!getPath()
.equals(other.getPath())) return false;
if (!getListingList()
.equals(other.getListingList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FMID_FIELD_NUMBER;
hash = (53 * hash) + getFmid();
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
if (getListingCount() > 0) {
hash = (37 * hash) + LISTING_FIELD_NUMBER;
hash = (53 * hash) + getListingList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Updates to a directory listing.
*
*
* Protobuf type {@code net.EV_FileListing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.EV_FileListing)
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_EV_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_EV_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getListingFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fmid_ = 0;
path_ = "";
if (listingBuilder_ == null) {
listing_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
listingBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_EV_FileListing_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing build() {
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing result = new com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing(this);
int from_bitField0_ = bitField0_;
result.fmid_ = fmid_;
result.path_ = path_;
if (listingBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
listing_ = java.util.Collections.unmodifiableList(listing_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.listing_ = listing_;
} else {
result.listing_ = listingBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing.getDefaultInstance()) return this;
if (other.getFmid() != 0) {
setFmid(other.getFmid());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (listingBuilder_ == null) {
if (!other.listing_.isEmpty()) {
if (listing_.isEmpty()) {
listing_ = other.listing_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureListingIsMutable();
listing_.addAll(other.listing_);
}
onChanged();
}
} else {
if (!other.listing_.isEmpty()) {
if (listingBuilder_.isEmpty()) {
listingBuilder_.dispose();
listingBuilder_ = null;
listing_ = other.listing_;
bitField0_ = (bitField0_ & ~0x00000001);
listingBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getListingFieldBuilder() : null;
} else {
listingBuilder_.addAllMessages(other.listing_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int fmid_ ;
/**
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
/**
* int32 fmid = 1;
*/
public Builder setFmid(int value) {
fmid_ = value;
onChanged();
return this;
}
/**
* int32 fmid = 1;
*/
public Builder clearFmid() {
fmid_ = 0;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
*
* The directory's absolute path
*
*
* string path = 2;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private java.util.List listing_ =
java.util.Collections.emptyList();
private void ensureListingIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
listing_ = new java.util.ArrayList(listing_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder> listingBuilder_;
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public java.util.List getListingList() {
if (listingBuilder_ == null) {
return java.util.Collections.unmodifiableList(listing_);
} else {
return listingBuilder_.getMessageList();
}
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public int getListingCount() {
if (listingBuilder_ == null) {
return listing_.size();
} else {
return listingBuilder_.getCount();
}
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index) {
if (listingBuilder_ == null) {
return listing_.get(index);
} else {
return listingBuilder_.getMessage(index);
}
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder setListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.set(index, value);
onChanged();
} else {
listingBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder setListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.set(index, builderForValue.build());
onChanged();
} else {
listingBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder addListing(com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.add(value);
onChanged();
} else {
listingBuilder_.addMessage(value);
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder addListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.add(index, value);
onChanged();
} else {
listingBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder addListing(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.add(builderForValue.build());
onChanged();
} else {
listingBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder addListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.add(index, builderForValue.build());
onChanged();
} else {
listingBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder addAllListing(
java.lang.Iterable extends com.sandpolis.plugin.filesys.net.Filesys.FileListlet> values) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, listing_);
onChanged();
} else {
listingBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder clearListing() {
if (listingBuilder_ == null) {
listing_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
listingBuilder_.clear();
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public Builder removeListing(int index) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.remove(index);
onChanged();
} else {
listingBuilder_.remove(index);
}
return this;
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder getListingBuilder(
int index) {
return getListingFieldBuilder().getBuilder(index);
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index) {
if (listingBuilder_ == null) {
return listing_.get(index); } else {
return listingBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList() {
if (listingBuilder_ != null) {
return listingBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(listing_);
}
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder addListingBuilder() {
return getListingFieldBuilder().addBuilder(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance());
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder addListingBuilder(
int index) {
return getListingFieldBuilder().addBuilder(
index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance());
}
/**
*
* Listing updates
*
*
* repeated .net.FileListlet listing = 3;
*/
public java.util.List
getListingBuilderList() {
return getListingFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingFieldBuilder() {
if (listingBuilder_ == null) {
listingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>(
listing_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
listing_ = null;
}
return listingBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.EV_FileListing)
}
// @@protoc_insertion_point(class_scope:net.EV_FileListing)
private static final com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing();
}
public static com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EV_FileListing parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EV_FileListing(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.EV_FileListing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RQ_FileListingOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RQ_FileListing)
com.google.protobuf.MessageOrBuilder {
/**
* int32 fmid = 1;
*/
int getFmid();
/**
*
* Moves the working directory up one level
*
*
* bool up = 2;
*/
boolean getUp();
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
java.lang.String getDown();
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
com.google.protobuf.ByteString
getDownBytes();
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
java.lang.String getAbsolute();
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
com.google.protobuf.ByteString
getAbsoluteBytes();
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.TargetCase getTargetCase();
}
/**
*
**
* Request a directory listing.
*
*
* Protobuf type {@code net.RQ_FileListing}
*/
public static final class RQ_FileListing extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RQ_FileListing)
RQ_FileListingOrBuilder {
private static final long serialVersionUID = 0L;
// Use RQ_FileListing.newBuilder() to construct.
private RQ_FileListing(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RQ_FileListing() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RQ_FileListing();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RQ_FileListing(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fmid_ = input.readInt32();
break;
}
case 16: {
targetCase_ = 2;
target_ = input.readBool();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
targetCase_ = 3;
target_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
targetCase_ = 4;
target_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.Builder.class);
}
private int targetCase_ = 0;
private java.lang.Object target_;
public enum TargetCase
implements com.google.protobuf.Internal.EnumLite {
UP(2),
DOWN(3),
ABSOLUTE(4),
TARGET_NOT_SET(0);
private final int value;
private TargetCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TargetCase valueOf(int value) {
return forNumber(value);
}
public static TargetCase forNumber(int value) {
switch (value) {
case 2: return UP;
case 3: return DOWN;
case 4: return ABSOLUTE;
case 0: return TARGET_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TargetCase
getTargetCase() {
return TargetCase.forNumber(
targetCase_);
}
public static final int FMID_FIELD_NUMBER = 1;
private int fmid_;
/**
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
public static final int UP_FIELD_NUMBER = 2;
/**
*
* Moves the working directory up one level
*
*
* bool up = 2;
*/
public boolean getUp() {
if (targetCase_ == 2) {
return (java.lang.Boolean) target_;
}
return false;
}
public static final int DOWN_FIELD_NUMBER = 3;
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public java.lang.String getDown() {
java.lang.Object ref = "";
if (targetCase_ == 3) {
ref = target_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (targetCase_ == 3) {
target_ = s;
}
return s;
}
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public com.google.protobuf.ByteString
getDownBytes() {
java.lang.Object ref = "";
if (targetCase_ == 3) {
ref = target_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (targetCase_ == 3) {
target_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ABSOLUTE_FIELD_NUMBER = 4;
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public java.lang.String getAbsolute() {
java.lang.Object ref = "";
if (targetCase_ == 4) {
ref = target_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (targetCase_ == 4) {
target_ = s;
}
return s;
}
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public com.google.protobuf.ByteString
getAbsoluteBytes() {
java.lang.Object ref = "";
if (targetCase_ == 4) {
ref = target_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (targetCase_ == 4) {
target_ = b;
}
return b;
} else {
return (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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fmid_ != 0) {
output.writeInt32(1, fmid_);
}
if (targetCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) target_));
}
if (targetCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, target_);
}
if (targetCase_ == 4) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, target_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fmid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, fmid_);
}
if (targetCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) target_));
}
if (targetCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_);
}
if (targetCase_ == 4) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, target_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing other = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing) obj;
if (getFmid()
!= other.getFmid()) return false;
if (!getTargetCase().equals(other.getTargetCase())) return false;
switch (targetCase_) {
case 2:
if (getUp()
!= other.getUp()) return false;
break;
case 3:
if (!getDown()
.equals(other.getDown())) return false;
break;
case 4:
if (!getAbsolute()
.equals(other.getAbsolute())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FMID_FIELD_NUMBER;
hash = (53 * hash) + getFmid();
switch (targetCase_) {
case 2:
hash = (37 * hash) + UP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUp());
break;
case 3:
hash = (37 * hash) + DOWN_FIELD_NUMBER;
hash = (53 * hash) + getDown().hashCode();
break;
case 4:
hash = (37 * hash) + ABSOLUTE_FIELD_NUMBER;
hash = (53 * hash) + getAbsolute().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request a directory listing.
*
*
* Protobuf type {@code net.RQ_FileListing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RQ_FileListing)
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fmid_ = 0;
targetCase_ = 0;
target_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileListing_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing build() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing result = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing(this);
result.fmid_ = fmid_;
if (targetCase_ == 2) {
result.target_ = target_;
}
if (targetCase_ == 3) {
result.target_ = target_;
}
if (targetCase_ == 4) {
result.target_ = target_;
}
result.targetCase_ = targetCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing.getDefaultInstance()) return this;
if (other.getFmid() != 0) {
setFmid(other.getFmid());
}
switch (other.getTargetCase()) {
case UP: {
setUp(other.getUp());
break;
}
case DOWN: {
targetCase_ = 3;
target_ = other.target_;
onChanged();
break;
}
case ABSOLUTE: {
targetCase_ = 4;
target_ = other.target_;
onChanged();
break;
}
case TARGET_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int targetCase_ = 0;
private java.lang.Object target_;
public TargetCase
getTargetCase() {
return TargetCase.forNumber(
targetCase_);
}
public Builder clearTarget() {
targetCase_ = 0;
target_ = null;
onChanged();
return this;
}
private int fmid_ ;
/**
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
/**
* int32 fmid = 1;
*/
public Builder setFmid(int value) {
fmid_ = value;
onChanged();
return this;
}
/**
* int32 fmid = 1;
*/
public Builder clearFmid() {
fmid_ = 0;
onChanged();
return this;
}
/**
*
* Moves the working directory up one level
*
*
* bool up = 2;
*/
public boolean getUp() {
if (targetCase_ == 2) {
return (java.lang.Boolean) target_;
}
return false;
}
/**
*
* Moves the working directory up one level
*
*
* bool up = 2;
*/
public Builder setUp(boolean value) {
targetCase_ = 2;
target_ = value;
onChanged();
return this;
}
/**
*
* Moves the working directory up one level
*
*
* bool up = 2;
*/
public Builder clearUp() {
if (targetCase_ == 2) {
targetCase_ = 0;
target_ = null;
onChanged();
}
return this;
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public java.lang.String getDown() {
java.lang.Object ref = "";
if (targetCase_ == 3) {
ref = target_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (targetCase_ == 3) {
target_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public com.google.protobuf.ByteString
getDownBytes() {
java.lang.Object ref = "";
if (targetCase_ == 3) {
ref = target_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (targetCase_ == 3) {
target_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public Builder setDown(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
targetCase_ = 3;
target_ = value;
onChanged();
return this;
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public Builder clearDown() {
if (targetCase_ == 3) {
targetCase_ = 0;
target_ = null;
onChanged();
}
return this;
}
/**
*
* Moves the working directory down into the given directory
*
*
* string down = 3;
*/
public Builder setDownBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
targetCase_ = 3;
target_ = value;
onChanged();
return this;
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public java.lang.String getAbsolute() {
java.lang.Object ref = "";
if (targetCase_ == 4) {
ref = target_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (targetCase_ == 4) {
target_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public com.google.protobuf.ByteString
getAbsoluteBytes() {
java.lang.Object ref = "";
if (targetCase_ == 4) {
ref = target_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (targetCase_ == 4) {
target_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public Builder setAbsolute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
targetCase_ = 4;
target_ = value;
onChanged();
return this;
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public Builder clearAbsolute() {
if (targetCase_ == 4) {
targetCase_ = 0;
target_ = null;
onChanged();
}
return this;
}
/**
*
* Moves the working directory to the given path
*
*
* string absolute = 4;
*/
public Builder setAbsoluteBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
targetCase_ = 4;
target_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RQ_FileListing)
}
// @@protoc_insertion_point(class_scope:net.RQ_FileListing)
private static final com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RQ_FileListing parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RQ_FileListing(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileListing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RS_FileListingOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RS_FileListing)
com.google.protobuf.MessageOrBuilder {
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
java.lang.String getPath();
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
java.util.List
getListingList();
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index);
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
int getListingCount();
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList();
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index);
}
/**
*
**
* Response to a directory listing request.
*
*
* Protobuf type {@code net.RS_FileListing}
*/
public static final class RS_FileListing extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RS_FileListing)
RS_FileListingOrBuilder {
private static final long serialVersionUID = 0L;
// Use RS_FileListing.newBuilder() to construct.
private RS_FileListing(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RS_FileListing() {
path_ = "";
listing_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RS_FileListing();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RS_FileListing(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
listing_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
listing_.add(
input.readMessage(com.sandpolis.plugin.filesys.net.Filesys.FileListlet.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
listing_ = java.util.Collections.unmodifiableList(listing_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.Builder.class);
}
public static final int PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object path_;
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LISTING_FIELD_NUMBER = 2;
private java.util.List listing_;
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public java.util.List getListingList() {
return listing_;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList() {
return listing_;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public int getListingCount() {
return listing_.size();
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index) {
return listing_.get(index);
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index) {
return listing_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
}
for (int i = 0; i < listing_.size(); i++) {
output.writeMessage(2, listing_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
}
for (int i = 0; i < listing_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, listing_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing other = (com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing) obj;
if (!getPath()
.equals(other.getPath())) return false;
if (!getListingList()
.equals(other.getListingList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
if (getListingCount() > 0) {
hash = (37 * hash) + LISTING_FIELD_NUMBER;
hash = (53 * hash) + getListingList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Response to a directory listing request.
*
*
* Protobuf type {@code net.RS_FileListing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RS_FileListing)
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileListing_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileListing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getListingFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
path_ = "";
if (listingBuilder_ == null) {
listing_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
listingBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileListing_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing build() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing result = new com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing(this);
int from_bitField0_ = bitField0_;
result.path_ = path_;
if (listingBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
listing_ = java.util.Collections.unmodifiableList(listing_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.listing_ = listing_;
} else {
result.listing_ = listingBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing.getDefaultInstance()) return this;
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (listingBuilder_ == null) {
if (!other.listing_.isEmpty()) {
if (listing_.isEmpty()) {
listing_ = other.listing_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureListingIsMutable();
listing_.addAll(other.listing_);
}
onChanged();
}
} else {
if (!other.listing_.isEmpty()) {
if (listingBuilder_.isEmpty()) {
listingBuilder_.dispose();
listingBuilder_ = null;
listing_ = other.listing_;
bitField0_ = (bitField0_ & ~0x00000001);
listingBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getListingFieldBuilder() : null;
} else {
listingBuilder_.addAllMessages(other.listing_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object path_ = "";
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
*
* The directory's absolute path
*
*
* string path = 1;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private java.util.List listing_ =
java.util.Collections.emptyList();
private void ensureListingIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
listing_ = new java.util.ArrayList(listing_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder> listingBuilder_;
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public java.util.List getListingList() {
if (listingBuilder_ == null) {
return java.util.Collections.unmodifiableList(listing_);
} else {
return listingBuilder_.getMessageList();
}
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public int getListingCount() {
if (listingBuilder_ == null) {
return listing_.size();
} else {
return listingBuilder_.getCount();
}
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet getListing(int index) {
if (listingBuilder_ == null) {
return listing_.get(index);
} else {
return listingBuilder_.getMessage(index);
}
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder setListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.set(index, value);
onChanged();
} else {
listingBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder setListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.set(index, builderForValue.build());
onChanged();
} else {
listingBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder addListing(com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.add(value);
onChanged();
} else {
listingBuilder_.addMessage(value);
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder addListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet value) {
if (listingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureListingIsMutable();
listing_.add(index, value);
onChanged();
} else {
listingBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder addListing(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.add(builderForValue.build());
onChanged();
} else {
listingBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder addListing(
int index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder builderForValue) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.add(index, builderForValue.build());
onChanged();
} else {
listingBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder addAllListing(
java.lang.Iterable extends com.sandpolis.plugin.filesys.net.Filesys.FileListlet> values) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, listing_);
onChanged();
} else {
listingBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder clearListing() {
if (listingBuilder_ == null) {
listing_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
listingBuilder_.clear();
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public Builder removeListing(int index) {
if (listingBuilder_ == null) {
ensureListingIsMutable();
listing_.remove(index);
onChanged();
} else {
listingBuilder_.remove(index);
}
return this;
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder getListingBuilder(
int index) {
return getListingFieldBuilder().getBuilder(index);
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder getListingOrBuilder(
int index) {
if (listingBuilder_ == null) {
return listing_.get(index); } else {
return listingBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public java.util.List extends com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingOrBuilderList() {
if (listingBuilder_ != null) {
return listingBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(listing_);
}
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder addListingBuilder() {
return getListingFieldBuilder().addBuilder(
com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance());
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder addListingBuilder(
int index) {
return getListingFieldBuilder().addBuilder(
index, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.getDefaultInstance());
}
/**
*
* The directory listing
*
*
* repeated .net.FileListlet listing = 2;
*/
public java.util.List
getListingBuilderList() {
return getListingFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>
getListingFieldBuilder() {
if (listingBuilder_ == null) {
listingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FileListlet, com.sandpolis.plugin.filesys.net.Filesys.FileListlet.Builder, com.sandpolis.plugin.filesys.net.Filesys.FileListletOrBuilder>(
listing_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
listing_ = null;
}
return listingBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RS_FileListing)
}
// @@protoc_insertion_point(class_scope:net.RS_FileListing)
private static final com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RS_FileListing parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RS_FileListing(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileListing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RQ_FileInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RQ_FileInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* An absolute path
*
*
* string file = 1;
*/
java.lang.String getFile();
/**
*
* An absolute path
*
*
* string file = 1;
*/
com.google.protobuf.ByteString
getFileBytes();
}
/**
*
**
* Request for detailed file information.
*
*
* Protobuf type {@code net.RQ_FileInfo}
*/
public static final class RQ_FileInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RQ_FileInfo)
RQ_FileInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RQ_FileInfo.newBuilder() to construct.
private RQ_FileInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RQ_FileInfo() {
file_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RQ_FileInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RQ_FileInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
file_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.Builder.class);
}
public static final int FILE_FIELD_NUMBER = 1;
private volatile java.lang.Object file_;
/**
*
* An absolute path
*
*
* string file = 1;
*/
public java.lang.String getFile() {
java.lang.Object ref = file_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
file_ = s;
return s;
}
}
/**
*
* An absolute path
*
*
* string file = 1;
*/
public com.google.protobuf.ByteString
getFileBytes() {
java.lang.Object ref = file_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
file_ = b;
return b;
} else {
return (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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFileBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFileBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo other = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo) obj;
if (!getFile()
.equals(other.getFile())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FILE_FIELD_NUMBER;
hash = (53 * hash) + getFile().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request for detailed file information.
*
*
* Protobuf type {@code net.RQ_FileInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RQ_FileInfo)
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
file_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileInfo_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo build() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo result = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo(this);
result.file_ = file_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo.getDefaultInstance()) return this;
if (!other.getFile().isEmpty()) {
file_ = other.file_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object file_ = "";
/**
*
* An absolute path
*
*
* string file = 1;
*/
public java.lang.String getFile() {
java.lang.Object ref = file_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
file_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* An absolute path
*
*
* string file = 1;
*/
public com.google.protobuf.ByteString
getFileBytes() {
java.lang.Object ref = file_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
file_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* An absolute path
*
*
* string file = 1;
*/
public Builder setFile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
file_ = value;
onChanged();
return this;
}
/**
*
* An absolute path
*
*
* string file = 1;
*/
public Builder clearFile() {
file_ = getDefaultInstance().getFile();
onChanged();
return this;
}
/**
*
* An absolute path
*
*
* string file = 1;
*/
public Builder setFileBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
file_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RQ_FileInfo)
}
// @@protoc_insertion_point(class_scope:net.RQ_FileInfo)
private static final com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RQ_FileInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RQ_FileInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RS_FileInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RS_FileInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* The file's icon on the local platform
*
*
* bytes local_icon = 1;
*/
com.google.protobuf.ByteString getLocalIcon();
/**
*
* The file's location
*
*
* string path = 2;
*/
java.lang.String getPath();
/**
*
* The file's location
*
*
* string path = 2;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* The file's name
*
*
* string name = 3;
*/
java.lang.String getName();
/**
*
* The file's name
*
*
* string name = 3;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The file's creation time
*
*
* int64 ctime = 4;
*/
long getCtime();
/**
*
* The file's modification time
*
*
* int64 mtime = 5;
*/
long getMtime();
/**
*
* The file's access time
*
*
* int64 atime = 6;
*/
long getAtime();
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 7;
*/
long getSize();
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
java.lang.String getMime();
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
com.google.protobuf.ByteString
getMimeBytes();
}
/**
*
**
* Response to a file info request.
*
*
* Protobuf type {@code net.RS_FileInfo}
*/
public static final class RS_FileInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RS_FileInfo)
RS_FileInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RS_FileInfo.newBuilder() to construct.
private RS_FileInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RS_FileInfo() {
localIcon_ = com.google.protobuf.ByteString.EMPTY;
path_ = "";
name_ = "";
mime_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RS_FileInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RS_FileInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
localIcon_ = input.readBytes();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 32: {
ctime_ = input.readInt64();
break;
}
case 40: {
mtime_ = input.readInt64();
break;
}
case 48: {
atime_ = input.readInt64();
break;
}
case 56: {
size_ = input.readInt64();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
mime_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.Builder.class);
}
public static final int LOCAL_ICON_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString localIcon_;
/**
*
* The file's icon on the local platform
*
*
* bytes local_icon = 1;
*/
public com.google.protobuf.ByteString getLocalIcon() {
return localIcon_;
}
public static final int PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object path_;
/**
*
* The file's location
*
*
* string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
*
* The file's location
*
*
* string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* The file's name
*
*
* string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The file's name
*
*
* string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CTIME_FIELD_NUMBER = 4;
private long ctime_;
/**
*
* The file's creation time
*
*
* int64 ctime = 4;
*/
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 5;
private long mtime_;
/**
*
* The file's modification time
*
*
* int64 mtime = 5;
*/
public long getMtime() {
return mtime_;
}
public static final int ATIME_FIELD_NUMBER = 6;
private long atime_;
/**
*
* The file's access time
*
*
* int64 atime = 6;
*/
public long getAtime() {
return atime_;
}
public static final int SIZE_FIELD_NUMBER = 7;
private long size_;
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 7;
*/
public long getSize() {
return size_;
}
public static final int MIME_FIELD_NUMBER = 8;
private volatile java.lang.Object mime_;
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public java.lang.String getMime() {
java.lang.Object ref = mime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mime_ = s;
return s;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public com.google.protobuf.ByteString
getMimeBytes() {
java.lang.Object ref = mime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mime_ = b;
return b;
} else {
return (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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!localIcon_.isEmpty()) {
output.writeBytes(1, localIcon_);
}
if (!getPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (ctime_ != 0L) {
output.writeInt64(4, ctime_);
}
if (mtime_ != 0L) {
output.writeInt64(5, mtime_);
}
if (atime_ != 0L) {
output.writeInt64(6, atime_);
}
if (size_ != 0L) {
output.writeInt64(7, size_);
}
if (!getMimeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mime_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!localIcon_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, localIcon_);
}
if (!getPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (ctime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, ctime_);
}
if (mtime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, mtime_);
}
if (atime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, atime_);
}
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, size_);
}
if (!getMimeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo other = (com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo) obj;
if (!getLocalIcon()
.equals(other.getLocalIcon())) return false;
if (!getPath()
.equals(other.getPath())) return false;
if (!getName()
.equals(other.getName())) return false;
if (getCtime()
!= other.getCtime()) return false;
if (getMtime()
!= other.getMtime()) return false;
if (getAtime()
!= other.getAtime()) return false;
if (getSize()
!= other.getSize()) return false;
if (!getMime()
.equals(other.getMime())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LOCAL_ICON_FIELD_NUMBER;
hash = (53 * hash) + getLocalIcon().hashCode();
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
hash = (37 * hash) + ATIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAtime());
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
hash = (37 * hash) + MIME_FIELD_NUMBER;
hash = (53 * hash) + getMime().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Response to a file info request.
*
*
* Protobuf type {@code net.RS_FileInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RS_FileInfo)
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
localIcon_ = com.google.protobuf.ByteString.EMPTY;
path_ = "";
name_ = "";
ctime_ = 0L;
mtime_ = 0L;
atime_ = 0L;
size_ = 0L;
mime_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FileInfo_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo build() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo result = new com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo(this);
result.localIcon_ = localIcon_;
result.path_ = path_;
result.name_ = name_;
result.ctime_ = ctime_;
result.mtime_ = mtime_;
result.atime_ = atime_;
result.size_ = size_;
result.mime_ = mime_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo.getDefaultInstance()) return this;
if (other.getLocalIcon() != com.google.protobuf.ByteString.EMPTY) {
setLocalIcon(other.getLocalIcon());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getCtime() != 0L) {
setCtime(other.getCtime());
}
if (other.getMtime() != 0L) {
setMtime(other.getMtime());
}
if (other.getAtime() != 0L) {
setAtime(other.getAtime());
}
if (other.getSize() != 0L) {
setSize(other.getSize());
}
if (!other.getMime().isEmpty()) {
mime_ = other.mime_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString localIcon_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The file's icon on the local platform
*
*
* bytes local_icon = 1;
*/
public com.google.protobuf.ByteString getLocalIcon() {
return localIcon_;
}
/**
*
* The file's icon on the local platform
*
*
* bytes local_icon = 1;
*/
public Builder setLocalIcon(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
localIcon_ = value;
onChanged();
return this;
}
/**
*
* The file's icon on the local platform
*
*
* bytes local_icon = 1;
*/
public Builder clearLocalIcon() {
localIcon_ = getDefaultInstance().getLocalIcon();
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
*
* The file's location
*
*
* string path = 2;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The file's location
*
*
* string path = 2;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The file's location
*
*
* string path = 2;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
*
* The file's location
*
*
* string path = 2;
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
*
* The file's location
*
*
* string path = 2;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* The file's name
*
*
* string name = 3;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The file's name
*
*
* string name = 3;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The file's name
*
*
* string name = 3;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* The file's name
*
*
* string name = 3;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* The file's name
*
*
* string name = 3;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private long ctime_ ;
/**
*
* The file's creation time
*
*
* int64 ctime = 4;
*/
public long getCtime() {
return ctime_;
}
/**
*
* The file's creation time
*
*
* int64 ctime = 4;
*/
public Builder setCtime(long value) {
ctime_ = value;
onChanged();
return this;
}
/**
*
* The file's creation time
*
*
* int64 ctime = 4;
*/
public Builder clearCtime() {
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
*
* The file's modification time
*
*
* int64 mtime = 5;
*/
public long getMtime() {
return mtime_;
}
/**
*
* The file's modification time
*
*
* int64 mtime = 5;
*/
public Builder setMtime(long value) {
mtime_ = value;
onChanged();
return this;
}
/**
*
* The file's modification time
*
*
* int64 mtime = 5;
*/
public Builder clearMtime() {
mtime_ = 0L;
onChanged();
return this;
}
private long atime_ ;
/**
*
* The file's access time
*
*
* int64 atime = 6;
*/
public long getAtime() {
return atime_;
}
/**
*
* The file's access time
*
*
* int64 atime = 6;
*/
public Builder setAtime(long value) {
atime_ = value;
onChanged();
return this;
}
/**
*
* The file's access time
*
*
* int64 atime = 6;
*/
public Builder clearAtime() {
atime_ = 0L;
onChanged();
return this;
}
private long size_ ;
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 7;
*/
public long getSize() {
return size_;
}
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 7;
*/
public Builder setSize(long value) {
size_ = value;
onChanged();
return this;
}
/**
*
* The file's size in bytes or number of elements if directory
*
*
* int64 size = 7;
*/
public Builder clearSize() {
size_ = 0L;
onChanged();
return this;
}
private java.lang.Object mime_ = "";
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public java.lang.String getMime() {
java.lang.Object ref = mime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public com.google.protobuf.ByteString
getMimeBytes() {
java.lang.Object ref = mime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public Builder setMime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mime_ = value;
onChanged();
return this;
}
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public Builder clearMime() {
mime_ = getDefaultInstance().getMime();
onChanged();
return this;
}
/**
*
* The file's MIME type
*
*
* string mime = 8;
*/
public Builder setMimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mime_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RS_FileInfo)
}
// @@protoc_insertion_point(class_scope:net.RS_FileInfo)
private static final com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RS_FileInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RS_FileInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FileInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RQ_FileDeleteOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RQ_FileDelete)
com.google.protobuf.MessageOrBuilder {
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
java.util.List
getTargetList();
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
int getTargetCount();
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
java.lang.String getTarget(int index);
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
com.google.protobuf.ByteString
getTargetBytes(int index);
}
/**
*
**
* Request for one or more files to be deleted.
*
*
* Protobuf type {@code net.RQ_FileDelete}
*/
public static final class RQ_FileDelete extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RQ_FileDelete)
RQ_FileDeleteOrBuilder {
private static final long serialVersionUID = 0L;
// Use RQ_FileDelete.newBuilder() to construct.
private RQ_FileDelete(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RQ_FileDelete() {
target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RQ_FileDelete();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RQ_FileDelete(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
target_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
target_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
target_ = target_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileDelete_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileDelete_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.Builder.class);
}
public static final int TARGET_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList target_;
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public com.google.protobuf.ProtocolStringList
getTargetList() {
return target_;
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public int getTargetCount() {
return target_.size();
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public java.lang.String getTarget(int index) {
return target_.get(index);
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public com.google.protobuf.ByteString
getTargetBytes(int index) {
return target_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < target_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, target_.getRaw(i));
}
unknownFields.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 < target_.size(); i++) {
dataSize += computeStringSizeNoTag(target_.getRaw(i));
}
size += dataSize;
size += 1 * getTargetList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete other = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete) obj;
if (!getTargetList()
.equals(other.getTargetList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTargetCount() > 0) {
hash = (37 * hash) + TARGET_FIELD_NUMBER;
hash = (53 * hash) + getTargetList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request for one or more files to be deleted.
*
*
* Protobuf type {@code net.RQ_FileDelete}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RQ_FileDelete)
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDeleteOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileDelete_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileDelete_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FileDelete_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete build() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete result = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
target_ = target_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.target_ = target_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete.getDefaultInstance()) return this;
if (!other.target_.isEmpty()) {
if (target_.isEmpty()) {
target_ = other.target_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTargetIsMutable();
target_.addAll(other.target_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTargetIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
target_ = new com.google.protobuf.LazyStringArrayList(target_);
bitField0_ |= 0x00000001;
}
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public com.google.protobuf.ProtocolStringList
getTargetList() {
return target_.getUnmodifiableView();
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public int getTargetCount() {
return target_.size();
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public java.lang.String getTarget(int index) {
return target_.get(index);
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public com.google.protobuf.ByteString
getTargetBytes(int index) {
return target_.getByteString(index);
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public Builder setTarget(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTargetIsMutable();
target_.set(index, value);
onChanged();
return this;
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public Builder addTarget(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTargetIsMutable();
target_.add(value);
onChanged();
return this;
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public Builder addAllTarget(
java.lang.Iterable values) {
ensureTargetIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, target_);
onChanged();
return this;
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public Builder clearTarget() {
target_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* A list of absolute paths to delete
*
*
* repeated string target = 1;
*/
public Builder addTargetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTargetIsMutable();
target_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RQ_FileDelete)
}
// @@protoc_insertion_point(class_scope:net.RQ_FileDelete)
private static final com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RQ_FileDelete parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RQ_FileDelete(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FileDelete getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RQ_FsHandleOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RQ_FsHandle)
com.google.protobuf.MessageOrBuilder {
/**
* .net.FsHandleOptions options = 1;
*/
boolean hasOptions();
/**
* .net.FsHandleOptions options = 1;
*/
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getOptions();
/**
* .net.FsHandleOptions options = 1;
*/
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder getOptionsOrBuilder();
}
/**
*
**
* Request to open a new filesystem handle.
*
*
* Protobuf type {@code net.RQ_FsHandle}
*/
public static final class RQ_FsHandle extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RQ_FsHandle)
RQ_FsHandleOrBuilder {
private static final long serialVersionUID = 0L;
// Use RQ_FsHandle.newBuilder() to construct.
private RQ_FsHandle(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RQ_FsHandle() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RQ_FsHandle();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RQ_FsHandle(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder subBuilder = null;
if (options_ != null) {
subBuilder = options_.toBuilder();
}
options_ = input.readMessage(com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(options_);
options_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.Builder.class);
}
public static final int OPTIONS_FIELD_NUMBER = 1;
private com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions options_;
/**
* .net.FsHandleOptions options = 1;
*/
public boolean hasOptions() {
return options_ != null;
}
/**
* .net.FsHandleOptions options = 1;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getOptions() {
return options_ == null ? com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.getDefaultInstance() : options_;
}
/**
* .net.FsHandleOptions options = 1;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder getOptionsOrBuilder() {
return getOptions();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (options_ != null) {
output.writeMessage(1, getOptions());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (options_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle other = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle) obj;
if (hasOptions() != other.hasOptions()) return false;
if (hasOptions()) {
if (!getOptions()
.equals(other.getOptions())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request to open a new filesystem handle.
*
*
* Protobuf type {@code net.RQ_FsHandle}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RQ_FsHandle)
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (optionsBuilder_ == null) {
options_ = null;
} else {
options_ = null;
optionsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_FsHandle_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle build() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle result = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle(this);
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle.getDefaultInstance()) return this;
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions options_;
private com.google.protobuf.SingleFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder> optionsBuilder_;
/**
* .net.FsHandleOptions options = 1;
*/
public boolean hasOptions() {
return optionsBuilder_ != null || options_ != null;
}
/**
* .net.FsHandleOptions options = 1;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* .net.FsHandleOptions options = 1;
*/
public Builder setOptions(com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
return this;
}
/**
* .net.FsHandleOptions options = 1;
*/
public Builder setOptions(
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .net.FsHandleOptions options = 1;
*/
public Builder mergeOptions(com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions value) {
if (optionsBuilder_ == null) {
if (options_ != null) {
options_ =
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .net.FsHandleOptions options = 1;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
options_ = null;
optionsBuilder_ = null;
}
return this;
}
/**
* .net.FsHandleOptions options = 1;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder getOptionsBuilder() {
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* .net.FsHandleOptions options = 1;
*/
public com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.getDefaultInstance() : options_;
}
}
/**
* .net.FsHandleOptions options = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptions.Builder, com.sandpolis.plugin.filesys.net.Filesys.FsHandleOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RQ_FsHandle)
}
// @@protoc_insertion_point(class_scope:net.RQ_FsHandle)
private static final com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RQ_FsHandle parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RQ_FsHandle(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_FsHandle getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RS_FsHandleOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RS_FsHandle)
com.google.protobuf.MessageOrBuilder {
/**
*
* The filesystem handle's ID
*
*
* int32 fmid = 1;
*/
int getFmid();
}
/**
*
**
* Response to a handle request.
*
*
* Protobuf type {@code net.RS_FsHandle}
*/
public static final class RS_FsHandle extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RS_FsHandle)
RS_FsHandleOrBuilder {
private static final long serialVersionUID = 0L;
// Use RS_FsHandle.newBuilder() to construct.
private RS_FsHandle(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RS_FsHandle() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RS_FsHandle();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RS_FsHandle(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fmid_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.Builder.class);
}
public static final int FMID_FIELD_NUMBER = 1;
private int fmid_;
/**
*
* The filesystem handle's ID
*
*
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fmid_ != 0) {
output.writeInt32(1, fmid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fmid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, fmid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle other = (com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle) obj;
if (getFmid()
!= other.getFmid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FMID_FIELD_NUMBER;
hash = (53 * hash) + getFmid();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Response to a handle request.
*
*
* Protobuf type {@code net.RS_FsHandle}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RS_FsHandle)
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fmid_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RS_FsHandle_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle build() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle result = new com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle(this);
result.fmid_ = fmid_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle.getDefaultInstance()) return this;
if (other.getFmid() != 0) {
setFmid(other.getFmid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fmid_ ;
/**
*
* The filesystem handle's ID
*
*
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
/**
*
* The filesystem handle's ID
*
*
* int32 fmid = 1;
*/
public Builder setFmid(int value) {
fmid_ = value;
onChanged();
return this;
}
/**
*
* The filesystem handle's ID
*
*
* int32 fmid = 1;
*/
public Builder clearFmid() {
fmid_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RS_FsHandle)
}
// @@protoc_insertion_point(class_scope:net.RS_FsHandle)
private static final com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RS_FsHandle parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RS_FsHandle(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RS_FsHandle getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RQ_CloseFsHandleOrBuilder extends
// @@protoc_insertion_point(interface_extends:net.RQ_CloseFsHandle)
com.google.protobuf.MessageOrBuilder {
/**
*
* The filesystem handle to close
*
*
* int32 fmid = 1;
*/
int getFmid();
}
/**
*
**
* Request to close the given handle.
*
*
* Protobuf type {@code net.RQ_CloseFsHandle}
*/
public static final class RQ_CloseFsHandle extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:net.RQ_CloseFsHandle)
RQ_CloseFsHandleOrBuilder {
private static final long serialVersionUID = 0L;
// Use RQ_CloseFsHandle.newBuilder() to construct.
private RQ_CloseFsHandle(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RQ_CloseFsHandle() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RQ_CloseFsHandle();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RQ_CloseFsHandle(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fmid_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_CloseFsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_CloseFsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.Builder.class);
}
public static final int FMID_FIELD_NUMBER = 1;
private int fmid_;
/**
*
* The filesystem handle to close
*
*
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (fmid_ != 0) {
output.writeInt32(1, fmid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fmid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, fmid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle)) {
return super.equals(obj);
}
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle other = (com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle) obj;
if (getFmid()
!= other.getFmid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FMID_FIELD_NUMBER;
hash = (53 * hash) + getFmid();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request to close the given handle.
*
*
* Protobuf type {@code net.RQ_CloseFsHandle}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:net.RQ_CloseFsHandle)
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_CloseFsHandle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_CloseFsHandle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.class, com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.Builder.class);
}
// Construct using com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fmid_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.sandpolis.plugin.filesys.net.Filesys.internal_static_net_RQ_CloseFsHandle_descriptor;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle getDefaultInstanceForType() {
return com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.getDefaultInstance();
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle build() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle buildPartial() {
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle result = new com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle(this);
result.fmid_ = fmid_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle) {
return mergeFrom((com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle other) {
if (other == com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle.getDefaultInstance()) return this;
if (other.getFmid() != 0) {
setFmid(other.getFmid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int fmid_ ;
/**
*
* The filesystem handle to close
*
*
* int32 fmid = 1;
*/
public int getFmid() {
return fmid_;
}
/**
*
* The filesystem handle to close
*
*
* int32 fmid = 1;
*/
public Builder setFmid(int value) {
fmid_ = value;
onChanged();
return this;
}
/**
*
* The filesystem handle to close
*
*
* int32 fmid = 1;
*/
public Builder clearFmid() {
fmid_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:net.RQ_CloseFsHandle)
}
// @@protoc_insertion_point(class_scope:net.RQ_CloseFsHandle)
private static final com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle();
}
public static com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RQ_CloseFsHandle parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RQ_CloseFsHandle(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.sandpolis.plugin.filesys.net.Filesys.RQ_CloseFsHandle getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_FsHandleOptions_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_FsHandleOptions_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_FileListlet_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_FileListlet_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_EV_FileListing_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_EV_FileListing_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RQ_FileListing_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RQ_FileListing_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RS_FileListing_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RS_FileListing_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RQ_FileInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RQ_FileInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RS_FileInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RS_FileInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RQ_FileDelete_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RQ_FileDelete_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RQ_FsHandle_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RQ_FsHandle_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RS_FsHandle_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RS_FsHandle_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_net_RQ_CloseFsHandle_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_net_RQ_CloseFsHandle_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n.com/sandpolis/plugin/filesys/net/Files" +
"ys.proto\022\003net\"i\n\017FsHandleOptions\022\014\n\004size" +
"\030\001 \001(\010\022\r\n\005ctime\030\002 \001(\010\022\r\n\005mtime\030\003 \001(\010\022\r\n\005" +
"atime\030\004 \001(\010\022\014\n\004mime\030\005 \001(\010\022\r\n\005owner\030\006 \001(\010" +
"\"\373\001\n\013FileListlet\022\021\n\tdirectory\030\001 \001(\010\022\014\n\004n" +
"ame\030\002 \001(\t\022\r\n\005ctime\030\003 \001(\003\022\r\n\005mtime\030\004 \001(\003\022" +
"\r\n\005atime\030\005 \001(\003\022\014\n\004size\030\006 \001(\003\022\014\n\004mime\030\007 \001" +
"(\t\0220\n\013update_type\030\010 \001(\0162\033.net.FileListle" +
"t.UpdateType\"P\n\nUpdateType\022\020\n\014ENTRY_CREA" +
"TE\020\000\022\020\n\014ENTRY_DELETE\020\001\022\020\n\014ENTRY_MODIFY\020\002" +
"\022\014\n\010OVERFLOW\020\003\"O\n\016EV_FileListing\022\014\n\004fmid" +
"\030\001 \001(\005\022\014\n\004path\030\002 \001(\t\022!\n\007listing\030\003 \003(\0132\020." +
"net.FileListlet\"Z\n\016RQ_FileListing\022\014\n\004fmi" +
"d\030\001 \001(\005\022\014\n\002up\030\002 \001(\010H\000\022\016\n\004down\030\003 \001(\tH\000\022\022\n" +
"\010absolute\030\004 \001(\tH\000B\010\n\006target\"A\n\016RS_FileLi" +
"sting\022\014\n\004path\030\001 \001(\t\022!\n\007listing\030\002 \003(\0132\020.n" +
"et.FileListlet\"\033\n\013RQ_FileInfo\022\014\n\004file\030\001 " +
"\001(\t\"\206\001\n\013RS_FileInfo\022\022\n\nlocal_icon\030\001 \001(\014\022" +
"\014\n\004path\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\r\n\005ctime\030\004 \001" +
"(\003\022\r\n\005mtime\030\005 \001(\003\022\r\n\005atime\030\006 \001(\003\022\014\n\004size" +
"\030\007 \001(\003\022\014\n\004mime\030\010 \001(\t\"\037\n\rRQ_FileDelete\022\016\n" +
"\006target\030\001 \003(\t\"4\n\013RQ_FsHandle\022%\n\007options\030" +
"\001 \001(\0132\024.net.FsHandleOptions\"\033\n\013RS_FsHand" +
"le\022\014\n\004fmid\030\001 \001(\005\" \n\020RQ_CloseFsHandle\022\014\n\004" +
"fmid\030\001 \001(\005B\"\n com.sandpolis.plugin.files" +
"ys.netb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_net_FsHandleOptions_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_net_FsHandleOptions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_FsHandleOptions_descriptor,
new java.lang.String[] { "Size", "Ctime", "Mtime", "Atime", "Mime", "Owner", });
internal_static_net_FileListlet_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_net_FileListlet_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_FileListlet_descriptor,
new java.lang.String[] { "Directory", "Name", "Ctime", "Mtime", "Atime", "Size", "Mime", "UpdateType", });
internal_static_net_EV_FileListing_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_net_EV_FileListing_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_EV_FileListing_descriptor,
new java.lang.String[] { "Fmid", "Path", "Listing", });
internal_static_net_RQ_FileListing_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_net_RQ_FileListing_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RQ_FileListing_descriptor,
new java.lang.String[] { "Fmid", "Up", "Down", "Absolute", "Target", });
internal_static_net_RS_FileListing_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_net_RS_FileListing_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RS_FileListing_descriptor,
new java.lang.String[] { "Path", "Listing", });
internal_static_net_RQ_FileInfo_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_net_RQ_FileInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RQ_FileInfo_descriptor,
new java.lang.String[] { "File", });
internal_static_net_RS_FileInfo_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_net_RS_FileInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RS_FileInfo_descriptor,
new java.lang.String[] { "LocalIcon", "Path", "Name", "Ctime", "Mtime", "Atime", "Size", "Mime", });
internal_static_net_RQ_FileDelete_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_net_RQ_FileDelete_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RQ_FileDelete_descriptor,
new java.lang.String[] { "Target", });
internal_static_net_RQ_FsHandle_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_net_RQ_FsHandle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RQ_FsHandle_descriptor,
new java.lang.String[] { "Options", });
internal_static_net_RS_FsHandle_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_net_RS_FsHandle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RS_FsHandle_descriptor,
new java.lang.String[] { "Fmid", });
internal_static_net_RQ_CloseFsHandle_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_net_RQ_CloseFsHandle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_net_RQ_CloseFsHandle_descriptor,
new java.lang.String[] { "Fmid", });
}
// @@protoc_insertion_point(outer_class_scope)
}