/java/replication/src/org/xtreemfs/babudb/pbrpc/GlobalTypes.java
Java | 1758 lines | 1539 code | 176 blank | 43 comment | 157 complexity | 21b19337ee6d9ba36380e8ed8bbf6a55 MD5 | raw file
Possible License(s): BSD-3-Clause
Large files files are truncated, but you can click here to view the full file
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: interface/GlobalTypes.proto
- package org.xtreemfs.babudb.pbrpc;
- public final class GlobalTypes {
- private GlobalTypes() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- }
- public static final class ErrorCodeResponse extends
- com.google.protobuf.GeneratedMessage {
- // Use ErrorCodeResponse.newBuilder() to construct.
- private ErrorCodeResponse() {
- initFields();
- }
- private ErrorCodeResponse(boolean noInit) {}
-
- private static final ErrorCodeResponse defaultInstance;
- public static ErrorCodeResponse getDefaultInstance() {
- return defaultInstance;
- }
-
- public ErrorCodeResponse getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_ErrorCodeResponse_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_ErrorCodeResponse_fieldAccessorTable;
- }
-
- // optional fixed32 error_code = 1 [default = 0];
- public static final int ERROR_CODE_FIELD_NUMBER = 1;
- private boolean hasErrorCode;
- private int errorCode_ = 0;
- public boolean hasErrorCode() { return hasErrorCode; }
- public int getErrorCode() { return errorCode_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasErrorCode()) {
- output.writeFixed32(1, getErrorCode());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasErrorCode()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed32Size(1, getErrorCode());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse result;
-
- // Construct using org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse();
- return builder;
- }
-
- protected org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse.getDescriptor();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse getDefaultInstanceForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse) {
- return mergeFrom((org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse other) {
- if (other == org.xtreemfs.babudb.pbrpc.GlobalTypes.ErrorCodeResponse.getDefaultInstance()) return this;
- if (other.hasErrorCode()) {
- setErrorCode(other.getErrorCode());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 13: {
- setErrorCode(input.readFixed32());
- break;
- }
- }
- }
- }
-
-
- // optional fixed32 error_code = 1 [default = 0];
- public boolean hasErrorCode() {
- return result.hasErrorCode();
- }
- public int getErrorCode() {
- return result.getErrorCode();
- }
- public Builder setErrorCode(int value) {
- result.hasErrorCode = true;
- result.errorCode_ = value;
- return this;
- }
- public Builder clearErrorCode() {
- result.hasErrorCode = false;
- result.errorCode_ = 0;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:org.xtreemfs.pbrpc.ErrorCodeResponse)
- }
-
- static {
- defaultInstance = new ErrorCodeResponse(true);
- org.xtreemfs.babudb.pbrpc.GlobalTypes.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:org.xtreemfs.pbrpc.ErrorCodeResponse)
- }
-
- public static final class Timestamp extends
- com.google.protobuf.GeneratedMessage {
- // Use Timestamp.newBuilder() to construct.
- private Timestamp() {
- initFields();
- }
- private Timestamp(boolean noInit) {}
-
- private static final Timestamp defaultInstance;
- public static Timestamp getDefaultInstance() {
- return defaultInstance;
- }
-
- public Timestamp getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_Timestamp_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_Timestamp_fieldAccessorTable;
- }
-
- // optional fixed32 error_code = 1 [default = 0];
- public static final int ERROR_CODE_FIELD_NUMBER = 1;
- private boolean hasErrorCode;
- private int errorCode_ = 0;
- public boolean hasErrorCode() { return hasErrorCode; }
- public int getErrorCode() { return errorCode_; }
-
- // optional fixed64 value = 2 [default = 0];
- public static final int VALUE_FIELD_NUMBER = 2;
- private boolean hasValue;
- private long value_ = 0L;
- public boolean hasValue() { return hasValue; }
- public long getValue() { return value_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasErrorCode()) {
- output.writeFixed32(1, getErrorCode());
- }
- if (hasValue()) {
- output.writeFixed64(2, getValue());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasErrorCode()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed32Size(1, getErrorCode());
- }
- if (hasValue()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed64Size(2, getValue());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp result;
-
- // Construct using org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp();
- return builder;
- }
-
- protected org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp.getDescriptor();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp getDefaultInstanceForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp) {
- return mergeFrom((org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp other) {
- if (other == org.xtreemfs.babudb.pbrpc.GlobalTypes.Timestamp.getDefaultInstance()) return this;
- if (other.hasErrorCode()) {
- setErrorCode(other.getErrorCode());
- }
- if (other.hasValue()) {
- setValue(other.getValue());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 13: {
- setErrorCode(input.readFixed32());
- break;
- }
- case 17: {
- setValue(input.readFixed64());
- break;
- }
- }
- }
- }
-
-
- // optional fixed32 error_code = 1 [default = 0];
- public boolean hasErrorCode() {
- return result.hasErrorCode();
- }
- public int getErrorCode() {
- return result.getErrorCode();
- }
- public Builder setErrorCode(int value) {
- result.hasErrorCode = true;
- result.errorCode_ = value;
- return this;
- }
- public Builder clearErrorCode() {
- result.hasErrorCode = false;
- result.errorCode_ = 0;
- return this;
- }
-
- // optional fixed64 value = 2 [default = 0];
- public boolean hasValue() {
- return result.hasValue();
- }
- public long getValue() {
- return result.getValue();
- }
- public Builder setValue(long value) {
- result.hasValue = true;
- result.value_ = value;
- return this;
- }
- public Builder clearValue() {
- result.hasValue = false;
- result.value_ = 0L;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:org.xtreemfs.pbrpc.Timestamp)
- }
-
- static {
- defaultInstance = new Timestamp(true);
- org.xtreemfs.babudb.pbrpc.GlobalTypes.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:org.xtreemfs.pbrpc.Timestamp)
- }
-
- public static final class DBFileMetaData extends
- com.google.protobuf.GeneratedMessage {
- // Use DBFileMetaData.newBuilder() to construct.
- private DBFileMetaData() {
- initFields();
- }
- private DBFileMetaData(boolean noInit) {}
-
- private static final DBFileMetaData defaultInstance;
- public static DBFileMetaData getDefaultInstance() {
- return defaultInstance;
- }
-
- public DBFileMetaData getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_DBFileMetaData_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_DBFileMetaData_fieldAccessorTable;
- }
-
- // required string file_name = 1;
- public static final int FILE_NAME_FIELD_NUMBER = 1;
- private boolean hasFileName;
- private java.lang.String fileName_ = "";
- public boolean hasFileName() { return hasFileName; }
- public java.lang.String getFileName() { return fileName_; }
-
- // required fixed64 file_size = 2;
- public static final int FILE_SIZE_FIELD_NUMBER = 2;
- private boolean hasFileSize;
- private long fileSize_ = 0L;
- public boolean hasFileSize() { return hasFileSize; }
- public long getFileSize() { return fileSize_; }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- if (!hasFileName) return false;
- if (!hasFileSize) return false;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasFileName()) {
- output.writeString(1, getFileName());
- }
- if (hasFileSize()) {
- output.writeFixed64(2, getFileSize());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasFileName()) {
- size += com.google.protobuf.CodedOutputStream
- .computeStringSize(1, getFileName());
- }
- if (hasFileSize()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed64Size(2, getFileSize());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData result;
-
- // Construct using org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData();
- return builder;
- }
-
- protected org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.getDescriptor();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData getDefaultInstanceForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData) {
- return mergeFrom((org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData other) {
- if (other == org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.getDefaultInstance()) return this;
- if (other.hasFileName()) {
- setFileName(other.getFileName());
- }
- if (other.hasFileSize()) {
- setFileSize(other.getFileSize());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setFileName(input.readString());
- break;
- }
- case 17: {
- setFileSize(input.readFixed64());
- break;
- }
- }
- }
- }
-
-
- // required string file_name = 1;
- public boolean hasFileName() {
- return result.hasFileName();
- }
- public java.lang.String getFileName() {
- return result.getFileName();
- }
- public Builder setFileName(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.hasFileName = true;
- result.fileName_ = value;
- return this;
- }
- public Builder clearFileName() {
- result.hasFileName = false;
- result.fileName_ = getDefaultInstance().getFileName();
- return this;
- }
-
- // required fixed64 file_size = 2;
- public boolean hasFileSize() {
- return result.hasFileSize();
- }
- public long getFileSize() {
- return result.getFileSize();
- }
- public Builder setFileSize(long value) {
- result.hasFileSize = true;
- result.fileSize_ = value;
- return this;
- }
- public Builder clearFileSize() {
- result.hasFileSize = false;
- result.fileSize_ = 0L;
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:org.xtreemfs.pbrpc.DBFileMetaData)
- }
-
- static {
- defaultInstance = new DBFileMetaData(true);
- org.xtreemfs.babudb.pbrpc.GlobalTypes.internalForceInit();
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:org.xtreemfs.pbrpc.DBFileMetaData)
- }
-
- public static final class DBFileMetaDatas extends
- com.google.protobuf.GeneratedMessage {
- // Use DBFileMetaDatas.newBuilder() to construct.
- private DBFileMetaDatas() {
- initFields();
- }
- private DBFileMetaDatas(boolean noInit) {}
-
- private static final DBFileMetaDatas defaultInstance;
- public static DBFileMetaDatas getDefaultInstance() {
- return defaultInstance;
- }
-
- public DBFileMetaDatas getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_DBFileMetaDatas_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.internal_static_org_xtreemfs_pbrpc_DBFileMetaDatas_fieldAccessorTable;
- }
-
- // optional fixed32 error_code = 1 [default = 0];
- public static final int ERROR_CODE_FIELD_NUMBER = 1;
- private boolean hasErrorCode;
- private int errorCode_ = 0;
- public boolean hasErrorCode() { return hasErrorCode; }
- public int getErrorCode() { return errorCode_; }
-
- // optional fixed32 max_chunk_size = 2 [default = 5242880];
- public static final int MAX_CHUNK_SIZE_FIELD_NUMBER = 2;
- private boolean hasMaxChunkSize;
- private int maxChunkSize_ = 5242880;
- public boolean hasMaxChunkSize() { return hasMaxChunkSize; }
- public int getMaxChunkSize() { return maxChunkSize_; }
-
- // repeated .org.xtreemfs.pbrpc.DBFileMetaData db_file_metadatas = 3;
- public static final int DB_FILE_METADATAS_FIELD_NUMBER = 3;
- private java.util.List<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData> dbFileMetadatas_ =
- java.util.Collections.emptyList();
- public java.util.List<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData> getDbFileMetadatasList() {
- return dbFileMetadatas_;
- }
- public int getDbFileMetadatasCount() { return dbFileMetadatas_.size(); }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData getDbFileMetadatas(int index) {
- return dbFileMetadatas_.get(index);
- }
-
- private void initFields() {
- }
- public final boolean isInitialized() {
- for (org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData element : getDbFileMetadatasList()) {
- if (!element.isInitialized()) return false;
- }
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (hasErrorCode()) {
- output.writeFixed32(1, getErrorCode());
- }
- if (hasMaxChunkSize()) {
- output.writeFixed32(2, getMaxChunkSize());
- }
- for (org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData element : getDbFileMetadatasList()) {
- output.writeMessage(3, element);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasErrorCode()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed32Size(1, getErrorCode());
- }
- if (hasMaxChunkSize()) {
- size += com.google.protobuf.CodedOutputStream
- .computeFixed32Size(2, getMaxChunkSize());
- }
- for (org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData element : getDbFileMetadatasList()) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, element);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder<Builder> {
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas result;
-
- // Construct using org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas.newBuilder()
- private Builder() {}
-
- private static Builder create() {
- Builder builder = new Builder();
- builder.result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas();
- return builder;
- }
-
- protected org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- if (result == null) {
- throw new IllegalStateException(
- "Cannot call clear() after build().");
- }
- result = new org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas();
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(result);
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas.getDescriptor();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas getDefaultInstanceForType() {
- return org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas.getDefaultInstance();
- }
-
- public boolean isInitialized() {
- return result.isInitialized();
- }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas build() {
- if (result != null && !isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return buildPartial();
- }
-
- private org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- if (!isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas buildPartial() {
- if (result == null) {
- throw new IllegalStateException(
- "build() has already been called on this Builder.");
- }
- if (result.dbFileMetadatas_ != java.util.Collections.EMPTY_LIST) {
- result.dbFileMetadatas_ =
- java.util.Collections.unmodifiableList(result.dbFileMetadatas_);
- }
- org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas) {
- return mergeFrom((org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas other) {
- if (other == org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaDatas.getDefaultInstance()) return this;
- if (other.hasErrorCode()) {
- setErrorCode(other.getErrorCode());
- }
- if (other.hasMaxChunkSize()) {
- setMaxChunkSize(other.getMaxChunkSize());
- }
- if (!other.dbFileMetadatas_.isEmpty()) {
- if (result.dbFileMetadatas_.isEmpty()) {
- result.dbFileMetadatas_ = new java.util.ArrayList<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData>();
- }
- result.dbFileMetadatas_.addAll(other.dbFileMetadatas_);
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 13: {
- setErrorCode(input.readFixed32());
- break;
- }
- case 21: {
- setMaxChunkSize(input.readFixed32());
- break;
- }
- case 26: {
- org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.Builder subBuilder = org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addDbFileMetadatas(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional fixed32 error_code = 1 [default = 0];
- public boolean hasErrorCode() {
- return result.hasErrorCode();
- }
- public int getErrorCode() {
- return result.getErrorCode();
- }
- public Builder setErrorCode(int value) {
- result.hasErrorCode = true;
- result.errorCode_ = value;
- return this;
- }
- public Builder clearErrorCode() {
- result.hasErrorCode = false;
- result.errorCode_ = 0;
- return this;
- }
-
- // optional fixed32 max_chunk_size = 2 [default = 5242880];
- public boolean hasMaxChunkSize() {
- return result.hasMaxChunkSize();
- }
- public int getMaxChunkSize() {
- return result.getMaxChunkSize();
- }
- public Builder setMaxChunkSize(int value) {
- result.hasMaxChunkSize = true;
- result.maxChunkSize_ = value;
- return this;
- }
- public Builder clearMaxChunkSize() {
- result.hasMaxChunkSize = false;
- result.maxChunkSize_ = 5242880;
- return this;
- }
-
- // repeated .org.xtreemfs.pbrpc.DBFileMetaData db_file_metadatas = 3;
- public java.util.List<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData> getDbFileMetadatasList() {
- return java.util.Collections.unmodifiableList(result.dbFileMetadatas_);
- }
- public int getDbFileMetadatasCount() {
- return result.getDbFileMetadatasCount();
- }
- public org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData getDbFileMetadatas(int index) {
- return result.getDbFileMetadatas(index);
- }
- public Builder setDbFileMetadatas(int index, org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- result.dbFileMetadatas_.set(index, value);
- return this;
- }
- public Builder setDbFileMetadatas(int index, org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.Builder builderForValue) {
- result.dbFileMetadatas_.set(index, builderForValue.build());
- return this;
- }
- public Builder addDbFileMetadatas(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData value) {
- if (value == null) {
- throw new NullPointerException();
- }
- if (result.dbFileMetadatas_.isEmpty()) {
- result.dbFileMetadatas_ = new java.util.ArrayList<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData>();
- }
- result.dbFileMetadatas_.add(value);
- return this;
- }
- public Builder addDbFileMetadatas(org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData.Builder builderForValue) {
- if (result.dbFileMetadatas_.isEmpty()) {
- result.dbFileMetadatas_ = new java.util.ArrayList<org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData>();
- }
- result.dbFileMetadatas_.add(builderForValue.build());
- return this;
- }
- public Builder addAllDbFileMetadatas(
- java.lang.Iterable<? extends org.xtreemfs.babudb.pbrpc.GlobalTypes.DBFileMetaData> values) {
- if (result.dbFileMetadatas_.isEmpty()) {
- result.dbFileMetadatas_ = new java.util.ArrayList<org.…
Large files files are truncated, but you can click here to view the full file