http://git-wip-us.apache.org/repos/asf/phoenix/blob/d6a82e29/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java index 5ee1dfb..3b8984a 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/generated/ServerCachingProtos.java @@ -649,6 +649,4947 @@ public final class ServerCachingProtos { // @@protoc_insertion_point(class_scope:ImmutableBytesWritable) } + public interface ColumnReferenceOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // required bytes family = 1; + /** + * <code>required bytes family = 1;</code> + */ + boolean hasFamily(); + /** + * <code>required bytes family = 1;</code> + */ + com.google.protobuf.ByteString getFamily(); + + // required bytes qualifier = 2; + /** + * <code>required bytes qualifier = 2;</code> + */ + boolean hasQualifier(); + /** + * <code>required bytes qualifier = 2;</code> + */ + com.google.protobuf.ByteString getQualifier(); + } + /** + * Protobuf type {@code ColumnReference} + */ + public static final class ColumnReference extends + com.google.protobuf.GeneratedMessage + implements ColumnReferenceOrBuilder { + // Use ColumnReference.newBuilder() to construct. + private ColumnReference(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ColumnReference(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ColumnReference defaultInstance; + public static ColumnReference getDefaultInstance() { + return defaultInstance; + } + + public ColumnReference getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ColumnReference( + 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: { + bitField0_ |= 0x00000001; + family_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + qualifier_ = input.readBytes(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnReference_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.Builder.class); + } + + public static com.google.protobuf.Parser<ColumnReference> PARSER = + new com.google.protobuf.AbstractParser<ColumnReference>() { + public ColumnReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnReference(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser<ColumnReference> getParserForType() { + return PARSER; + } + + private int bitField0_; + // required bytes family = 1; + public static final int FAMILY_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString family_; + /** + * <code>required bytes family = 1;</code> + */ + public boolean hasFamily() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>required bytes family = 1;</code> + */ + public com.google.protobuf.ByteString getFamily() { + return family_; + } + + // required bytes qualifier = 2; + public static final int QUALIFIER_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString qualifier_; + /** + * <code>required bytes qualifier = 2;</code> + */ + public boolean hasQualifier() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>required bytes qualifier = 2;</code> + */ + public com.google.protobuf.ByteString getQualifier() { + return qualifier_; + } + + private void initFields() { + family_ = com.google.protobuf.ByteString.EMPTY; + qualifier_ = com.google.protobuf.ByteString.EMPTY; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasFamily()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasQualifier()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, family_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, qualifier_); + } + 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.google.protobuf.CodedOutputStream + .computeBytesSize(1, family_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, qualifier_); + } + 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.ServerCachingProtos.ColumnReference)) { + return super.equals(obj); + } + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference) obj; + + boolean result = true; + result = result && (hasFamily() == other.hasFamily()); + if (hasFamily()) { + result = result && getFamily() + .equals(other.getFamily()); + } + result = result && (hasQualifier() == other.hasQualifier()); + if (hasQualifier()) { + result = result && getQualifier() + .equals(other.getQualifier()); + } + 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 (hasFamily()) { + hash = (37 * hash) + FAMILY_FIELD_NUMBER; + hash = (53 * hash) + getFamily().hashCode(); + } + if (hasQualifier()) { + hash = (37 * hash) + QUALIFIER_FIELD_NUMBER; + hash = (53 * hash) + getQualifier().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference 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.ServerCachingProtos.ColumnReference parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference 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.ServerCachingProtos.ColumnReference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference 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.ServerCachingProtos.ColumnReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference 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.ServerCachingProtos.ColumnReference parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference 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.ServerCachingProtos.ColumnReference 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 ColumnReference} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder<Builder> + implements org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnReference_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnReference_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.Builder.class); + } + + // Construct using org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.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(); + family_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + qualifier_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnReference_descriptor; + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getDefaultInstanceForType() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.getDefaultInstance(); + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference build() { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference buildPartial() { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference result = new org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.family_ = family_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.qualifier_ = qualifier_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference) { + return mergeFrom((org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference other) { + if (other == org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.getDefaultInstance()) return this; + if (other.hasFamily()) { + setFamily(other.getFamily()); + } + if (other.hasQualifier()) { + setQualifier(other.getQualifier()); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + if (!hasFamily()) { + + return false; + } + if (!hasQualifier()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required bytes family = 1; + private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>required bytes family = 1;</code> + */ + public boolean hasFamily() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>required bytes family = 1;</code> + */ + public com.google.protobuf.ByteString getFamily() { + return family_; + } + /** + * <code>required bytes family = 1;</code> + */ + public Builder setFamily(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + family_ = value; + onChanged(); + return this; + } + /** + * <code>required bytes family = 1;</code> + */ + public Builder clearFamily() { + bitField0_ = (bitField0_ & ~0x00000001); + family_ = getDefaultInstance().getFamily(); + onChanged(); + return this; + } + + // required bytes qualifier = 2; + private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>required bytes qualifier = 2;</code> + */ + public boolean hasQualifier() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>required bytes qualifier = 2;</code> + */ + public com.google.protobuf.ByteString getQualifier() { + return qualifier_; + } + /** + * <code>required bytes qualifier = 2;</code> + */ + public Builder setQualifier(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + qualifier_ = value; + onChanged(); + return this; + } + /** + * <code>required bytes qualifier = 2;</code> + */ + public Builder clearQualifier() { + bitField0_ = (bitField0_ & ~0x00000002); + qualifier_ = getDefaultInstance().getQualifier(); + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:ColumnReference) + } + + static { + defaultInstance = new ColumnReference(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:ColumnReference) + } + + public interface ColumnInfoOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional string familyName = 1; + /** + * <code>optional string familyName = 1;</code> + */ + boolean hasFamilyName(); + /** + * <code>optional string familyName = 1;</code> + */ + java.lang.String getFamilyName(); + /** + * <code>optional string familyName = 1;</code> + */ + com.google.protobuf.ByteString + getFamilyNameBytes(); + + // required string columnName = 2; + /** + * <code>required string columnName = 2;</code> + */ + boolean hasColumnName(); + /** + * <code>required string columnName = 2;</code> + */ + java.lang.String getColumnName(); + /** + * <code>required string columnName = 2;</code> + */ + com.google.protobuf.ByteString + getColumnNameBytes(); + } + /** + * Protobuf type {@code ColumnInfo} + */ + public static final class ColumnInfo extends + com.google.protobuf.GeneratedMessage + implements ColumnInfoOrBuilder { + // Use ColumnInfo.newBuilder() to construct. + private ColumnInfo(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ColumnInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ColumnInfo defaultInstance; + public static ColumnInfo getDefaultInstance() { + return defaultInstance; + } + + public ColumnInfo getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ColumnInfo( + 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: { + bitField0_ |= 0x00000001; + familyName_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + columnName_ = input.readBytes(); + 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnInfo_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.Builder.class); + } + + public static com.google.protobuf.Parser<ColumnInfo> PARSER = + new com.google.protobuf.AbstractParser<ColumnInfo>() { + public ColumnInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnInfo(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser<ColumnInfo> getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string familyName = 1; + public static final int FAMILYNAME_FIELD_NUMBER = 1; + private java.lang.Object familyName_; + /** + * <code>optional string familyName = 1;</code> + */ + public boolean hasFamilyName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string familyName = 1;</code> + */ + public java.lang.String getFamilyName() { + java.lang.Object ref = familyName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + familyName_ = s; + } + return s; + } + } + /** + * <code>optional string familyName = 1;</code> + */ + public com.google.protobuf.ByteString + getFamilyNameBytes() { + java.lang.Object ref = familyName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + familyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required string columnName = 2; + public static final int COLUMNNAME_FIELD_NUMBER = 2; + private java.lang.Object columnName_; + /** + * <code>required string columnName = 2;</code> + */ + public boolean hasColumnName() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>required string columnName = 2;</code> + */ + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + columnName_ = s; + } + return s; + } + } + /** + * <code>required string columnName = 2;</code> + */ + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + familyName_ = ""; + columnName_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasColumnName()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getFamilyNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getColumnNameBytes()); + } + 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.google.protobuf.CodedOutputStream + .computeBytesSize(1, getFamilyNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getColumnNameBytes()); + } + 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.ServerCachingProtos.ColumnInfo)) { + return super.equals(obj); + } + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo other = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo) obj; + + boolean result = true; + result = result && (hasFamilyName() == other.hasFamilyName()); + if (hasFamilyName()) { + result = result && getFamilyName() + .equals(other.getFamilyName()); + } + result = result && (hasColumnName() == other.hasColumnName()); + if (hasColumnName()) { + result = result && getColumnName() + .equals(other.getColumnName()); + } + 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 (hasFamilyName()) { + hash = (37 * hash) + FAMILYNAME_FIELD_NUMBER; + hash = (53 * hash) + getFamilyName().hashCode(); + } + if (hasColumnName()) { + hash = (37 * hash) + COLUMNNAME_FIELD_NUMBER; + hash = (53 * hash) + getColumnName().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo 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.ServerCachingProtos.ColumnInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo 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.ServerCachingProtos.ColumnInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo 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.ServerCachingProtos.ColumnInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo 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.ServerCachingProtos.ColumnInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo 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.ServerCachingProtos.ColumnInfo 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 ColumnInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder<Builder> + implements org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnInfo_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.Builder.class); + } + + // Construct using org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.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(); + familyName_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + columnName_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_ColumnInfo_descriptor; + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo getDefaultInstanceForType() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.getDefaultInstance(); + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo build() { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo buildPartial() { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo result = new org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.familyName_ = familyName_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.columnName_ = columnName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo) { + return mergeFrom((org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo other) { + if (other == org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.getDefaultInstance()) return this; + if (other.hasFamilyName()) { + bitField0_ |= 0x00000001; + familyName_ = other.familyName_; + onChanged(); + } + if (other.hasColumnName()) { + bitField0_ |= 0x00000002; + columnName_ = other.columnName_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + return this; + } + + public final boolean isInitialized() { + if (!hasColumnName()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // optional string familyName = 1; + private java.lang.Object familyName_ = ""; + /** + * <code>optional string familyName = 1;</code> + */ + public boolean hasFamilyName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string familyName = 1;</code> + */ + public java.lang.String getFamilyName() { + java.lang.Object ref = familyName_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + familyName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string familyName = 1;</code> + */ + public com.google.protobuf.ByteString + getFamilyNameBytes() { + java.lang.Object ref = familyName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + familyName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string familyName = 1;</code> + */ + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + familyName_ = value; + onChanged(); + return this; + } + /** + * <code>optional string familyName = 1;</code> + */ + public Builder clearFamilyName() { + bitField0_ = (bitField0_ & ~0x00000001); + familyName_ = getDefaultInstance().getFamilyName(); + onChanged(); + return this; + } + /** + * <code>optional string familyName = 1;</code> + */ + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + familyName_ = value; + onChanged(); + return this; + } + + // required string columnName = 2; + private java.lang.Object columnName_ = ""; + /** + * <code>required string columnName = 2;</code> + */ + public boolean hasColumnName() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>required string columnName = 2;</code> + */ + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + columnName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>required string columnName = 2;</code> + */ + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>required string columnName = 2;</code> + */ + public Builder setColumnName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + columnName_ = value; + onChanged(); + return this; + } + /** + * <code>required string columnName = 2;</code> + */ + public Builder clearColumnName() { + bitField0_ = (bitField0_ & ~0x00000002); + columnName_ = getDefaultInstance().getColumnName(); + onChanged(); + return this; + } + /** + * <code>required string columnName = 2;</code> + */ + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + columnName_ = value; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:ColumnInfo) + } + + static { + defaultInstance = new ColumnInfo(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:ColumnInfo) + } + + public interface IndexMaintainerOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // required int32 saltBuckets = 1; + /** + * <code>required int32 saltBuckets = 1;</code> + */ + boolean hasSaltBuckets(); + /** + * <code>required int32 saltBuckets = 1;</code> + */ + int getSaltBuckets(); + + // required bool isMultiTenant = 2; + /** + * <code>required bool isMultiTenant = 2;</code> + */ + boolean hasIsMultiTenant(); + /** + * <code>required bool isMultiTenant = 2;</code> + */ + boolean getIsMultiTenant(); + + // optional bytes viewIndexId = 3; + /** + * <code>optional bytes viewIndexId = 3;</code> + */ + boolean hasViewIndexId(); + /** + * <code>optional bytes viewIndexId = 3;</code> + */ + com.google.protobuf.ByteString getViewIndexId(); + + // repeated .ColumnReference indexedColumns = 4; + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> + getIndexedColumnsList(); + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getIndexedColumns(int index); + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + int getIndexedColumnsCount(); + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getIndexedColumnsOrBuilderList(); + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getIndexedColumnsOrBuilder( + int index); + + // repeated int32 indexedColumnTypeOrdinal = 5; + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + java.util.List<java.lang.Integer> getIndexedColumnTypeOrdinalList(); + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + int getIndexedColumnTypeOrdinalCount(); + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + int getIndexedColumnTypeOrdinal(int index); + + // repeated .ColumnReference dataTableColRefForCoveredColumns = 6; + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> + getDataTableColRefForCoveredColumnsList(); + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getDataTableColRefForCoveredColumns(int index); + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + int getDataTableColRefForCoveredColumnsCount(); + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getDataTableColRefForCoveredColumnsOrBuilderList(); + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getDataTableColRefForCoveredColumnsOrBuilder( + int index); + + // repeated .ColumnReference indexTableColRefForCoveredColumns = 7; + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> + getIndexTableColRefForCoveredColumnsList(); + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getIndexTableColRefForCoveredColumns(int index); + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + int getIndexTableColRefForCoveredColumnsCount(); + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getIndexTableColRefForCoveredColumnsOrBuilderList(); + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getIndexTableColRefForCoveredColumnsOrBuilder( + int index); + + // required bool isLocalIndex = 8; + /** + * <code>required bool isLocalIndex = 8;</code> + */ + boolean hasIsLocalIndex(); + /** + * <code>required bool isLocalIndex = 8;</code> + */ + boolean getIsLocalIndex(); + + // required bytes indexTableName = 9; + /** + * <code>required bytes indexTableName = 9;</code> + */ + boolean hasIndexTableName(); + /** + * <code>required bytes indexTableName = 9;</code> + */ + com.google.protobuf.ByteString getIndexTableName(); + + // required bool rowKeyOrderOptimizable = 10; + /** + * <code>required bool rowKeyOrderOptimizable = 10;</code> + */ + boolean hasRowKeyOrderOptimizable(); + /** + * <code>required bool rowKeyOrderOptimizable = 10;</code> + */ + boolean getRowKeyOrderOptimizable(); + + // required bytes dataTableEmptyKeyValueColFamily = 11; + /** + * <code>required bytes dataTableEmptyKeyValueColFamily = 11;</code> + */ + boolean hasDataTableEmptyKeyValueColFamily(); + /** + * <code>required bytes dataTableEmptyKeyValueColFamily = 11;</code> + */ + com.google.protobuf.ByteString getDataTableEmptyKeyValueColFamily(); + + // required .ImmutableBytesWritable emptyKeyValueColFamily = 12; + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + boolean hasEmptyKeyValueColFamily(); + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getEmptyKeyValueColFamily(); + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder getEmptyKeyValueColFamilyOrBuilder(); + + // optional bytes indexedExpressions = 13; + /** + * <code>optional bytes indexedExpressions = 13;</code> + */ + boolean hasIndexedExpressions(); + /** + * <code>optional bytes indexedExpressions = 13;</code> + */ + com.google.protobuf.ByteString getIndexedExpressions(); + + // required bytes rowKeyMetadata = 14; + /** + * <code>required bytes rowKeyMetadata = 14;</code> + */ + boolean hasRowKeyMetadata(); + /** + * <code>required bytes rowKeyMetadata = 14;</code> + */ + com.google.protobuf.ByteString getRowKeyMetadata(); + + // required int32 numDataTableColFamilies = 15; + /** + * <code>required int32 numDataTableColFamilies = 15;</code> + */ + boolean hasNumDataTableColFamilies(); + /** + * <code>required int32 numDataTableColFamilies = 15;</code> + */ + int getNumDataTableColFamilies(); + + // required bool indexWalDisabled = 16; + /** + * <code>required bool indexWalDisabled = 16;</code> + */ + boolean hasIndexWalDisabled(); + /** + * <code>required bool indexWalDisabled = 16;</code> + */ + boolean getIndexWalDisabled(); + + // required int32 indexRowKeyByteSize = 17; + /** + * <code>required int32 indexRowKeyByteSize = 17;</code> + */ + boolean hasIndexRowKeyByteSize(); + /** + * <code>required int32 indexRowKeyByteSize = 17;</code> + */ + int getIndexRowKeyByteSize(); + + // required bool immutable = 18; + /** + * <code>required bool immutable = 18;</code> + */ + boolean hasImmutable(); + /** + * <code>required bool immutable = 18;</code> + */ + boolean getImmutable(); + + // repeated .ColumnInfo indexedColumnInfo = 19; + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo> + getIndexedColumnInfoList(); + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo getIndexedColumnInfo(int index); + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + int getIndexedColumnInfoCount(); + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfoOrBuilder> + getIndexedColumnInfoOrBuilderList(); + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfoOrBuilder getIndexedColumnInfoOrBuilder( + int index); + + // required int32 encodingScheme = 20; + /** + * <code>required int32 encodingScheme = 20;</code> + */ + boolean hasEncodingScheme(); + /** + * <code>required int32 encodingScheme = 20;</code> + */ + int getEncodingScheme(); + + // required int32 immutableStorageScheme = 21; + /** + * <code>required int32 immutableStorageScheme = 21;</code> + */ + boolean hasImmutableStorageScheme(); + /** + * <code>required int32 immutableStorageScheme = 21;</code> + */ + int getImmutableStorageScheme(); + } + /** + * Protobuf type {@code IndexMaintainer} + */ + public static final class IndexMaintainer extends + com.google.protobuf.GeneratedMessage + implements IndexMaintainerOrBuilder { + // Use IndexMaintainer.newBuilder() to construct. + private IndexMaintainer(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private IndexMaintainer(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final IndexMaintainer defaultInstance; + public static IndexMaintainer getDefaultInstance() { + return defaultInstance; + } + + public IndexMaintainer getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IndexMaintainer( + 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 8: { + bitField0_ |= 0x00000001; + saltBuckets_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + isMultiTenant_ = input.readBool(); + break; + } + case 26: { + bitField0_ |= 0x00000004; + viewIndexId_ = input.readBytes(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + indexedColumns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference>(); + mutable_bitField0_ |= 0x00000008; + } + indexedColumns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.PARSER, extensionRegistry)); + break; + } + case 40: { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + indexedColumnTypeOrdinal_ = new java.util.ArrayList<java.lang.Integer>(); + mutable_bitField0_ |= 0x00000010; + } + indexedColumnTypeOrdinal_.add(input.readInt32()); + break; + } + case 42: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { + indexedColumnTypeOrdinal_ = new java.util.ArrayList<java.lang.Integer>(); + mutable_bitField0_ |= 0x00000010; + } + while (input.getBytesUntilLimit() > 0) { + indexedColumnTypeOrdinal_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + dataTableColRefForCoveredColumns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference>(); + mutable_bitField0_ |= 0x00000020; + } + dataTableColRefForCoveredColumns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.PARSER, extensionRegistry)); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + indexTableColRefForCoveredColumns_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference>(); + mutable_bitField0_ |= 0x00000040; + } + indexTableColRefForCoveredColumns_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference.PARSER, extensionRegistry)); + break; + } + case 64: { + bitField0_ |= 0x00000008; + isLocalIndex_ = input.readBool(); + break; + } + case 74: { + bitField0_ |= 0x00000010; + indexTableName_ = input.readBytes(); + break; + } + case 80: { + bitField0_ |= 0x00000020; + rowKeyOrderOptimizable_ = input.readBool(); + break; + } + case 90: { + bitField0_ |= 0x00000040; + dataTableEmptyKeyValueColFamily_ = input.readBytes(); + break; + } + case 98: { + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) == 0x00000080)) { + subBuilder = emptyKeyValueColFamily_.toBuilder(); + } + emptyKeyValueColFamily_ = input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(emptyKeyValueColFamily_); + emptyKeyValueColFamily_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 106: { + bitField0_ |= 0x00000100; + indexedExpressions_ = input.readBytes(); + break; + } + case 114: { + bitField0_ |= 0x00000200; + rowKeyMetadata_ = input.readBytes(); + break; + } + case 120: { + bitField0_ |= 0x00000400; + numDataTableColFamilies_ = input.readInt32(); + break; + } + case 128: { + bitField0_ |= 0x00000800; + indexWalDisabled_ = input.readBool(); + break; + } + case 136: { + bitField0_ |= 0x00001000; + indexRowKeyByteSize_ = input.readInt32(); + break; + } + case 144: { + bitField0_ |= 0x00002000; + immutable_ = input.readBool(); + break; + } + case 154: { + if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) { + indexedColumnInfo_ = new java.util.ArrayList<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo>(); + mutable_bitField0_ |= 0x00040000; + } + indexedColumnInfo_.add(input.readMessage(org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo.PARSER, extensionRegistry)); + break; + } + case 160: { + bitField0_ |= 0x00004000; + encodingScheme_ = input.readInt32(); + break; + } + case 168: { + bitField0_ |= 0x00008000; + immutableStorageScheme_ = input.readInt32(); + 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_ & 0x00000008) == 0x00000008)) { + indexedColumns_ = java.util.Collections.unmodifiableList(indexedColumns_); + } + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + indexedColumnTypeOrdinal_ = java.util.Collections.unmodifiableList(indexedColumnTypeOrdinal_); + } + if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { + dataTableColRefForCoveredColumns_ = java.util.Collections.unmodifiableList(dataTableColRefForCoveredColumns_); + } + if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + indexTableColRefForCoveredColumns_ = java.util.Collections.unmodifiableList(indexTableColRefForCoveredColumns_); + } + if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) { + indexedColumnInfo_ = java.util.Collections.unmodifiableList(indexedColumnInfo_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_IndexMaintainer_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.apache.phoenix.coprocessor.generated.ServerCachingProtos.internal_static_IndexMaintainer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.phoenix.coprocessor.generated.ServerCachingProtos.IndexMaintainer.class, org.apache.phoenix.coprocessor.generated.ServerCachingProtos.IndexMaintainer.Builder.class); + } + + public static com.google.protobuf.Parser<IndexMaintainer> PARSER = + new com.google.protobuf.AbstractParser<IndexMaintainer>() { + public IndexMaintainer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IndexMaintainer(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser<IndexMaintainer> getParserForType() { + return PARSER; + } + + private int bitField0_; + // required int32 saltBuckets = 1; + public static final int SALTBUCKETS_FIELD_NUMBER = 1; + private int saltBuckets_; + /** + * <code>required int32 saltBuckets = 1;</code> + */ + public boolean hasSaltBuckets() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>required int32 saltBuckets = 1;</code> + */ + public int getSaltBuckets() { + return saltBuckets_; + } + + // required bool isMultiTenant = 2; + public static final int ISMULTITENANT_FIELD_NUMBER = 2; + private boolean isMultiTenant_; + /** + * <code>required bool isMultiTenant = 2;</code> + */ + public boolean hasIsMultiTenant() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>required bool isMultiTenant = 2;</code> + */ + public boolean getIsMultiTenant() { + return isMultiTenant_; + } + + // optional bytes viewIndexId = 3; + public static final int VIEWINDEXID_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString viewIndexId_; + /** + * <code>optional bytes viewIndexId = 3;</code> + */ + public boolean hasViewIndexId() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * <code>optional bytes viewIndexId = 3;</code> + */ + public com.google.protobuf.ByteString getViewIndexId() { + return viewIndexId_; + } + + // repeated .ColumnReference indexedColumns = 4; + public static final int INDEXEDCOLUMNS_FIELD_NUMBER = 4; + private java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> indexedColumns_; + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + public java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> getIndexedColumnsList() { + return indexedColumns_; + } + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + public java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getIndexedColumnsOrBuilderList() { + return indexedColumns_; + } + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + public int getIndexedColumnsCount() { + return indexedColumns_.size(); + } + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getIndexedColumns(int index) { + return indexedColumns_.get(index); + } + /** + * <code>repeated .ColumnReference indexedColumns = 4;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getIndexedColumnsOrBuilder( + int index) { + return indexedColumns_.get(index); + } + + // repeated int32 indexedColumnTypeOrdinal = 5; + public static final int INDEXEDCOLUMNTYPEORDINAL_FIELD_NUMBER = 5; + private java.util.List<java.lang.Integer> indexedColumnTypeOrdinal_; + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + public java.util.List<java.lang.Integer> + getIndexedColumnTypeOrdinalList() { + return indexedColumnTypeOrdinal_; + } + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + public int getIndexedColumnTypeOrdinalCount() { + return indexedColumnTypeOrdinal_.size(); + } + /** + * <code>repeated int32 indexedColumnTypeOrdinal = 5;</code> + */ + public int getIndexedColumnTypeOrdinal(int index) { + return indexedColumnTypeOrdinal_.get(index); + } + + // repeated .ColumnReference dataTableColRefForCoveredColumns = 6; + public static final int DATATABLECOLREFFORCOVEREDCOLUMNS_FIELD_NUMBER = 6; + private java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> dataTableColRefForCoveredColumns_; + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + public java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> getDataTableColRefForCoveredColumnsList() { + return dataTableColRefForCoveredColumns_; + } + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + public java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getDataTableColRefForCoveredColumnsOrBuilderList() { + return dataTableColRefForCoveredColumns_; + } + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + public int getDataTableColRefForCoveredColumnsCount() { + return dataTableColRefForCoveredColumns_.size(); + } + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getDataTableColRefForCoveredColumns(int index) { + return dataTableColRefForCoveredColumns_.get(index); + } + /** + * <code>repeated .ColumnReference dataTableColRefForCoveredColumns = 6;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getDataTableColRefForCoveredColumnsOrBuilder( + int index) { + return dataTableColRefForCoveredColumns_.get(index); + } + + // repeated .ColumnReference indexTableColRefForCoveredColumns = 7; + public static final int INDEXTABLECOLREFFORCOVEREDCOLUMNS_FIELD_NUMBER = 7; + private java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> indexTableColRefForCoveredColumns_; + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + public java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference> getIndexTableColRefForCoveredColumnsList() { + return indexTableColRefForCoveredColumns_; + } + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + public java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder> + getIndexTableColRefForCoveredColumnsOrBuilderList() { + return indexTableColRefForCoveredColumns_; + } + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + public int getIndexTableColRefForCoveredColumnsCount() { + return indexTableColRefForCoveredColumns_.size(); + } + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReference getIndexTableColRefForCoveredColumns(int index) { + return indexTableColRefForCoveredColumns_.get(index); + } + /** + * <code>repeated .ColumnReference indexTableColRefForCoveredColumns = 7;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnReferenceOrBuilder getIndexTableColRefForCoveredColumnsOrBuilder( + int index) { + return indexTableColRefForCoveredColumns_.get(index); + } + + // required bool isLocalIndex = 8; + public static final int ISLOCALINDEX_FIELD_NUMBER = 8; + private boolean isLocalIndex_; + /** + * <code>required bool isLocalIndex = 8;</code> + */ + public boolean hasIsLocalIndex() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * <code>required bool isLocalIndex = 8;</code> + */ + public boolean getIsLocalIndex() { + return isLocalIndex_; + } + + // required bytes indexTableName = 9; + public static final int INDEXTABLENAME_FIELD_NUMBER = 9; + private com.google.protobuf.ByteString indexTableName_; + /** + * <code>required bytes indexTableName = 9;</code> + */ + public boolean hasIndexTableName() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * <code>required bytes indexTableName = 9;</code> + */ + public com.google.protobuf.ByteString getIndexTableName() { + return indexTableName_; + } + + // required bool rowKeyOrderOptimizable = 10; + public static final int ROWKEYORDEROPTIMIZABLE_FIELD_NUMBER = 10; + private boolean rowKeyOrderOptimizable_; + /** + * <code>required bool rowKeyOrderOptimizable = 10;</code> + */ + public boolean hasRowKeyOrderOptimizable() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * <code>required bool rowKeyOrderOptimizable = 10;</code> + */ + public boolean getRowKeyOrderOptimizable() { + return rowKeyOrderOptimizable_; + } + + // required bytes dataTableEmptyKeyValueColFamily = 11; + public static final int DATATABLEEMPTYKEYVALUECOLFAMILY_FIELD_NUMBER = 11; + private com.google.protobuf.ByteString dataTableEmptyKeyValueColFamily_; + /** + * <code>required bytes dataTableEmptyKeyValueColFamily = 11;</code> + */ + public boolean hasDataTableEmptyKeyValueColFamily() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * <code>required bytes dataTableEmptyKeyValueColFamily = 11;</code> + */ + public com.google.protobuf.ByteString getDataTableEmptyKeyValueColFamily() { + return dataTableEmptyKeyValueColFamily_; + } + + // required .ImmutableBytesWritable emptyKeyValueColFamily = 12; + public static final int EMPTYKEYVALUECOLFAMILY_FIELD_NUMBER = 12; + private org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable emptyKeyValueColFamily_; + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + public boolean hasEmptyKeyValueColFamily() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable getEmptyKeyValueColFamily() { + return emptyKeyValueColFamily_; + } + /** + * <code>required .ImmutableBytesWritable emptyKeyValueColFamily = 12;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritableOrBuilder getEmptyKeyValueColFamilyOrBuilder() { + return emptyKeyValueColFamily_; + } + + // optional bytes indexedExpressions = 13; + public static final int INDEXEDEXPRESSIONS_FIELD_NUMBER = 13; + private com.google.protobuf.ByteString indexedExpressions_; + /** + * <code>optional bytes indexedExpressions = 13;</code> + */ + public boolean hasIndexedExpressions() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * <code>optional bytes indexedExpressions = 13;</code> + */ + public com.google.protobuf.ByteString getIndexedExpressions() { + return indexedExpressions_; + } + + // required bytes rowKeyMetadata = 14; + public static final int ROWKEYMETADATA_FIELD_NUMBER = 14; + private com.google.protobuf.ByteString rowKeyMetadata_; + /** + * <code>required bytes rowKeyMetadata = 14;</code> + */ + public boolean hasRowKeyMetadata() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * <code>required bytes rowKeyMetadata = 14;</code> + */ + public com.google.protobuf.ByteString getRowKeyMetadata() { + return rowKeyMetadata_; + } + + // required int32 numDataTableColFamilies = 15; + public static final int NUMDATATABLECOLFAMILIES_FIELD_NUMBER = 15; + private int numDataTableColFamilies_; + /** + * <code>required int32 numDataTableColFamilies = 15;</code> + */ + public boolean hasNumDataTableColFamilies() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * <code>required int32 numDataTableColFamilies = 15;</code> + */ + public int getNumDataTableColFamilies() { + return numDataTableColFamilies_; + } + + // required bool indexWalDisabled = 16; + public static final int INDEXWALDISABLED_FIELD_NUMBER = 16; + private boolean indexWalDisabled_; + /** + * <code>required bool indexWalDisabled = 16;</code> + */ + public boolean hasIndexWalDisabled() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * <code>required bool indexWalDisabled = 16;</code> + */ + public boolean getIndexWalDisabled() { + return indexWalDisabled_; + } + + // required int32 indexRowKeyByteSize = 17; + public static final int INDEXROWKEYBYTESIZE_FIELD_NUMBER = 17; + private int indexRowKeyByteSize_; + /** + * <code>required int32 indexRowKeyByteSize = 17;</code> + */ + public boolean hasIndexRowKeyByteSize() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * <code>required int32 indexRowKeyByteSize = 17;</code> + */ + public int getIndexRowKeyByteSize() { + return indexRowKeyByteSize_; + } + + // required bool immutable = 18; + public static final int IMMUTABLE_FIELD_NUMBER = 18; + private boolean immutable_; + /** + * <code>required bool immutable = 18;</code> + */ + public boolean hasImmutable() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * <code>required bool immutable = 18;</code> + */ + public boolean getImmutable() { + return immutable_; + } + + // repeated .ColumnInfo indexedColumnInfo = 19; + public static final int INDEXEDCOLUMNINFO_FIELD_NUMBER = 19; + private java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo> indexedColumnInfo_; + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + public java.util.List<org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo> getIndexedColumnInfoList() { + return indexedColumnInfo_; + } + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + public java.util.List<? extends org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfoOrBuilder> + getIndexedColumnInfoOrBuilderList() { + return indexedColumnInfo_; + } + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + public int getIndexedColumnInfoCount() { + return indexedColumnInfo_.size(); + } + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfo getIndexedColumnInfo(int index) { + return indexedColumnInfo_.get(index); + } + /** + * <code>repeated .ColumnInfo indexedColumnInfo = 19;</code> + */ + public org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ColumnInfoOrBuilder getIndexedColumnInfoOrBuilder( + int index) { + return indexedColumnInfo_.get(index); + } + + // required int32 encodingScheme = 20; + public static final int ENCODINGSCHEME_FIELD_NUMBER = 20; + private int encodingScheme_; + /** + * <code>required int32 encodingScheme = 20;</code> + */ + public boolean hasEncodingScheme() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * <code>required int32 encodingScheme = 20;</code> + */ + public int getEncodingScheme() { + return encodingScheme_; + } + + // required int32 immutableStorageScheme = 21; + public static final int IMMUTABLESTORAGESCHEME_FIELD_NUMBER = 21; + private int immutableStorageScheme_; + /** + * <code>required int32 immutableStorageScheme = 21;</code> + */ + public boolean hasImmutableStorageScheme() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * <code>required int32 immutableStorageScheme = 21;</code> + */ + public int getImmutableStorageScheme() { + return immutableStorageScheme_; + } + + private void initFields() { + saltBuckets_ = 0; + isMultiTenant_ = false; + viewIndexId_ = com.google.protobuf.ByteString.EMPTY; + indexedColumns_ = java.util.Collections.emptyList(); + indexedColumnTypeOrdinal_ = java.util.Collections.emptyList(); + dataTableColRefForCoveredColumns_ = java.util.Collections.emptyList(); + indexTableColRefForCoveredColumns_ = java.util.Collections.emptyList(); + isLocalIndex_ = false; + indexTableName_ = com.google.protobuf.ByteString.EMPTY; + rowKeyOrderOptimizable_ = false; + dataTableEmptyKeyValueColFamily_ = com.google.protobuf.ByteString.EMPTY; + emptyKeyValueColFamily_ = org.apache.phoenix.coprocessor.generated.ServerCachingProtos.ImmutableBytesWritable.getDefaultInstance(); + indexedExpressions_ = com.google.protobuf.ByteString.EMPTY; + rowKeyMetadata_ = com.google.protobuf.ByteString.EMPTY; + numDataTableColFamilies_ = 0; + indexWalDisabled_ = false; + indexRowKeyByteSize_ = 0; + immutable_ = false; + indexedColumnInfo_ = java.util.Collections.emptyList(); + encodingScheme_ = 0; + immutableStorageScheme_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasSaltBuckets()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIsMultiTenant()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIsLocalIndex()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIndexTableName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRowKeyOrderOptimizable()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasDataTableEmptyKeyValueColFamily()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasEmptyKeyValueColFamily()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRowKeyMetadata()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNumDataTableColFamilies()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIndexWalDisabled()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIndexRowKeyByteSize()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasImmutable()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasEncodingScheme()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasImmutableStorageScheme()) { + memoizedIsInitialized = 0; + return false; + } + for (int i = 0; i < getIndexedColumnsCount(); i++) { + if (!getIndexedColumns(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + for (int i = 0; i < getDataTableColRefForCoveredColumnsCount(); i++) { + if (!getDataTableColRefForCoveredColumns(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + for (int i = 0; i < getIndexTableColRefForCoveredColumnsCount(); i++) { + if (!getIndexTableColRefForCoveredColumns(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (!getEmptyKeyValueColFamily().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + for (int i = 0; i < getIndexedColumnInfoCount(); i++) { + if (!getIndexedColumnInfo(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, saltBuckets_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBool(2, isMultiTenant_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, viewIndexId_); + } + for (int i = 0; i < indexedColumns_.size(); i++) { + output.writeMessage(4, indexedColumns_.get(i)); + } + for (int i = 0; i < indexedColumnTypeOrdinal_.size(); i++) { + output.writeInt32(5, indexedColumnTypeOrdinal_.get(i)); + } + for (int i = 0; i < dataTableColRefForCoveredColumns_.size(); i++) { + output.writeMessage(6, dataTableColRefForCoveredColumns_.get(i)); + } + for (int i = 0; i < indexTableColRefForCoveredColumns_.size(); i++) { + output.writeMessage(7, indexTableColRefForCoveredColumns_.get(i)); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBool(8, isLocalIndex_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeBytes(9, indexTableName_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeBool(10, rowKeyOrderOptimizable_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeBytes(11, dataTableEmptyKeyValueColFamily_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeMessage(12, emptyKeyValueColFamily_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeBytes(13, indexedExpressions_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + output.writeBytes(14, rowKeyMetadata_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeInt32(15, numDataTableColFamilies_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeBool(16, indexWalDisabled_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeInt32(17, indexRowKeyByteSize_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + output.writeBool(18, immutable_); + } + for (int i = 0; i < indexedColumnInfo_.size(); i++) { + output.writeMessage(19, indexedColumnInfo_.get(i)); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + output.writeInt32(20, encodingScheme_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + output.writeInt32(21, immutableStorageScheme_); +
<TRUNCATED>