org.apache.phoenix.coprocessor.generated.PGuidePostsProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PGuidePosts.proto
package org.apache.phoenix.coprocessor.generated;
public final class PGuidePostsProtos {
private PGuidePostsProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface PGuidePostsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated bytes guidePosts = 1;
/**
* repeated bytes guidePosts = 1;
*/
java.util.List getGuidePostsList();
/**
* repeated bytes guidePosts = 1;
*/
int getGuidePostsCount();
/**
* repeated bytes guidePosts = 1;
*/
com.google.protobuf.ByteString getGuidePosts(int index);
// optional int64 byteCount = 2;
/**
* optional int64 byteCount = 2;
*/
boolean hasByteCount();
/**
* optional int64 byteCount = 2;
*/
long getByteCount();
// optional int64 rowCount = 3;
/**
* optional int64 rowCount = 3;
*/
boolean hasRowCount();
/**
* optional int64 rowCount = 3;
*/
long getRowCount();
// optional int32 maxLength = 4;
/**
* optional int32 maxLength = 4;
*/
boolean hasMaxLength();
/**
* optional int32 maxLength = 4;
*/
int getMaxLength();
// optional int32 encodedGuidePostsCount = 5;
/**
* optional int32 encodedGuidePostsCount = 5;
*/
boolean hasEncodedGuidePostsCount();
/**
* optional int32 encodedGuidePostsCount = 5;
*/
int getEncodedGuidePostsCount();
// optional bytes encodedGuidePosts = 6;
/**
* optional bytes encodedGuidePosts = 6;
*/
boolean hasEncodedGuidePosts();
/**
* optional bytes encodedGuidePosts = 6;
*/
com.google.protobuf.ByteString getEncodedGuidePosts();
// repeated int64 byteCounts = 7;
/**
* repeated int64 byteCounts = 7;
*/
java.util.List getByteCountsList();
/**
* repeated int64 byteCounts = 7;
*/
int getByteCountsCount();
/**
* repeated int64 byteCounts = 7;
*/
long getByteCounts(int index);
// repeated int64 rowCounts = 8;
/**
* repeated int64 rowCounts = 8;
*/
java.util.List getRowCountsList();
/**
* repeated int64 rowCounts = 8;
*/
int getRowCountsCount();
/**
* repeated int64 rowCounts = 8;
*/
long getRowCounts(int index);
}
/**
* Protobuf type {@code PGuidePosts}
*/
public static final class PGuidePosts extends
com.google.protobuf.GeneratedMessage
implements PGuidePostsOrBuilder {
// Use PGuidePosts.newBuilder() to construct.
private PGuidePosts(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PGuidePosts(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PGuidePosts defaultInstance;
public static PGuidePosts getDefaultInstance() {
return defaultInstance;
}
public PGuidePosts getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PGuidePosts(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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)) {
guidePosts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
guidePosts_.add(input.readBytes());
break;
}
case 16: {
bitField0_ |= 0x00000001;
byteCount_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000002;
rowCount_ = input.readInt64();
break;
}
case 32: {
bitField0_ |= 0x00000004;
maxLength_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000008;
encodedGuidePostsCount_ = input.readInt32();
break;
}
case 50: {
bitField0_ |= 0x00000010;
encodedGuidePosts_ = input.readBytes();
break;
}
case 56: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
byteCounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
byteCounts_.add(input.readInt64());
break;
}
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
byteCounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
byteCounts_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 64: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
rowCounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
rowCounts_.add(input.readInt64());
break;
}
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) {
rowCounts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
while (input.getBytesUntilLimit() > 0) {
rowCounts_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
guidePosts_ = java.util.Collections.unmodifiableList(guidePosts_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
byteCounts_ = java.util.Collections.unmodifiableList(byteCounts_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
rowCounts_ = java.util.Collections.unmodifiableList(rowCounts_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.internal_static_PGuidePosts_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.internal_static_PGuidePosts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.class, org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PGuidePosts parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PGuidePosts(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// repeated bytes guidePosts = 1;
public static final int GUIDEPOSTS_FIELD_NUMBER = 1;
private java.util.List guidePosts_;
/**
* repeated bytes guidePosts = 1;
*/
public java.util.List
getGuidePostsList() {
return guidePosts_;
}
/**
* repeated bytes guidePosts = 1;
*/
public int getGuidePostsCount() {
return guidePosts_.size();
}
/**
* repeated bytes guidePosts = 1;
*/
public com.google.protobuf.ByteString getGuidePosts(int index) {
return guidePosts_.get(index);
}
// optional int64 byteCount = 2;
public static final int BYTECOUNT_FIELD_NUMBER = 2;
private long byteCount_;
/**
* optional int64 byteCount = 2;
*/
public boolean hasByteCount() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 byteCount = 2;
*/
public long getByteCount() {
return byteCount_;
}
// optional int64 rowCount = 3;
public static final int ROWCOUNT_FIELD_NUMBER = 3;
private long rowCount_;
/**
* optional int64 rowCount = 3;
*/
public boolean hasRowCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 rowCount = 3;
*/
public long getRowCount() {
return rowCount_;
}
// optional int32 maxLength = 4;
public static final int MAXLENGTH_FIELD_NUMBER = 4;
private int maxLength_;
/**
* optional int32 maxLength = 4;
*/
public boolean hasMaxLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 maxLength = 4;
*/
public int getMaxLength() {
return maxLength_;
}
// optional int32 encodedGuidePostsCount = 5;
public static final int ENCODEDGUIDEPOSTSCOUNT_FIELD_NUMBER = 5;
private int encodedGuidePostsCount_;
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public boolean hasEncodedGuidePostsCount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public int getEncodedGuidePostsCount() {
return encodedGuidePostsCount_;
}
// optional bytes encodedGuidePosts = 6;
public static final int ENCODEDGUIDEPOSTS_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString encodedGuidePosts_;
/**
* optional bytes encodedGuidePosts = 6;
*/
public boolean hasEncodedGuidePosts() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bytes encodedGuidePosts = 6;
*/
public com.google.protobuf.ByteString getEncodedGuidePosts() {
return encodedGuidePosts_;
}
// repeated int64 byteCounts = 7;
public static final int BYTECOUNTS_FIELD_NUMBER = 7;
private java.util.List byteCounts_;
/**
* repeated int64 byteCounts = 7;
*/
public java.util.List
getByteCountsList() {
return byteCounts_;
}
/**
* repeated int64 byteCounts = 7;
*/
public int getByteCountsCount() {
return byteCounts_.size();
}
/**
* repeated int64 byteCounts = 7;
*/
public long getByteCounts(int index) {
return byteCounts_.get(index);
}
// repeated int64 rowCounts = 8;
public static final int ROWCOUNTS_FIELD_NUMBER = 8;
private java.util.List rowCounts_;
/**
* repeated int64 rowCounts = 8;
*/
public java.util.List
getRowCountsList() {
return rowCounts_;
}
/**
* repeated int64 rowCounts = 8;
*/
public int getRowCountsCount() {
return rowCounts_.size();
}
/**
* repeated int64 rowCounts = 8;
*/
public long getRowCounts(int index) {
return rowCounts_.get(index);
}
private void initFields() {
guidePosts_ = java.util.Collections.emptyList();
byteCount_ = 0L;
rowCount_ = 0L;
maxLength_ = 0;
encodedGuidePostsCount_ = 0;
encodedGuidePosts_ = com.google.protobuf.ByteString.EMPTY;
byteCounts_ = java.util.Collections.emptyList();
rowCounts_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < guidePosts_.size(); i++) {
output.writeBytes(1, guidePosts_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(2, byteCount_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(3, rowCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, maxLength_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(5, encodedGuidePostsCount_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(6, encodedGuidePosts_);
}
for (int i = 0; i < byteCounts_.size(); i++) {
output.writeInt64(7, byteCounts_.get(i));
}
for (int i = 0; i < rowCounts_.size(); i++) {
output.writeInt64(8, rowCounts_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < guidePosts_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(guidePosts_.get(i));
}
size += dataSize;
size += 1 * getGuidePostsList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, byteCount_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, rowCount_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, maxLength_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, encodedGuidePostsCount_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, encodedGuidePosts_);
}
{
int dataSize = 0;
for (int i = 0; i < byteCounts_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(byteCounts_.get(i));
}
size += dataSize;
size += 1 * getByteCountsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < rowCounts_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(rowCounts_.get(i));
}
size += dataSize;
size += 1 * getRowCountsList().size();
}
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.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts)) {
return super.equals(obj);
}
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts other = (org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts) obj;
boolean result = true;
result = result && getGuidePostsList()
.equals(other.getGuidePostsList());
result = result && (hasByteCount() == other.hasByteCount());
if (hasByteCount()) {
result = result && (getByteCount()
== other.getByteCount());
}
result = result && (hasRowCount() == other.hasRowCount());
if (hasRowCount()) {
result = result && (getRowCount()
== other.getRowCount());
}
result = result && (hasMaxLength() == other.hasMaxLength());
if (hasMaxLength()) {
result = result && (getMaxLength()
== other.getMaxLength());
}
result = result && (hasEncodedGuidePostsCount() == other.hasEncodedGuidePostsCount());
if (hasEncodedGuidePostsCount()) {
result = result && (getEncodedGuidePostsCount()
== other.getEncodedGuidePostsCount());
}
result = result && (hasEncodedGuidePosts() == other.hasEncodedGuidePosts());
if (hasEncodedGuidePosts()) {
result = result && getEncodedGuidePosts()
.equals(other.getEncodedGuidePosts());
}
result = result && getByteCountsList()
.equals(other.getByteCountsList());
result = result && getRowCountsList()
.equals(other.getRowCountsList());
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 (getGuidePostsCount() > 0) {
hash = (37 * hash) + GUIDEPOSTS_FIELD_NUMBER;
hash = (53 * hash) + getGuidePostsList().hashCode();
}
if (hasByteCount()) {
hash = (37 * hash) + BYTECOUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getByteCount());
}
if (hasRowCount()) {
hash = (37 * hash) + ROWCOUNT_FIELD_NUMBER;
hash = (53 * hash) + hashLong(getRowCount());
}
if (hasMaxLength()) {
hash = (37 * hash) + MAXLENGTH_FIELD_NUMBER;
hash = (53 * hash) + getMaxLength();
}
if (hasEncodedGuidePostsCount()) {
hash = (37 * hash) + ENCODEDGUIDEPOSTSCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getEncodedGuidePostsCount();
}
if (hasEncodedGuidePosts()) {
hash = (37 * hash) + ENCODEDGUIDEPOSTS_FIELD_NUMBER;
hash = (53 * hash) + getEncodedGuidePosts().hashCode();
}
if (getByteCountsCount() > 0) {
hash = (37 * hash) + BYTECOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getByteCountsList().hashCode();
}
if (getRowCountsCount() > 0) {
hash = (37 * hash) + ROWCOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getRowCountsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parseFrom(
com.google.protobuf.CodedInputStream input,
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.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PGuidePosts}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePostsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.internal_static_PGuidePosts_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.internal_static_PGuidePosts_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.class, org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.Builder.class);
}
// Construct using org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
guidePosts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
byteCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
rowCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
maxLength_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
encodedGuidePostsCount_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
encodedGuidePosts_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
byteCounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
rowCounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.internal_static_PGuidePosts_descriptor;
}
public org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts getDefaultInstanceForType() {
return org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.getDefaultInstance();
}
public org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts build() {
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts buildPartial() {
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts result = new org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
guidePosts_ = java.util.Collections.unmodifiableList(guidePosts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.guidePosts_ = guidePosts_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.byteCount_ = byteCount_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.rowCount_ = rowCount_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.maxLength_ = maxLength_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.encodedGuidePostsCount_ = encodedGuidePostsCount_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.encodedGuidePosts_ = encodedGuidePosts_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
byteCounts_ = java.util.Collections.unmodifiableList(byteCounts_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.byteCounts_ = byteCounts_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
rowCounts_ = java.util.Collections.unmodifiableList(rowCounts_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.rowCounts_ = rowCounts_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts) {
return mergeFrom((org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts other) {
if (other == org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts.getDefaultInstance()) return this;
if (!other.guidePosts_.isEmpty()) {
if (guidePosts_.isEmpty()) {
guidePosts_ = other.guidePosts_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGuidePostsIsMutable();
guidePosts_.addAll(other.guidePosts_);
}
onChanged();
}
if (other.hasByteCount()) {
setByteCount(other.getByteCount());
}
if (other.hasRowCount()) {
setRowCount(other.getRowCount());
}
if (other.hasMaxLength()) {
setMaxLength(other.getMaxLength());
}
if (other.hasEncodedGuidePostsCount()) {
setEncodedGuidePostsCount(other.getEncodedGuidePostsCount());
}
if (other.hasEncodedGuidePosts()) {
setEncodedGuidePosts(other.getEncodedGuidePosts());
}
if (!other.byteCounts_.isEmpty()) {
if (byteCounts_.isEmpty()) {
byteCounts_ = other.byteCounts_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureByteCountsIsMutable();
byteCounts_.addAll(other.byteCounts_);
}
onChanged();
}
if (!other.rowCounts_.isEmpty()) {
if (rowCounts_.isEmpty()) {
rowCounts_ = other.rowCounts_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureRowCountsIsMutable();
rowCounts_.addAll(other.rowCounts_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.phoenix.coprocessor.generated.PGuidePostsProtos.PGuidePosts) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated bytes guidePosts = 1;
private java.util.List guidePosts_ = java.util.Collections.emptyList();
private void ensureGuidePostsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
guidePosts_ = new java.util.ArrayList(guidePosts_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes guidePosts = 1;
*/
public java.util.List
getGuidePostsList() {
return java.util.Collections.unmodifiableList(guidePosts_);
}
/**
* repeated bytes guidePosts = 1;
*/
public int getGuidePostsCount() {
return guidePosts_.size();
}
/**
* repeated bytes guidePosts = 1;
*/
public com.google.protobuf.ByteString getGuidePosts(int index) {
return guidePosts_.get(index);
}
/**
* repeated bytes guidePosts = 1;
*/
public Builder setGuidePosts(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureGuidePostsIsMutable();
guidePosts_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes guidePosts = 1;
*/
public Builder addGuidePosts(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureGuidePostsIsMutable();
guidePosts_.add(value);
onChanged();
return this;
}
/**
* repeated bytes guidePosts = 1;
*/
public Builder addAllGuidePosts(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureGuidePostsIsMutable();
super.addAll(values, guidePosts_);
onChanged();
return this;
}
/**
* repeated bytes guidePosts = 1;
*/
public Builder clearGuidePosts() {
guidePosts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// optional int64 byteCount = 2;
private long byteCount_ ;
/**
* optional int64 byteCount = 2;
*/
public boolean hasByteCount() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int64 byteCount = 2;
*/
public long getByteCount() {
return byteCount_;
}
/**
* optional int64 byteCount = 2;
*/
public Builder setByteCount(long value) {
bitField0_ |= 0x00000002;
byteCount_ = value;
onChanged();
return this;
}
/**
* optional int64 byteCount = 2;
*/
public Builder clearByteCount() {
bitField0_ = (bitField0_ & ~0x00000002);
byteCount_ = 0L;
onChanged();
return this;
}
// optional int64 rowCount = 3;
private long rowCount_ ;
/**
* optional int64 rowCount = 3;
*/
public boolean hasRowCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 rowCount = 3;
*/
public long getRowCount() {
return rowCount_;
}
/**
* optional int64 rowCount = 3;
*/
public Builder setRowCount(long value) {
bitField0_ |= 0x00000004;
rowCount_ = value;
onChanged();
return this;
}
/**
* optional int64 rowCount = 3;
*/
public Builder clearRowCount() {
bitField0_ = (bitField0_ & ~0x00000004);
rowCount_ = 0L;
onChanged();
return this;
}
// optional int32 maxLength = 4;
private int maxLength_ ;
/**
* optional int32 maxLength = 4;
*/
public boolean hasMaxLength() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 maxLength = 4;
*/
public int getMaxLength() {
return maxLength_;
}
/**
* optional int32 maxLength = 4;
*/
public Builder setMaxLength(int value) {
bitField0_ |= 0x00000008;
maxLength_ = value;
onChanged();
return this;
}
/**
* optional int32 maxLength = 4;
*/
public Builder clearMaxLength() {
bitField0_ = (bitField0_ & ~0x00000008);
maxLength_ = 0;
onChanged();
return this;
}
// optional int32 encodedGuidePostsCount = 5;
private int encodedGuidePostsCount_ ;
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public boolean hasEncodedGuidePostsCount() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public int getEncodedGuidePostsCount() {
return encodedGuidePostsCount_;
}
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public Builder setEncodedGuidePostsCount(int value) {
bitField0_ |= 0x00000010;
encodedGuidePostsCount_ = value;
onChanged();
return this;
}
/**
* optional int32 encodedGuidePostsCount = 5;
*/
public Builder clearEncodedGuidePostsCount() {
bitField0_ = (bitField0_ & ~0x00000010);
encodedGuidePostsCount_ = 0;
onChanged();
return this;
}
// optional bytes encodedGuidePosts = 6;
private com.google.protobuf.ByteString encodedGuidePosts_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes encodedGuidePosts = 6;
*/
public boolean hasEncodedGuidePosts() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bytes encodedGuidePosts = 6;
*/
public com.google.protobuf.ByteString getEncodedGuidePosts() {
return encodedGuidePosts_;
}
/**
* optional bytes encodedGuidePosts = 6;
*/
public Builder setEncodedGuidePosts(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
encodedGuidePosts_ = value;
onChanged();
return this;
}
/**
* optional bytes encodedGuidePosts = 6;
*/
public Builder clearEncodedGuidePosts() {
bitField0_ = (bitField0_ & ~0x00000020);
encodedGuidePosts_ = getDefaultInstance().getEncodedGuidePosts();
onChanged();
return this;
}
// repeated int64 byteCounts = 7;
private java.util.List byteCounts_ = java.util.Collections.emptyList();
private void ensureByteCountsIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
byteCounts_ = new java.util.ArrayList(byteCounts_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated int64 byteCounts = 7;
*/
public java.util.List
getByteCountsList() {
return java.util.Collections.unmodifiableList(byteCounts_);
}
/**
* repeated int64 byteCounts = 7;
*/
public int getByteCountsCount() {
return byteCounts_.size();
}
/**
* repeated int64 byteCounts = 7;
*/
public long getByteCounts(int index) {
return byteCounts_.get(index);
}
/**
* repeated int64 byteCounts = 7;
*/
public Builder setByteCounts(
int index, long value) {
ensureByteCountsIsMutable();
byteCounts_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 byteCounts = 7;
*/
public Builder addByteCounts(long value) {
ensureByteCountsIsMutable();
byteCounts_.add(value);
onChanged();
return this;
}
/**
* repeated int64 byteCounts = 7;
*/
public Builder addAllByteCounts(
java.lang.Iterable extends java.lang.Long> values) {
ensureByteCountsIsMutable();
super.addAll(values, byteCounts_);
onChanged();
return this;
}
/**
* repeated int64 byteCounts = 7;
*/
public Builder clearByteCounts() {
byteCounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
// repeated int64 rowCounts = 8;
private java.util.List rowCounts_ = java.util.Collections.emptyList();
private void ensureRowCountsIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
rowCounts_ = new java.util.ArrayList(rowCounts_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated int64 rowCounts = 8;
*/
public java.util.List
getRowCountsList() {
return java.util.Collections.unmodifiableList(rowCounts_);
}
/**
* repeated int64 rowCounts = 8;
*/
public int getRowCountsCount() {
return rowCounts_.size();
}
/**
* repeated int64 rowCounts = 8;
*/
public long getRowCounts(int index) {
return rowCounts_.get(index);
}
/**
* repeated int64 rowCounts = 8;
*/
public Builder setRowCounts(
int index, long value) {
ensureRowCountsIsMutable();
rowCounts_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 rowCounts = 8;
*/
public Builder addRowCounts(long value) {
ensureRowCountsIsMutable();
rowCounts_.add(value);
onChanged();
return this;
}
/**
* repeated int64 rowCounts = 8;
*/
public Builder addAllRowCounts(
java.lang.Iterable extends java.lang.Long> values) {
ensureRowCountsIsMutable();
super.addAll(values, rowCounts_);
onChanged();
return this;
}
/**
* repeated int64 rowCounts = 8;
*/
public Builder clearRowCounts() {
rowCounts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PGuidePosts)
}
static {
defaultInstance = new PGuidePosts(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PGuidePosts)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_PGuidePosts_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PGuidePosts_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021PGuidePosts.proto\"\273\001\n\013PGuidePosts\022\022\n\ng" +
"uidePosts\030\001 \003(\014\022\021\n\tbyteCount\030\002 \001(\003\022\020\n\010ro" +
"wCount\030\003 \001(\003\022\021\n\tmaxLength\030\004 \001(\005\022\036\n\026encod" +
"edGuidePostsCount\030\005 \001(\005\022\031\n\021encodedGuideP" +
"osts\030\006 \001(\014\022\022\n\nbyteCounts\030\007 \003(\003\022\021\n\trowCou" +
"nts\030\010 \003(\003BE\n(org.apache.phoenix.coproces" +
"sor.generatedB\021PGuidePostsProtosH\001\210\001\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_PGuidePosts_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_PGuidePosts_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PGuidePosts_descriptor,
new java.lang.String[] { "GuidePosts", "ByteCount", "RowCount", "MaxLength", "EncodedGuidePostsCount", "EncodedGuidePosts", "ByteCounts", "RowCounts", });
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy