Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.hadoop.hive.metastore.Metastore Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: metastore.proto
package org.apache.hadoop.hive.metastore;
public final class Metastore {
private Metastore() {}
public static void registerAllExtensions(
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistry registry) {
}
public interface SplitInfoOrBuilder
extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder {
// required int64 offset = 1;
/**
* required int64 offset = 1;
*/
boolean hasOffset();
/**
* required int64 offset = 1;
*/
long getOffset();
// required int64 length = 2;
/**
* required int64 length = 2;
*/
boolean hasLength();
/**
* required int64 length = 2;
*/
long getLength();
// required int32 index = 3;
/**
* required int32 index = 3;
*/
boolean hasIndex();
/**
* required int32 index = 3;
*/
int getIndex();
}
/**
* Protobuf type {@code org.apache.hadoop.hive.metastore.SplitInfo}
*/
public static final class SplitInfo extends
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage
implements SplitInfoOrBuilder {
// Use SplitInfo.newBuilder() to construct.
private SplitInfo(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SplitInfo(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SplitInfo defaultInstance;
public static SplitInfo getDefaultInstance() {
return defaultInstance;
}
public SplitInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SplitInfo(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.facebook.presto.hive.$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 8: {
bitField0_ |= 0x00000001;
offset_ = input.readInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
length_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
index_ = input.readInt32();
break;
}
}
}
} catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor;
}
protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.metastore.Metastore.SplitInfo.class, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder.class);
}
public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER =
new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() {
public SplitInfo parsePartialFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new SplitInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// required int64 offset = 1;
public static final int OFFSET_FIELD_NUMBER = 1;
private long offset_;
/**
* required int64 offset = 1;
*/
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 offset = 1;
*/
public long getOffset() {
return offset_;
}
// required int64 length = 2;
public static final int LENGTH_FIELD_NUMBER = 2;
private long length_;
/**
* required int64 length = 2;
*/
public boolean hasLength() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int64 length = 2;
*/
public long getLength() {
return length_;
}
// required int32 index = 3;
public static final int INDEX_FIELD_NUMBER = 3;
private int index_;
/**
* required int32 index = 3;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 index = 3;
*/
public int getIndex() {
return index_;
}
private void initFields() {
offset_ = 0L;
length_ = 0L;
index_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasOffset()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasLength()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndex()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, offset_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(2, length_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, index_);
}
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 += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(1, offset_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(2, length_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt32Size(3, index_);
}
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();
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(byte[] data)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
byte[] data,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
java.io.InputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseDelimitedFrom(
java.io.InputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfo parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$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.hive.metastore.Metastore.SplitInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.apache.hadoop.hive.metastore.SplitInfo}
*/
public static final class Builder extends
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder {
public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor;
}
protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.metastore.Metastore.SplitInfo.class, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder.class);
}
// Construct using org.apache.hadoop.hive.metastore.Metastore.SplitInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
offset_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
index_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor;
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo getDefaultInstanceForType() {
return org.apache.hadoop.hive.metastore.Metastore.SplitInfo.getDefaultInstance();
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo build() {
org.apache.hadoop.hive.metastore.Metastore.SplitInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo buildPartial() {
org.apache.hadoop.hive.metastore.Metastore.SplitInfo result = new org.apache.hadoop.hive.metastore.Metastore.SplitInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.offset_ = offset_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.length_ = length_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.index_ = index_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hive.metastore.Metastore.SplitInfo) {
return mergeFrom((org.apache.hadoop.hive.metastore.Metastore.SplitInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hive.metastore.Metastore.SplitInfo other) {
if (other == org.apache.hadoop.hive.metastore.Metastore.SplitInfo.getDefaultInstance()) return this;
if (other.hasOffset()) {
setOffset(other.getOffset());
}
if (other.hasLength()) {
setLength(other.getLength());
}
if (other.hasIndex()) {
setIndex(other.getIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasOffset()) {
return false;
}
if (!hasLength()) {
return false;
}
if (!hasIndex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hive.metastore.Metastore.SplitInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hive.metastore.Metastore.SplitInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int64 offset = 1;
private long offset_ ;
/**
* required int64 offset = 1;
*/
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 offset = 1;
*/
public long getOffset() {
return offset_;
}
/**
* required int64 offset = 1;
*/
public Builder setOffset(long value) {
bitField0_ |= 0x00000001;
offset_ = value;
onChanged();
return this;
}
/**
* required int64 offset = 1;
*/
public Builder clearOffset() {
bitField0_ = (bitField0_ & ~0x00000001);
offset_ = 0L;
onChanged();
return this;
}
// required int64 length = 2;
private long length_ ;
/**
* required int64 length = 2;
*/
public boolean hasLength() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int64 length = 2;
*/
public long getLength() {
return length_;
}
/**
* required int64 length = 2;
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000002;
length_ = value;
onChanged();
return this;
}
/**
* required int64 length = 2;
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000002);
length_ = 0L;
onChanged();
return this;
}
// required int32 index = 3;
private int index_ ;
/**
* required int32 index = 3;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 index = 3;
*/
public int getIndex() {
return index_;
}
/**
* required int32 index = 3;
*/
public Builder setIndex(int value) {
bitField0_ |= 0x00000004;
index_ = value;
onChanged();
return this;
}
/**
* required int32 index = 3;
*/
public Builder clearIndex() {
bitField0_ = (bitField0_ & ~0x00000004);
index_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.apache.hadoop.hive.metastore.SplitInfo)
}
static {
defaultInstance = new SplitInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.apache.hadoop.hive.metastore.SplitInfo)
}
public interface SplitInfosOrBuilder
extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
java.util.List
getInfosList();
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
org.apache.hadoop.hive.metastore.Metastore.SplitInfo getInfos(int index);
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
int getInfosCount();
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
java.util.List extends org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder>
getInfosOrBuilderList();
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder getInfosOrBuilder(
int index);
}
/**
* Protobuf type {@code org.apache.hadoop.hive.metastore.SplitInfos}
*/
public static final class SplitInfos extends
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage
implements SplitInfosOrBuilder {
// Use SplitInfos.newBuilder() to construct.
private SplitInfos(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SplitInfos(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SplitInfos defaultInstance;
public static SplitInfos getDefaultInstance() {
return defaultInstance;
}
public SplitInfos getDefaultInstanceForType() {
return defaultInstance;
}
private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SplitInfos(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.facebook.presto.hive.$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)) {
infos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
infos_.add(input.readMessage(org.apache.hadoop.hive.metastore.Metastore.SplitInfo.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
infos_ = java.util.Collections.unmodifiableList(infos_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor;
}
protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.metastore.Metastore.SplitInfos.class, org.apache.hadoop.hive.metastore.Metastore.SplitInfos.Builder.class);
}
public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER =
new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() {
public SplitInfos parsePartialFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new SplitInfos(input, extensionRegistry);
}
};
@java.lang.Override
public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
public static final int INFOS_FIELD_NUMBER = 1;
private java.util.List infos_;
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public java.util.List getInfosList() {
return infos_;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public java.util.List extends org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder>
getInfosOrBuilderList() {
return infos_;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public int getInfosCount() {
return infos_.size();
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo getInfos(int index) {
return infos_.get(index);
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder getInfosOrBuilder(
int index) {
return infos_.get(index);
}
private void initFields() {
infos_ = 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 < getInfosCount(); i++) {
if (!getInfos(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < infos_.size(); i++) {
output.writeMessage(1, infos_.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 < infos_.size(); i++) {
size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, infos_.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();
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(byte[] data)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
byte[] data,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
java.io.InputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseDelimitedFrom(
java.io.InputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.metastore.Metastore.SplitInfos parseFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$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.hive.metastore.Metastore.SplitInfos prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.apache.hadoop.hive.metastore.SplitInfos}
*/
public static final class Builder extends
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hive.metastore.Metastore.SplitInfosOrBuilder {
public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor;
}
protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.metastore.Metastore.SplitInfos.class, org.apache.hadoop.hive.metastore.Metastore.SplitInfos.Builder.class);
}
// Construct using org.apache.hadoop.hive.metastore.Metastore.SplitInfos.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getInfosFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (infosBuilder_ == null) {
infos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
infosBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hive.metastore.Metastore.internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor;
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfos getDefaultInstanceForType() {
return org.apache.hadoop.hive.metastore.Metastore.SplitInfos.getDefaultInstance();
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfos build() {
org.apache.hadoop.hive.metastore.Metastore.SplitInfos result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hive.metastore.Metastore.SplitInfos buildPartial() {
org.apache.hadoop.hive.metastore.Metastore.SplitInfos result = new org.apache.hadoop.hive.metastore.Metastore.SplitInfos(this);
int from_bitField0_ = bitField0_;
if (infosBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
infos_ = java.util.Collections.unmodifiableList(infos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.infos_ = infos_;
} else {
result.infos_ = infosBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hive.metastore.Metastore.SplitInfos) {
return mergeFrom((org.apache.hadoop.hive.metastore.Metastore.SplitInfos)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hive.metastore.Metastore.SplitInfos other) {
if (other == org.apache.hadoop.hive.metastore.Metastore.SplitInfos.getDefaultInstance()) return this;
if (infosBuilder_ == null) {
if (!other.infos_.isEmpty()) {
if (infos_.isEmpty()) {
infos_ = other.infos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInfosIsMutable();
infos_.addAll(other.infos_);
}
onChanged();
}
} else {
if (!other.infos_.isEmpty()) {
if (infosBuilder_.isEmpty()) {
infosBuilder_.dispose();
infosBuilder_ = null;
infos_ = other.infos_;
bitField0_ = (bitField0_ & ~0x00000001);
infosBuilder_ =
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getInfosFieldBuilder() : null;
} else {
infosBuilder_.addAllMessages(other.infos_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getInfosCount(); i++) {
if (!getInfos(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hive.metastore.Metastore.SplitInfos parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hive.metastore.Metastore.SplitInfos) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
private java.util.List infos_ =
java.util.Collections.emptyList();
private void ensureInfosIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
infos_ = new java.util.ArrayList(infos_);
bitField0_ |= 0x00000001;
}
}
private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.metastore.Metastore.SplitInfo, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder, org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder> infosBuilder_;
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public java.util.List getInfosList() {
if (infosBuilder_ == null) {
return java.util.Collections.unmodifiableList(infos_);
} else {
return infosBuilder_.getMessageList();
}
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public int getInfosCount() {
if (infosBuilder_ == null) {
return infos_.size();
} else {
return infosBuilder_.getCount();
}
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo getInfos(int index) {
if (infosBuilder_ == null) {
return infos_.get(index);
} else {
return infosBuilder_.getMessage(index);
}
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder setInfos(
int index, org.apache.hadoop.hive.metastore.Metastore.SplitInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.set(index, value);
onChanged();
} else {
infosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder setInfos(
int index, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.set(index, builderForValue.build());
onChanged();
} else {
infosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder addInfos(org.apache.hadoop.hive.metastore.Metastore.SplitInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.add(value);
onChanged();
} else {
infosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder addInfos(
int index, org.apache.hadoop.hive.metastore.Metastore.SplitInfo value) {
if (infosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfosIsMutable();
infos_.add(index, value);
onChanged();
} else {
infosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder addInfos(
org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.add(builderForValue.build());
onChanged();
} else {
infosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder addInfos(
int index, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder builderForValue) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.add(index, builderForValue.build());
onChanged();
} else {
infosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder addAllInfos(
java.lang.Iterable extends org.apache.hadoop.hive.metastore.Metastore.SplitInfo> values) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
super.addAll(values, infos_);
onChanged();
} else {
infosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder clearInfos() {
if (infosBuilder_ == null) {
infos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
infosBuilder_.clear();
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public Builder removeInfos(int index) {
if (infosBuilder_ == null) {
ensureInfosIsMutable();
infos_.remove(index);
onChanged();
} else {
infosBuilder_.remove(index);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder getInfosBuilder(
int index) {
return getInfosFieldBuilder().getBuilder(index);
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder getInfosOrBuilder(
int index) {
if (infosBuilder_ == null) {
return infos_.get(index); } else {
return infosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public java.util.List extends org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder>
getInfosOrBuilderList() {
if (infosBuilder_ != null) {
return infosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(infos_);
}
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder addInfosBuilder() {
return getInfosFieldBuilder().addBuilder(
org.apache.hadoop.hive.metastore.Metastore.SplitInfo.getDefaultInstance());
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder addInfosBuilder(
int index) {
return getInfosFieldBuilder().addBuilder(
index, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.getDefaultInstance());
}
/**
* repeated .org.apache.hadoop.hive.metastore.SplitInfo infos = 1;
*/
public java.util.List
getInfosBuilderList() {
return getInfosFieldBuilder().getBuilderList();
}
private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.metastore.Metastore.SplitInfo, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder, org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder>
getInfosFieldBuilder() {
if (infosBuilder_ == null) {
infosBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.metastore.Metastore.SplitInfo, org.apache.hadoop.hive.metastore.Metastore.SplitInfo.Builder, org.apache.hadoop.hive.metastore.Metastore.SplitInfoOrBuilder>(
infos_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
infos_ = null;
}
return infosBuilder_;
}
// @@protoc_insertion_point(builder_scope:org.apache.hadoop.hive.metastore.SplitInfos)
}
static {
defaultInstance = new SplitInfos(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.apache.hadoop.hive.metastore.SplitInfos)
}
private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor;
private static
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_apache_hadoop_hive_metastore_SplitInfo_fieldAccessorTable;
private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor;
private static
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_apache_hadoop_hive_metastore_SplitInfos_fieldAccessorTable;
public static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\017metastore.proto\022 org.apache.hadoop.hiv" +
"e.metastore\":\n\tSplitInfo\022\016\n\006offset\030\001 \002(\003" +
"\022\016\n\006length\030\002 \002(\003\022\r\n\005index\030\003 \002(\005\"H\n\nSplit" +
"Infos\022:\n\005infos\030\001 \003(\0132+.org.apache.hadoop" +
".hive.metastore.SplitInfo"
};
com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors(
com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_apache_hadoop_hive_metastore_SplitInfo_fieldAccessorTable = new
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_apache_hadoop_hive_metastore_SplitInfo_descriptor,
new java.lang.String[] { "Offset", "Length", "Index", });
internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_apache_hadoop_hive_metastore_SplitInfos_fieldAccessorTable = new
com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_apache_hadoop_hive_metastore_SplitInfos_descriptor,
new java.lang.String[] { "Infos", });
return null;
}
};
com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}