
alluxio.grpc.GetStatusPOptions Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/file_system_master.proto
package alluxio.grpc;
/**
* Protobuf type {@code alluxio.grpc.file.GetStatusPOptions}
*/
public final class GetStatusPOptions extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.grpc.file.GetStatusPOptions)
GetStatusPOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetStatusPOptions.newBuilder() to construct.
private GetStatusPOptions(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetStatusPOptions() {
loadMetadataType_ = 0;
accessMode_ = 1;
updateTimestamps_ = true;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetStatusPOptions();
}
@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.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_GetStatusPOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_GetStatusPOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.GetStatusPOptions.class, alluxio.grpc.GetStatusPOptions.Builder.class);
}
private int bitField0_;
public static final int LOADMETADATATYPE_FIELD_NUMBER = 1;
private int loadMetadataType_;
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @return Whether the loadMetadataType field is set.
*/
@java.lang.Override public boolean hasLoadMetadataType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @return The loadMetadataType.
*/
@java.lang.Override public alluxio.grpc.LoadMetadataPType getLoadMetadataType() {
@SuppressWarnings("deprecation")
alluxio.grpc.LoadMetadataPType result = alluxio.grpc.LoadMetadataPType.valueOf(loadMetadataType_);
return result == null ? alluxio.grpc.LoadMetadataPType.NEVER : result;
}
public static final int COMMONOPTIONS_FIELD_NUMBER = 2;
private alluxio.grpc.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions_;
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
@java.lang.Override
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
* @return The alluxio.shaded.client.com.onOptions.
*/
@java.lang.Override
public alluxio.grpc.FileSystemMasterCommonPOptions getCommonOptions() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
@java.lang.Override
public alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder getCommonOptionsOrBuilder() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
public static final int ACCESSMODE_FIELD_NUMBER = 3;
private int accessMode_;
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @return Whether the accessMode field is set.
*/
@java.lang.Override public boolean hasAccessMode() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @return The accessMode.
*/
@java.lang.Override public alluxio.grpc.Bits getAccessMode() {
@SuppressWarnings("deprecation")
alluxio.grpc.Bits result = alluxio.grpc.Bits.valueOf(accessMode_);
return result == null ? alluxio.grpc.Bits.NONE : result;
}
public static final int UPDATETIMESTAMPS_FIELD_NUMBER = 4;
private boolean updateTimestamps_;
/**
* optional bool updateTimestamps = 4 [default = true];
* @return Whether the updateTimestamps field is set.
*/
@java.lang.Override
public boolean hasUpdateTimestamps() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool updateTimestamps = 4 [default = true];
* @return The updateTimestamps.
*/
@java.lang.Override
public boolean getUpdateTimestamps() {
return updateTimestamps_;
}
public static final int INCLUDEREALCONTENTHASH_FIELD_NUMBER = 5;
private boolean includeRealContentHash_;
/**
* optional bool includeRealContentHash = 5;
* @return Whether the includeRealContentHash field is set.
*/
@java.lang.Override
public boolean hasIncludeRealContentHash() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool includeRealContentHash = 5;
* @return The includeRealContentHash.
*/
@java.lang.Override
public boolean getIncludeRealContentHash() {
return includeRealContentHash_;
}
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.writeEnum(1, loadMetadataType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCommonOptions());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, accessMode_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, updateTimestamps_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, includeRealContentHash_);
}
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.uteEnumSize(1, loadMetadataType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(2, getCommonOptions());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteEnumSize(3, accessMode_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(4, updateTimestamps_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, includeRealContentHash_);
}
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.grpc.GetStatusPOptions)) {
return super.equals(obj);
}
alluxio.grpc.GetStatusPOptions other = (alluxio.grpc.GetStatusPOptions) obj;
if (hasLoadMetadataType() != other.hasLoadMetadataType()) return false;
if (hasLoadMetadataType()) {
if (loadMetadataType_ != other.loadMetadataType_) return false;
}
if (hasCommonOptions() != other.hasCommonOptions()) return false;
if (hasCommonOptions()) {
if (!getCommonOptions()
.equals(other.getCommonOptions())) return false;
}
if (hasAccessMode() != other.hasAccessMode()) return false;
if (hasAccessMode()) {
if (accessMode_ != other.accessMode_) return false;
}
if (hasUpdateTimestamps() != other.hasUpdateTimestamps()) return false;
if (hasUpdateTimestamps()) {
if (getUpdateTimestamps()
!= other.getUpdateTimestamps()) return false;
}
if (hasIncludeRealContentHash() != other.hasIncludeRealContentHash()) return false;
if (hasIncludeRealContentHash()) {
if (getIncludeRealContentHash()
!= other.getIncludeRealContentHash()) 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 (hasLoadMetadataType()) {
hash = (37 * hash) + LOADMETADATATYPE_FIELD_NUMBER;
hash = (53 * hash) + loadMetadataType_;
}
if (hasCommonOptions()) {
hash = (37 * hash) + COMMONOPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getCommonOptions().hashCode();
}
if (hasAccessMode()) {
hash = (37 * hash) + ACCESSMODE_FIELD_NUMBER;
hash = (53 * hash) + accessMode_;
}
if (hasUpdateTimestamps()) {
hash = (37 * hash) + UPDATETIMESTAMPS_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getUpdateTimestamps());
}
if (hasIncludeRealContentHash()) {
hash = (37 * hash) + INCLUDEREALCONTENTHASH_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getIncludeRealContentHash());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.grpc.GetStatusPOptions parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.GetStatusPOptions 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.grpc.file.GetStatusPOptions}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.grpc.file.GetStatusPOptions)
alluxio.grpc.GetStatusPOptionsOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_GetStatusPOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_GetStatusPOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.GetStatusPOptions.class, alluxio.grpc.GetStatusPOptions.Builder.class);
}
// Construct using alluxio.grpc.GetStatusPOptions.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();
loadMetadataType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = null;
} else {
alluxio.shaded.client.com.onOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
accessMode_ = 1;
bitField0_ = (bitField0_ & ~0x00000004);
updateTimestamps_ = true;
bitField0_ = (bitField0_ & ~0x00000008);
includeRealContentHash_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_GetStatusPOptions_descriptor;
}
@java.lang.Override
public alluxio.grpc.GetStatusPOptions getDefaultInstanceForType() {
return alluxio.grpc.GetStatusPOptions.getDefaultInstance();
}
@java.lang.Override
public alluxio.grpc.GetStatusPOptions build() {
alluxio.grpc.GetStatusPOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.grpc.GetStatusPOptions buildPartial() {
alluxio.grpc.GetStatusPOptions result = new alluxio.grpc.GetStatusPOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.loadMetadataType_ = loadMetadataType_;
if (((from_bitField0_ & 0x00000002) != 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_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.accessMode_ = accessMode_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.updateTimestamps_ = updateTimestamps_;
if (((from_bitField0_ & 0x00000010) != 0)) {
result.includeRealContentHash_ = includeRealContentHash_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.grpc.GetStatusPOptions) {
return mergeFrom((alluxio.grpc.GetStatusPOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.grpc.GetStatusPOptions other) {
if (other == alluxio.grpc.GetStatusPOptions.getDefaultInstance()) return this;
if (other.hasLoadMetadataType()) {
setLoadMetadataType(other.getLoadMetadataType());
}
if (other.hasCommonOptions()) {
mergeCommonOptions(other.getCommonOptions());
}
if (other.hasAccessMode()) {
setAccessMode(other.getAccessMode());
}
if (other.hasUpdateTimestamps()) {
setUpdateTimestamps(other.getUpdateTimestamps());
}
if (other.hasIncludeRealContentHash()) {
setIncludeRealContentHash(other.getIncludeRealContentHash());
}
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: {
int tmpRaw = input.readEnum();
alluxio.grpc.LoadMetadataPType tmpValue =
alluxio.grpc.LoadMetadataPType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
loadMetadataType_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
input.readMessage(
getCommonOptionsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
alluxio.grpc.Bits tmpValue =
alluxio.grpc.Bits.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
accessMode_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 32: {
updateTimestamps_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
includeRealContentHash_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int loadMetadataType_ = 0;
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @return Whether the loadMetadataType field is set.
*/
@java.lang.Override public boolean hasLoadMetadataType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @return The loadMetadataType.
*/
@java.lang.Override
public alluxio.grpc.LoadMetadataPType getLoadMetadataType() {
@SuppressWarnings("deprecation")
alluxio.grpc.LoadMetadataPType result = alluxio.grpc.LoadMetadataPType.valueOf(loadMetadataType_);
return result == null ? alluxio.grpc.LoadMetadataPType.NEVER : result;
}
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @param value The loadMetadataType to set.
* @return This builder for chaining.
*/
public Builder setLoadMetadataType(alluxio.grpc.LoadMetadataPType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
loadMetadataType_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;
* @return This builder for chaining.
*/
public Builder clearLoadMetadataType() {
bitField0_ = (bitField0_ & ~0x00000001);
loadMetadataType_ = 0;
onChanged();
return this;
}
private alluxio.grpc.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder> alluxio.shaded.client.com.onOptionsBuilder_;
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
* @return The alluxio.shaded.client.com.onOptions.
*/
public alluxio.grpc.FileSystemMasterCommonPOptions getCommonOptions() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
} else {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessage();
}
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
public Builder setCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions 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_ |= 0x00000002;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
public Builder setCommonOptions(
alluxio.grpc.FileSystemMasterCommonPOptions.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_ |= 0x00000002;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
public Builder mergeCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions value) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
alluxio.shaded.client.com.onOptions_ != null &&
alluxio.shaded.client.com.onOptions_ != alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance()) {
alluxio.shaded.client.com.onOptions_ =
alluxio.grpc.FileSystemMasterCommonPOptions.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_ |= 0x00000002;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
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_ & ~0x00000002);
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
public alluxio.grpc.FileSystemMasterCommonPOptions.Builder getCommonOptionsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCommonOptionsFieldBuilder().getBuilder();
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
public alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder getCommonOptionsOrBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ != null) {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessageOrBuilder();
} else {
return alluxio.shaded.client.com.onOptions_ == null ?
alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 2;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder>
getCommonOptionsFieldBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptionsBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder>(
getCommonOptions(),
getParentForChildren(),
isClean());
alluxio.shaded.client.com.onOptions_ = null;
}
return alluxio.shaded.client.com.onOptionsBuilder_;
}
private int accessMode_ = 1;
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @return Whether the accessMode field is set.
*/
@java.lang.Override public boolean hasAccessMode() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @return The accessMode.
*/
@java.lang.Override
public alluxio.grpc.Bits getAccessMode() {
@SuppressWarnings("deprecation")
alluxio.grpc.Bits result = alluxio.grpc.Bits.valueOf(accessMode_);
return result == null ? alluxio.grpc.Bits.NONE : result;
}
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @param value The accessMode to set.
* @return This builder for chaining.
*/
public Builder setAccessMode(alluxio.grpc.Bits value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
accessMode_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .alluxio.grpc.Bits accessMode = 3;
* @return This builder for chaining.
*/
public Builder clearAccessMode() {
bitField0_ = (bitField0_ & ~0x00000004);
accessMode_ = 1;
onChanged();
return this;
}
private boolean updateTimestamps_ = true;
/**
* optional bool updateTimestamps = 4 [default = true];
* @return Whether the updateTimestamps field is set.
*/
@java.lang.Override
public boolean hasUpdateTimestamps() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool updateTimestamps = 4 [default = true];
* @return The updateTimestamps.
*/
@java.lang.Override
public boolean getUpdateTimestamps() {
return updateTimestamps_;
}
/**
* optional bool updateTimestamps = 4 [default = true];
* @param value The updateTimestamps to set.
* @return This builder for chaining.
*/
public Builder setUpdateTimestamps(boolean value) {
bitField0_ |= 0x00000008;
updateTimestamps_ = value;
onChanged();
return this;
}
/**
* optional bool updateTimestamps = 4 [default = true];
* @return This builder for chaining.
*/
public Builder clearUpdateTimestamps() {
bitField0_ = (bitField0_ & ~0x00000008);
updateTimestamps_ = true;
onChanged();
return this;
}
private boolean includeRealContentHash_ ;
/**
* optional bool includeRealContentHash = 5;
* @return Whether the includeRealContentHash field is set.
*/
@java.lang.Override
public boolean hasIncludeRealContentHash() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool includeRealContentHash = 5;
* @return The includeRealContentHash.
*/
@java.lang.Override
public boolean getIncludeRealContentHash() {
return includeRealContentHash_;
}
/**
* optional bool includeRealContentHash = 5;
* @param value The includeRealContentHash to set.
* @return This builder for chaining.
*/
public Builder setIncludeRealContentHash(boolean value) {
bitField0_ |= 0x00000010;
includeRealContentHash_ = value;
onChanged();
return this;
}
/**
* optional bool includeRealContentHash = 5;
* @return This builder for chaining.
*/
public Builder clearIncludeRealContentHash() {
bitField0_ = (bitField0_ & ~0x00000010);
includeRealContentHash_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.grpc.file.GetStatusPOptions)
}
// @@protoc_insertion_point(class_scope:alluxio.grpc.file.GetStatusPOptions)
private static final alluxio.grpc.GetStatusPOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.grpc.GetStatusPOptions();
}
public static alluxio.grpc.GetStatusPOptions 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 GetStatusPOptions 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.grpc.GetStatusPOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy