
alluxio.grpc.GetConfigurationPOptions Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/meta_master.proto
package alluxio.grpc;
/**
* Protobuf type {@code alluxio.grpc.meta.GetConfigurationPOptions}
*/
public final class GetConfigurationPOptions extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.grpc.meta.GetConfigurationPOptions)
GetConfigurationPOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetConfigurationPOptions.newBuilder() to construct.
private GetConfigurationPOptions(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetConfigurationPOptions() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetConfigurationPOptions();
}
@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.MetaMasterProto.internal_static_alluxio_grpc_meta_GetConfigurationPOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_GetConfigurationPOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.GetConfigurationPOptions.class, alluxio.grpc.GetConfigurationPOptions.Builder.class);
}
private int bitField0_;
public static final int RAWVALUE_FIELD_NUMBER = 1;
private boolean rawValue_;
/**
* optional bool rawValue = 1;
* @return Whether the rawValue field is set.
*/
@java.lang.Override
public boolean hasRawValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool rawValue = 1;
* @return The rawValue.
*/
@java.lang.Override
public boolean getRawValue() {
return rawValue_;
}
public static final int IGNORECLUSTERCONF_FIELD_NUMBER = 2;
private boolean ignoreClusterConf_;
/**
* optional bool ignoreClusterConf = 2;
* @return Whether the ignoreClusterConf field is set.
*/
@java.lang.Override
public boolean hasIgnoreClusterConf() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool ignoreClusterConf = 2;
* @return The ignoreClusterConf.
*/
@java.lang.Override
public boolean getIgnoreClusterConf() {
return ignoreClusterConf_;
}
public static final int IGNOREPATHCONF_FIELD_NUMBER = 3;
private boolean ignorePathConf_;
/**
* optional bool ignorePathConf = 3;
* @return Whether the ignorePathConf field is set.
*/
@java.lang.Override
public boolean hasIgnorePathConf() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool ignorePathConf = 3;
* @return The ignorePathConf.
*/
@java.lang.Override
public boolean getIgnorePathConf() {
return ignorePathConf_;
}
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.writeBool(1, rawValue_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, ignoreClusterConf_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, ignorePathConf_);
}
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.uteBoolSize(1, rawValue_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(2, ignoreClusterConf_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(3, ignorePathConf_);
}
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.GetConfigurationPOptions)) {
return super.equals(obj);
}
alluxio.grpc.GetConfigurationPOptions other = (alluxio.grpc.GetConfigurationPOptions) obj;
if (hasRawValue() != other.hasRawValue()) return false;
if (hasRawValue()) {
if (getRawValue()
!= other.getRawValue()) return false;
}
if (hasIgnoreClusterConf() != other.hasIgnoreClusterConf()) return false;
if (hasIgnoreClusterConf()) {
if (getIgnoreClusterConf()
!= other.getIgnoreClusterConf()) return false;
}
if (hasIgnorePathConf() != other.hasIgnorePathConf()) return false;
if (hasIgnorePathConf()) {
if (getIgnorePathConf()
!= other.getIgnorePathConf()) 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 (hasRawValue()) {
hash = (37 * hash) + RAWVALUE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getRawValue());
}
if (hasIgnoreClusterConf()) {
hash = (37 * hash) + IGNORECLUSTERCONF_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getIgnoreClusterConf());
}
if (hasIgnorePathConf()) {
hash = (37 * hash) + IGNOREPATHCONF_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getIgnorePathConf());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.grpc.GetConfigurationPOptions parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.GetConfigurationPOptions 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.meta.GetConfigurationPOptions}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.grpc.meta.GetConfigurationPOptions)
alluxio.grpc.GetConfigurationPOptionsOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_GetConfigurationPOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_GetConfigurationPOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.GetConfigurationPOptions.class, alluxio.grpc.GetConfigurationPOptions.Builder.class);
}
// Construct using alluxio.grpc.GetConfigurationPOptions.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
rawValue_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
ignoreClusterConf_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
ignorePathConf_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.grpc.MetaMasterProto.internal_static_alluxio_grpc_meta_GetConfigurationPOptions_descriptor;
}
@java.lang.Override
public alluxio.grpc.GetConfigurationPOptions getDefaultInstanceForType() {
return alluxio.grpc.GetConfigurationPOptions.getDefaultInstance();
}
@java.lang.Override
public alluxio.grpc.GetConfigurationPOptions build() {
alluxio.grpc.GetConfigurationPOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.grpc.GetConfigurationPOptions buildPartial() {
alluxio.grpc.GetConfigurationPOptions result = new alluxio.grpc.GetConfigurationPOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.rawValue_ = rawValue_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ignoreClusterConf_ = ignoreClusterConf_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.ignorePathConf_ = ignorePathConf_;
to_bitField0_ |= 0x00000004;
}
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.GetConfigurationPOptions) {
return mergeFrom((alluxio.grpc.GetConfigurationPOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.grpc.GetConfigurationPOptions other) {
if (other == alluxio.grpc.GetConfigurationPOptions.getDefaultInstance()) return this;
if (other.hasRawValue()) {
setRawValue(other.getRawValue());
}
if (other.hasIgnoreClusterConf()) {
setIgnoreClusterConf(other.getIgnoreClusterConf());
}
if (other.hasIgnorePathConf()) {
setIgnorePathConf(other.getIgnorePathConf());
}
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: {
rawValue_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
ignoreClusterConf_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
ignorePathConf_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
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 boolean rawValue_ ;
/**
* optional bool rawValue = 1;
* @return Whether the rawValue field is set.
*/
@java.lang.Override
public boolean hasRawValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool rawValue = 1;
* @return The rawValue.
*/
@java.lang.Override
public boolean getRawValue() {
return rawValue_;
}
/**
* optional bool rawValue = 1;
* @param value The rawValue to set.
* @return This builder for chaining.
*/
public Builder setRawValue(boolean value) {
bitField0_ |= 0x00000001;
rawValue_ = value;
onChanged();
return this;
}
/**
* optional bool rawValue = 1;
* @return This builder for chaining.
*/
public Builder clearRawValue() {
bitField0_ = (bitField0_ & ~0x00000001);
rawValue_ = false;
onChanged();
return this;
}
private boolean ignoreClusterConf_ ;
/**
* optional bool ignoreClusterConf = 2;
* @return Whether the ignoreClusterConf field is set.
*/
@java.lang.Override
public boolean hasIgnoreClusterConf() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool ignoreClusterConf = 2;
* @return The ignoreClusterConf.
*/
@java.lang.Override
public boolean getIgnoreClusterConf() {
return ignoreClusterConf_;
}
/**
* optional bool ignoreClusterConf = 2;
* @param value The ignoreClusterConf to set.
* @return This builder for chaining.
*/
public Builder setIgnoreClusterConf(boolean value) {
bitField0_ |= 0x00000002;
ignoreClusterConf_ = value;
onChanged();
return this;
}
/**
* optional bool ignoreClusterConf = 2;
* @return This builder for chaining.
*/
public Builder clearIgnoreClusterConf() {
bitField0_ = (bitField0_ & ~0x00000002);
ignoreClusterConf_ = false;
onChanged();
return this;
}
private boolean ignorePathConf_ ;
/**
* optional bool ignorePathConf = 3;
* @return Whether the ignorePathConf field is set.
*/
@java.lang.Override
public boolean hasIgnorePathConf() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool ignorePathConf = 3;
* @return The ignorePathConf.
*/
@java.lang.Override
public boolean getIgnorePathConf() {
return ignorePathConf_;
}
/**
* optional bool ignorePathConf = 3;
* @param value The ignorePathConf to set.
* @return This builder for chaining.
*/
public Builder setIgnorePathConf(boolean value) {
bitField0_ |= 0x00000004;
ignorePathConf_ = value;
onChanged();
return this;
}
/**
* optional bool ignorePathConf = 3;
* @return This builder for chaining.
*/
public Builder clearIgnorePathConf() {
bitField0_ = (bitField0_ & ~0x00000004);
ignorePathConf_ = 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.meta.GetConfigurationPOptions)
}
// @@protoc_insertion_point(class_scope:alluxio.grpc.meta.GetConfigurationPOptions)
private static final alluxio.grpc.GetConfigurationPOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.grpc.GetConfigurationPOptions();
}
public static alluxio.grpc.GetConfigurationPOptions 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 GetConfigurationPOptions 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.GetConfigurationPOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy