cz.proto.StorageLocationOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: storage_location.proto
package cz.proto;
public final class StorageLocationOuterClass {
private StorageLocationOuterClass() {}
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 FileSystemLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.FileSystemLocation)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return Whether the fileFormat field is set.
*/
boolean hasFileFormat();
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return The fileFormat.
*/
cz.proto.ObjectIdentifier getFileFormat();
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
cz.proto.ObjectIdentifierOrBuilder getFileFormatOrBuilder();
}
/**
*
* Contains settings specific for locations based on file system like systems
* (file system, HDFS, S3, etc.), conceptually it is a subclass of StorageLocation,
* and it shall always be used as embedded in StorageLocation
*
*
* Protobuf type {@code cz.proto.FileSystemLocation}
*/
public static final class FileSystemLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.FileSystemLocation)
FileSystemLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileSystemLocation.newBuilder() to construct.
private FileSystemLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileSystemLocation() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FileSystemLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileSystemLocation(
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: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (fileFormat_ != null) {
subBuilder = fileFormat_.toBuilder();
}
fileFormat_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fileFormat_);
fileFormat_ = 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 cz.proto.StorageLocationOuterClass.internal_static_cz_proto_FileSystemLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_FileSystemLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.FileSystemLocation.class, cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder.class);
}
public static final int FILE_FORMAT_FIELD_NUMBER = 1;
private cz.proto.ObjectIdentifier fileFormat_;
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return Whether the fileFormat field is set.
*/
@java.lang.Override
public boolean hasFileFormat() {
return fileFormat_ != null;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return The fileFormat.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getFileFormat() {
return fileFormat_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : fileFormat_;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getFileFormatOrBuilder() {
return getFileFormat();
}
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 (fileFormat_ != null) {
output.writeMessage(1, getFileFormat());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fileFormat_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getFileFormat());
}
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 cz.proto.StorageLocationOuterClass.FileSystemLocation)) {
return super.equals(obj);
}
cz.proto.StorageLocationOuterClass.FileSystemLocation other = (cz.proto.StorageLocationOuterClass.FileSystemLocation) obj;
if (hasFileFormat() != other.hasFileFormat()) return false;
if (hasFileFormat()) {
if (!getFileFormat()
.equals(other.getFileFormat())) 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 (hasFileFormat()) {
hash = (37 * hash) + FILE_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFileFormat().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation 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 cz.proto.StorageLocationOuterClass.FileSystemLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation 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 cz.proto.StorageLocationOuterClass.FileSystemLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation 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(cz.proto.StorageLocationOuterClass.FileSystemLocation 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;
}
/**
*
* Contains settings specific for locations based on file system like systems
* (file system, HDFS, S3, etc.), conceptually it is a subclass of StorageLocation,
* and it shall always be used as embedded in StorageLocation
*
*
* Protobuf type {@code cz.proto.FileSystemLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.FileSystemLocation)
cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_FileSystemLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_FileSystemLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.FileSystemLocation.class, cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder.class);
}
// Construct using cz.proto.StorageLocationOuterClass.FileSystemLocation.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 (fileFormatBuilder_ == null) {
fileFormat_ = null;
} else {
fileFormat_ = null;
fileFormatBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_FileSystemLocation_descriptor;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocation getDefaultInstanceForType() {
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocation build() {
cz.proto.StorageLocationOuterClass.FileSystemLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocation buildPartial() {
cz.proto.StorageLocationOuterClass.FileSystemLocation result = new cz.proto.StorageLocationOuterClass.FileSystemLocation(this);
if (fileFormatBuilder_ == null) {
result.fileFormat_ = fileFormat_;
} else {
result.fileFormat_ = fileFormatBuilder_.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 cz.proto.StorageLocationOuterClass.FileSystemLocation) {
return mergeFrom((cz.proto.StorageLocationOuterClass.FileSystemLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StorageLocationOuterClass.FileSystemLocation other) {
if (other == cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance()) return this;
if (other.hasFileFormat()) {
mergeFileFormat(other.getFileFormat());
}
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 {
cz.proto.StorageLocationOuterClass.FileSystemLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StorageLocationOuterClass.FileSystemLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.ObjectIdentifier fileFormat_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> fileFormatBuilder_;
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return Whether the fileFormat field is set.
*/
public boolean hasFileFormat() {
return fileFormatBuilder_ != null || fileFormat_ != null;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
* @return The fileFormat.
*/
public cz.proto.ObjectIdentifier getFileFormat() {
if (fileFormatBuilder_ == null) {
return fileFormat_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : fileFormat_;
} else {
return fileFormatBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public Builder setFileFormat(cz.proto.ObjectIdentifier value) {
if (fileFormatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileFormat_ = value;
onChanged();
} else {
fileFormatBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public Builder setFileFormat(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (fileFormatBuilder_ == null) {
fileFormat_ = builderForValue.build();
onChanged();
} else {
fileFormatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public Builder mergeFileFormat(cz.proto.ObjectIdentifier value) {
if (fileFormatBuilder_ == null) {
if (fileFormat_ != null) {
fileFormat_ =
cz.proto.ObjectIdentifier.newBuilder(fileFormat_).mergeFrom(value).buildPartial();
} else {
fileFormat_ = value;
}
onChanged();
} else {
fileFormatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public Builder clearFileFormat() {
if (fileFormatBuilder_ == null) {
fileFormat_ = null;
onChanged();
} else {
fileFormat_ = null;
fileFormatBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public cz.proto.ObjectIdentifier.Builder getFileFormatBuilder() {
onChanged();
return getFileFormatFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
public cz.proto.ObjectIdentifierOrBuilder getFileFormatOrBuilder() {
if (fileFormatBuilder_ != null) {
return fileFormatBuilder_.getMessageOrBuilder();
} else {
return fileFormat_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : fileFormat_;
}
}
/**
* .cz.proto.ObjectIdentifier file_format = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getFileFormatFieldBuilder() {
if (fileFormatBuilder_ == null) {
fileFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getFileFormat(),
getParentForChildren(),
isClean());
fileFormat_ = null;
}
return fileFormatBuilder_;
}
@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:cz.proto.FileSystemLocation)
}
// @@protoc_insertion_point(class_scope:cz.proto.FileSystemLocation)
private static final cz.proto.StorageLocationOuterClass.FileSystemLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StorageLocationOuterClass.FileSystemLocation();
}
public static cz.proto.StorageLocationOuterClass.FileSystemLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FileSystemLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FileSystemLocation(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 cz.proto.StorageLocationOuterClass.FileSystemLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DatabaseLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.DatabaseLocation)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Contains settings specific for locations based on database systems (mysql, posgresql, etc.),
* currently it's only a placeholder. Conceptually it is a subclass of StorageLocation and shall
* always be used as embedded in StorageLocation
*
*
* Protobuf type {@code cz.proto.DatabaseLocation}
*/
public static final class DatabaseLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.DatabaseLocation)
DatabaseLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatabaseLocation.newBuilder() to construct.
private DatabaseLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DatabaseLocation() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatabaseLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DatabaseLocation(
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;
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 cz.proto.StorageLocationOuterClass.internal_static_cz_proto_DatabaseLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_DatabaseLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.DatabaseLocation.class, cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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 cz.proto.StorageLocationOuterClass.DatabaseLocation)) {
return super.equals(obj);
}
cz.proto.StorageLocationOuterClass.DatabaseLocation other = (cz.proto.StorageLocationOuterClass.DatabaseLocation) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation 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 cz.proto.StorageLocationOuterClass.DatabaseLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation 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 cz.proto.StorageLocationOuterClass.DatabaseLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation 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(cz.proto.StorageLocationOuterClass.DatabaseLocation 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;
}
/**
*
* Contains settings specific for locations based on database systems (mysql, posgresql, etc.),
* currently it's only a placeholder. Conceptually it is a subclass of StorageLocation and shall
* always be used as embedded in StorageLocation
*
*
* Protobuf type {@code cz.proto.DatabaseLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.DatabaseLocation)
cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_DatabaseLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_DatabaseLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.DatabaseLocation.class, cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder.class);
}
// Construct using cz.proto.StorageLocationOuterClass.DatabaseLocation.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_DatabaseLocation_descriptor;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocation getDefaultInstanceForType() {
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocation build() {
cz.proto.StorageLocationOuterClass.DatabaseLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocation buildPartial() {
cz.proto.StorageLocationOuterClass.DatabaseLocation result = new cz.proto.StorageLocationOuterClass.DatabaseLocation(this);
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 cz.proto.StorageLocationOuterClass.DatabaseLocation) {
return mergeFrom((cz.proto.StorageLocationOuterClass.DatabaseLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StorageLocationOuterClass.DatabaseLocation other) {
if (other == cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance()) return this;
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 {
cz.proto.StorageLocationOuterClass.DatabaseLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StorageLocationOuterClass.DatabaseLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:cz.proto.DatabaseLocation)
}
// @@protoc_insertion_point(class_scope:cz.proto.DatabaseLocation)
private static final cz.proto.StorageLocationOuterClass.DatabaseLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StorageLocationOuterClass.DatabaseLocation();
}
public static cz.proto.StorageLocationOuterClass.DatabaseLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DatabaseLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DatabaseLocation(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 cz.proto.StorageLocationOuterClass.DatabaseLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LocationInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.LocationInfo)
com.google.protobuf.MessageOrBuilder {
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return Whether the fileSystem field is set.
*/
boolean hasFileSystem();
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return The fileSystem.
*/
cz.proto.StorageLocationOuterClass.FileSystemLocation getFileSystem();
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder getFileSystemOrBuilder();
/**
* .cz.proto.DatabaseLocation database = 21;
* @return Whether the database field is set.
*/
boolean hasDatabase();
/**
* .cz.proto.DatabaseLocation database = 21;
* @return The database.
*/
cz.proto.StorageLocationOuterClass.DatabaseLocation getDatabase();
/**
* .cz.proto.DatabaseLocation database = 21;
*/
cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder getDatabaseOrBuilder();
public cz.proto.StorageLocationOuterClass.LocationInfo.DerivedCase getDerivedCase();
}
/**
* Protobuf type {@code cz.proto.LocationInfo}
*/
public static final class LocationInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.LocationInfo)
LocationInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use LocationInfo.newBuilder() to construct.
private LocationInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LocationInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LocationInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LocationInfo(
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 162: {
cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder subBuilder = null;
if (derivedCase_ == 20) {
subBuilder = ((cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.StorageLocationOuterClass.FileSystemLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 20;
break;
}
case 170: {
cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder subBuilder = null;
if (derivedCase_ == 21) {
subBuilder = ((cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_).toBuilder();
}
derived_ =
input.readMessage(cz.proto.StorageLocationOuterClass.DatabaseLocation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_);
derived_ = subBuilder.buildPartial();
}
derivedCase_ = 21;
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 cz.proto.StorageLocationOuterClass.internal_static_cz_proto_LocationInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_LocationInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.LocationInfo.class, cz.proto.StorageLocationOuterClass.LocationInfo.Builder.class);
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public enum DerivedCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
FILE_SYSTEM(20),
DATABASE(21),
DERIVED_NOT_SET(0);
private final int value;
private DerivedCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DerivedCase valueOf(int value) {
return forNumber(value);
}
public static DerivedCase forNumber(int value) {
switch (value) {
case 20: return FILE_SYSTEM;
case 21: return DATABASE;
case 0: return DERIVED_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public static final int FILE_SYSTEM_FIELD_NUMBER = 20;
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return Whether the fileSystem field is set.
*/
@java.lang.Override
public boolean hasFileSystem() {
return derivedCase_ == 20;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return The fileSystem.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocation getFileSystem() {
if (derivedCase_ == 20) {
return (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder getFileSystemOrBuilder() {
if (derivedCase_ == 20) {
return (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
public static final int DATABASE_FIELD_NUMBER = 21;
/**
* .cz.proto.DatabaseLocation database = 21;
* @return Whether the database field is set.
*/
@java.lang.Override
public boolean hasDatabase() {
return derivedCase_ == 21;
}
/**
* .cz.proto.DatabaseLocation database = 21;
* @return The database.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocation getDatabase() {
if (derivedCase_ == 21) {
return (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder getDatabaseOrBuilder() {
if (derivedCase_ == 21) {
return (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
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 (derivedCase_ == 20) {
output.writeMessage(20, (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_);
}
if (derivedCase_ == 21) {
output.writeMessage(21, (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (derivedCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_);
}
if (derivedCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_);
}
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 cz.proto.StorageLocationOuterClass.LocationInfo)) {
return super.equals(obj);
}
cz.proto.StorageLocationOuterClass.LocationInfo other = (cz.proto.StorageLocationOuterClass.LocationInfo) obj;
if (!getDerivedCase().equals(other.getDerivedCase())) return false;
switch (derivedCase_) {
case 20:
if (!getFileSystem()
.equals(other.getFileSystem())) return false;
break;
case 21:
if (!getDatabase()
.equals(other.getDatabase())) 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();
switch (derivedCase_) {
case 20:
hash = (37 * hash) + FILE_SYSTEM_FIELD_NUMBER;
hash = (53 * hash) + getFileSystem().hashCode();
break;
case 21:
hash = (37 * hash) + DATABASE_FIELD_NUMBER;
hash = (53 * hash) + getDatabase().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo 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 cz.proto.StorageLocationOuterClass.LocationInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo 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 cz.proto.StorageLocationOuterClass.LocationInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.LocationInfo 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(cz.proto.StorageLocationOuterClass.LocationInfo 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 cz.proto.LocationInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.LocationInfo)
cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_LocationInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_LocationInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.LocationInfo.class, cz.proto.StorageLocationOuterClass.LocationInfo.Builder.class);
}
// Construct using cz.proto.StorageLocationOuterClass.LocationInfo.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();
derivedCase_ = 0;
derived_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_LocationInfo_descriptor;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.LocationInfo getDefaultInstanceForType() {
return cz.proto.StorageLocationOuterClass.LocationInfo.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.LocationInfo build() {
cz.proto.StorageLocationOuterClass.LocationInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.LocationInfo buildPartial() {
cz.proto.StorageLocationOuterClass.LocationInfo result = new cz.proto.StorageLocationOuterClass.LocationInfo(this);
if (derivedCase_ == 20) {
if (fileSystemBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = fileSystemBuilder_.build();
}
}
if (derivedCase_ == 21) {
if (databaseBuilder_ == null) {
result.derived_ = derived_;
} else {
result.derived_ = databaseBuilder_.build();
}
}
result.derivedCase_ = derivedCase_;
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 cz.proto.StorageLocationOuterClass.LocationInfo) {
return mergeFrom((cz.proto.StorageLocationOuterClass.LocationInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StorageLocationOuterClass.LocationInfo other) {
if (other == cz.proto.StorageLocationOuterClass.LocationInfo.getDefaultInstance()) return this;
switch (other.getDerivedCase()) {
case FILE_SYSTEM: {
mergeFileSystem(other.getFileSystem());
break;
}
case DATABASE: {
mergeDatabase(other.getDatabase());
break;
}
case DERIVED_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 {
cz.proto.StorageLocationOuterClass.LocationInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StorageLocationOuterClass.LocationInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int derivedCase_ = 0;
private java.lang.Object derived_;
public DerivedCase
getDerivedCase() {
return DerivedCase.forNumber(
derivedCase_);
}
public Builder clearDerived() {
derivedCase_ = 0;
derived_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.FileSystemLocation, cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder, cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder> fileSystemBuilder_;
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return Whether the fileSystem field is set.
*/
@java.lang.Override
public boolean hasFileSystem() {
return derivedCase_ == 20;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
* @return The fileSystem.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocation getFileSystem() {
if (fileSystemBuilder_ == null) {
if (derivedCase_ == 20) {
return (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
} else {
if (derivedCase_ == 20) {
return fileSystemBuilder_.getMessage();
}
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
public Builder setFileSystem(cz.proto.StorageLocationOuterClass.FileSystemLocation value) {
if (fileSystemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
fileSystemBuilder_.setMessage(value);
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
public Builder setFileSystem(
cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder builderForValue) {
if (fileSystemBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
fileSystemBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
public Builder mergeFileSystem(cz.proto.StorageLocationOuterClass.FileSystemLocation value) {
if (fileSystemBuilder_ == null) {
if (derivedCase_ == 20 &&
derived_ != cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance()) {
derived_ = cz.proto.StorageLocationOuterClass.FileSystemLocation.newBuilder((cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 20) {
fileSystemBuilder_.mergeFrom(value);
}
fileSystemBuilder_.setMessage(value);
}
derivedCase_ = 20;
return this;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
public Builder clearFileSystem() {
if (fileSystemBuilder_ == null) {
if (derivedCase_ == 20) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 20) {
derivedCase_ = 0;
derived_ = null;
}
fileSystemBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
public cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder getFileSystemBuilder() {
return getFileSystemFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder getFileSystemOrBuilder() {
if ((derivedCase_ == 20) && (fileSystemBuilder_ != null)) {
return fileSystemBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 20) {
return (cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
}
/**
* .cz.proto.FileSystemLocation file_system = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.FileSystemLocation, cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder, cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder>
getFileSystemFieldBuilder() {
if (fileSystemBuilder_ == null) {
if (!(derivedCase_ == 20)) {
derived_ = cz.proto.StorageLocationOuterClass.FileSystemLocation.getDefaultInstance();
}
fileSystemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.FileSystemLocation, cz.proto.StorageLocationOuterClass.FileSystemLocation.Builder, cz.proto.StorageLocationOuterClass.FileSystemLocationOrBuilder>(
(cz.proto.StorageLocationOuterClass.FileSystemLocation) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 20;
onChanged();;
return fileSystemBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.DatabaseLocation, cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder, cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder> databaseBuilder_;
/**
* .cz.proto.DatabaseLocation database = 21;
* @return Whether the database field is set.
*/
@java.lang.Override
public boolean hasDatabase() {
return derivedCase_ == 21;
}
/**
* .cz.proto.DatabaseLocation database = 21;
* @return The database.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocation getDatabase() {
if (databaseBuilder_ == null) {
if (derivedCase_ == 21) {
return (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
} else {
if (derivedCase_ == 21) {
return databaseBuilder_.getMessage();
}
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
public Builder setDatabase(cz.proto.StorageLocationOuterClass.DatabaseLocation value) {
if (databaseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
derived_ = value;
onChanged();
} else {
databaseBuilder_.setMessage(value);
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
public Builder setDatabase(
cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder builderForValue) {
if (databaseBuilder_ == null) {
derived_ = builderForValue.build();
onChanged();
} else {
databaseBuilder_.setMessage(builderForValue.build());
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
public Builder mergeDatabase(cz.proto.StorageLocationOuterClass.DatabaseLocation value) {
if (databaseBuilder_ == null) {
if (derivedCase_ == 21 &&
derived_ != cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance()) {
derived_ = cz.proto.StorageLocationOuterClass.DatabaseLocation.newBuilder((cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_)
.mergeFrom(value).buildPartial();
} else {
derived_ = value;
}
onChanged();
} else {
if (derivedCase_ == 21) {
databaseBuilder_.mergeFrom(value);
}
databaseBuilder_.setMessage(value);
}
derivedCase_ = 21;
return this;
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
public Builder clearDatabase() {
if (databaseBuilder_ == null) {
if (derivedCase_ == 21) {
derivedCase_ = 0;
derived_ = null;
onChanged();
}
} else {
if (derivedCase_ == 21) {
derivedCase_ = 0;
derived_ = null;
}
databaseBuilder_.clear();
}
return this;
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
public cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder getDatabaseBuilder() {
return getDatabaseFieldBuilder().getBuilder();
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder getDatabaseOrBuilder() {
if ((derivedCase_ == 21) && (databaseBuilder_ != null)) {
return databaseBuilder_.getMessageOrBuilder();
} else {
if (derivedCase_ == 21) {
return (cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_;
}
return cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
}
/**
* .cz.proto.DatabaseLocation database = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.DatabaseLocation, cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder, cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder>
getDatabaseFieldBuilder() {
if (databaseBuilder_ == null) {
if (!(derivedCase_ == 21)) {
derived_ = cz.proto.StorageLocationOuterClass.DatabaseLocation.getDefaultInstance();
}
databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.DatabaseLocation, cz.proto.StorageLocationOuterClass.DatabaseLocation.Builder, cz.proto.StorageLocationOuterClass.DatabaseLocationOrBuilder>(
(cz.proto.StorageLocationOuterClass.DatabaseLocation) derived_,
getParentForChildren(),
isClean());
derived_ = null;
}
derivedCase_ = 21;
onChanged();;
return databaseBuilder_;
}
@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:cz.proto.LocationInfo)
}
// @@protoc_insertion_point(class_scope:cz.proto.LocationInfo)
private static final cz.proto.StorageLocationOuterClass.LocationInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StorageLocationOuterClass.LocationInfo();
}
public static cz.proto.StorageLocationOuterClass.LocationInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public LocationInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LocationInfo(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 cz.proto.StorageLocationOuterClass.LocationInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StorageLocationOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.StorageLocation)
com.google.protobuf.MessageOrBuilder {
/**
* bool external = 1;
* @return The external.
*/
boolean getExternal();
/**
* string url = 2;
* @return The url.
*/
java.lang.String getUrl();
/**
* string url = 2;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return Whether the connection field is set.
*/
boolean hasConnection();
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return The connection.
*/
cz.proto.ObjectIdentifier getConnection();
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
cz.proto.ObjectIdentifierOrBuilder getConnectionOrBuilder();
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return Whether the metaCollection field is set.
*/
boolean hasMetaCollection();
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return The metaCollection.
*/
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getMetaCollection();
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder getMetaCollectionOrBuilder();
/**
* bool recursive = 5;
* @return The recursive.
*/
boolean getRecursive();
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return Whether the filemetaTable field is set.
*/
boolean hasFilemetaTable();
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return The filemetaTable.
*/
cz.proto.ObjectIdentifier getFilemetaTable();
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
cz.proto.ObjectIdentifierOrBuilder getFilemetaTableOrBuilder();
/**
* .cz.proto.LocationInfo location_info = 7;
* @return Whether the locationInfo field is set.
*/
boolean hasLocationInfo();
/**
* .cz.proto.LocationInfo location_info = 7;
* @return The locationInfo.
*/
cz.proto.StorageLocationOuterClass.LocationInfo getLocationInfo();
/**
* .cz.proto.LocationInfo location_info = 7;
*/
cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder getLocationInfoOrBuilder();
}
/**
* Protobuf type {@code cz.proto.StorageLocation}
*/
public static final class StorageLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.StorageLocation)
StorageLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use StorageLocation.newBuilder() to construct.
private StorageLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StorageLocation() {
url_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StorageLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StorageLocation(
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: {
external_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
url_ = s;
break;
}
case 26: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (connection_ != null) {
subBuilder = connection_.toBuilder();
}
connection_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connection_);
connection_ = subBuilder.buildPartial();
}
break;
}
case 34: {
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder subBuilder = null;
if (metaCollection_ != null) {
subBuilder = metaCollection_.toBuilder();
}
metaCollection_ = input.readMessage(cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metaCollection_);
metaCollection_ = subBuilder.buildPartial();
}
break;
}
case 40: {
recursive_ = input.readBool();
break;
}
case 50: {
cz.proto.ObjectIdentifier.Builder subBuilder = null;
if (filemetaTable_ != null) {
subBuilder = filemetaTable_.toBuilder();
}
filemetaTable_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(filemetaTable_);
filemetaTable_ = subBuilder.buildPartial();
}
break;
}
case 58: {
cz.proto.StorageLocationOuterClass.LocationInfo.Builder subBuilder = null;
if (locationInfo_ != null) {
subBuilder = locationInfo_.toBuilder();
}
locationInfo_ = input.readMessage(cz.proto.StorageLocationOuterClass.LocationInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(locationInfo_);
locationInfo_ = 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 cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.StorageLocation.class, cz.proto.StorageLocationOuterClass.StorageLocation.Builder.class);
}
public interface MetaCollectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:cz.proto.StorageLocation.MetaCollection)
com.google.protobuf.MessageOrBuilder {
/**
* bool enable = 1;
* @return The enable.
*/
boolean getEnable();
/**
* bool auto_refresh = 2;
* @return The autoRefresh.
*/
boolean getAutoRefresh();
}
/**
* Protobuf type {@code cz.proto.StorageLocation.MetaCollection}
*/
public static final class MetaCollection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.StorageLocation.MetaCollection)
MetaCollectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetaCollection.newBuilder() to construct.
private MetaCollection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetaCollection() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetaCollection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MetaCollection(
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: {
enable_ = input.readBool();
break;
}
case 16: {
autoRefresh_ = 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 cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_MetaCollection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_MetaCollection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.class, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder.class);
}
public static final int ENABLE_FIELD_NUMBER = 1;
private boolean enable_;
/**
* bool enable = 1;
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return enable_;
}
public static final int AUTO_REFRESH_FIELD_NUMBER = 2;
private boolean autoRefresh_;
/**
* bool auto_refresh = 2;
* @return The autoRefresh.
*/
@java.lang.Override
public boolean getAutoRefresh() {
return autoRefresh_;
}
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 (enable_ != false) {
output.writeBool(1, enable_);
}
if (autoRefresh_ != false) {
output.writeBool(2, autoRefresh_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (enable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, enable_);
}
if (autoRefresh_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, autoRefresh_);
}
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 cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection)) {
return super.equals(obj);
}
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection other = (cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection) obj;
if (getEnable()
!= other.getEnable()) return false;
if (getAutoRefresh()
!= other.getAutoRefresh()) 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) + ENABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnable());
hash = (37 * hash) + AUTO_REFRESH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAutoRefresh());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection 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 cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection 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 cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection 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(cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection 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 cz.proto.StorageLocation.MetaCollection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.StorageLocation.MetaCollection)
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_MetaCollection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_MetaCollection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.class, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder.class);
}
// Construct using cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.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();
enable_ = false;
autoRefresh_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_MetaCollection_descriptor;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getDefaultInstanceForType() {
return cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection build() {
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection buildPartial() {
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection result = new cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection(this);
result.enable_ = enable_;
result.autoRefresh_ = autoRefresh_;
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 cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection) {
return mergeFrom((cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection other) {
if (other == cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.getDefaultInstance()) return this;
if (other.getEnable() != false) {
setEnable(other.getEnable());
}
if (other.getAutoRefresh() != false) {
setAutoRefresh(other.getAutoRefresh());
}
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 {
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean enable_ ;
/**
* bool enable = 1;
* @return The enable.
*/
@java.lang.Override
public boolean getEnable() {
return enable_;
}
/**
* bool enable = 1;
* @param value The enable to set.
* @return This builder for chaining.
*/
public Builder setEnable(boolean value) {
enable_ = value;
onChanged();
return this;
}
/**
* bool enable = 1;
* @return This builder for chaining.
*/
public Builder clearEnable() {
enable_ = false;
onChanged();
return this;
}
private boolean autoRefresh_ ;
/**
* bool auto_refresh = 2;
* @return The autoRefresh.
*/
@java.lang.Override
public boolean getAutoRefresh() {
return autoRefresh_;
}
/**
* bool auto_refresh = 2;
* @param value The autoRefresh to set.
* @return This builder for chaining.
*/
public Builder setAutoRefresh(boolean value) {
autoRefresh_ = value;
onChanged();
return this;
}
/**
* bool auto_refresh = 2;
* @return This builder for chaining.
*/
public Builder clearAutoRefresh() {
autoRefresh_ = 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:cz.proto.StorageLocation.MetaCollection)
}
// @@protoc_insertion_point(class_scope:cz.proto.StorageLocation.MetaCollection)
private static final cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection();
}
public static cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetaCollection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MetaCollection(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 cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int EXTERNAL_FIELD_NUMBER = 1;
private boolean external_;
/**
* bool external = 1;
* @return The external.
*/
@java.lang.Override
public boolean getExternal() {
return external_;
}
public static final int URL_FIELD_NUMBER = 2;
private volatile java.lang.Object url_;
/**
* string url = 2;
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
java.lang.Object ref = url_;
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();
url_ = s;
return s;
}
}
/**
* string url = 2;
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONNECTION_FIELD_NUMBER = 3;
private cz.proto.ObjectIdentifier connection_;
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return Whether the connection field is set.
*/
@java.lang.Override
public boolean hasConnection() {
return connection_ != null;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return The connection.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getConnection() {
return connection_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : connection_;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getConnectionOrBuilder() {
return getConnection();
}
public static final int META_COLLECTION_FIELD_NUMBER = 4;
private cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection metaCollection_;
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return Whether the metaCollection field is set.
*/
@java.lang.Override
public boolean hasMetaCollection() {
return metaCollection_ != null;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return The metaCollection.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getMetaCollection() {
return metaCollection_ == null ? cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.getDefaultInstance() : metaCollection_;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder getMetaCollectionOrBuilder() {
return getMetaCollection();
}
public static final int RECURSIVE_FIELD_NUMBER = 5;
private boolean recursive_;
/**
* bool recursive = 5;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
public static final int FILEMETA_TABLE_FIELD_NUMBER = 6;
private cz.proto.ObjectIdentifier filemetaTable_;
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return Whether the filemetaTable field is set.
*/
@java.lang.Override
public boolean hasFilemetaTable() {
return filemetaTable_ != null;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return The filemetaTable.
*/
@java.lang.Override
public cz.proto.ObjectIdentifier getFilemetaTable() {
return filemetaTable_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : filemetaTable_;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
@java.lang.Override
public cz.proto.ObjectIdentifierOrBuilder getFilemetaTableOrBuilder() {
return getFilemetaTable();
}
public static final int LOCATION_INFO_FIELD_NUMBER = 7;
private cz.proto.StorageLocationOuterClass.LocationInfo locationInfo_;
/**
* .cz.proto.LocationInfo location_info = 7;
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return locationInfo_ != null;
}
/**
* .cz.proto.LocationInfo location_info = 7;
* @return The locationInfo.
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.LocationInfo getLocationInfo() {
return locationInfo_ == null ? cz.proto.StorageLocationOuterClass.LocationInfo.getDefaultInstance() : locationInfo_;
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
@java.lang.Override
public cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder getLocationInfoOrBuilder() {
return getLocationInfo();
}
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 (external_ != false) {
output.writeBool(1, external_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, url_);
}
if (connection_ != null) {
output.writeMessage(3, getConnection());
}
if (metaCollection_ != null) {
output.writeMessage(4, getMetaCollection());
}
if (recursive_ != false) {
output.writeBool(5, recursive_);
}
if (filemetaTable_ != null) {
output.writeMessage(6, getFilemetaTable());
}
if (locationInfo_ != null) {
output.writeMessage(7, getLocationInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (external_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, external_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, url_);
}
if (connection_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getConnection());
}
if (metaCollection_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getMetaCollection());
}
if (recursive_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, recursive_);
}
if (filemetaTable_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getFilemetaTable());
}
if (locationInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getLocationInfo());
}
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 cz.proto.StorageLocationOuterClass.StorageLocation)) {
return super.equals(obj);
}
cz.proto.StorageLocationOuterClass.StorageLocation other = (cz.proto.StorageLocationOuterClass.StorageLocation) obj;
if (getExternal()
!= other.getExternal()) return false;
if (!getUrl()
.equals(other.getUrl())) return false;
if (hasConnection() != other.hasConnection()) return false;
if (hasConnection()) {
if (!getConnection()
.equals(other.getConnection())) return false;
}
if (hasMetaCollection() != other.hasMetaCollection()) return false;
if (hasMetaCollection()) {
if (!getMetaCollection()
.equals(other.getMetaCollection())) return false;
}
if (getRecursive()
!= other.getRecursive()) return false;
if (hasFilemetaTable() != other.hasFilemetaTable()) return false;
if (hasFilemetaTable()) {
if (!getFilemetaTable()
.equals(other.getFilemetaTable())) return false;
}
if (hasLocationInfo() != other.hasLocationInfo()) return false;
if (hasLocationInfo()) {
if (!getLocationInfo()
.equals(other.getLocationInfo())) 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) + EXTERNAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExternal());
hash = (37 * hash) + URL_FIELD_NUMBER;
hash = (53 * hash) + getUrl().hashCode();
if (hasConnection()) {
hash = (37 * hash) + CONNECTION_FIELD_NUMBER;
hash = (53 * hash) + getConnection().hashCode();
}
if (hasMetaCollection()) {
hash = (37 * hash) + META_COLLECTION_FIELD_NUMBER;
hash = (53 * hash) + getMetaCollection().hashCode();
}
hash = (37 * hash) + RECURSIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRecursive());
if (hasFilemetaTable()) {
hash = (37 * hash) + FILEMETA_TABLE_FIELD_NUMBER;
hash = (53 * hash) + getFilemetaTable().hashCode();
}
if (hasLocationInfo()) {
hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getLocationInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation 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 cz.proto.StorageLocationOuterClass.StorageLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation 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 cz.proto.StorageLocationOuterClass.StorageLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StorageLocationOuterClass.StorageLocation 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(cz.proto.StorageLocationOuterClass.StorageLocation 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 cz.proto.StorageLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.StorageLocation)
cz.proto.StorageLocationOuterClass.StorageLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StorageLocationOuterClass.StorageLocation.class, cz.proto.StorageLocationOuterClass.StorageLocation.Builder.class);
}
// Construct using cz.proto.StorageLocationOuterClass.StorageLocation.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();
external_ = false;
url_ = "";
if (connectionBuilder_ == null) {
connection_ = null;
} else {
connection_ = null;
connectionBuilder_ = null;
}
if (metaCollectionBuilder_ == null) {
metaCollection_ = null;
} else {
metaCollection_ = null;
metaCollectionBuilder_ = null;
}
recursive_ = false;
if (filemetaTableBuilder_ == null) {
filemetaTable_ = null;
} else {
filemetaTable_ = null;
filemetaTableBuilder_ = null;
}
if (locationInfoBuilder_ == null) {
locationInfo_ = null;
} else {
locationInfo_ = null;
locationInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.StorageLocationOuterClass.internal_static_cz_proto_StorageLocation_descriptor;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation getDefaultInstanceForType() {
return cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation build() {
cz.proto.StorageLocationOuterClass.StorageLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StorageLocationOuterClass.StorageLocation buildPartial() {
cz.proto.StorageLocationOuterClass.StorageLocation result = new cz.proto.StorageLocationOuterClass.StorageLocation(this);
result.external_ = external_;
result.url_ = url_;
if (connectionBuilder_ == null) {
result.connection_ = connection_;
} else {
result.connection_ = connectionBuilder_.build();
}
if (metaCollectionBuilder_ == null) {
result.metaCollection_ = metaCollection_;
} else {
result.metaCollection_ = metaCollectionBuilder_.build();
}
result.recursive_ = recursive_;
if (filemetaTableBuilder_ == null) {
result.filemetaTable_ = filemetaTable_;
} else {
result.filemetaTable_ = filemetaTableBuilder_.build();
}
if (locationInfoBuilder_ == null) {
result.locationInfo_ = locationInfo_;
} else {
result.locationInfo_ = locationInfoBuilder_.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 cz.proto.StorageLocationOuterClass.StorageLocation) {
return mergeFrom((cz.proto.StorageLocationOuterClass.StorageLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StorageLocationOuterClass.StorageLocation other) {
if (other == cz.proto.StorageLocationOuterClass.StorageLocation.getDefaultInstance()) return this;
if (other.getExternal() != false) {
setExternal(other.getExternal());
}
if (!other.getUrl().isEmpty()) {
url_ = other.url_;
onChanged();
}
if (other.hasConnection()) {
mergeConnection(other.getConnection());
}
if (other.hasMetaCollection()) {
mergeMetaCollection(other.getMetaCollection());
}
if (other.getRecursive() != false) {
setRecursive(other.getRecursive());
}
if (other.hasFilemetaTable()) {
mergeFilemetaTable(other.getFilemetaTable());
}
if (other.hasLocationInfo()) {
mergeLocationInfo(other.getLocationInfo());
}
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 {
cz.proto.StorageLocationOuterClass.StorageLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StorageLocationOuterClass.StorageLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean external_ ;
/**
* bool external = 1;
* @return The external.
*/
@java.lang.Override
public boolean getExternal() {
return external_;
}
/**
* bool external = 1;
* @param value The external to set.
* @return This builder for chaining.
*/
public Builder setExternal(boolean value) {
external_ = value;
onChanged();
return this;
}
/**
* bool external = 1;
* @return This builder for chaining.
*/
public Builder clearExternal() {
external_ = false;
onChanged();
return this;
}
private java.lang.Object url_ = "";
/**
* string url = 2;
* @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
url_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string url = 2;
* @return The bytes for url.
*/
public com.google.protobuf.ByteString
getUrlBytes() {
java.lang.Object ref = url_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
url_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string url = 2;
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
url_ = value;
onChanged();
return this;
}
/**
* string url = 2;
* @return This builder for chaining.
*/
public Builder clearUrl() {
url_ = getDefaultInstance().getUrl();
onChanged();
return this;
}
/**
* string url = 2;
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
url_ = value;
onChanged();
return this;
}
private cz.proto.ObjectIdentifier connection_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> connectionBuilder_;
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return Whether the connection field is set.
*/
public boolean hasConnection() {
return connectionBuilder_ != null || connection_ != null;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
* @return The connection.
*/
public cz.proto.ObjectIdentifier getConnection() {
if (connectionBuilder_ == null) {
return connection_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : connection_;
} else {
return connectionBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public Builder setConnection(cz.proto.ObjectIdentifier value) {
if (connectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connection_ = value;
onChanged();
} else {
connectionBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public Builder setConnection(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (connectionBuilder_ == null) {
connection_ = builderForValue.build();
onChanged();
} else {
connectionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public Builder mergeConnection(cz.proto.ObjectIdentifier value) {
if (connectionBuilder_ == null) {
if (connection_ != null) {
connection_ =
cz.proto.ObjectIdentifier.newBuilder(connection_).mergeFrom(value).buildPartial();
} else {
connection_ = value;
}
onChanged();
} else {
connectionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public Builder clearConnection() {
if (connectionBuilder_ == null) {
connection_ = null;
onChanged();
} else {
connection_ = null;
connectionBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public cz.proto.ObjectIdentifier.Builder getConnectionBuilder() {
onChanged();
return getConnectionFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
public cz.proto.ObjectIdentifierOrBuilder getConnectionOrBuilder() {
if (connectionBuilder_ != null) {
return connectionBuilder_.getMessageOrBuilder();
} else {
return connection_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : connection_;
}
}
/**
* .cz.proto.ObjectIdentifier connection = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getConnectionFieldBuilder() {
if (connectionBuilder_ == null) {
connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getConnection(),
getParentForChildren(),
isClean());
connection_ = null;
}
return connectionBuilder_;
}
private cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection metaCollection_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder> metaCollectionBuilder_;
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return Whether the metaCollection field is set.
*/
public boolean hasMetaCollection() {
return metaCollectionBuilder_ != null || metaCollection_ != null;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
* @return The metaCollection.
*/
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection getMetaCollection() {
if (metaCollectionBuilder_ == null) {
return metaCollection_ == null ? cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.getDefaultInstance() : metaCollection_;
} else {
return metaCollectionBuilder_.getMessage();
}
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public Builder setMetaCollection(cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection value) {
if (metaCollectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metaCollection_ = value;
onChanged();
} else {
metaCollectionBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public Builder setMetaCollection(
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder builderForValue) {
if (metaCollectionBuilder_ == null) {
metaCollection_ = builderForValue.build();
onChanged();
} else {
metaCollectionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public Builder mergeMetaCollection(cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection value) {
if (metaCollectionBuilder_ == null) {
if (metaCollection_ != null) {
metaCollection_ =
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.newBuilder(metaCollection_).mergeFrom(value).buildPartial();
} else {
metaCollection_ = value;
}
onChanged();
} else {
metaCollectionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public Builder clearMetaCollection() {
if (metaCollectionBuilder_ == null) {
metaCollection_ = null;
onChanged();
} else {
metaCollection_ = null;
metaCollectionBuilder_ = null;
}
return this;
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder getMetaCollectionBuilder() {
onChanged();
return getMetaCollectionFieldBuilder().getBuilder();
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
public cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder getMetaCollectionOrBuilder() {
if (metaCollectionBuilder_ != null) {
return metaCollectionBuilder_.getMessageOrBuilder();
} else {
return metaCollection_ == null ?
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.getDefaultInstance() : metaCollection_;
}
}
/**
* .cz.proto.StorageLocation.MetaCollection meta_collection = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder>
getMetaCollectionFieldBuilder() {
if (metaCollectionBuilder_ == null) {
metaCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollection.Builder, cz.proto.StorageLocationOuterClass.StorageLocation.MetaCollectionOrBuilder>(
getMetaCollection(),
getParentForChildren(),
isClean());
metaCollection_ = null;
}
return metaCollectionBuilder_;
}
private boolean recursive_ ;
/**
* bool recursive = 5;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
/**
* bool recursive = 5;
* @param value The recursive to set.
* @return This builder for chaining.
*/
public Builder setRecursive(boolean value) {
recursive_ = value;
onChanged();
return this;
}
/**
* bool recursive = 5;
* @return This builder for chaining.
*/
public Builder clearRecursive() {
recursive_ = false;
onChanged();
return this;
}
private cz.proto.ObjectIdentifier filemetaTable_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> filemetaTableBuilder_;
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return Whether the filemetaTable field is set.
*/
public boolean hasFilemetaTable() {
return filemetaTableBuilder_ != null || filemetaTable_ != null;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
* @return The filemetaTable.
*/
public cz.proto.ObjectIdentifier getFilemetaTable() {
if (filemetaTableBuilder_ == null) {
return filemetaTable_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : filemetaTable_;
} else {
return filemetaTableBuilder_.getMessage();
}
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public Builder setFilemetaTable(cz.proto.ObjectIdentifier value) {
if (filemetaTableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
filemetaTable_ = value;
onChanged();
} else {
filemetaTableBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public Builder setFilemetaTable(
cz.proto.ObjectIdentifier.Builder builderForValue) {
if (filemetaTableBuilder_ == null) {
filemetaTable_ = builderForValue.build();
onChanged();
} else {
filemetaTableBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public Builder mergeFilemetaTable(cz.proto.ObjectIdentifier value) {
if (filemetaTableBuilder_ == null) {
if (filemetaTable_ != null) {
filemetaTable_ =
cz.proto.ObjectIdentifier.newBuilder(filemetaTable_).mergeFrom(value).buildPartial();
} else {
filemetaTable_ = value;
}
onChanged();
} else {
filemetaTableBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public Builder clearFilemetaTable() {
if (filemetaTableBuilder_ == null) {
filemetaTable_ = null;
onChanged();
} else {
filemetaTable_ = null;
filemetaTableBuilder_ = null;
}
return this;
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public cz.proto.ObjectIdentifier.Builder getFilemetaTableBuilder() {
onChanged();
return getFilemetaTableFieldBuilder().getBuilder();
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
public cz.proto.ObjectIdentifierOrBuilder getFilemetaTableOrBuilder() {
if (filemetaTableBuilder_ != null) {
return filemetaTableBuilder_.getMessageOrBuilder();
} else {
return filemetaTable_ == null ?
cz.proto.ObjectIdentifier.getDefaultInstance() : filemetaTable_;
}
}
/**
* .cz.proto.ObjectIdentifier filemeta_table = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>
getFilemetaTableFieldBuilder() {
if (filemetaTableBuilder_ == null) {
filemetaTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>(
getFilemetaTable(),
getParentForChildren(),
isClean());
filemetaTable_ = null;
}
return filemetaTableBuilder_;
}
private cz.proto.StorageLocationOuterClass.LocationInfo locationInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.LocationInfo, cz.proto.StorageLocationOuterClass.LocationInfo.Builder, cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder> locationInfoBuilder_;
/**
* .cz.proto.LocationInfo location_info = 7;
* @return Whether the locationInfo field is set.
*/
public boolean hasLocationInfo() {
return locationInfoBuilder_ != null || locationInfo_ != null;
}
/**
* .cz.proto.LocationInfo location_info = 7;
* @return The locationInfo.
*/
public cz.proto.StorageLocationOuterClass.LocationInfo getLocationInfo() {
if (locationInfoBuilder_ == null) {
return locationInfo_ == null ? cz.proto.StorageLocationOuterClass.LocationInfo.getDefaultInstance() : locationInfo_;
} else {
return locationInfoBuilder_.getMessage();
}
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public Builder setLocationInfo(cz.proto.StorageLocationOuterClass.LocationInfo value) {
if (locationInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
locationInfo_ = value;
onChanged();
} else {
locationInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public Builder setLocationInfo(
cz.proto.StorageLocationOuterClass.LocationInfo.Builder builderForValue) {
if (locationInfoBuilder_ == null) {
locationInfo_ = builderForValue.build();
onChanged();
} else {
locationInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public Builder mergeLocationInfo(cz.proto.StorageLocationOuterClass.LocationInfo value) {
if (locationInfoBuilder_ == null) {
if (locationInfo_ != null) {
locationInfo_ =
cz.proto.StorageLocationOuterClass.LocationInfo.newBuilder(locationInfo_).mergeFrom(value).buildPartial();
} else {
locationInfo_ = value;
}
onChanged();
} else {
locationInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public Builder clearLocationInfo() {
if (locationInfoBuilder_ == null) {
locationInfo_ = null;
onChanged();
} else {
locationInfo_ = null;
locationInfoBuilder_ = null;
}
return this;
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public cz.proto.StorageLocationOuterClass.LocationInfo.Builder getLocationInfoBuilder() {
onChanged();
return getLocationInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
public cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder getLocationInfoOrBuilder() {
if (locationInfoBuilder_ != null) {
return locationInfoBuilder_.getMessageOrBuilder();
} else {
return locationInfo_ == null ?
cz.proto.StorageLocationOuterClass.LocationInfo.getDefaultInstance() : locationInfo_;
}
}
/**
* .cz.proto.LocationInfo location_info = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.LocationInfo, cz.proto.StorageLocationOuterClass.LocationInfo.Builder, cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder>
getLocationInfoFieldBuilder() {
if (locationInfoBuilder_ == null) {
locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.StorageLocationOuterClass.LocationInfo, cz.proto.StorageLocationOuterClass.LocationInfo.Builder, cz.proto.StorageLocationOuterClass.LocationInfoOrBuilder>(
getLocationInfo(),
getParentForChildren(),
isClean());
locationInfo_ = null;
}
return locationInfoBuilder_;
}
@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:cz.proto.StorageLocation)
}
// @@protoc_insertion_point(class_scope:cz.proto.StorageLocation)
private static final cz.proto.StorageLocationOuterClass.StorageLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StorageLocationOuterClass.StorageLocation();
}
public static cz.proto.StorageLocationOuterClass.StorageLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StorageLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StorageLocation(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 cz.proto.StorageLocationOuterClass.StorageLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cz_proto_FileSystemLocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cz_proto_FileSystemLocation_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cz_proto_DatabaseLocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cz_proto_DatabaseLocation_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cz_proto_LocationInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cz_proto_LocationInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cz_proto_StorageLocation_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cz_proto_StorageLocation_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cz_proto_StorageLocation_MetaCollection_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cz_proto_StorageLocation_MetaCollection_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\026storage_location.proto\022\010cz.proto\032\027obje" +
"ct_identifier.proto\"E\n\022FileSystemLocatio" +
"n\022/\n\013file_format\030\001 \001(\0132\032.cz.proto.Object" +
"Identifier\"\022\n\020DatabaseLocation\"~\n\014Locati" +
"onInfo\0223\n\013file_system\030\024 \001(\0132\034.cz.proto.F" +
"ileSystemLocationH\000\022.\n\010database\030\025 \001(\0132\032." +
"cz.proto.DatabaseLocationH\000B\t\n\007derived\"\321" +
"\002\n\017StorageLocation\022\020\n\010external\030\001 \001(\010\022\013\n\003" +
"url\030\002 \001(\t\022.\n\nconnection\030\003 \001(\0132\032.cz.proto" +
".ObjectIdentifier\022A\n\017meta_collection\030\004 \001" +
"(\0132(.cz.proto.StorageLocation.MetaCollec" +
"tion\022\021\n\trecursive\030\005 \001(\010\0222\n\016filemeta_tabl" +
"e\030\006 \001(\0132\032.cz.proto.ObjectIdentifier\022-\n\rl" +
"ocation_info\030\007 \001(\0132\026.cz.proto.LocationIn" +
"fo\0326\n\016MetaCollection\022\016\n\006enable\030\001 \001(\010\022\024\n\014" +
"auto_refresh\030\002 \001(\010b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
cz.proto.ObjectIdentifierOuterClass.getDescriptor(),
});
internal_static_cz_proto_FileSystemLocation_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_cz_proto_FileSystemLocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cz_proto_FileSystemLocation_descriptor,
new java.lang.String[] { "FileFormat", });
internal_static_cz_proto_DatabaseLocation_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_cz_proto_DatabaseLocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cz_proto_DatabaseLocation_descriptor,
new java.lang.String[] { });
internal_static_cz_proto_LocationInfo_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_cz_proto_LocationInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cz_proto_LocationInfo_descriptor,
new java.lang.String[] { "FileSystem", "Database", "Derived", });
internal_static_cz_proto_StorageLocation_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_cz_proto_StorageLocation_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cz_proto_StorageLocation_descriptor,
new java.lang.String[] { "External", "Url", "Connection", "MetaCollection", "Recursive", "FilemetaTable", "LocationInfo", });
internal_static_cz_proto_StorageLocation_MetaCollection_descriptor =
internal_static_cz_proto_StorageLocation_descriptor.getNestedTypes().get(0);
internal_static_cz_proto_StorageLocation_MetaCollection_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cz_proto_StorageLocation_MetaCollection_descriptor,
new java.lang.String[] { "Enable", "AutoRefresh", });
cz.proto.ObjectIdentifierOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy