You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/07/28 01:59:41 UTC
[2/3] kylin git commit: KYLIN-1924 Region server metrics: replace int
type for long type for scanned row count
http://git-wip-us.apache.org/repos/asf/kylin/blob/a44ada79/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java
index e3effea..d9cef88 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/generated/CubeVisitProtos.java
@@ -4,4460 +4,4581 @@
package org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated;
public final class CubeVisitProtos {
- private CubeVisitProtos() {
+ private CubeVisitProtos() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ }
+ public interface CubeVisitRequestOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required string behavior = 1;
+ /**
+ * <code>required string behavior = 1;</code>
+ */
+ boolean hasBehavior();
+ /**
+ * <code>required string behavior = 1;</code>
+ */
+ java.lang.String getBehavior();
+ /**
+ * <code>required string behavior = 1;</code>
+ */
+ com.google.protobuf.ByteString
+ getBehaviorBytes();
+
+ // required bytes gtScanRequest = 2;
+ /**
+ * <code>required bytes gtScanRequest = 2;</code>
+ */
+ boolean hasGtScanRequest();
+ /**
+ * <code>required bytes gtScanRequest = 2;</code>
+ */
+ com.google.protobuf.ByteString getGtScanRequest();
+
+ // required bytes hbaseRawScan = 3;
+ /**
+ * <code>required bytes hbaseRawScan = 3;</code>
+ */
+ boolean hasHbaseRawScan();
+ /**
+ * <code>required bytes hbaseRawScan = 3;</code>
+ */
+ com.google.protobuf.ByteString getHbaseRawScan();
+
+ // required int32 rowkeyPreambleSize = 4;
+ /**
+ * <code>required int32 rowkeyPreambleSize = 4;</code>
+ */
+ boolean hasRowkeyPreambleSize();
+ /**
+ * <code>required int32 rowkeyPreambleSize = 4;</code>
+ */
+ int getRowkeyPreambleSize();
+
+ // repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ java.util.List<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList>
+ getHbaseColumnsToGTList();
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList getHbaseColumnsToGT(int index);
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ int getHbaseColumnsToGTCount();
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ java.util.List<? extends org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder>
+ getHbaseColumnsToGTOrBuilderList();
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder getHbaseColumnsToGTOrBuilder(
+ int index);
+
+ // required int64 startTime = 6;
+ /**
+ * <code>required int64 startTime = 6;</code>
+ *
+ * <pre>
+ *when client start the request
+ * </pre>
+ */
+ boolean hasStartTime();
+ /**
+ * <code>required int64 startTime = 6;</code>
+ *
+ * <pre>
+ *when client start the request
+ * </pre>
+ */
+ long getStartTime();
+
+ // required int64 timeout = 7;
+ /**
+ * <code>required int64 timeout = 7;</code>
+ *
+ * <pre>
+ *how long client will wait
+ * </pre>
+ */
+ boolean hasTimeout();
+ /**
+ * <code>required int64 timeout = 7;</code>
+ *
+ * <pre>
+ *how long client will wait
+ * </pre>
+ */
+ long getTimeout();
+
+ // required string kylinProperties = 8;
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ boolean hasKylinProperties();
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ java.lang.String getKylinProperties();
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ com.google.protobuf.ByteString
+ getKylinPropertiesBytes();
+ }
+ /**
+ * Protobuf type {@code CubeVisitRequest}
+ */
+ public static final class CubeVisitRequest extends
+ com.google.protobuf.GeneratedMessage
+ implements CubeVisitRequestOrBuilder {
+ // Use CubeVisitRequest.newBuilder() to construct.
+ private CubeVisitRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
+ private CubeVisitRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ private static final CubeVisitRequest defaultInstance;
+ public static CubeVisitRequest getDefaultInstance() {
+ return defaultInstance;
}
- public interface CubeVisitRequestOrBuilder extends com.google.protobuf.MessageOrBuilder {
+ public CubeVisitRequest getDefaultInstanceForType() {
+ return defaultInstance;
+ }
- // required string behavior = 1;
- /**
- * <code>required string behavior = 1;</code>
- */
- boolean hasBehavior();
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private CubeVisitRequest(
+ 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;
+ behavior_ = input.readBytes();
+ break;
+ }
+ case 18: {
+ bitField0_ |= 0x00000002;
+ gtScanRequest_ = input.readBytes();
+ break;
+ }
+ case 26: {
+ bitField0_ |= 0x00000004;
+ hbaseRawScan_ = input.readBytes();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ rowkeyPreambleSize_ = input.readInt32();
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ hbaseColumnsToGT_ = new java.util.ArrayList<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList>();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ hbaseColumnsToGT_.add(input.readMessage(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.PARSER, extensionRegistry));
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000010;
+ startTime_ = input.readInt64();
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000020;
+ timeout_ = input.readInt64();
+ break;
+ }
+ case 66: {
+ bitField0_ |= 0x00000040;
+ kylinProperties_ = 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 {
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ hbaseColumnsToGT_ = java.util.Collections.unmodifiableList(hbaseColumnsToGT_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_descriptor;
+ }
- /**
- * <code>required string behavior = 1;</code>
- */
- java.lang.String getBehavior();
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.Builder.class);
+ }
- /**
- * <code>required string behavior = 1;</code>
- */
- com.google.protobuf.ByteString getBehaviorBytes();
+ public static com.google.protobuf.Parser<CubeVisitRequest> PARSER =
+ new com.google.protobuf.AbstractParser<CubeVisitRequest>() {
+ public CubeVisitRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new CubeVisitRequest(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<CubeVisitRequest> getParserForType() {
+ return PARSER;
+ }
- // required bytes gtScanRequest = 2;
- /**
- * <code>required bytes gtScanRequest = 2;</code>
- */
- boolean hasGtScanRequest();
+ public interface IntListOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // repeated int32 ints = 1;
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ java.util.List<java.lang.Integer> getIntsList();
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ int getIntsCount();
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ int getInts(int index);
+ }
+ /**
+ * Protobuf type {@code CubeVisitRequest.IntList}
+ */
+ public static final class IntList extends
+ com.google.protobuf.GeneratedMessage
+ implements IntListOrBuilder {
+ // Use IntList.newBuilder() to construct.
+ private IntList(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private IntList(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final IntList defaultInstance;
+ public static IntList getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public IntList getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private IntList(
+ 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: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ ints_ = new java.util.ArrayList<java.lang.Integer>();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ ints_.add(input.readInt32());
+ break;
+ }
+ case 10: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
+ ints_ = new java.util.ArrayList<java.lang.Integer>();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ ints_.add(input.readInt32());
+ }
+ 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)) {
+ ints_ = java.util.Collections.unmodifiableList(ints_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<IntList> PARSER =
+ new com.google.protobuf.AbstractParser<IntList>() {
+ public IntList parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new IntList(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<IntList> getParserForType() {
+ return PARSER;
+ }
+
+ // repeated int32 ints = 1;
+ public static final int INTS_FIELD_NUMBER = 1;
+ private java.util.List<java.lang.Integer> ints_;
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ public java.util.List<java.lang.Integer>
+ getIntsList() {
+ return ints_;
+ }
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ public int getIntsCount() {
+ return ints_.size();
+ }
+ /**
+ * <code>repeated int32 ints = 1;</code>
+ */
+ public int getInts(int index) {
+ return ints_.get(index);
+ }
+
+ private void initFields() {
+ ints_ = 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 < ints_.size(); i++) {
+ output.writeInt32(1, ints_.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 < ints_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(ints_.get(i));
+ }
+ size += dataSize;
+ size += 1 * getIntsList().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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList)) {
+ return super.equals(obj);
+ }
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList other = (org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) obj;
+
+ boolean result = true;
+ result = result && getIntsList()
+ .equals(other.getIntsList());
+ 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 (getIntsCount() > 0) {
+ hash = (37 * hash) + INTS_FIELD_NUMBER;
+ hash = (53 * hash) + getIntsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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 CubeVisitRequest.IntList}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
+ }
- /**
- * <code>required bytes gtScanRequest = 2;</code>
- */
- com.google.protobuf.ByteString getGtScanRequest();
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.Builder.class);
+ }
- // required bytes hbaseRawScan = 3;
- /**
- * <code>required bytes hbaseRawScan = 3;</code>
- */
- boolean hasHbaseRawScan();
+ // Construct using org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
- /**
- * <code>required bytes hbaseRawScan = 3;</code>
- */
- com.google.protobuf.ByteString getHbaseRawScan();
+ 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();
+ }
- // required int32 rowkeyPreambleSize = 4;
- /**
- * <code>required int32 rowkeyPreambleSize = 4;</code>
- */
- boolean hasRowkeyPreambleSize();
+ public Builder clear() {
+ super.clear();
+ ints_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
- /**
- * <code>required int32 rowkeyPreambleSize = 4;</code>
- */
- int getRowkeyPreambleSize();
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
- // repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;
- /**
- * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
- */
- java.util.List<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList> getHbaseColumnsToGTList();
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
+ }
- /**
- * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
- */
- org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList getHbaseColumnsToGT(int index);
+ public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList getDefaultInstanceForType() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.getDefaultInstance();
+ }
- /**
- * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
- */
- int getHbaseColumnsToGTCount();
+ public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList build() {
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
- /**
- * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
- */
- java.util.List<? extends org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder> getHbaseColumnsToGTOrBuilderList();
+ public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList buildPartial() {
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList result = new org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ ints_ = java.util.Collections.unmodifiableList(ints_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.ints_ = ints_;
+ onBuilt();
+ return result;
+ }
- /**
- * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
- */
- org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder getHbaseColumnsToGTOrBuilder(int index);
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) {
+ return mergeFrom((org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList other) {
+ if (other == org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.getDefaultInstance()) return this;
+ if (!other.ints_.isEmpty()) {
+ if (ints_.isEmpty()) {
+ ints_ = other.ints_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureIntsIsMutable();
+ ints_.addAll(other.ints_);
+ }
+ 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
- // required int64 startTime = 6;
+ // repeated int32 ints = 1;
+ private java.util.List<java.lang.Integer> ints_ = java.util.Collections.emptyList();
+ private void ensureIntsIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ ints_ = new java.util.ArrayList<java.lang.Integer>(ints_);
+ bitField0_ |= 0x00000001;
+ }
+ }
/**
- * <code>required int64 startTime = 6;</code>
- *
- * <pre>
- *when client start the request
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- boolean hasStartTime();
-
+ public java.util.List<java.lang.Integer>
+ getIntsList() {
+ return java.util.Collections.unmodifiableList(ints_);
+ }
/**
- * <code>required int64 startTime = 6;</code>
- *
- * <pre>
- *when client start the request
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- long getStartTime();
-
- // required int64 timeout = 7;
+ public int getIntsCount() {
+ return ints_.size();
+ }
/**
- * <code>required int64 timeout = 7;</code>
- *
- * <pre>
- *how long client will wait
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- boolean hasTimeout();
-
+ public int getInts(int index) {
+ return ints_.get(index);
+ }
/**
- * <code>required int64 timeout = 7;</code>
- *
- * <pre>
- *how long client will wait
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- long getTimeout();
-
- // required string kylinProperties = 8;
+ public Builder setInts(
+ int index, int value) {
+ ensureIntsIsMutable();
+ ints_.set(index, value);
+ onChanged();
+ return this;
+ }
/**
- * <code>required string kylinProperties = 8;</code>
- *
- * <pre>
- * kylin properties
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- boolean hasKylinProperties();
-
+ public Builder addInts(int value) {
+ ensureIntsIsMutable();
+ ints_.add(value);
+ onChanged();
+ return this;
+ }
/**
- * <code>required string kylinProperties = 8;</code>
- *
- * <pre>
- * kylin properties
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- java.lang.String getKylinProperties();
-
+ public Builder addAllInts(
+ java.lang.Iterable<? extends java.lang.Integer> values) {
+ ensureIntsIsMutable();
+ super.addAll(values, ints_);
+ onChanged();
+ return this;
+ }
/**
- * <code>required string kylinProperties = 8;</code>
- *
- * <pre>
- * kylin properties
- * </pre>
+ * <code>repeated int32 ints = 1;</code>
*/
- com.google.protobuf.ByteString getKylinPropertiesBytes();
+ public Builder clearInts() {
+ ints_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:CubeVisitRequest.IntList)
+ }
+
+ static {
+ defaultInstance = new IntList(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:CubeVisitRequest.IntList)
}
+ private int bitField0_;
+ // required string behavior = 1;
+ public static final int BEHAVIOR_FIELD_NUMBER = 1;
+ private java.lang.Object behavior_;
/**
- * Protobuf type {@code CubeVisitRequest}
+ * <code>required string behavior = 1;</code>
*/
- public static final class CubeVisitRequest extends com.google.protobuf.GeneratedMessage implements CubeVisitRequestOrBuilder {
- // Use CubeVisitRequest.newBuilder() to construct.
- private CubeVisitRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
-
- private CubeVisitRequest(boolean noInit) {
- this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
+ public boolean hasBehavior() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * <code>required string behavior = 1;</code>
+ */
+ public java.lang.String getBehavior() {
+ java.lang.Object ref = behavior_;
+ 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()) {
+ behavior_ = s;
}
+ return s;
+ }
+ }
+ /**
+ * <code>required string behavior = 1;</code>
+ */
+ public com.google.protobuf.ByteString
+ getBehaviorBytes() {
+ java.lang.Object ref = behavior_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ behavior_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
- private static final CubeVisitRequest defaultInstance;
+ // required bytes gtScanRequest = 2;
+ public static final int GTSCANREQUEST_FIELD_NUMBER = 2;
+ private com.google.protobuf.ByteString gtScanRequest_;
+ /**
+ * <code>required bytes gtScanRequest = 2;</code>
+ */
+ public boolean hasGtScanRequest() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>required bytes gtScanRequest = 2;</code>
+ */
+ public com.google.protobuf.ByteString getGtScanRequest() {
+ return gtScanRequest_;
+ }
- public static CubeVisitRequest getDefaultInstance() {
- return defaultInstance;
- }
+ // required bytes hbaseRawScan = 3;
+ public static final int HBASERAWSCAN_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString hbaseRawScan_;
+ /**
+ * <code>required bytes hbaseRawScan = 3;</code>
+ */
+ public boolean hasHbaseRawScan() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>required bytes hbaseRawScan = 3;</code>
+ */
+ public com.google.protobuf.ByteString getHbaseRawScan() {
+ return hbaseRawScan_;
+ }
- public CubeVisitRequest getDefaultInstanceForType() {
- return defaultInstance;
- }
+ // required int32 rowkeyPreambleSize = 4;
+ public static final int ROWKEYPREAMBLESIZE_FIELD_NUMBER = 4;
+ private int rowkeyPreambleSize_;
+ /**
+ * <code>required int32 rowkeyPreambleSize = 4;</code>
+ */
+ public boolean hasRowkeyPreambleSize() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>required int32 rowkeyPreambleSize = 4;</code>
+ */
+ public int getRowkeyPreambleSize() {
+ return rowkeyPreambleSize_;
+ }
- private final com.google.protobuf.UnknownFieldSet unknownFields;
+ // repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;
+ public static final int HBASECOLUMNSTOGT_FIELD_NUMBER = 5;
+ private java.util.List<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList> hbaseColumnsToGT_;
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ public java.util.List<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList> getHbaseColumnsToGTList() {
+ return hbaseColumnsToGT_;
+ }
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ public java.util.List<? extends org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder>
+ getHbaseColumnsToGTOrBuilderList() {
+ return hbaseColumnsToGT_;
+ }
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ public int getHbaseColumnsToGTCount() {
+ return hbaseColumnsToGT_.size();
+ }
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList getHbaseColumnsToGT(int index) {
+ return hbaseColumnsToGT_.get(index);
+ }
+ /**
+ * <code>repeated .CubeVisitRequest.IntList hbaseColumnsToGT = 5;</code>
+ */
+ public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder getHbaseColumnsToGTOrBuilder(
+ int index) {
+ return hbaseColumnsToGT_.get(index);
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
- private CubeVisitRequest(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;
- behavior_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- gtScanRequest_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- hbaseRawScan_ = input.readBytes();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000008;
- rowkeyPreambleSize_ = input.readInt32();
- break;
- }
- case 42: {
- if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
- hbaseColumnsToGT_ = new java.util.ArrayList<org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList>();
- mutable_bitField0_ |= 0x00000010;
- }
- hbaseColumnsToGT_.add(input.readMessage(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.PARSER, extensionRegistry));
- break;
- }
- case 48: {
- bitField0_ |= 0x00000010;
- startTime_ = input.readInt64();
- break;
- }
- case 56: {
- bitField0_ |= 0x00000020;
- timeout_ = input.readInt64();
- break;
- }
- case 66: {
- bitField0_ |= 0x00000040;
- kylinProperties_ = 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 {
- if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
- hbaseColumnsToGT_ = java.util.Collections.unmodifiableList(hbaseColumnsToGT_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
+ // required int64 startTime = 6;
+ public static final int STARTTIME_FIELD_NUMBER = 6;
+ private long startTime_;
+ /**
+ * <code>required int64 startTime = 6;</code>
+ *
+ * <pre>
+ *when client start the request
+ * </pre>
+ */
+ public boolean hasStartTime() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <code>required int64 startTime = 6;</code>
+ *
+ * <pre>
+ *when client start the request
+ * </pre>
+ */
+ public long getStartTime() {
+ return startTime_;
+ }
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_descriptor;
- }
+ // required int64 timeout = 7;
+ public static final int TIMEOUT_FIELD_NUMBER = 7;
+ private long timeout_;
+ /**
+ * <code>required int64 timeout = 7;</code>
+ *
+ * <pre>
+ *how long client will wait
+ * </pre>
+ */
+ public boolean hasTimeout() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * <code>required int64 timeout = 7;</code>
+ *
+ * <pre>
+ *how long client will wait
+ * </pre>
+ */
+ public long getTimeout() {
+ return timeout_;
+ }
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_fieldAccessorTable.ensureFieldAccessorsInitialized(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.Builder.class);
+ // required string kylinProperties = 8;
+ public static final int KYLINPROPERTIES_FIELD_NUMBER = 8;
+ private java.lang.Object kylinProperties_;
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ public boolean hasKylinProperties() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ public java.lang.String getKylinProperties() {
+ java.lang.Object ref = kylinProperties_;
+ 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()) {
+ kylinProperties_ = s;
}
+ return s;
+ }
+ }
+ /**
+ * <code>required string kylinProperties = 8;</code>
+ *
+ * <pre>
+ * kylin properties
+ * </pre>
+ */
+ public com.google.protobuf.ByteString
+ getKylinPropertiesBytes() {
+ java.lang.Object ref = kylinProperties_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ kylinProperties_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
- public static com.google.protobuf.Parser<CubeVisitRequest> PARSER = new com.google.protobuf.AbstractParser<CubeVisitRequest>() {
- public CubeVisitRequest parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
- return new CubeVisitRequest(input, extensionRegistry);
- }
- };
+ private void initFields() {
+ behavior_ = "";
+ gtScanRequest_ = com.google.protobuf.ByteString.EMPTY;
+ hbaseRawScan_ = com.google.protobuf.ByteString.EMPTY;
+ rowkeyPreambleSize_ = 0;
+ hbaseColumnsToGT_ = java.util.Collections.emptyList();
+ startTime_ = 0L;
+ timeout_ = 0L;
+ kylinProperties_ = "";
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasBehavior()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasGtScanRequest()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasHbaseRawScan()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasRowkeyPreambleSize()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasStartTime()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasTimeout()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasKylinProperties()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
- @java.lang.Override
- public com.google.protobuf.Parser<CubeVisitRequest> getParserForType() {
- return PARSER;
- }
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getBehaviorBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, gtScanRequest_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeBytes(3, hbaseRawScan_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeInt32(4, rowkeyPreambleSize_);
+ }
+ for (int i = 0; i < hbaseColumnsToGT_.size(); i++) {
+ output.writeMessage(5, hbaseColumnsToGT_.get(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeInt64(6, startTime_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeInt64(7, timeout_);
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ output.writeBytes(8, getKylinPropertiesBytes());
+ }
+ getUnknownFields().writeTo(output);
+ }
- public interface IntListOrBuilder extends com.google.protobuf.MessageOrBuilder {
+ 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, getBehaviorBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, gtScanRequest_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, hbaseRawScan_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, rowkeyPreambleSize_);
+ }
+ for (int i = 0; i < hbaseColumnsToGT_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, hbaseColumnsToGT_.get(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(6, startTime_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(7, timeout_);
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(8, getKylinPropertiesBytes());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
- // repeated int32 ints = 1;
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- java.util.List<java.lang.Integer> getIntsList();
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- int getIntsCount();
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest)) {
+ return super.equals(obj);
+ }
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest other = (org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest) obj;
+
+ boolean result = true;
+ result = result && (hasBehavior() == other.hasBehavior());
+ if (hasBehavior()) {
+ result = result && getBehavior()
+ .equals(other.getBehavior());
+ }
+ result = result && (hasGtScanRequest() == other.hasGtScanRequest());
+ if (hasGtScanRequest()) {
+ result = result && getGtScanRequest()
+ .equals(other.getGtScanRequest());
+ }
+ result = result && (hasHbaseRawScan() == other.hasHbaseRawScan());
+ if (hasHbaseRawScan()) {
+ result = result && getHbaseRawScan()
+ .equals(other.getHbaseRawScan());
+ }
+ result = result && (hasRowkeyPreambleSize() == other.hasRowkeyPreambleSize());
+ if (hasRowkeyPreambleSize()) {
+ result = result && (getRowkeyPreambleSize()
+ == other.getRowkeyPreambleSize());
+ }
+ result = result && getHbaseColumnsToGTList()
+ .equals(other.getHbaseColumnsToGTList());
+ result = result && (hasStartTime() == other.hasStartTime());
+ if (hasStartTime()) {
+ result = result && (getStartTime()
+ == other.getStartTime());
+ }
+ result = result && (hasTimeout() == other.hasTimeout());
+ if (hasTimeout()) {
+ result = result && (getTimeout()
+ == other.getTimeout());
+ }
+ result = result && (hasKylinProperties() == other.hasKylinProperties());
+ if (hasKylinProperties()) {
+ result = result && getKylinProperties()
+ .equals(other.getKylinProperties());
+ }
+ result = result &&
+ getUnknownFields().equals(other.getUnknownFields());
+ return result;
+ }
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- int getInts(int index);
- }
+ private int memoizedHashCode = 0;
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptorForType().hashCode();
+ if (hasBehavior()) {
+ hash = (37 * hash) + BEHAVIOR_FIELD_NUMBER;
+ hash = (53 * hash) + getBehavior().hashCode();
+ }
+ if (hasGtScanRequest()) {
+ hash = (37 * hash) + GTSCANREQUEST_FIELD_NUMBER;
+ hash = (53 * hash) + getGtScanRequest().hashCode();
+ }
+ if (hasHbaseRawScan()) {
+ hash = (37 * hash) + HBASERAWSCAN_FIELD_NUMBER;
+ hash = (53 * hash) + getHbaseRawScan().hashCode();
+ }
+ if (hasRowkeyPreambleSize()) {
+ hash = (37 * hash) + ROWKEYPREAMBLESIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getRowkeyPreambleSize();
+ }
+ if (getHbaseColumnsToGTCount() > 0) {
+ hash = (37 * hash) + HBASECOLUMNSTOGT_FIELD_NUMBER;
+ hash = (53 * hash) + getHbaseColumnsToGTList().hashCode();
+ }
+ if (hasStartTime()) {
+ hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getStartTime());
+ }
+ if (hasTimeout()) {
+ hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getTimeout());
+ }
+ if (hasKylinProperties()) {
+ hash = (37 * hash) + KYLINPROPERTIES_FIELD_NUMBER;
+ hash = (53 * hash) + getKylinProperties().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- /**
- * Protobuf type {@code CubeVisitRequest.IntList}
- */
- public static final class IntList extends com.google.protobuf.GeneratedMessage implements IntListOrBuilder {
- // Use IntList.newBuilder() to construct.
- private IntList(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
- private IntList(boolean noInit) {
- this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
- }
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
- private static final IntList defaultInstance;
-
- public static IntList getDefaultInstance() {
- return defaultInstance;
- }
-
- public IntList getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
-
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
- private IntList(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: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- ints_ = new java.util.ArrayList<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000001;
- }
- ints_.add(input.readInt32());
- break;
- }
- case 10: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
- ints_ = new java.util.ArrayList<java.lang.Integer>();
- mutable_bitField0_ |= 0x00000001;
- }
- while (input.getBytesUntilLimit() > 0) {
- ints_.add(input.readInt32());
- }
- 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)) {
- ints_ = java.util.Collections.unmodifiableList(ints_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_fieldAccessorTable.ensureFieldAccessorsInitialized(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.Builder.class);
- }
-
- public static com.google.protobuf.Parser<IntList> PARSER = new com.google.protobuf.AbstractParser<IntList>() {
- public IntList parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
- return new IntList(input, extensionRegistry);
- }
- };
-
- @java.lang.Override
- public com.google.protobuf.Parser<IntList> getParserForType() {
- return PARSER;
- }
-
- // repeated int32 ints = 1;
- public static final int INTS_FIELD_NUMBER = 1;
- private java.util.List<java.lang.Integer> ints_;
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public java.util.List<java.lang.Integer> getIntsList() {
- return ints_;
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public int getIntsCount() {
- return ints_.size();
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public int getInts(int index) {
- return ints_.get(index);
- }
-
- private void initFields() {
- ints_ = 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 < ints_.size(); i++) {
- output.writeInt32(1, ints_.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 < ints_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(ints_.get(i));
- }
- size += dataSize;
- size += 1 * getIntsList().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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList)) {
- return super.equals(obj);
- }
- org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList other = (org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) obj;
-
- boolean result = true;
- result = result && getIntsList().equals(other.getIntsList());
- 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 (getIntsCount() > 0) {
- hash = (37 * hash) + INTS_FIELD_NUMBER;
- hash = (53 * hash) + getIntsList().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
-
- public static org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList 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 CubeVisitRequest.IntList}
- */
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntListOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_fieldAccessorTable.ensureFieldAccessorsInitialized(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.Builder.class);
- }
-
- // Construct using org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.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();
- ints_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- return this;
- }
-
- public Builder clone() {
- return create().mergeFrom(buildPartial());
- }
-
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_IntList_descriptor;
- }
-
- public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList getDefaultInstanceForType() {
- return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.getDefaultInstance();
- }
-
- public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList build() {
- org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- public org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList buildPartial() {
- org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList result = new org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList(this);
- int from_bitField0_ = bitField0_;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- ints_ = java.util.Collections.unmodifiableList(ints_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.ints_ = ints_;
- onBuilt();
- return result;
- }
-
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) {
- return mergeFrom((org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList other) {
- if (other == org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList.getDefaultInstance())
- return this;
- if (!other.ints_.isEmpty()) {
- if (ints_.isEmpty()) {
- ints_ = other.ints_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureIntsIsMutable();
- ints_.addAll(other.ints_);
- }
- 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.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.IntList) e.getUnfinishedMessage();
- throw e;
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private int bitField0_;
-
- // repeated int32 ints = 1;
- private java.util.List<java.lang.Integer> ints_ = java.util.Collections.emptyList();
-
- private void ensureIntsIsMutable() {
- if (!((bitField0_ & 0x00000001) == 0x00000001)) {
- ints_ = new java.util.ArrayList<java.lang.Integer>(ints_);
- bitField0_ |= 0x00000001;
- }
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public java.util.List<java.lang.Integer> getIntsList() {
- return java.util.Collections.unmodifiableList(ints_);
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public int getIntsCount() {
- return ints_.size();
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public int getInts(int index) {
- return ints_.get(index);
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public Builder setInts(int index, int value) {
- ensureIntsIsMutable();
- ints_.set(index, value);
- onChanged();
- return this;
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public Builder addInts(int value) {
- ensureIntsIsMutable();
- ints_.add(value);
- onChanged();
- return this;
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public Builder addAllInts(java.lang.Iterable<? extends java.lang.Integer> values) {
- ensureIntsIsMutable();
- super.addAll(values, ints_);
- onChanged();
- return this;
- }
-
- /**
- * <code>repeated int32 ints = 1;</code>
- */
- public Builder clearInts() {
- ints_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:CubeVisitRequest.IntList)
- }
-
- static {
- defaultInstance = new IntList(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:CubeVisitRequest.IntList)
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code CubeVisitRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder<Builder>
+ implements org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.internal_static_CubeVisitRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.class, org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.Builder.class);
+ }
+
+ // Construct using org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos.CubeVisitRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getHbaseColumnsToGTFieldBuilder();
}
-
- private int bitField0_;
- // required string behavior = 1;
- public static final int BEHAVIOR_FIELD_NUMBER = 1;
- private java.lang.Object behavior_;
-
- /**
- * <code>required string behavior = 1;</code>
- */
- public boolean hasBehavior() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ behavior_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ gtScanRequest_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ hbaseRawScan_ = com.google.protobuf.ByteString.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ rowkeyPreambleSize_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (hbaseColumnsToGTBuilder_ == null) {
+ hbaseColumnsToGT_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ hbaseColumnsToGTBuilder_.clear();
}
-
- /**
- * <code>required string behavior = 1;</code>
- */
- public java.lang.String getBehavior() {
- java.lang.Object ref = behavior_;
- 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()) {
- behavior_ = s;
- }
- return s;
- }
+ startTime_ = 0L;
+ bitField0_ = (bitFiel
<TRUNCATED>