Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
alluxio.proto.client.Cache Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: proto/client/cache.proto
package alluxio.proto.client;
public final class Cache {
private Cache() {}
public static void registerAllExtensions(
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
alluxio.shaded.client.com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PPageStoreCommonOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.client.PPageStoreCommonOptions)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional int64 pageSize = 1;
* @return Whether the pageSize field is set.
*/
boolean hasPageSize();
/**
* optional int64 pageSize = 1;
* @return The pageSize.
*/
long getPageSize();
/**
* optional int64 cacheSize = 2;
* @return Whether the cacheSize field is set.
*/
boolean hasCacheSize();
/**
* optional int64 cacheSize = 2;
* @return The cacheSize.
*/
long getCacheSize();
/**
* optional string alluxioVersion = 3;
* @return Whether the alluxioVersion field is set.
*/
boolean hasAlluxioVersion();
/**
* optional string alluxioVersion = 3;
* @return The alluxioVersion.
*/
java.lang.String getAlluxioVersion();
/**
* optional string alluxioVersion = 3;
* @return The bytes for alluxioVersion.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioVersionBytes();
}
/**
* Protobuf type {@code alluxio.proto.client.PPageStoreCommonOptions}
*/
public static final class PPageStoreCommonOptions extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.client.PPageStoreCommonOptions)
PPageStoreCommonOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use PPageStoreCommonOptions.newBuilder() to construct.
private PPageStoreCommonOptions(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PPageStoreCommonOptions() {
alluxioVersion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PPageStoreCommonOptions();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PPageStoreCommonOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.client.Cache.PPageStoreCommonOptions.class, alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder.class);
}
private int bitField0_;
public static final int PAGESIZE_FIELD_NUMBER = 1;
private long pageSize_;
/**
* optional int64 pageSize = 1;
* @return Whether the pageSize field is set.
*/
@java.lang.Override
public boolean hasPageSize() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 pageSize = 1;
* @return The pageSize.
*/
@java.lang.Override
public long getPageSize() {
return pageSize_;
}
public static final int CACHESIZE_FIELD_NUMBER = 2;
private long cacheSize_;
/**
* optional int64 cacheSize = 2;
* @return Whether the cacheSize field is set.
*/
@java.lang.Override
public boolean hasCacheSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 cacheSize = 2;
* @return The cacheSize.
*/
@java.lang.Override
public long getCacheSize() {
return cacheSize_;
}
public static final int ALLUXIOVERSION_FIELD_NUMBER = 3;
private volatile java.lang.Object alluxioVersion_;
/**
* optional string alluxioVersion = 3;
* @return Whether the alluxioVersion field is set.
*/
@java.lang.Override
public boolean hasAlluxioVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string alluxioVersion = 3;
* @return The alluxioVersion.
*/
@java.lang.Override
public java.lang.String getAlluxioVersion() {
java.lang.Object ref = alluxioVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioVersion_ = s;
}
return s;
}
}
/**
* optional string alluxioVersion = 3;
* @return The bytes for alluxioVersion.
*/
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioVersionBytes() {
java.lang.Object ref = alluxioVersion_;
if (ref instanceof java.lang.String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioVersion_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, pageSize_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, cacheSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, alluxioVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, pageSize_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(2, cacheSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, alluxioVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.client.Cache.PPageStoreCommonOptions)) {
return super.equals(obj);
}
alluxio.proto.client.Cache.PPageStoreCommonOptions other = (alluxio.proto.client.Cache.PPageStoreCommonOptions) obj;
if (hasPageSize() != other.hasPageSize()) return false;
if (hasPageSize()) {
if (getPageSize()
!= other.getPageSize()) return false;
}
if (hasCacheSize() != other.hasCacheSize()) return false;
if (hasCacheSize()) {
if (getCacheSize()
!= other.getCacheSize()) return false;
}
if (hasAlluxioVersion() != other.hasAlluxioVersion()) return false;
if (hasAlluxioVersion()) {
if (!getAlluxioVersion()
.equals(other.getAlluxioVersion())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPageSize()) {
hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getPageSize());
}
if (hasCacheSize()) {
hash = (37 * hash) + CACHESIZE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getCacheSize());
}
if (hasAlluxioVersion()) {
hash = (37 * hash) + ALLUXIOVERSION_FIELD_NUMBER;
hash = (53 * hash) + getAlluxioVersion().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.client.Cache.PPageStoreCommonOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.proto.client.PPageStoreCommonOptions}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.client.PPageStoreCommonOptions)
alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PPageStoreCommonOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.client.Cache.PPageStoreCommonOptions.class, alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder.class);
}
// Construct using alluxio.proto.client.Cache.PPageStoreCommonOptions.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
pageSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
cacheSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
alluxioVersion_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor;
}
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptions getDefaultInstanceForType() {
return alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptions build() {
alluxio.proto.client.Cache.PPageStoreCommonOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptions buildPartial() {
alluxio.proto.client.Cache.PPageStoreCommonOptions result = new alluxio.proto.client.Cache.PPageStoreCommonOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.pageSize_ = pageSize_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cacheSize_ = cacheSize_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.alluxioVersion_ = alluxioVersion_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.client.Cache.PPageStoreCommonOptions) {
return mergeFrom((alluxio.proto.client.Cache.PPageStoreCommonOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.client.Cache.PPageStoreCommonOptions other) {
if (other == alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance()) return this;
if (other.hasPageSize()) {
setPageSize(other.getPageSize());
}
if (other.hasCacheSize()) {
setCacheSize(other.getCacheSize());
}
if (other.hasAlluxioVersion()) {
bitField0_ |= 0x00000004;
alluxioVersion_ = other.alluxioVersion_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
pageSize_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
cacheSize_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
alluxioVersion_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long pageSize_ ;
/**
* optional int64 pageSize = 1;
* @return Whether the pageSize field is set.
*/
@java.lang.Override
public boolean hasPageSize() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 pageSize = 1;
* @return The pageSize.
*/
@java.lang.Override
public long getPageSize() {
return pageSize_;
}
/**
* optional int64 pageSize = 1;
* @param value The pageSize to set.
* @return This builder for chaining.
*/
public Builder setPageSize(long value) {
bitField0_ |= 0x00000001;
pageSize_ = value;
onChanged();
return this;
}
/**
* optional int64 pageSize = 1;
* @return This builder for chaining.
*/
public Builder clearPageSize() {
bitField0_ = (bitField0_ & ~0x00000001);
pageSize_ = 0L;
onChanged();
return this;
}
private long cacheSize_ ;
/**
* optional int64 cacheSize = 2;
* @return Whether the cacheSize field is set.
*/
@java.lang.Override
public boolean hasCacheSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 cacheSize = 2;
* @return The cacheSize.
*/
@java.lang.Override
public long getCacheSize() {
return cacheSize_;
}
/**
* optional int64 cacheSize = 2;
* @param value The cacheSize to set.
* @return This builder for chaining.
*/
public Builder setCacheSize(long value) {
bitField0_ |= 0x00000002;
cacheSize_ = value;
onChanged();
return this;
}
/**
* optional int64 cacheSize = 2;
* @return This builder for chaining.
*/
public Builder clearCacheSize() {
bitField0_ = (bitField0_ & ~0x00000002);
cacheSize_ = 0L;
onChanged();
return this;
}
private java.lang.Object alluxioVersion_ = "";
/**
* optional string alluxioVersion = 3;
* @return Whether the alluxioVersion field is set.
*/
public boolean hasAlluxioVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string alluxioVersion = 3;
* @return The alluxioVersion.
*/
public java.lang.String getAlluxioVersion() {
java.lang.Object ref = alluxioVersion_;
if (!(ref instanceof java.lang.String)) {
alluxio.shaded.client.com.google.protobuf.ByteString bs =
(alluxio.shaded.client.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alluxioVersion_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string alluxioVersion = 3;
* @return The bytes for alluxioVersion.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getAlluxioVersionBytes() {
java.lang.Object ref = alluxioVersion_;
if (ref instanceof String) {
alluxio.shaded.client.com.google.protobuf.ByteString b =
alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alluxioVersion_ = b;
return b;
} else {
return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string alluxioVersion = 3;
* @param value The alluxioVersion to set.
* @return This builder for chaining.
*/
public Builder setAlluxioVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
alluxioVersion_ = value;
onChanged();
return this;
}
/**
* optional string alluxioVersion = 3;
* @return This builder for chaining.
*/
public Builder clearAlluxioVersion() {
bitField0_ = (bitField0_ & ~0x00000004);
alluxioVersion_ = getDefaultInstance().getAlluxioVersion();
onChanged();
return this;
}
/**
* optional string alluxioVersion = 3;
* @param value The bytes for alluxioVersion to set.
* @return This builder for chaining.
*/
public Builder setAlluxioVersionBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
alluxioVersion_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.client.PPageStoreCommonOptions)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.client.PPageStoreCommonOptions)
private static final alluxio.proto.client.Cache.PPageStoreCommonOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.client.Cache.PPageStoreCommonOptions();
}
public static alluxio.proto.client.Cache.PPageStoreCommonOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public PPageStoreCommonOptions parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PRocksPageStoreOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.client.PRocksPageStoreOptions)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
boolean hasCommonOptions();
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return The alluxio.shaded.client.com.onOptions.
*/
alluxio.proto.client.Cache.PPageStoreCommonOptions getCommonOptions();
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder getCommonOptionsOrBuilder();
}
/**
* Protobuf type {@code alluxio.proto.client.PRocksPageStoreOptions}
*/
public static final class PRocksPageStoreOptions extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.proto.client.PRocksPageStoreOptions)
PRocksPageStoreOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use PRocksPageStoreOptions.newBuilder() to construct.
private PRocksPageStoreOptions(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PRocksPageStoreOptions() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PRocksPageStoreOptions();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PRocksPageStoreOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.client.Cache.PRocksPageStoreOptions.class, alluxio.proto.client.Cache.PRocksPageStoreOptions.Builder.class);
}
private int bitField0_;
public static final int COMMONOPTIONS_FIELD_NUMBER = 1;
private alluxio.proto.client.Cache.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions_;
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
@java.lang.Override
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return The alluxio.shaded.client.com.onOptions.
*/
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptions getCommonOptions() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
@java.lang.Override
public alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder getCommonOptionsOrBuilder() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getCommonOptions());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(1, getCommonOptions());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.proto.client.Cache.PRocksPageStoreOptions)) {
return super.equals(obj);
}
alluxio.proto.client.Cache.PRocksPageStoreOptions other = (alluxio.proto.client.Cache.PRocksPageStoreOptions) obj;
if (hasCommonOptions() != other.hasCommonOptions()) return false;
if (hasCommonOptions()) {
if (!getCommonOptions()
.equals(other.getCommonOptions())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCommonOptions()) {
hash = (37 * hash) + COMMONOPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getCommonOptions().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.proto.client.Cache.PRocksPageStoreOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.proto.client.PRocksPageStoreOptions}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.client.PRocksPageStoreOptions)
alluxio.proto.client.Cache.PRocksPageStoreOptionsOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PRocksPageStoreOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.client.Cache.PRocksPageStoreOptions.class, alluxio.proto.client.Cache.PRocksPageStoreOptions.Builder.class);
}
// Construct using alluxio.proto.client.Cache.PRocksPageStoreOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCommonOptionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = null;
} else {
alluxio.shaded.client.com.onOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.client.Cache.internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor;
}
@java.lang.Override
public alluxio.proto.client.Cache.PRocksPageStoreOptions getDefaultInstanceForType() {
return alluxio.proto.client.Cache.PRocksPageStoreOptions.getDefaultInstance();
}
@java.lang.Override
public alluxio.proto.client.Cache.PRocksPageStoreOptions build() {
alluxio.proto.client.Cache.PRocksPageStoreOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.proto.client.Cache.PRocksPageStoreOptions buildPartial() {
alluxio.proto.client.Cache.PRocksPageStoreOptions result = new alluxio.proto.client.Cache.PRocksPageStoreOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
result.alluxio.shaded.client.com.onOptions_ = alluxio.shaded.client.com.onOptions_;
} else {
result.alluxio.shaded.client.com.onOptions_ = alluxio.shaded.client.com.onOptionsBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.client.Cache.PRocksPageStoreOptions) {
return mergeFrom((alluxio.proto.client.Cache.PRocksPageStoreOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.client.Cache.PRocksPageStoreOptions other) {
if (other == alluxio.proto.client.Cache.PRocksPageStoreOptions.getDefaultInstance()) return this;
if (other.hasCommonOptions()) {
mergeCommonOptions(other.getCommonOptions());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCommonOptionsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private alluxio.proto.client.Cache.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.client.Cache.PPageStoreCommonOptions, alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder, alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder> alluxio.shaded.client.com.onOptionsBuilder_;
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
* @return The alluxio.shaded.client.com.onOptions.
*/
public alluxio.proto.client.Cache.PPageStoreCommonOptions getCommonOptions() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
} else {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessage();
}
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public Builder setCommonOptions(alluxio.proto.client.Cache.PPageStoreCommonOptions value) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
alluxio.shaded.client.com.onOptions_ = value;
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public Builder setCommonOptions(
alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder builderForValue) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = builderForValue.build();
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public Builder mergeCommonOptions(alluxio.proto.client.Cache.PPageStoreCommonOptions value) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
alluxio.shaded.client.com.onOptions_ != null &&
alluxio.shaded.client.com.onOptions_ != alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance()) {
alluxio.shaded.client.com.onOptions_ =
alluxio.proto.client.Cache.PPageStoreCommonOptions.newBuilder(alluxio.shaded.client.com.onOptions_).mergeFrom(value).buildPartial();
} else {
alluxio.shaded.client.com.onOptions_ = value;
}
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public Builder clearCommonOptions() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = null;
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder getCommonOptionsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getCommonOptionsFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
public alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder getCommonOptionsOrBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ != null) {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessageOrBuilder();
} else {
return alluxio.shaded.client.com.onOptions_ == null ?
alluxio.proto.client.Cache.PPageStoreCommonOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
}
/**
* optional .alluxio.proto.client.PPageStoreCommonOptions alluxio.shaded.client.com.onOptions = 1;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.client.Cache.PPageStoreCommonOptions, alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder, alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder>
getCommonOptionsFieldBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptionsBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.proto.client.Cache.PPageStoreCommonOptions, alluxio.proto.client.Cache.PPageStoreCommonOptions.Builder, alluxio.proto.client.Cache.PPageStoreCommonOptionsOrBuilder>(
getCommonOptions(),
getParentForChildren(),
isClean());
alluxio.shaded.client.com.onOptions_ = null;
}
return alluxio.shaded.client.com.onOptionsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.client.PRocksPageStoreOptions)
}
// @@protoc_insertion_point(class_scope:alluxio.proto.client.PRocksPageStoreOptions)
private static final alluxio.proto.client.Cache.PRocksPageStoreOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.proto.client.Cache.PRocksPageStoreOptions();
}
public static alluxio.proto.client.Cache.PRocksPageStoreOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public PRocksPageStoreOptions parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.proto.client.Cache.PRocksPageStoreOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_client_PPageStoreCommonOptions_fieldAccessorTable;
private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor;
private static final
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_alluxio_proto_client_PRocksPageStoreOptions_fieldAccessorTable;
public static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\030proto/client/cache.proto\022\024alluxio.prot" +
"o.client\"V\n\027PPageStoreCommonOptions\022\020\n\010p" +
"ageSize\030\001 \001(\003\022\021\n\tcacheSize\030\002 \001(\003\022\026\n\016allu" +
"xioVersion\030\003 \001(\t\"^\n\026PRocksPageStoreOptio" +
"ns\022D\n\rcommonOptions\030\001 \001(\0132-.alluxio.prot" +
"o.client.PPageStoreCommonOptions"
};
descriptor = alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_alluxio_proto_client_PPageStoreCommonOptions_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_client_PPageStoreCommonOptions_descriptor,
new java.lang.String[] { "PageSize", "CacheSize", "AlluxioVersion", });
internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_alluxio_proto_client_PRocksPageStoreOptions_fieldAccessorTable = new
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alluxio_proto_client_PRocksPageStoreOptions_descriptor,
new java.lang.String[] { "CommonOptions", });
}
// @@protoc_insertion_point(outer_class_scope)
}