org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-apache Show documentation
Show all versions of hadoop-apache Show documentation
Shaded version of Apache Hadoop for Presto
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: erasurecoding.proto
package org.apache.hadoop.hdfs.protocol.proto;
public final class ErasureCodingProtos {
private ErasureCodingProtos() {}
public static void registerAllExtensions(
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry registry) {
}
public interface SetErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string src = 1;
/**
* required string src = 1;
*/
boolean hasSrc();
/**
* required string src = 1;
*/
java.lang.String getSrc();
/**
* required string src = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes();
// optional string ecPolicyName = 2;
/**
* optional string ecPolicyName = 2;
*/
boolean hasEcPolicyName();
/**
* optional string ecPolicyName = 2;
*/
java.lang.String getEcPolicyName();
/**
* optional string ecPolicyName = 2;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.SetErasureCodingPolicyRequestProto}
*/
public static final class SetErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements SetErasureCodingPolicyRequestProtoOrBuilder {
// Use SetErasureCodingPolicyRequestProto.newBuilder() to construct.
private SetErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SetErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SetErasureCodingPolicyRequestProto defaultInstance;
public static SetErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public SetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SetErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
src_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
ecPolicyName_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public SetErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new SetErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string src = 1;
public static final int SRC_FIELD_NUMBER = 1;
private java.lang.Object src_;
/**
* required string src = 1;
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
src_ = s;
}
return s;
}
}
/**
* required string src = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string ecPolicyName = 2;
public static final int ECPOLICYNAME_FIELD_NUMBER = 2;
private java.lang.Object ecPolicyName_;
/**
* optional string ecPolicyName = 2;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string ecPolicyName = 2;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ecPolicyName_ = s;
}
return s;
}
}
/**
* optional string ecPolicyName = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
src_ = "";
ecPolicyName_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasSrc()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getSrcBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getEcPolicyNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getSrcBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getEcPolicyNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasSrc() == other.hasSrc());
if (hasSrc()) {
result = result && getSrc()
.equals(other.getSrc());
}
result = result && (hasEcPolicyName() == other.hasEcPolicyName());
if (hasEcPolicyName()) {
result = result && getEcPolicyName()
.equals(other.getEcPolicyName());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSrc()) {
hash = (37 * hash) + SRC_FIELD_NUMBER;
hash = (53 * hash) + getSrc().hashCode();
}
if (hasEcPolicyName()) {
hash = (37 * hash) + ECPOLICYNAME_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicyName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.SetErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
src_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
ecPolicyName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.src_ = src_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.ecPolicyName_ = ecPolicyName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasSrc()) {
bitField0_ |= 0x00000001;
src_ = other.src_;
onChanged();
}
if (other.hasEcPolicyName()) {
bitField0_ |= 0x00000002;
ecPolicyName_ = other.ecPolicyName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasSrc()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string src = 1;
private java.lang.Object src_ = "";
/**
* required string src = 1;
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
src_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string src = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string src = 1;
*/
public Builder setSrc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
/**
* required string src = 1;
*/
public Builder clearSrc() {
bitField0_ = (bitField0_ & ~0x00000001);
src_ = getDefaultInstance().getSrc();
onChanged();
return this;
}
/**
* required string src = 1;
*/
public Builder setSrcBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
// optional string ecPolicyName = 2;
private java.lang.Object ecPolicyName_ = "";
/**
* optional string ecPolicyName = 2;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string ecPolicyName = 2;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
ecPolicyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ecPolicyName = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ecPolicyName = 2;
*/
public Builder setEcPolicyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
ecPolicyName_ = value;
onChanged();
return this;
}
/**
* optional string ecPolicyName = 2;
*/
public Builder clearEcPolicyName() {
bitField0_ = (bitField0_ & ~0x00000002);
ecPolicyName_ = getDefaultInstance().getEcPolicyName();
onChanged();
return this;
}
/**
* optional string ecPolicyName = 2;
*/
public Builder setEcPolicyNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
ecPolicyName_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.SetErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new SetErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.SetErasureCodingPolicyRequestProto)
}
public interface SetErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.SetErasureCodingPolicyResponseProto}
*/
public static final class SetErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements SetErasureCodingPolicyResponseProtoOrBuilder {
// Use SetErasureCodingPolicyResponseProto.newBuilder() to construct.
private SetErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SetErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SetErasureCodingPolicyResponseProto defaultInstance;
public static SetErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public SetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SetErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public SetErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new SetErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.SetErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.SetErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.SetErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new SetErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.SetErasureCodingPolicyResponseProto)
}
public interface GetErasureCodingPoliciesRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPoliciesRequestProto}
*
*
* void request
*
*/
public static final class GetErasureCodingPoliciesRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingPoliciesRequestProtoOrBuilder {
// Use GetErasureCodingPoliciesRequestProto.newBuilder() to construct.
private GetErasureCodingPoliciesRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingPoliciesRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingPoliciesRequestProto defaultInstance;
public static GetErasureCodingPoliciesRequestProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingPoliciesRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingPoliciesRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingPoliciesRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingPoliciesRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPoliciesRequestProto}
*
*
* void request
*
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingPoliciesRequestProto)
}
static {
defaultInstance = new GetErasureCodingPoliciesRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPoliciesRequestProto)
}
public interface GetErasureCodingPoliciesResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
java.util.List
getEcPoliciesList();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index);
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
int getEcPoliciesCount();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPoliciesResponseProto}
*/
public static final class GetErasureCodingPoliciesResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingPoliciesResponseProtoOrBuilder {
// Use GetErasureCodingPoliciesResponseProto.newBuilder() to construct.
private GetErasureCodingPoliciesResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingPoliciesResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingPoliciesResponseProto defaultInstance;
public static GetErasureCodingPoliciesResponseProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingPoliciesResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingPoliciesResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
ecPolicies_.add(input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = java.util.Collections.unmodifiableList(ecPolicies_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingPoliciesResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingPoliciesResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
public static final int ECPOLICIES_FIELD_NUMBER = 1;
private java.util.List ecPolicies_;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List getEcPoliciesList() {
return ecPolicies_;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList() {
return ecPolicies_;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public int getEcPoliciesCount() {
return ecPolicies_.size();
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index) {
return ecPolicies_.get(index);
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index) {
return ecPolicies_.get(index);
}
private void initFields() {
ecPolicies_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getEcPoliciesCount(); i++) {
if (!getEcPolicies(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < ecPolicies_.size(); i++) {
output.writeMessage(1, ecPolicies_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < ecPolicies_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, ecPolicies_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto) obj;
boolean result = true;
result = result && getEcPoliciesList()
.equals(other.getEcPoliciesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getEcPoliciesCount() > 0) {
hash = (37 * hash) + ECPOLICIES_FIELD_NUMBER;
hash = (53 * hash) + getEcPoliciesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPoliciesResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEcPoliciesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (ecPoliciesBuilder_ == null) {
ecPolicies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ecPoliciesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto(this);
int from_bitField0_ = bitField0_;
if (ecPoliciesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = java.util.Collections.unmodifiableList(ecPolicies_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ecPolicies_ = ecPolicies_;
} else {
result.ecPolicies_ = ecPoliciesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto.getDefaultInstance()) return this;
if (ecPoliciesBuilder_ == null) {
if (!other.ecPolicies_.isEmpty()) {
if (ecPolicies_.isEmpty()) {
ecPolicies_ = other.ecPolicies_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEcPoliciesIsMutable();
ecPolicies_.addAll(other.ecPolicies_);
}
onChanged();
}
} else {
if (!other.ecPolicies_.isEmpty()) {
if (ecPoliciesBuilder_.isEmpty()) {
ecPoliciesBuilder_.dispose();
ecPoliciesBuilder_ = null;
ecPolicies_ = other.ecPolicies_;
bitField0_ = (bitField0_ & ~0x00000001);
ecPoliciesBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEcPoliciesFieldBuilder() : null;
} else {
ecPoliciesBuilder_.addAllMessages(other.ecPolicies_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getEcPoliciesCount(); i++) {
if (!getEcPolicies(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPoliciesResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
private java.util.List ecPolicies_ =
java.util.Collections.emptyList();
private void ensureEcPoliciesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = new java.util.ArrayList(ecPolicies_);
bitField0_ |= 0x00000001;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> ecPoliciesBuilder_;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List getEcPoliciesList() {
if (ecPoliciesBuilder_ == null) {
return java.util.Collections.unmodifiableList(ecPolicies_);
} else {
return ecPoliciesBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public int getEcPoliciesCount() {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.size();
} else {
return ecPoliciesBuilder_.getCount();
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index) {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.get(index);
} else {
return ecPoliciesBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder setEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.set(index, value);
onChanged();
} else {
ecPoliciesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder setEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.set(index, builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.add(value);
onChanged();
} else {
ecPoliciesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.add(index, value);
onChanged();
} else {
ecPoliciesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.add(builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.add(index, builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addAllEcPolicies(
java.lang.Iterable extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> values) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
super.addAll(values, ecPolicies_);
onChanged();
} else {
ecPoliciesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder clearEcPolicies() {
if (ecPoliciesBuilder_ == null) {
ecPolicies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
ecPoliciesBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder removeEcPolicies(int index) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.remove(index);
onChanged();
} else {
ecPoliciesBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder getEcPoliciesBuilder(
int index) {
return getEcPoliciesFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index) {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.get(index); } else {
return ecPoliciesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList() {
if (ecPoliciesBuilder_ != null) {
return ecPoliciesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ecPolicies_);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addEcPoliciesBuilder() {
return getEcPoliciesFieldBuilder().addBuilder(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addEcPoliciesBuilder(
int index) {
return getEcPoliciesFieldBuilder().addBuilder(
index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List
getEcPoliciesBuilderList() {
return getEcPoliciesFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesFieldBuilder() {
if (ecPoliciesBuilder_ == null) {
ecPoliciesBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>(
ecPolicies_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
ecPolicies_ = null;
}
return ecPoliciesBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingPoliciesResponseProto)
}
static {
defaultInstance = new GetErasureCodingPoliciesResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPoliciesResponseProto)
}
public interface GetErasureCodingCodecsRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingCodecsRequestProto}
*
*
* void request
*
*/
public static final class GetErasureCodingCodecsRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingCodecsRequestProtoOrBuilder {
// Use GetErasureCodingCodecsRequestProto.newBuilder() to construct.
private GetErasureCodingCodecsRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingCodecsRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingCodecsRequestProto defaultInstance;
public static GetErasureCodingCodecsRequestProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingCodecsRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingCodecsRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingCodecsRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingCodecsRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingCodecsRequestProto}
*
*
* void request
*
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingCodecsRequestProto)
}
static {
defaultInstance = new GetErasureCodingCodecsRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingCodecsRequestProto)
}
public interface GetErasureCodingCodecsResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .hadoop.hdfs.CodecProto codec = 1;
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
java.util.List
getCodecList();
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto getCodec(int index);
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
int getCodecCount();
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
java.util.List extends org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder>
getCodecOrBuilderList();
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder getCodecOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingCodecsResponseProto}
*/
public static final class GetErasureCodingCodecsResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingCodecsResponseProtoOrBuilder {
// Use GetErasureCodingCodecsResponseProto.newBuilder() to construct.
private GetErasureCodingCodecsResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingCodecsResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingCodecsResponseProto defaultInstance;
public static GetErasureCodingCodecsResponseProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingCodecsResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingCodecsResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
codec_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
codec_.add(input.readMessage(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
codec_ = java.util.Collections.unmodifiableList(codec_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingCodecsResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingCodecsResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .hadoop.hdfs.CodecProto codec = 1;
public static final int CODEC_FIELD_NUMBER = 1;
private java.util.List codec_;
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public java.util.List getCodecList() {
return codec_;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder>
getCodecOrBuilderList() {
return codec_;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public int getCodecCount() {
return codec_.size();
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto getCodec(int index) {
return codec_.get(index);
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder getCodecOrBuilder(
int index) {
return codec_.get(index);
}
private void initFields() {
codec_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getCodecCount(); i++) {
if (!getCodec(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < codec_.size(); i++) {
output.writeMessage(1, codec_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < codec_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, codec_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto) obj;
boolean result = true;
result = result && getCodecList()
.equals(other.getCodecList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getCodecCount() > 0) {
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodecList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingCodecsResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCodecFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (codecBuilder_ == null) {
codec_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
codecBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto(this);
int from_bitField0_ = bitField0_;
if (codecBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
codec_ = java.util.Collections.unmodifiableList(codec_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.codec_ = codec_;
} else {
result.codec_ = codecBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto.getDefaultInstance()) return this;
if (codecBuilder_ == null) {
if (!other.codec_.isEmpty()) {
if (codec_.isEmpty()) {
codec_ = other.codec_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCodecIsMutable();
codec_.addAll(other.codec_);
}
onChanged();
}
} else {
if (!other.codec_.isEmpty()) {
if (codecBuilder_.isEmpty()) {
codecBuilder_.dispose();
codecBuilder_ = null;
codec_ = other.codec_;
bitField0_ = (bitField0_ & ~0x00000001);
codecBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCodecFieldBuilder() : null;
} else {
codecBuilder_.addAllMessages(other.codec_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getCodecCount(); i++) {
if (!getCodec(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingCodecsResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .hadoop.hdfs.CodecProto codec = 1;
private java.util.List codec_ =
java.util.Collections.emptyList();
private void ensureCodecIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
codec_ = new java.util.ArrayList(codec_);
bitField0_ |= 0x00000001;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder> codecBuilder_;
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public java.util.List getCodecList() {
if (codecBuilder_ == null) {
return java.util.Collections.unmodifiableList(codec_);
} else {
return codecBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public int getCodecCount() {
if (codecBuilder_ == null) {
return codec_.size();
} else {
return codecBuilder_.getCount();
}
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto getCodec(int index) {
if (codecBuilder_ == null) {
return codec_.get(index);
} else {
return codecBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder setCodec(
int index, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCodecIsMutable();
codec_.set(index, value);
onChanged();
} else {
codecBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder setCodec(
int index, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder builderForValue) {
if (codecBuilder_ == null) {
ensureCodecIsMutable();
codec_.set(index, builderForValue.build());
onChanged();
} else {
codecBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder addCodec(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCodecIsMutable();
codec_.add(value);
onChanged();
} else {
codecBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder addCodec(
int index, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCodecIsMutable();
codec_.add(index, value);
onChanged();
} else {
codecBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder addCodec(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder builderForValue) {
if (codecBuilder_ == null) {
ensureCodecIsMutable();
codec_.add(builderForValue.build());
onChanged();
} else {
codecBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder addCodec(
int index, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder builderForValue) {
if (codecBuilder_ == null) {
ensureCodecIsMutable();
codec_.add(index, builderForValue.build());
onChanged();
} else {
codecBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder addAllCodec(
java.lang.Iterable extends org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto> values) {
if (codecBuilder_ == null) {
ensureCodecIsMutable();
super.addAll(values, codec_);
onChanged();
} else {
codecBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder clearCodec() {
if (codecBuilder_ == null) {
codec_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
codecBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public Builder removeCodec(int index) {
if (codecBuilder_ == null) {
ensureCodecIsMutable();
codec_.remove(index);
onChanged();
} else {
codecBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder getCodecBuilder(
int index) {
return getCodecFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder getCodecOrBuilder(
int index) {
if (codecBuilder_ == null) {
return codec_.get(index); } else {
return codecBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder>
getCodecOrBuilderList() {
if (codecBuilder_ != null) {
return codecBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(codec_);
}
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder addCodecBuilder() {
return getCodecFieldBuilder().addBuilder(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder addCodecBuilder(
int index) {
return getCodecFieldBuilder().addBuilder(
index, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.CodecProto codec = 1;
*/
public java.util.List
getCodecBuilderList() {
return getCodecFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder>
getCodecFieldBuilder() {
if (codecBuilder_ == null) {
codecBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder>(
codec_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
codec_ = null;
}
return codecBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingCodecsResponseProto)
}
static {
defaultInstance = new GetErasureCodingCodecsResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingCodecsResponseProto)
}
public interface GetErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string src = 1;
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
boolean hasSrc();
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
java.lang.String getSrc();
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPolicyRequestProto}
*/
public static final class GetErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingPolicyRequestProtoOrBuilder {
// Use GetErasureCodingPolicyRequestProto.newBuilder() to construct.
private GetErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingPolicyRequestProto defaultInstance;
public static GetErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
src_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string src = 1;
public static final int SRC_FIELD_NUMBER = 1;
private java.lang.Object src_;
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
src_ = s;
}
return s;
}
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
src_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasSrc()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getSrcBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getSrcBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasSrc() == other.hasSrc());
if (hasSrc()) {
result = result && getSrc()
.equals(other.getSrc());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSrc()) {
hash = (37 * hash) + SRC_FIELD_NUMBER;
hash = (53 * hash) + getSrc().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
src_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.src_ = src_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasSrc()) {
bitField0_ |= 0x00000001;
src_ = other.src_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasSrc()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string src = 1;
private java.lang.Object src_ = "";
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
src_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public Builder setSrc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public Builder clearSrc() {
bitField0_ = (bitField0_ & ~0x00000001);
src_ = getDefaultInstance().getSrc();
onChanged();
return this;
}
/**
* required string src = 1;
*
*
* path to get the policy info
*
*/
public Builder setSrcBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new GetErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPolicyRequestProto)
}
public interface GetErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
boolean hasEcPolicy();
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy();
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder();
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPolicyResponseProto}
*/
public static final class GetErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements GetErasureCodingPolicyResponseProtoOrBuilder {
// Use GetErasureCodingPolicyResponseProto.newBuilder() to construct.
private GetErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private GetErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final GetErasureCodingPolicyResponseProto defaultInstance;
public static GetErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public GetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = ecPolicy_.toBuilder();
}
ecPolicy_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ecPolicy_);
ecPolicy_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public GetErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new GetErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
public static final int ECPOLICY_FIELD_NUMBER = 1;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto ecPolicy_;
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public boolean hasEcPolicy() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy() {
return ecPolicy_;
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder() {
return ecPolicy_;
}
private void initFields() {
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasEcPolicy()) {
if (!getEcPolicy().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, ecPolicy_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, ecPolicy_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result && (hasEcPolicy() == other.hasEcPolicy());
if (hasEcPolicy()) {
result = result && getEcPolicy()
.equals(other.getEcPolicy());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasEcPolicy()) {
hash = (37 * hash) + ECPOLICY_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicy().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.GetErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEcPolicyFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (ecPolicyBuilder_ == null) {
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
} else {
ecPolicyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (ecPolicyBuilder_ == null) {
result.ecPolicy_ = ecPolicy_;
} else {
result.ecPolicy_ = ecPolicyBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
if (other.hasEcPolicy()) {
mergeEcPolicy(other.getEcPolicy());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (hasEcPolicy()) {
if (!getEcPolicy().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.GetErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> ecPolicyBuilder_;
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public boolean hasEcPolicy() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy() {
if (ecPolicyBuilder_ == null) {
return ecPolicy_;
} else {
return ecPolicyBuilder_.getMessage();
}
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public Builder setEcPolicy(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPolicyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ecPolicy_ = value;
onChanged();
} else {
ecPolicyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public Builder setEcPolicy(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPolicyBuilder_ == null) {
ecPolicy_ = builderForValue.build();
onChanged();
} else {
ecPolicyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public Builder mergeEcPolicy(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPolicyBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
ecPolicy_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance()) {
ecPolicy_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.newBuilder(ecPolicy_).mergeFrom(value).buildPartial();
} else {
ecPolicy_ = value;
}
onChanged();
} else {
ecPolicyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public Builder clearEcPolicy() {
if (ecPolicyBuilder_ == null) {
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
onChanged();
} else {
ecPolicyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder getEcPolicyBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getEcPolicyFieldBuilder().getBuilder();
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder() {
if (ecPolicyBuilder_ != null) {
return ecPolicyBuilder_.getMessageOrBuilder();
} else {
return ecPolicy_;
}
}
/**
* optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPolicyFieldBuilder() {
if (ecPolicyBuilder_ == null) {
ecPolicyBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>(
ecPolicy_,
getParentForChildren(),
isClean());
ecPolicy_ = null;
}
return ecPolicyBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.GetErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new GetErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPolicyResponseProto)
}
public interface AddErasureCodingPoliciesRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
java.util.List
getEcPoliciesList();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index);
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
int getEcPoliciesCount();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList();
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.hdfs.AddErasureCodingPoliciesRequestProto}
*/
public static final class AddErasureCodingPoliciesRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements AddErasureCodingPoliciesRequestProtoOrBuilder {
// Use AddErasureCodingPoliciesRequestProto.newBuilder() to construct.
private AddErasureCodingPoliciesRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddErasureCodingPoliciesRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddErasureCodingPoliciesRequestProto defaultInstance;
public static AddErasureCodingPoliciesRequestProto getDefaultInstance() {
return defaultInstance;
}
public AddErasureCodingPoliciesRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddErasureCodingPoliciesRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
ecPolicies_.add(input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = java.util.Collections.unmodifiableList(ecPolicies_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public AddErasureCodingPoliciesRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new AddErasureCodingPoliciesRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
public static final int ECPOLICIES_FIELD_NUMBER = 1;
private java.util.List ecPolicies_;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List getEcPoliciesList() {
return ecPolicies_;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList() {
return ecPolicies_;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public int getEcPoliciesCount() {
return ecPolicies_.size();
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index) {
return ecPolicies_.get(index);
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index) {
return ecPolicies_.get(index);
}
private void initFields() {
ecPolicies_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getEcPoliciesCount(); i++) {
if (!getEcPolicies(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < ecPolicies_.size(); i++) {
output.writeMessage(1, ecPolicies_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < ecPolicies_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, ecPolicies_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto) obj;
boolean result = true;
result = result && getEcPoliciesList()
.equals(other.getEcPoliciesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getEcPoliciesCount() > 0) {
hash = (37 * hash) + ECPOLICIES_FIELD_NUMBER;
hash = (53 * hash) + getEcPoliciesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.AddErasureCodingPoliciesRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEcPoliciesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (ecPoliciesBuilder_ == null) {
ecPolicies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ecPoliciesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto(this);
int from_bitField0_ = bitField0_;
if (ecPoliciesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = java.util.Collections.unmodifiableList(ecPolicies_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ecPolicies_ = ecPolicies_;
} else {
result.ecPolicies_ = ecPoliciesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto.getDefaultInstance()) return this;
if (ecPoliciesBuilder_ == null) {
if (!other.ecPolicies_.isEmpty()) {
if (ecPolicies_.isEmpty()) {
ecPolicies_ = other.ecPolicies_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEcPoliciesIsMutable();
ecPolicies_.addAll(other.ecPolicies_);
}
onChanged();
}
} else {
if (!other.ecPolicies_.isEmpty()) {
if (ecPoliciesBuilder_.isEmpty()) {
ecPoliciesBuilder_.dispose();
ecPoliciesBuilder_ = null;
ecPolicies_ = other.ecPolicies_;
bitField0_ = (bitField0_ & ~0x00000001);
ecPoliciesBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEcPoliciesFieldBuilder() : null;
} else {
ecPoliciesBuilder_.addAllMessages(other.ecPolicies_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getEcPoliciesCount(); i++) {
if (!getEcPolicies(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
private java.util.List ecPolicies_ =
java.util.Collections.emptyList();
private void ensureEcPoliciesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
ecPolicies_ = new java.util.ArrayList(ecPolicies_);
bitField0_ |= 0x00000001;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> ecPoliciesBuilder_;
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List getEcPoliciesList() {
if (ecPoliciesBuilder_ == null) {
return java.util.Collections.unmodifiableList(ecPolicies_);
} else {
return ecPoliciesBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public int getEcPoliciesCount() {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.size();
} else {
return ecPoliciesBuilder_.getCount();
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicies(int index) {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.get(index);
} else {
return ecPoliciesBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder setEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.set(index, value);
onChanged();
} else {
ecPoliciesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder setEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.set(index, builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.add(value);
onChanged();
} else {
ecPoliciesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPoliciesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEcPoliciesIsMutable();
ecPolicies_.add(index, value);
onChanged();
} else {
ecPoliciesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.add(builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addEcPolicies(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.add(index, builderForValue.build());
onChanged();
} else {
ecPoliciesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder addAllEcPolicies(
java.lang.Iterable extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto> values) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
super.addAll(values, ecPolicies_);
onChanged();
} else {
ecPoliciesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder clearEcPolicies() {
if (ecPoliciesBuilder_ == null) {
ecPolicies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
ecPoliciesBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public Builder removeEcPolicies(int index) {
if (ecPoliciesBuilder_ == null) {
ensureEcPoliciesIsMutable();
ecPolicies_.remove(index);
onChanged();
} else {
ecPoliciesBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder getEcPoliciesBuilder(
int index) {
return getEcPoliciesFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPoliciesOrBuilder(
int index) {
if (ecPoliciesBuilder_ == null) {
return ecPolicies_.get(index); } else {
return ecPoliciesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesOrBuilderList() {
if (ecPoliciesBuilder_ != null) {
return ecPoliciesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ecPolicies_);
}
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addEcPoliciesBuilder() {
return getEcPoliciesFieldBuilder().addBuilder(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder addEcPoliciesBuilder(
int index) {
return getEcPoliciesFieldBuilder().addBuilder(
index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
*/
public java.util.List
getEcPoliciesBuilderList() {
return getEcPoliciesFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPoliciesFieldBuilder() {
if (ecPoliciesBuilder_ == null) {
ecPoliciesBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>(
ecPolicies_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
ecPolicies_ = null;
}
return ecPoliciesBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.AddErasureCodingPoliciesRequestProto)
}
static {
defaultInstance = new AddErasureCodingPoliciesRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.AddErasureCodingPoliciesRequestProto)
}
public interface AddErasureCodingPoliciesResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
java.util.List
getResponsesList();
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto getResponses(int index);
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
int getResponsesCount();
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder>
getResponsesOrBuilderList();
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder getResponsesOrBuilder(
int index);
}
/**
* Protobuf type {@code hadoop.hdfs.AddErasureCodingPoliciesResponseProto}
*/
public static final class AddErasureCodingPoliciesResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements AddErasureCodingPoliciesResponseProtoOrBuilder {
// Use AddErasureCodingPoliciesResponseProto.newBuilder() to construct.
private AddErasureCodingPoliciesResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddErasureCodingPoliciesResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddErasureCodingPoliciesResponseProto defaultInstance;
public static AddErasureCodingPoliciesResponseProto getDefaultInstance() {
return defaultInstance;
}
public AddErasureCodingPoliciesResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddErasureCodingPoliciesResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
responses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
responses_.add(input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
responses_ = java.util.Collections.unmodifiableList(responses_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public AddErasureCodingPoliciesResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new AddErasureCodingPoliciesResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
public static final int RESPONSES_FIELD_NUMBER = 1;
private java.util.List responses_;
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public java.util.List getResponsesList() {
return responses_;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder>
getResponsesOrBuilderList() {
return responses_;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public int getResponsesCount() {
return responses_.size();
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto getResponses(int index) {
return responses_.get(index);
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder getResponsesOrBuilder(
int index) {
return responses_.get(index);
}
private void initFields() {
responses_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getResponsesCount(); i++) {
if (!getResponses(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < responses_.size(); i++) {
output.writeMessage(1, responses_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < responses_.size(); i++) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, responses_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto) obj;
boolean result = true;
result = result && getResponsesList()
.equals(other.getResponsesList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getResponsesCount() > 0) {
hash = (37 * hash) + RESPONSES_FIELD_NUMBER;
hash = (53 * hash) + getResponsesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.AddErasureCodingPoliciesResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getResponsesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
responsesBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto(this);
int from_bitField0_ = bitField0_;
if (responsesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
responses_ = java.util.Collections.unmodifiableList(responses_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.responses_ = responses_;
} else {
result.responses_ = responsesBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto.getDefaultInstance()) return this;
if (responsesBuilder_ == null) {
if (!other.responses_.isEmpty()) {
if (responses_.isEmpty()) {
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResponsesIsMutable();
responses_.addAll(other.responses_);
}
onChanged();
}
} else {
if (!other.responses_.isEmpty()) {
if (responsesBuilder_.isEmpty()) {
responsesBuilder_.dispose();
responsesBuilder_ = null;
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
responsesBuilder_ =
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getResponsesFieldBuilder() : null;
} else {
responsesBuilder_.addAllMessages(other.responses_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getResponsesCount(); i++) {
if (!getResponses(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.AddErasureCodingPoliciesResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
private java.util.List responses_ =
java.util.Collections.emptyList();
private void ensureResponsesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
responses_ = new java.util.ArrayList(responses_);
bitField0_ |= 0x00000001;
}
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder> responsesBuilder_;
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public java.util.List getResponsesList() {
if (responsesBuilder_ == null) {
return java.util.Collections.unmodifiableList(responses_);
} else {
return responsesBuilder_.getMessageList();
}
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public int getResponsesCount() {
if (responsesBuilder_ == null) {
return responses_.size();
} else {
return responsesBuilder_.getCount();
}
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto getResponses(int index) {
if (responsesBuilder_ == null) {
return responses_.get(index);
} else {
return responsesBuilder_.getMessage(index);
}
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder setResponses(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.set(index, value);
onChanged();
} else {
responsesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder setResponses(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.set(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder addResponses(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(value);
onChanged();
} else {
responsesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder addResponses(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(index, value);
onChanged();
} else {
responsesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder addResponses(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder addResponses(
int index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder addAllResponses(
java.lang.Iterable extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto> values) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
super.addAll(values, responses_);
onChanged();
} else {
responsesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder clearResponses() {
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
responsesBuilder_.clear();
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public Builder removeResponses(int index) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.remove(index);
onChanged();
} else {
responsesBuilder_.remove(index);
}
return this;
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder getResponsesBuilder(
int index) {
return getResponsesFieldBuilder().getBuilder(index);
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder getResponsesOrBuilder(
int index) {
if (responsesBuilder_ == null) {
return responses_.get(index); } else {
return responsesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public java.util.List extends org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder>
getResponsesOrBuilderList() {
if (responsesBuilder_ != null) {
return responsesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(responses_);
}
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder addResponsesBuilder() {
return getResponsesFieldBuilder().addBuilder(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder addResponsesBuilder(
int index) {
return getResponsesFieldBuilder().addBuilder(
index, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.getDefaultInstance());
}
/**
* repeated .hadoop.hdfs.AddErasureCodingPolicyResponseProto responses = 1;
*/
public java.util.List
getResponsesBuilderList() {
return getResponsesFieldBuilder().getBuilderList();
}
private io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder>
getResponsesFieldBuilder() {
if (responsesBuilder_ == null) {
responsesBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.AddErasureCodingPolicyResponseProtoOrBuilder>(
responses_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
responses_ = null;
}
return responsesBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.AddErasureCodingPoliciesResponseProto)
}
static {
defaultInstance = new AddErasureCodingPoliciesResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.AddErasureCodingPoliciesResponseProto)
}
public interface RemoveErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string ecPolicyName = 1;
/**
* required string ecPolicyName = 1;
*/
boolean hasEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
java.lang.String getEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.RemoveErasureCodingPolicyRequestProto}
*/
public static final class RemoveErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements RemoveErasureCodingPolicyRequestProtoOrBuilder {
// Use RemoveErasureCodingPolicyRequestProto.newBuilder() to construct.
private RemoveErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoveErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoveErasureCodingPolicyRequestProto defaultInstance;
public static RemoveErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public RemoveErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoveErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
ecPolicyName_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public RemoveErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RemoveErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string ecPolicyName = 1;
public static final int ECPOLICYNAME_FIELD_NUMBER = 1;
private java.lang.Object ecPolicyName_;
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ecPolicyName_ = s;
}
return s;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
ecPolicyName_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasEcPolicyName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getEcPolicyNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getEcPolicyNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasEcPolicyName() == other.hasEcPolicyName());
if (hasEcPolicyName()) {
result = result && getEcPolicyName()
.equals(other.getEcPolicyName());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasEcPolicyName()) {
hash = (37 * hash) + ECPOLICYNAME_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicyName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.RemoveErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ecPolicyName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ecPolicyName_ = ecPolicyName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasEcPolicyName()) {
bitField0_ |= 0x00000001;
ecPolicyName_ = other.ecPolicyName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEcPolicyName()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string ecPolicyName = 1;
private java.lang.Object ecPolicyName_ = "";
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
ecPolicyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder clearEcPolicyName() {
bitField0_ = (bitField0_ & ~0x00000001);
ecPolicyName_ = getDefaultInstance().getEcPolicyName();
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.RemoveErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new RemoveErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.RemoveErasureCodingPolicyRequestProto)
}
public interface RemoveErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.RemoveErasureCodingPolicyResponseProto}
*/
public static final class RemoveErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements RemoveErasureCodingPolicyResponseProtoOrBuilder {
// Use RemoveErasureCodingPolicyResponseProto.newBuilder() to construct.
private RemoveErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoveErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoveErasureCodingPolicyResponseProto defaultInstance;
public static RemoveErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public RemoveErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoveErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public RemoveErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RemoveErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.RemoveErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.RemoveErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.RemoveErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new RemoveErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.RemoveErasureCodingPolicyResponseProto)
}
public interface EnableErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string ecPolicyName = 1;
/**
* required string ecPolicyName = 1;
*/
boolean hasEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
java.lang.String getEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.EnableErasureCodingPolicyRequestProto}
*/
public static final class EnableErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements EnableErasureCodingPolicyRequestProtoOrBuilder {
// Use EnableErasureCodingPolicyRequestProto.newBuilder() to construct.
private EnableErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EnableErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EnableErasureCodingPolicyRequestProto defaultInstance;
public static EnableErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public EnableErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnableErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
ecPolicyName_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public EnableErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new EnableErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string ecPolicyName = 1;
public static final int ECPOLICYNAME_FIELD_NUMBER = 1;
private java.lang.Object ecPolicyName_;
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ecPolicyName_ = s;
}
return s;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
ecPolicyName_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasEcPolicyName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getEcPolicyNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getEcPolicyNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasEcPolicyName() == other.hasEcPolicyName());
if (hasEcPolicyName()) {
result = result && getEcPolicyName()
.equals(other.getEcPolicyName());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasEcPolicyName()) {
hash = (37 * hash) + ECPOLICYNAME_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicyName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.EnableErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ecPolicyName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ecPolicyName_ = ecPolicyName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasEcPolicyName()) {
bitField0_ |= 0x00000001;
ecPolicyName_ = other.ecPolicyName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEcPolicyName()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string ecPolicyName = 1;
private java.lang.Object ecPolicyName_ = "";
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
ecPolicyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder clearEcPolicyName() {
bitField0_ = (bitField0_ & ~0x00000001);
ecPolicyName_ = getDefaultInstance().getEcPolicyName();
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.EnableErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new EnableErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.EnableErasureCodingPolicyRequestProto)
}
public interface EnableErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.EnableErasureCodingPolicyResponseProto}
*/
public static final class EnableErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements EnableErasureCodingPolicyResponseProtoOrBuilder {
// Use EnableErasureCodingPolicyResponseProto.newBuilder() to construct.
private EnableErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EnableErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EnableErasureCodingPolicyResponseProto defaultInstance;
public static EnableErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public EnableErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EnableErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public EnableErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new EnableErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.EnableErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.EnableErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.EnableErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new EnableErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.EnableErasureCodingPolicyResponseProto)
}
public interface DisableErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string ecPolicyName = 1;
/**
* required string ecPolicyName = 1;
*/
boolean hasEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
java.lang.String getEcPolicyName();
/**
* required string ecPolicyName = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.DisableErasureCodingPolicyRequestProto}
*/
public static final class DisableErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements DisableErasureCodingPolicyRequestProtoOrBuilder {
// Use DisableErasureCodingPolicyRequestProto.newBuilder() to construct.
private DisableErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DisableErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DisableErasureCodingPolicyRequestProto defaultInstance;
public static DisableErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public DisableErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DisableErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
ecPolicyName_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public DisableErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new DisableErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string ecPolicyName = 1;
public static final int ECPOLICYNAME_FIELD_NUMBER = 1;
private java.lang.Object ecPolicyName_;
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ecPolicyName_ = s;
}
return s;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
ecPolicyName_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasEcPolicyName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getEcPolicyNameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getEcPolicyNameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasEcPolicyName() == other.hasEcPolicyName());
if (hasEcPolicyName()) {
result = result && getEcPolicyName()
.equals(other.getEcPolicyName());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasEcPolicyName()) {
hash = (37 * hash) + ECPOLICYNAME_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicyName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.DisableErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
ecPolicyName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ecPolicyName_ = ecPolicyName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasEcPolicyName()) {
bitField0_ |= 0x00000001;
ecPolicyName_ = other.ecPolicyName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEcPolicyName()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string ecPolicyName = 1;
private java.lang.Object ecPolicyName_ = "";
/**
* required string ecPolicyName = 1;
*/
public boolean hasEcPolicyName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string ecPolicyName = 1;
*/
public java.lang.String getEcPolicyName() {
java.lang.Object ref = ecPolicyName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
ecPolicyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getEcPolicyNameBytes() {
java.lang.Object ref = ecPolicyName_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ecPolicyName_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder clearEcPolicyName() {
bitField0_ = (bitField0_ & ~0x00000001);
ecPolicyName_ = getDefaultInstance().getEcPolicyName();
onChanged();
return this;
}
/**
* required string ecPolicyName = 1;
*/
public Builder setEcPolicyNameBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
ecPolicyName_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.DisableErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new DisableErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.DisableErasureCodingPolicyRequestProto)
}
public interface DisableErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.DisableErasureCodingPolicyResponseProto}
*/
public static final class DisableErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements DisableErasureCodingPolicyResponseProtoOrBuilder {
// Use DisableErasureCodingPolicyResponseProto.newBuilder() to construct.
private DisableErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DisableErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DisableErasureCodingPolicyResponseProto defaultInstance;
public static DisableErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public DisableErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DisableErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public DisableErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new DisableErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.DisableErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.DisableErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.DisableErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new DisableErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.DisableErasureCodingPolicyResponseProto)
}
public interface UnsetErasureCodingPolicyRequestProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string src = 1;
/**
* required string src = 1;
*/
boolean hasSrc();
/**
* required string src = 1;
*/
java.lang.String getSrc();
/**
* required string src = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.UnsetErasureCodingPolicyRequestProto}
*/
public static final class UnsetErasureCodingPolicyRequestProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements UnsetErasureCodingPolicyRequestProtoOrBuilder {
// Use UnsetErasureCodingPolicyRequestProto.newBuilder() to construct.
private UnsetErasureCodingPolicyRequestProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private UnsetErasureCodingPolicyRequestProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final UnsetErasureCodingPolicyRequestProto defaultInstance;
public static UnsetErasureCodingPolicyRequestProto getDefaultInstance() {
return defaultInstance;
}
public UnsetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnsetErasureCodingPolicyRequestProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
src_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public UnsetErasureCodingPolicyRequestProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new UnsetErasureCodingPolicyRequestProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string src = 1;
public static final int SRC_FIELD_NUMBER = 1;
private java.lang.Object src_;
/**
* required string src = 1;
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
src_ = s;
}
return s;
}
}
/**
* required string src = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
src_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasSrc()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getSrcBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getSrcBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto) obj;
boolean result = true;
result = result && (hasSrc() == other.hasSrc());
if (hasSrc()) {
result = result && getSrc()
.equals(other.getSrc());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSrc()) {
hash = (37 * hash) + SRC_FIELD_NUMBER;
hash = (53 * hash) + getSrc().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.UnsetErasureCodingPolicyRequestProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
src_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.src_ = src_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto.getDefaultInstance()) return this;
if (other.hasSrc()) {
bitField0_ |= 0x00000001;
src_ = other.src_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasSrc()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyRequestProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string src = 1;
private java.lang.Object src_ = "";
/**
* required string src = 1;
*/
public boolean hasSrc() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string src = 1;
*/
public java.lang.String getSrc() {
java.lang.Object ref = src_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
src_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string src = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getSrcBytes() {
java.lang.Object ref = src_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
src_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string src = 1;
*/
public Builder setSrc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
/**
* required string src = 1;
*/
public Builder clearSrc() {
bitField0_ = (bitField0_ & ~0x00000001);
src_ = getDefaultInstance().getSrc();
onChanged();
return this;
}
/**
* required string src = 1;
*/
public Builder setSrcBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
src_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.UnsetErasureCodingPolicyRequestProto)
}
static {
defaultInstance = new UnsetErasureCodingPolicyRequestProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.UnsetErasureCodingPolicyRequestProto)
}
public interface UnsetErasureCodingPolicyResponseProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code hadoop.hdfs.UnsetErasureCodingPolicyResponseProto}
*/
public static final class UnsetErasureCodingPolicyResponseProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements UnsetErasureCodingPolicyResponseProtoOrBuilder {
// Use UnsetErasureCodingPolicyResponseProto.newBuilder() to construct.
private UnsetErasureCodingPolicyResponseProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private UnsetErasureCodingPolicyResponseProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final UnsetErasureCodingPolicyResponseProto defaultInstance;
public static UnsetErasureCodingPolicyResponseProto getDefaultInstance() {
return defaultInstance;
}
public UnsetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnsetErasureCodingPolicyResponseProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public UnsetErasureCodingPolicyResponseProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new UnsetErasureCodingPolicyResponseProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto) obj;
boolean result = true;
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.UnsetErasureCodingPolicyResponseProto}
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto(this);
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.UnsetErasureCodingPolicyResponseProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.UnsetErasureCodingPolicyResponseProto)
}
static {
defaultInstance = new UnsetErasureCodingPolicyResponseProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.UnsetErasureCodingPolicyResponseProto)
}
public interface BlockECReconstructionInfoProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required .hadoop.hdfs.ExtendedBlockProto block = 1;
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
boolean hasBlock();
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto getBlock();
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder getBlockOrBuilder();
// required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
boolean hasSourceDnInfos();
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getSourceDnInfos();
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getSourceDnInfosOrBuilder();
// required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
boolean hasTargetDnInfos();
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getTargetDnInfos();
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getTargetDnInfosOrBuilder();
// required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
boolean hasTargetStorageUuids();
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto getTargetStorageUuids();
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder getTargetStorageUuidsOrBuilder();
// required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
boolean hasTargetStorageTypes();
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto getTargetStorageTypes();
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder getTargetStorageTypesOrBuilder();
// required bytes liveBlockIndices = 6;
/**
* required bytes liveBlockIndices = 6;
*/
boolean hasLiveBlockIndices();
/**
* required bytes liveBlockIndices = 6;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString getLiveBlockIndices();
// required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
boolean hasEcPolicy();
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy();
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder();
}
/**
* Protobuf type {@code hadoop.hdfs.BlockECReconstructionInfoProto}
*
*
**
* Block erasure coding reconstruction info
*
*/
public static final class BlockECReconstructionInfoProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements BlockECReconstructionInfoProtoOrBuilder {
// Use BlockECReconstructionInfoProto.newBuilder() to construct.
private BlockECReconstructionInfoProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BlockECReconstructionInfoProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BlockECReconstructionInfoProto defaultInstance;
public static BlockECReconstructionInfoProto getDefaultInstance() {
return defaultInstance;
}
public BlockECReconstructionInfoProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BlockECReconstructionInfoProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = block_.toBuilder();
}
block_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(block_);
block_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = sourceDnInfos_.toBuilder();
}
sourceDnInfos_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceDnInfos_);
sourceDnInfos_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = targetDnInfos_.toBuilder();
}
targetDnInfos_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(targetDnInfos_);
targetDnInfos_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = targetStorageUuids_.toBuilder();
}
targetStorageUuids_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(targetStorageUuids_);
targetStorageUuids_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = targetStorageTypes_.toBuilder();
}
targetStorageTypes_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(targetStorageTypes_);
targetStorageTypes_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
bitField0_ |= 0x00000020;
liveBlockIndices_ = input.readBytes();
break;
}
case 58: {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = ecPolicy_.toBuilder();
}
ecPolicy_ = input.readMessage(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ecPolicy_);
ecPolicy_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public BlockECReconstructionInfoProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new BlockECReconstructionInfoProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required .hadoop.hdfs.ExtendedBlockProto block = 1;
public static final int BLOCK_FIELD_NUMBER = 1;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto block_;
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public boolean hasBlock() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto getBlock() {
return block_;
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder getBlockOrBuilder() {
return block_;
}
// required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
public static final int SOURCEDNINFOS_FIELD_NUMBER = 2;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto sourceDnInfos_;
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public boolean hasSourceDnInfos() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getSourceDnInfos() {
return sourceDnInfos_;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getSourceDnInfosOrBuilder() {
return sourceDnInfos_;
}
// required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
public static final int TARGETDNINFOS_FIELD_NUMBER = 3;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto targetDnInfos_;
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public boolean hasTargetDnInfos() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getTargetDnInfos() {
return targetDnInfos_;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getTargetDnInfosOrBuilder() {
return targetDnInfos_;
}
// required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
public static final int TARGETSTORAGEUUIDS_FIELD_NUMBER = 4;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto targetStorageUuids_;
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public boolean hasTargetStorageUuids() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto getTargetStorageUuids() {
return targetStorageUuids_;
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder getTargetStorageUuidsOrBuilder() {
return targetStorageUuids_;
}
// required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
public static final int TARGETSTORAGETYPES_FIELD_NUMBER = 5;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto targetStorageTypes_;
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public boolean hasTargetStorageTypes() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto getTargetStorageTypes() {
return targetStorageTypes_;
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder getTargetStorageTypesOrBuilder() {
return targetStorageTypes_;
}
// required bytes liveBlockIndices = 6;
public static final int LIVEBLOCKINDICES_FIELD_NUMBER = 6;
private io.prestosql.hadoop.$internal.com.google.protobuf.ByteString liveBlockIndices_;
/**
* required bytes liveBlockIndices = 6;
*/
public boolean hasLiveBlockIndices() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required bytes liveBlockIndices = 6;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString getLiveBlockIndices() {
return liveBlockIndices_;
}
// required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
public static final int ECPOLICY_FIELD_NUMBER = 7;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto ecPolicy_;
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public boolean hasEcPolicy() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy() {
return ecPolicy_;
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder() {
return ecPolicy_;
}
private void initFields() {
block_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.getDefaultInstance();
sourceDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
targetDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
targetStorageUuids_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.getDefaultInstance();
targetStorageTypes_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.getDefaultInstance();
liveBlockIndices_ = io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.EMPTY;
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasBlock()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSourceDnInfos()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTargetDnInfos()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTargetStorageUuids()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTargetStorageTypes()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasLiveBlockIndices()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEcPolicy()) {
memoizedIsInitialized = 0;
return false;
}
if (!getBlock().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getSourceDnInfos().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getTargetDnInfos().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
if (!getEcPolicy().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, block_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, sourceDnInfos_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, targetDnInfos_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, targetStorageUuids_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, targetStorageTypes_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, liveBlockIndices_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(7, ecPolicy_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, block_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, sourceDnInfos_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, targetDnInfos_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, targetStorageUuids_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, targetStorageTypes_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(6, liveBlockIndices_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(7, ecPolicy_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto) obj;
boolean result = true;
result = result && (hasBlock() == other.hasBlock());
if (hasBlock()) {
result = result && getBlock()
.equals(other.getBlock());
}
result = result && (hasSourceDnInfos() == other.hasSourceDnInfos());
if (hasSourceDnInfos()) {
result = result && getSourceDnInfos()
.equals(other.getSourceDnInfos());
}
result = result && (hasTargetDnInfos() == other.hasTargetDnInfos());
if (hasTargetDnInfos()) {
result = result && getTargetDnInfos()
.equals(other.getTargetDnInfos());
}
result = result && (hasTargetStorageUuids() == other.hasTargetStorageUuids());
if (hasTargetStorageUuids()) {
result = result && getTargetStorageUuids()
.equals(other.getTargetStorageUuids());
}
result = result && (hasTargetStorageTypes() == other.hasTargetStorageTypes());
if (hasTargetStorageTypes()) {
result = result && getTargetStorageTypes()
.equals(other.getTargetStorageTypes());
}
result = result && (hasLiveBlockIndices() == other.hasLiveBlockIndices());
if (hasLiveBlockIndices()) {
result = result && getLiveBlockIndices()
.equals(other.getLiveBlockIndices());
}
result = result && (hasEcPolicy() == other.hasEcPolicy());
if (hasEcPolicy()) {
result = result && getEcPolicy()
.equals(other.getEcPolicy());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasBlock()) {
hash = (37 * hash) + BLOCK_FIELD_NUMBER;
hash = (53 * hash) + getBlock().hashCode();
}
if (hasSourceDnInfos()) {
hash = (37 * hash) + SOURCEDNINFOS_FIELD_NUMBER;
hash = (53 * hash) + getSourceDnInfos().hashCode();
}
if (hasTargetDnInfos()) {
hash = (37 * hash) + TARGETDNINFOS_FIELD_NUMBER;
hash = (53 * hash) + getTargetDnInfos().hashCode();
}
if (hasTargetStorageUuids()) {
hash = (37 * hash) + TARGETSTORAGEUUIDS_FIELD_NUMBER;
hash = (53 * hash) + getTargetStorageUuids().hashCode();
}
if (hasTargetStorageTypes()) {
hash = (37 * hash) + TARGETSTORAGETYPES_FIELD_NUMBER;
hash = (53 * hash) + getTargetStorageTypes().hashCode();
}
if (hasLiveBlockIndices()) {
hash = (37 * hash) + LIVEBLOCKINDICES_FIELD_NUMBER;
hash = (53 * hash) + getLiveBlockIndices().hashCode();
}
if (hasEcPolicy()) {
hash = (37 * hash) + ECPOLICY_FIELD_NUMBER;
hash = (53 * hash) + getEcPolicy().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.BlockECReconstructionInfoProto}
*
*
**
* Block erasure coding reconstruction info
*
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getBlockFieldBuilder();
getSourceDnInfosFieldBuilder();
getTargetDnInfosFieldBuilder();
getTargetStorageUuidsFieldBuilder();
getTargetStorageTypesFieldBuilder();
getEcPolicyFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (blockBuilder_ == null) {
block_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.getDefaultInstance();
} else {
blockBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (sourceDnInfosBuilder_ == null) {
sourceDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
} else {
sourceDnInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (targetDnInfosBuilder_ == null) {
targetDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
} else {
targetDnInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (targetStorageUuidsBuilder_ == null) {
targetStorageUuids_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.getDefaultInstance();
} else {
targetStorageUuidsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (targetStorageTypesBuilder_ == null) {
targetStorageTypes_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.getDefaultInstance();
} else {
targetStorageTypesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
liveBlockIndices_ = io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
if (ecPolicyBuilder_ == null) {
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
} else {
ecPolicyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (blockBuilder_ == null) {
result.block_ = block_;
} else {
result.block_ = blockBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (sourceDnInfosBuilder_ == null) {
result.sourceDnInfos_ = sourceDnInfos_;
} else {
result.sourceDnInfos_ = sourceDnInfosBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (targetDnInfosBuilder_ == null) {
result.targetDnInfos_ = targetDnInfos_;
} else {
result.targetDnInfos_ = targetDnInfosBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (targetStorageUuidsBuilder_ == null) {
result.targetStorageUuids_ = targetStorageUuids_;
} else {
result.targetStorageUuids_ = targetStorageUuidsBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (targetStorageTypesBuilder_ == null) {
result.targetStorageTypes_ = targetStorageTypes_;
} else {
result.targetStorageTypes_ = targetStorageTypesBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.liveBlockIndices_ = liveBlockIndices_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
if (ecPolicyBuilder_ == null) {
result.ecPolicy_ = ecPolicy_;
} else {
result.ecPolicy_ = ecPolicyBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto.getDefaultInstance()) return this;
if (other.hasBlock()) {
mergeBlock(other.getBlock());
}
if (other.hasSourceDnInfos()) {
mergeSourceDnInfos(other.getSourceDnInfos());
}
if (other.hasTargetDnInfos()) {
mergeTargetDnInfos(other.getTargetDnInfos());
}
if (other.hasTargetStorageUuids()) {
mergeTargetStorageUuids(other.getTargetStorageUuids());
}
if (other.hasTargetStorageTypes()) {
mergeTargetStorageTypes(other.getTargetStorageTypes());
}
if (other.hasLiveBlockIndices()) {
setLiveBlockIndices(other.getLiveBlockIndices());
}
if (other.hasEcPolicy()) {
mergeEcPolicy(other.getEcPolicy());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasBlock()) {
return false;
}
if (!hasSourceDnInfos()) {
return false;
}
if (!hasTargetDnInfos()) {
return false;
}
if (!hasTargetStorageUuids()) {
return false;
}
if (!hasTargetStorageTypes()) {
return false;
}
if (!hasLiveBlockIndices()) {
return false;
}
if (!hasEcPolicy()) {
return false;
}
if (!getBlock().isInitialized()) {
return false;
}
if (!getSourceDnInfos().isInitialized()) {
return false;
}
if (!getTargetDnInfos().isInitialized()) {
return false;
}
if (!getEcPolicy().isInitialized()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.BlockECReconstructionInfoProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .hadoop.hdfs.ExtendedBlockProto block = 1;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto block_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder> blockBuilder_;
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public boolean hasBlock() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto getBlock() {
if (blockBuilder_ == null) {
return block_;
} else {
return blockBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public Builder setBlock(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto value) {
if (blockBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
block_ = value;
onChanged();
} else {
blockBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public Builder setBlock(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder builderForValue) {
if (blockBuilder_ == null) {
block_ = builderForValue.build();
onChanged();
} else {
blockBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public Builder mergeBlock(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto value) {
if (blockBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
block_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.getDefaultInstance()) {
block_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.newBuilder(block_).mergeFrom(value).buildPartial();
} else {
block_ = value;
}
onChanged();
} else {
blockBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public Builder clearBlock() {
if (blockBuilder_ == null) {
block_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.getDefaultInstance();
onChanged();
} else {
blockBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder getBlockBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBlockFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder getBlockOrBuilder() {
if (blockBuilder_ != null) {
return blockBuilder_.getMessageOrBuilder();
} else {
return block_;
}
}
/**
* required .hadoop.hdfs.ExtendedBlockProto block = 1;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder>
getBlockFieldBuilder() {
if (blockBuilder_ == null) {
blockBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ExtendedBlockProtoOrBuilder>(
block_,
getParentForChildren(),
isClean());
block_ = null;
}
return blockBuilder_;
}
// required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto sourceDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder> sourceDnInfosBuilder_;
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public boolean hasSourceDnInfos() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getSourceDnInfos() {
if (sourceDnInfosBuilder_ == null) {
return sourceDnInfos_;
} else {
return sourceDnInfosBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public Builder setSourceDnInfos(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto value) {
if (sourceDnInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceDnInfos_ = value;
onChanged();
} else {
sourceDnInfosBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public Builder setSourceDnInfos(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder builderForValue) {
if (sourceDnInfosBuilder_ == null) {
sourceDnInfos_ = builderForValue.build();
onChanged();
} else {
sourceDnInfosBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public Builder mergeSourceDnInfos(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto value) {
if (sourceDnInfosBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
sourceDnInfos_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance()) {
sourceDnInfos_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.newBuilder(sourceDnInfos_).mergeFrom(value).buildPartial();
} else {
sourceDnInfos_ = value;
}
onChanged();
} else {
sourceDnInfosBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public Builder clearSourceDnInfos() {
if (sourceDnInfosBuilder_ == null) {
sourceDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
onChanged();
} else {
sourceDnInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder getSourceDnInfosBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSourceDnInfosFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getSourceDnInfosOrBuilder() {
if (sourceDnInfosBuilder_ != null) {
return sourceDnInfosBuilder_.getMessageOrBuilder();
} else {
return sourceDnInfos_;
}
}
/**
* required .hadoop.hdfs.DatanodeInfosProto sourceDnInfos = 2;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder>
getSourceDnInfosFieldBuilder() {
if (sourceDnInfosBuilder_ == null) {
sourceDnInfosBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder>(
sourceDnInfos_,
getParentForChildren(),
isClean());
sourceDnInfos_ = null;
}
return sourceDnInfosBuilder_;
}
// required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto targetDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder> targetDnInfosBuilder_;
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public boolean hasTargetDnInfos() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto getTargetDnInfos() {
if (targetDnInfosBuilder_ == null) {
return targetDnInfos_;
} else {
return targetDnInfosBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public Builder setTargetDnInfos(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto value) {
if (targetDnInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
targetDnInfos_ = value;
onChanged();
} else {
targetDnInfosBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public Builder setTargetDnInfos(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder builderForValue) {
if (targetDnInfosBuilder_ == null) {
targetDnInfos_ = builderForValue.build();
onChanged();
} else {
targetDnInfosBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public Builder mergeTargetDnInfos(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto value) {
if (targetDnInfosBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
targetDnInfos_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance()) {
targetDnInfos_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.newBuilder(targetDnInfos_).mergeFrom(value).buildPartial();
} else {
targetDnInfos_ = value;
}
onChanged();
} else {
targetDnInfosBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public Builder clearTargetDnInfos() {
if (targetDnInfosBuilder_ == null) {
targetDnInfos_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.getDefaultInstance();
onChanged();
} else {
targetDnInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder getTargetDnInfosBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTargetDnInfosFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder getTargetDnInfosOrBuilder() {
if (targetDnInfosBuilder_ != null) {
return targetDnInfosBuilder_.getMessageOrBuilder();
} else {
return targetDnInfos_;
}
}
/**
* required .hadoop.hdfs.DatanodeInfosProto targetDnInfos = 3;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder>
getTargetDnInfosFieldBuilder() {
if (targetDnInfosBuilder_ == null) {
targetDnInfosBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfosProtoOrBuilder>(
targetDnInfos_,
getParentForChildren(),
isClean());
targetDnInfos_ = null;
}
return targetDnInfosBuilder_;
}
// required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto targetStorageUuids_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder> targetStorageUuidsBuilder_;
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public boolean hasTargetStorageUuids() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto getTargetStorageUuids() {
if (targetStorageUuidsBuilder_ == null) {
return targetStorageUuids_;
} else {
return targetStorageUuidsBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public Builder setTargetStorageUuids(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto value) {
if (targetStorageUuidsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
targetStorageUuids_ = value;
onChanged();
} else {
targetStorageUuidsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public Builder setTargetStorageUuids(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder builderForValue) {
if (targetStorageUuidsBuilder_ == null) {
targetStorageUuids_ = builderForValue.build();
onChanged();
} else {
targetStorageUuidsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public Builder mergeTargetStorageUuids(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto value) {
if (targetStorageUuidsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
targetStorageUuids_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.getDefaultInstance()) {
targetStorageUuids_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.newBuilder(targetStorageUuids_).mergeFrom(value).buildPartial();
} else {
targetStorageUuids_ = value;
}
onChanged();
} else {
targetStorageUuidsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public Builder clearTargetStorageUuids() {
if (targetStorageUuidsBuilder_ == null) {
targetStorageUuids_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.getDefaultInstance();
onChanged();
} else {
targetStorageUuidsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder getTargetStorageUuidsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getTargetStorageUuidsFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder getTargetStorageUuidsOrBuilder() {
if (targetStorageUuidsBuilder_ != null) {
return targetStorageUuidsBuilder_.getMessageOrBuilder();
} else {
return targetStorageUuids_;
}
}
/**
* required .hadoop.hdfs.StorageUuidsProto targetStorageUuids = 4;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder>
getTargetStorageUuidsFieldBuilder() {
if (targetStorageUuidsBuilder_ == null) {
targetStorageUuidsBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageUuidsProtoOrBuilder>(
targetStorageUuids_,
getParentForChildren(),
isClean());
targetStorageUuids_ = null;
}
return targetStorageUuidsBuilder_;
}
// required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto targetStorageTypes_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder> targetStorageTypesBuilder_;
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public boolean hasTargetStorageTypes() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto getTargetStorageTypes() {
if (targetStorageTypesBuilder_ == null) {
return targetStorageTypes_;
} else {
return targetStorageTypesBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public Builder setTargetStorageTypes(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto value) {
if (targetStorageTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
targetStorageTypes_ = value;
onChanged();
} else {
targetStorageTypesBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public Builder setTargetStorageTypes(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder builderForValue) {
if (targetStorageTypesBuilder_ == null) {
targetStorageTypes_ = builderForValue.build();
onChanged();
} else {
targetStorageTypesBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public Builder mergeTargetStorageTypes(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto value) {
if (targetStorageTypesBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
targetStorageTypes_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.getDefaultInstance()) {
targetStorageTypes_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.newBuilder(targetStorageTypes_).mergeFrom(value).buildPartial();
} else {
targetStorageTypes_ = value;
}
onChanged();
} else {
targetStorageTypesBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public Builder clearTargetStorageTypes() {
if (targetStorageTypesBuilder_ == null) {
targetStorageTypes_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.getDefaultInstance();
onChanged();
} else {
targetStorageTypesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder getTargetStorageTypesBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getTargetStorageTypesFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder getTargetStorageTypesOrBuilder() {
if (targetStorageTypesBuilder_ != null) {
return targetStorageTypesBuilder_.getMessageOrBuilder();
} else {
return targetStorageTypes_;
}
}
/**
* required .hadoop.hdfs.StorageTypesProto targetStorageTypes = 5;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder>
getTargetStorageTypesFieldBuilder() {
if (targetStorageTypesBuilder_ == null) {
targetStorageTypesBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.StorageTypesProtoOrBuilder>(
targetStorageTypes_,
getParentForChildren(),
isClean());
targetStorageTypes_ = null;
}
return targetStorageTypesBuilder_;
}
// required bytes liveBlockIndices = 6;
private io.prestosql.hadoop.$internal.com.google.protobuf.ByteString liveBlockIndices_ = io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.EMPTY;
/**
* required bytes liveBlockIndices = 6;
*/
public boolean hasLiveBlockIndices() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* required bytes liveBlockIndices = 6;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString getLiveBlockIndices() {
return liveBlockIndices_;
}
/**
* required bytes liveBlockIndices = 6;
*/
public Builder setLiveBlockIndices(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
liveBlockIndices_ = value;
onChanged();
return this;
}
/**
* required bytes liveBlockIndices = 6;
*/
public Builder clearLiveBlockIndices() {
bitField0_ = (bitField0_ & ~0x00000020);
liveBlockIndices_ = getDefaultInstance().getLiveBlockIndices();
onChanged();
return this;
}
// required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
private org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder> ecPolicyBuilder_;
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public boolean hasEcPolicy() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto getEcPolicy() {
if (ecPolicyBuilder_ == null) {
return ecPolicy_;
} else {
return ecPolicyBuilder_.getMessage();
}
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public Builder setEcPolicy(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPolicyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ecPolicy_ = value;
onChanged();
} else {
ecPolicyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public Builder setEcPolicy(
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder builderForValue) {
if (ecPolicyBuilder_ == null) {
ecPolicy_ = builderForValue.build();
onChanged();
} else {
ecPolicyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public Builder mergeEcPolicy(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto value) {
if (ecPolicyBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
ecPolicy_ != org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance()) {
ecPolicy_ =
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.newBuilder(ecPolicy_).mergeFrom(value).buildPartial();
} else {
ecPolicy_ = value;
}
onChanged();
} else {
ecPolicyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public Builder clearEcPolicy() {
if (ecPolicyBuilder_ == null) {
ecPolicy_ = org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.getDefaultInstance();
onChanged();
} else {
ecPolicyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder getEcPolicyBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getEcPolicyFieldBuilder().getBuilder();
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
public org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder getEcPolicyOrBuilder() {
if (ecPolicyBuilder_ != null) {
return ecPolicyBuilder_.getMessageOrBuilder();
} else {
return ecPolicy_;
}
}
/**
* required .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
*/
private io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>
getEcPolicyFieldBuilder() {
if (ecPolicyBuilder_ == null) {
ecPolicyBuilder_ = new io.prestosql.hadoop.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto.Builder, org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProtoOrBuilder>(
ecPolicy_,
getParentForChildren(),
isClean());
ecPolicy_ = null;
}
return ecPolicyBuilder_;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.BlockECReconstructionInfoProto)
}
static {
defaultInstance = new BlockECReconstructionInfoProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.BlockECReconstructionInfoProto)
}
public interface CodecProtoOrBuilder
extends io.prestosql.hadoop.$internal.com.google.protobuf.MessageOrBuilder {
// required string codec = 1;
/**
* required string codec = 1;
*/
boolean hasCodec();
/**
* required string codec = 1;
*/
java.lang.String getCodec();
/**
* required string codec = 1;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodecBytes();
// required string coders = 2;
/**
* required string coders = 2;
*/
boolean hasCoders();
/**
* required string coders = 2;
*/
java.lang.String getCoders();
/**
* required string coders = 2;
*/
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodersBytes();
}
/**
* Protobuf type {@code hadoop.hdfs.CodecProto}
*
*
**
* Codec and it's corresponding coders
*
*/
public static final class CodecProto extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage
implements CodecProtoOrBuilder {
// Use CodecProto.newBuilder() to construct.
private CodecProto(io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CodecProto(boolean noInit) { this.unknownFields = io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CodecProto defaultInstance;
public static CodecProto getDefaultInstance() {
return defaultInstance;
}
public CodecProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CodecProto(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hadoop.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
codec_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
coders_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_CodecProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_CodecProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder.class);
}
public static io.prestosql.hadoop.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hadoop.$internal.com.google.protobuf.AbstractParser() {
public CodecProto parsePartialFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new CodecProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hadoop.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required string codec = 1;
public static final int CODEC_FIELD_NUMBER = 1;
private java.lang.Object codec_;
/**
* required string codec = 1;
*/
public boolean hasCodec() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string codec = 1;
*/
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
codec_ = s;
}
return s;
}
}
/**
* required string codec = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
// required string coders = 2;
public static final int CODERS_FIELD_NUMBER = 2;
private java.lang.Object coders_;
/**
* required string coders = 2;
*/
public boolean hasCoders() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string coders = 2;
*/
public java.lang.String getCoders() {
java.lang.Object ref = coders_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
coders_ = s;
}
return s;
}
}
/**
* required string coders = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodersBytes() {
java.lang.Object ref = coders_;
if (ref instanceof java.lang.String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
coders_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
codec_ = "";
coders_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasCodec()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCoders()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getCodecBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getCodersBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getCodecBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hadoop.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getCodersBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto)) {
return super.equals(obj);
}
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto other = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto) obj;
boolean result = true;
result = result && (hasCodec() == other.hasCodec());
if (hasCodec()) {
result = result && getCodec()
.equals(other.getCodec());
}
result = result && (hasCoders() == other.hasCoders());
if (hasCoders()) {
result = result && getCoders()
.equals(other.getCoders());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasCodec()) {
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
}
if (hasCoders()) {
hash = (37 * hash) + CODERS_FIELD_NUMBER;
hash = (53 * hash) + getCoders().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(byte[] data)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
byte[] data,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parseFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code hadoop.hdfs.CodecProto}
*
*
**
* Codec and it's corresponding coders
*
*/
public static final class Builder extends
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProtoOrBuilder {
public static final io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_CodecProto_descriptor;
}
protected io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_CodecProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.class, org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.Builder.class);
}
// Construct using org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
codec_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
coders_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.internal_static_hadoop_hdfs_CodecProto_descriptor;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto getDefaultInstanceForType() {
return org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.getDefaultInstance();
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto build() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto buildPartial() {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto result = new org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.codec_ = codec_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.coders_ = coders_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hadoop.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto) {
return mergeFrom((org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto other) {
if (other == org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto.getDefaultInstance()) return this;
if (other.hasCodec()) {
bitField0_ |= 0x00000001;
codec_ = other.codec_;
onChanged();
}
if (other.hasCoders()) {
bitField0_ |= 0x00000002;
coders_ = other.coders_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasCodec()) {
return false;
}
if (!hasCoders()) {
return false;
}
return true;
}
public Builder mergeFrom(
io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.ErasureCodingProtos.CodecProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required string codec = 1;
private java.lang.Object codec_ = "";
/**
* required string codec = 1;
*/
public boolean hasCodec() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string codec = 1;
*/
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
codec_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string codec = 1;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string codec = 1;
*/
public Builder setCodec(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
codec_ = value;
onChanged();
return this;
}
/**
* required string codec = 1;
*/
public Builder clearCodec() {
bitField0_ = (bitField0_ & ~0x00000001);
codec_ = getDefaultInstance().getCodec();
onChanged();
return this;
}
/**
* required string codec = 1;
*/
public Builder setCodecBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
codec_ = value;
onChanged();
return this;
}
// required string coders = 2;
private java.lang.Object coders_ = "";
/**
* required string coders = 2;
*/
public boolean hasCoders() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string coders = 2;
*/
public java.lang.String getCoders() {
java.lang.Object ref = coders_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
coders_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string coders = 2;
*/
public io.prestosql.hadoop.$internal.com.google.protobuf.ByteString
getCodersBytes() {
java.lang.Object ref = coders_;
if (ref instanceof String) {
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString b =
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
coders_ = b;
return b;
} else {
return (io.prestosql.hadoop.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* required string coders = 2;
*/
public Builder setCoders(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
coders_ = value;
onChanged();
return this;
}
/**
* required string coders = 2;
*/
public Builder clearCoders() {
bitField0_ = (bitField0_ & ~0x00000002);
coders_ = getDefaultInstance().getCoders();
onChanged();
return this;
}
/**
* required string coders = 2;
*/
public Builder setCodersBytes(
io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
coders_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:hadoop.hdfs.CodecProto)
}
static {
defaultInstance = new CodecProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:hadoop.hdfs.CodecProto)
}
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_fieldAccessorTable;
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_hadoop_hdfs_CodecProto_descriptor;
private static
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_hadoop_hdfs_CodecProto_fieldAccessorTable;
public static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023erasurecoding.proto\022\013hadoop.hdfs\032\nhdfs" +
".proto\"G\n\"SetErasureCodingPolicyRequestP" +
"roto\022\013\n\003src\030\001 \002(\t\022\024\n\014ecPolicyName\030\002 \001(\t\"" +
"%\n#SetErasureCodingPolicyResponseProto\"&" +
"\n$GetErasureCodingPoliciesRequestProto\"b" +
"\n%GetErasureCodingPoliciesResponseProto\022" +
"9\n\necPolicies\030\001 \003(\0132%.hadoop.hdfs.Erasur" +
"eCodingPolicyProto\"$\n\"GetErasureCodingCo" +
"decsRequestProto\"M\n#GetErasureCodingCode" +
"csResponseProto\022&\n\005codec\030\001 \003(\0132\027.hadoop.",
"hdfs.CodecProto\"1\n\"GetErasureCodingPolic" +
"yRequestProto\022\013\n\003src\030\001 \002(\t\"^\n#GetErasure" +
"CodingPolicyResponseProto\0227\n\010ecPolicy\030\001 " +
"\001(\0132%.hadoop.hdfs.ErasureCodingPolicyPro" +
"to\"a\n$AddErasureCodingPoliciesRequestPro" +
"to\0229\n\necPolicies\030\001 \003(\0132%.hadoop.hdfs.Era" +
"sureCodingPolicyProto\"l\n%AddErasureCodin" +
"gPoliciesResponseProto\022C\n\tresponses\030\001 \003(" +
"\01320.hadoop.hdfs.AddErasureCodingPolicyRe" +
"sponseProto\"=\n%RemoveErasureCodingPolicy",
"RequestProto\022\024\n\014ecPolicyName\030\001 \002(\t\"(\n&Re" +
"moveErasureCodingPolicyResponseProto\"=\n%" +
"EnableErasureCodingPolicyRequestProto\022\024\n" +
"\014ecPolicyName\030\001 \002(\t\"(\n&EnableErasureCodi" +
"ngPolicyResponseProto\">\n&DisableErasureC" +
"odingPolicyRequestProto\022\024\n\014ecPolicyName\030" +
"\001 \002(\t\")\n\'DisableErasureCodingPolicyRespo" +
"nseProto\"3\n$UnsetErasureCodingPolicyRequ" +
"estProto\022\013\n\003src\030\001 \002(\t\"\'\n%UnsetErasureCod" +
"ingPolicyResponseProto\"\213\003\n\036BlockECRecons",
"tructionInfoProto\022.\n\005block\030\001 \002(\0132\037.hadoo" +
"p.hdfs.ExtendedBlockProto\0226\n\rsourceDnInf" +
"os\030\002 \002(\0132\037.hadoop.hdfs.DatanodeInfosProt" +
"o\0226\n\rtargetDnInfos\030\003 \002(\0132\037.hadoop.hdfs.D" +
"atanodeInfosProto\022:\n\022targetStorageUuids\030" +
"\004 \002(\0132\036.hadoop.hdfs.StorageUuidsProto\022:\n" +
"\022targetStorageTypes\030\005 \002(\0132\036.hadoop.hdfs." +
"StorageTypesProto\022\030\n\020liveBlockIndices\030\006 " +
"\002(\014\0227\n\010ecPolicy\030\007 \002(\0132%.hadoop.hdfs.Eras" +
"ureCodingPolicyProto\"+\n\nCodecProto\022\r\n\005co",
"dec\030\001 \002(\t\022\016\n\006coders\030\002 \002(\tB?\n%org.apache." +
"hadoop.hdfs.protocol.protoB\023ErasureCodin" +
"gProtos\240\001\001"
};
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors(
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_SetErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "Src", "EcPolicyName", });
internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_SetErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingPoliciesRequestProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingPoliciesResponseProto_descriptor,
new java.lang.String[] { "EcPolicies", });
internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingCodecsRequestProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingCodecsResponseProto_descriptor,
new java.lang.String[] { "Codec", });
internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "Src", });
internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_GetErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { "EcPolicy", });
internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_AddErasureCodingPoliciesRequestProto_descriptor,
new java.lang.String[] { "EcPolicies", });
internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_AddErasureCodingPoliciesResponseProto_descriptor,
new java.lang.String[] { "Responses", });
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "EcPolicyName", });
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_RemoveErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_EnableErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "EcPolicyName", });
internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_EnableErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_DisableErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "EcPolicyName", });
internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_DisableErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyRequestProto_descriptor,
new java.lang.String[] { "Src", });
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_UnsetErasureCodingPolicyResponseProto_descriptor,
new java.lang.String[] { });
internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_BlockECReconstructionInfoProto_descriptor,
new java.lang.String[] { "Block", "SourceDnInfos", "TargetDnInfos", "TargetStorageUuids", "TargetStorageTypes", "LiveBlockIndices", "EcPolicy", });
internal_static_hadoop_hdfs_CodecProto_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_hadoop_hdfs_CodecProto_fieldAccessorTable = new
io.prestosql.hadoop.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_hadoop_hdfs_CodecProto_descriptor,
new java.lang.String[] { "Codec", "Coders", });
return null;
}
};
io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new io.prestosql.hadoop.$internal.com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}