refactor: remove duration type (#158)
This commit is contained in:
@@ -740,74 +740,6 @@ public final class Columns {
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationSecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
int getDurationSecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
long getDurationSecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationMillisecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
int getDurationMillisecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
long getDurationMillisecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationMicrosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
int getDurationMicrosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
long getDurationMicrosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getDurationNanosecondValuesList();
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
int getDurationNanosecondValuesCount();
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
long getDurationNanosecondValues(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Decimal128 decimal128_values = 31;</code>
|
||||
*/
|
||||
@@ -871,10 +803,6 @@ public final class Columns {
|
||||
intervalYearMonthValues_ = emptyIntList();
|
||||
intervalDayTimeValues_ = emptyLongList();
|
||||
intervalMonthDayNanoValues_ = java.util.Collections.emptyList();
|
||||
durationSecondValues_ = emptyLongList();
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@@ -1418,94 +1346,10 @@ public final class Columns {
|
||||
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 216: {
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
durationSecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 218: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationSecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationSecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 224: {
|
||||
if (!((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x08000000;
|
||||
}
|
||||
durationMillisecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 226: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x08000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationMillisecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x08000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationMillisecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 232: {
|
||||
if (!((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x10000000;
|
||||
}
|
||||
durationMicrosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 234: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x10000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationMicrosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x10000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationMicrosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 240: {
|
||||
if (!((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x20000000;
|
||||
}
|
||||
durationNanosecondValues_.addLong(input.readInt64());
|
||||
break;
|
||||
}
|
||||
case 242: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x20000000) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
durationNanosecondValues_ = newLongList();
|
||||
mutable_bitField0_ |= 0x20000000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
durationNanosecondValues_.addLong(input.readInt64());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 250: {
|
||||
if (!((mutable_bitField0_ & 0x40000000) != 0)) {
|
||||
if (!((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = new java.util.ArrayList<io.greptime.v1.Common.Decimal128>();
|
||||
mutable_bitField0_ |= 0x40000000;
|
||||
mutable_bitField0_ |= 0x04000000;
|
||||
}
|
||||
decimal128Values_.add(
|
||||
input.readMessage(io.greptime.v1.Common.Decimal128.parser(), extensionRegistry));
|
||||
@@ -1607,18 +1451,6 @@ public final class Columns {
|
||||
intervalMonthDayNanoValues_ = java.util.Collections.unmodifiableList(intervalMonthDayNanoValues_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x40000000) != 0)) {
|
||||
decimal128Values_ = java.util.Collections.unmodifiableList(decimal128Values_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
@@ -2384,118 +2216,6 @@ public final class Columns {
|
||||
return intervalMonthDayNanoValues_.get(index);
|
||||
}
|
||||
|
||||
public static final int DURATION_SECOND_VALUES_FIELD_NUMBER = 27;
|
||||
private com.google.protobuf.Internal.LongList durationSecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationSecondValuesList() {
|
||||
return durationSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
public int getDurationSecondValuesCount() {
|
||||
return durationSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
public long getDurationSecondValues(int index) {
|
||||
return durationSecondValues_.getLong(index);
|
||||
}
|
||||
private int durationSecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_MILLISECOND_VALUES_FIELD_NUMBER = 28;
|
||||
private com.google.protobuf.Internal.LongList durationMillisecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMillisecondValuesList() {
|
||||
return durationMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
public int getDurationMillisecondValuesCount() {
|
||||
return durationMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMillisecondValues(int index) {
|
||||
return durationMillisecondValues_.getLong(index);
|
||||
}
|
||||
private int durationMillisecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_MICROSECOND_VALUES_FIELD_NUMBER = 29;
|
||||
private com.google.protobuf.Internal.LongList durationMicrosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMicrosecondValuesList() {
|
||||
return durationMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
public int getDurationMicrosecondValuesCount() {
|
||||
return durationMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMicrosecondValues(int index) {
|
||||
return durationMicrosecondValues_.getLong(index);
|
||||
}
|
||||
private int durationMicrosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DURATION_NANOSECOND_VALUES_FIELD_NUMBER = 30;
|
||||
private com.google.protobuf.Internal.LongList durationNanosecondValues_;
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationNanosecondValuesList() {
|
||||
return durationNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
public int getDurationNanosecondValuesCount() {
|
||||
return durationNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationNanosecondValues(int index) {
|
||||
return durationNanosecondValues_.getLong(index);
|
||||
}
|
||||
private int durationNanosecondValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DECIMAL128_VALUES_FIELD_NUMBER = 31;
|
||||
private java.util.List<io.greptime.v1.Common.Decimal128> decimal128Values_;
|
||||
/**
|
||||
@@ -2721,34 +2441,6 @@ public final class Columns {
|
||||
for (int i = 0; i < intervalMonthDayNanoValues_.size(); i++) {
|
||||
output.writeMessage(26, intervalMonthDayNanoValues_.get(i));
|
||||
}
|
||||
if (getDurationSecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(218);
|
||||
output.writeUInt32NoTag(durationSecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationSecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationSecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationMillisecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(226);
|
||||
output.writeUInt32NoTag(durationMillisecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationMillisecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationMillisecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationMicrosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(234);
|
||||
output.writeUInt32NoTag(durationMicrosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationMicrosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationMicrosecondValues_.getLong(i));
|
||||
}
|
||||
if (getDurationNanosecondValuesList().size() > 0) {
|
||||
output.writeUInt32NoTag(242);
|
||||
output.writeUInt32NoTag(durationNanosecondValuesMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < durationNanosecondValues_.size(); i++) {
|
||||
output.writeInt64NoTag(durationNanosecondValues_.getLong(i));
|
||||
}
|
||||
for (int i = 0; i < decimal128Values_.size(); i++) {
|
||||
output.writeMessage(31, decimal128Values_.get(i));
|
||||
}
|
||||
@@ -3095,62 +2787,6 @@ public final class Columns {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(26, intervalMonthDayNanoValues_.get(i));
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationSecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationSecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationSecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationSecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationMillisecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationMillisecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationMillisecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationMillisecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationMicrosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationMicrosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationMicrosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationMicrosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < durationNanosecondValues_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64SizeNoTag(durationNanosecondValues_.getLong(i));
|
||||
}
|
||||
size += dataSize;
|
||||
if (!getDurationNanosecondValuesList().isEmpty()) {
|
||||
size += 2;
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(dataSize);
|
||||
}
|
||||
durationNanosecondValuesMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
for (int i = 0; i < decimal128Values_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(31, decimal128Values_.get(i));
|
||||
@@ -3222,14 +2858,6 @@ public final class Columns {
|
||||
.equals(other.getIntervalDayTimeValuesList())) return false;
|
||||
if (!getIntervalMonthDayNanoValuesList()
|
||||
.equals(other.getIntervalMonthDayNanoValuesList())) return false;
|
||||
if (!getDurationSecondValuesList()
|
||||
.equals(other.getDurationSecondValuesList())) return false;
|
||||
if (!getDurationMillisecondValuesList()
|
||||
.equals(other.getDurationMillisecondValuesList())) return false;
|
||||
if (!getDurationMicrosecondValuesList()
|
||||
.equals(other.getDurationMicrosecondValuesList())) return false;
|
||||
if (!getDurationNanosecondValuesList()
|
||||
.equals(other.getDurationNanosecondValuesList())) return false;
|
||||
if (!getDecimal128ValuesList()
|
||||
.equals(other.getDecimal128ValuesList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -3347,22 +2975,6 @@ public final class Columns {
|
||||
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalMonthDayNanoValuesList().hashCode();
|
||||
}
|
||||
if (getDurationSecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_SECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationSecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationMillisecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_MILLISECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationMillisecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationMicrosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_MICROSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationMicrosecondValuesList().hashCode();
|
||||
}
|
||||
if (getDurationNanosecondValuesCount() > 0) {
|
||||
hash = (37 * hash) + DURATION_NANOSECOND_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDurationNanosecondValuesList().hashCode();
|
||||
}
|
||||
if (getDecimal128ValuesCount() > 0) {
|
||||
hash = (37 * hash) + DECIMAL128_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDecimal128ValuesList().hashCode();
|
||||
@@ -3558,17 +3170,9 @@ public final class Columns {
|
||||
} else {
|
||||
intervalMonthDayNanoValuesBuilder_.clear();
|
||||
}
|
||||
durationSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
decimal128ValuesBuilder_.clear();
|
||||
}
|
||||
@@ -3733,30 +3337,10 @@ public final class Columns {
|
||||
} else {
|
||||
result.intervalMonthDayNanoValues_ = intervalMonthDayNanoValuesBuilder_.build();
|
||||
}
|
||||
if (((bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
}
|
||||
result.durationSecondValues_ = durationSecondValues_;
|
||||
if (((bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
}
|
||||
result.durationMillisecondValues_ = durationMillisecondValues_;
|
||||
if (((bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
}
|
||||
result.durationMicrosecondValues_ = durationMicrosecondValues_;
|
||||
if (((bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
}
|
||||
result.durationNanosecondValues_ = durationNanosecondValues_;
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
if (((bitField0_ & 0x40000000) != 0)) {
|
||||
if (((bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = java.util.Collections.unmodifiableList(decimal128Values_);
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
}
|
||||
result.decimal128Values_ = decimal128Values_;
|
||||
} else {
|
||||
@@ -4086,51 +3670,11 @@ public final class Columns {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!other.durationSecondValues_.isEmpty()) {
|
||||
if (durationSecondValues_.isEmpty()) {
|
||||
durationSecondValues_ = other.durationSecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.addAll(other.durationSecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationMillisecondValues_.isEmpty()) {
|
||||
if (durationMillisecondValues_.isEmpty()) {
|
||||
durationMillisecondValues_ = other.durationMillisecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
} else {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.addAll(other.durationMillisecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationMicrosecondValues_.isEmpty()) {
|
||||
if (durationMicrosecondValues_.isEmpty()) {
|
||||
durationMicrosecondValues_ = other.durationMicrosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
} else {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.addAll(other.durationMicrosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (!other.durationNanosecondValues_.isEmpty()) {
|
||||
if (durationNanosecondValues_.isEmpty()) {
|
||||
durationNanosecondValues_ = other.durationNanosecondValues_;
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
} else {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.addAll(other.durationNanosecondValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
if (!other.decimal128Values_.isEmpty()) {
|
||||
if (decimal128Values_.isEmpty()) {
|
||||
decimal128Values_ = other.decimal128Values_;
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
} else {
|
||||
ensureDecimal128ValuesIsMutable();
|
||||
decimal128Values_.addAll(other.decimal128Values_);
|
||||
@@ -4143,7 +3687,7 @@ public final class Columns {
|
||||
decimal128ValuesBuilder_.dispose();
|
||||
decimal128ValuesBuilder_ = null;
|
||||
decimal128Values_ = other.decimal128Values_;
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
decimal128ValuesBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getDecimal128ValuesFieldBuilder() : null;
|
||||
@@ -6434,328 +5978,12 @@ public final class Columns {
|
||||
return intervalMonthDayNanoValuesBuilder_;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationSecondValues_ = emptyLongList();
|
||||
private void ensureDurationSecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x04000000) != 0)) {
|
||||
durationSecondValues_ = mutableCopy(durationSecondValues_);
|
||||
bitField0_ |= 0x04000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return A list containing the durationSecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationSecondValuesList() {
|
||||
return ((bitField0_ & 0x04000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationSecondValues_) : durationSecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return The count of durationSecondValues.
|
||||
*/
|
||||
public int getDurationSecondValuesCount() {
|
||||
return durationSecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationSecondValues at the given index.
|
||||
*/
|
||||
public long getDurationSecondValues(int index) {
|
||||
return durationSecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationSecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationSecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param value The durationSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationSecondValues(long value) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
durationSecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @param values The durationSecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationSecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationSecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationSecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_second_values = 27;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationSecondValues() {
|
||||
durationSecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationMillisecondValues_ = emptyLongList();
|
||||
private void ensureDurationMillisecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x08000000) != 0)) {
|
||||
durationMillisecondValues_ = mutableCopy(durationMillisecondValues_);
|
||||
bitField0_ |= 0x08000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return A list containing the durationMillisecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMillisecondValuesList() {
|
||||
return ((bitField0_ & 0x08000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationMillisecondValues_) : durationMillisecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return The count of durationMillisecondValues.
|
||||
*/
|
||||
public int getDurationMillisecondValuesCount() {
|
||||
return durationMillisecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMillisecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMillisecondValues(int index) {
|
||||
return durationMillisecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationMillisecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMillisecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param value The durationMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationMillisecondValues(long value) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
durationMillisecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @param values The durationMillisecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationMillisecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationMillisecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationMillisecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_millisecond_values = 28;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMillisecondValues() {
|
||||
durationMillisecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationMicrosecondValues_ = emptyLongList();
|
||||
private void ensureDurationMicrosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x10000000) != 0)) {
|
||||
durationMicrosecondValues_ = mutableCopy(durationMicrosecondValues_);
|
||||
bitField0_ |= 0x10000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return A list containing the durationMicrosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationMicrosecondValuesList() {
|
||||
return ((bitField0_ & 0x10000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationMicrosecondValues_) : durationMicrosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return The count of durationMicrosecondValues.
|
||||
*/
|
||||
public int getDurationMicrosecondValuesCount() {
|
||||
return durationMicrosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationMicrosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationMicrosecondValues(int index) {
|
||||
return durationMicrosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationMicrosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMicrosecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param value The durationMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationMicrosecondValues(long value) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
durationMicrosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @param values The durationMicrosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationMicrosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationMicrosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationMicrosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_microsecond_values = 29;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMicrosecondValues() {
|
||||
durationMicrosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.LongList durationNanosecondValues_ = emptyLongList();
|
||||
private void ensureDurationNanosecondValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x20000000) != 0)) {
|
||||
durationNanosecondValues_ = mutableCopy(durationNanosecondValues_);
|
||||
bitField0_ |= 0x20000000;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return A list containing the durationNanosecondValues.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
getDurationNanosecondValuesList() {
|
||||
return ((bitField0_ & 0x20000000) != 0) ?
|
||||
java.util.Collections.unmodifiableList(durationNanosecondValues_) : durationNanosecondValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return The count of durationNanosecondValues.
|
||||
*/
|
||||
public int getDurationNanosecondValuesCount() {
|
||||
return durationNanosecondValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The durationNanosecondValues at the given index.
|
||||
*/
|
||||
public long getDurationNanosecondValues(int index) {
|
||||
return durationNanosecondValues_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The durationNanosecondValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationNanosecondValues(
|
||||
int index, long value) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.setLong(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param value The durationNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addDurationNanosecondValues(long value) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
durationNanosecondValues_.addLong(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @param values The durationNanosecondValues to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllDurationNanosecondValues(
|
||||
java.lang.Iterable<? extends java.lang.Long> values) {
|
||||
ensureDurationNanosecondValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, durationNanosecondValues_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int64 duration_nanosecond_values = 30;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationNanosecondValues() {
|
||||
durationNanosecondValues_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.Common.Decimal128> decimal128Values_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureDecimal128ValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x40000000) != 0)) {
|
||||
if (!((bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = new java.util.ArrayList<io.greptime.v1.Common.Decimal128>(decimal128Values_);
|
||||
bitField0_ |= 0x40000000;
|
||||
bitField0_ |= 0x04000000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6905,7 +6133,7 @@ public final class Columns {
|
||||
public Builder clearDecimal128Values() {
|
||||
if (decimal128ValuesBuilder_ == null) {
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x40000000);
|
||||
bitField0_ = (bitField0_ & ~0x04000000);
|
||||
onChanged();
|
||||
} else {
|
||||
decimal128ValuesBuilder_.clear();
|
||||
@@ -6982,7 +6210,7 @@ public final class Columns {
|
||||
decimal128ValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Common.Decimal128, io.greptime.v1.Common.Decimal128.Builder, io.greptime.v1.Common.Decimal128OrBuilder>(
|
||||
decimal128Values_,
|
||||
((bitField0_ & 0x40000000) != 0),
|
||||
((bitField0_ & 0x04000000) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
decimal128Values_ = null;
|
||||
@@ -8352,14 +7580,14 @@ public final class Columns {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
||||
"\030greptime/v1/common.proto\"\244\t\n\006Column\022\023\n\013" +
|
||||
"\030greptime/v1/common.proto\"\226\010\n\006Column\022\023\n\013" +
|
||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016" +
|
||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 " +
|
||||
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_" +
|
||||
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime." +
|
||||
"v1.ColumnDataType\022@\n\022datatype_extension\030" +
|
||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens" +
|
||||
"ion\032\242\007\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16" +
|
||||
"ion\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16" +
|
||||
"_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64" +
|
||||
"_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_" +
|
||||
"values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_" +
|
||||
@@ -8377,14 +7605,11 @@ public final class Columns {
|
||||
"\032interval_year_month_values\030\030 \003(\005\022 \n\030int" +
|
||||
"erval_day_time_values\030\031 \003(\003\022I\n\036interval_" +
|
||||
"month_day_nano_values\030\032 \003(\0132!.greptime.v" +
|
||||
"1.IntervalMonthDayNano\022\036\n\026duration_secon" +
|
||||
"d_values\030\033 \003(\003\022#\n\033duration_millisecond_v" +
|
||||
"alues\030\034 \003(\003\022#\n\033duration_microsecond_valu" +
|
||||
"es\030\035 \003(\003\022\"\n\032duration_nanosecond_values\030\036" +
|
||||
" \003(\003\0222\n\021decimal128_values\030\037 \003(\0132\027.grepti" +
|
||||
"me.v1.Decimal128BP\n\016io.greptime.v1B\007Colu" +
|
||||
"mnsZ5github.com/GreptimeTeam/greptime-pr" +
|
||||
"oto/go/greptime/v1b\006proto3"
|
||||
"1.IntervalMonthDayNano\0222\n\021decimal128_val" +
|
||||
"ues\030\037 \003(\0132\027.greptime.v1.Decimal128BP\n\016io" +
|
||||
".greptime.v1B\007ColumnsZ5github.com/Grepti" +
|
||||
"meTeam/greptime-proto/go/greptime/v1b\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -8402,7 +7627,7 @@ public final class Columns {
|
||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Column_Values_descriptor,
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "DurationSecondValues", "DurationMillisecondValues", "DurationMicrosecondValues", "DurationNanosecondValues", "Decimal128Values", });
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "Decimal128Values", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
@@ -240,22 +240,6 @@ public final class Common {
|
||||
* <code>INTERVAL_MONTH_DAY_NANO = 25;</code>
|
||||
*/
|
||||
INTERVAL_MONTH_DAY_NANO(25),
|
||||
/**
|
||||
* <code>DURATION_SECOND = 26;</code>
|
||||
*/
|
||||
DURATION_SECOND(26),
|
||||
/**
|
||||
* <code>DURATION_MILLISECOND = 27;</code>
|
||||
*/
|
||||
DURATION_MILLISECOND(27),
|
||||
/**
|
||||
* <code>DURATION_MICROSECOND = 28;</code>
|
||||
*/
|
||||
DURATION_MICROSECOND(28),
|
||||
/**
|
||||
* <code>DURATION_NANOSECOND = 29;</code>
|
||||
*/
|
||||
DURATION_NANOSECOND(29),
|
||||
/**
|
||||
* <code>DECIMAL128 = 30;</code>
|
||||
*/
|
||||
@@ -367,22 +351,6 @@ public final class Common {
|
||||
* <code>INTERVAL_MONTH_DAY_NANO = 25;</code>
|
||||
*/
|
||||
public static final int INTERVAL_MONTH_DAY_NANO_VALUE = 25;
|
||||
/**
|
||||
* <code>DURATION_SECOND = 26;</code>
|
||||
*/
|
||||
public static final int DURATION_SECOND_VALUE = 26;
|
||||
/**
|
||||
* <code>DURATION_MILLISECOND = 27;</code>
|
||||
*/
|
||||
public static final int DURATION_MILLISECOND_VALUE = 27;
|
||||
/**
|
||||
* <code>DURATION_MICROSECOND = 28;</code>
|
||||
*/
|
||||
public static final int DURATION_MICROSECOND_VALUE = 28;
|
||||
/**
|
||||
* <code>DURATION_NANOSECOND = 29;</code>
|
||||
*/
|
||||
public static final int DURATION_NANOSECOND_VALUE = 29;
|
||||
/**
|
||||
* <code>DECIMAL128 = 30;</code>
|
||||
*/
|
||||
@@ -439,10 +407,6 @@ public final class Common {
|
||||
case 23: return INTERVAL_YEAR_MONTH;
|
||||
case 24: return INTERVAL_DAY_TIME;
|
||||
case 25: return INTERVAL_MONTH_DAY_NANO;
|
||||
case 26: return DURATION_SECOND;
|
||||
case 27: return DURATION_MILLISECOND;
|
||||
case 28: return DURATION_MICROSECOND;
|
||||
case 29: return DURATION_NANOSECOND;
|
||||
case 30: return DECIMAL128;
|
||||
default: return null;
|
||||
}
|
||||
@@ -11138,7 +11102,7 @@ java.lang.String defaultValue);
|
||||
"lTypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalT" +
|
||||
"ypeExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale" +
|
||||
"\030\002 \001(\005*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD" +
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\270\004\n\016ColumnDataType\022\013\n\007" +
|
||||
"\020\001\022\r\n\tTIMESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007" +
|
||||
"BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020" +
|
||||
"\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006U" +
|
||||
"INT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOA" +
|
||||
@@ -11149,12 +11113,10 @@ java.lang.String defaultValue);
|
||||
"IME_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TI" +
|
||||
"ME_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n" +
|
||||
"\023INTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_T" +
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\023\n\017DU" +
|
||||
"RATION_SECOND\020\032\022\030\n\024DURATION_MILLISECOND\020" +
|
||||
"\033\022\030\n\024DURATION_MICROSECOND\020\034\022\027\n\023DURATION_" +
|
||||
"NANOSECOND\020\035\022\016\n\nDECIMAL128\020\036BO\n\016io.grept" +
|
||||
"ime.v1B\006CommonZ5github.com/GreptimeTeam/" +
|
||||
"greptime-proto/go/greptime/v1b\006proto3"
|
||||
"IME\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDE" +
|
||||
"CIMAL128\020\036BO\n\016io.greptime.v1B\006CommonZ5gi" +
|
||||
"thub.com/GreptimeTeam/greptime-proto/go/" +
|
||||
"greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
@@ -3323,50 +3323,6 @@ public final class RowData {
|
||||
*/
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValueOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationSecondValue();
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
long getDurationSecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationMillisecondValue();
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
long getDurationMillisecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationMicrosecondValue();
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
long getDurationMicrosecondValue();
|
||||
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
boolean hasDurationNanosecondValue();
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
long getDurationNanosecondValue();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.Decimal128 decimal128_value = 31;</code>
|
||||
* @return Whether the decimal128Value field is set.
|
||||
@@ -3569,26 +3525,6 @@ public final class RowData {
|
||||
valueDataCase_ = 26;
|
||||
break;
|
||||
}
|
||||
case 216: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 27;
|
||||
break;
|
||||
}
|
||||
case 224: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 28;
|
||||
break;
|
||||
}
|
||||
case 232: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 29;
|
||||
break;
|
||||
}
|
||||
case 240: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 30;
|
||||
break;
|
||||
}
|
||||
case 250: {
|
||||
io.greptime.v1.Common.Decimal128.Builder subBuilder = null;
|
||||
if (valueDataCase_ == 31) {
|
||||
@@ -3668,10 +3604,6 @@ public final class RowData {
|
||||
INTERVAL_YEAR_MONTH_VALUE(24),
|
||||
INTERVAL_DAY_TIME_VALUE(25),
|
||||
INTERVAL_MONTH_DAY_NANO_VALUE(26),
|
||||
DURATION_SECOND_VALUE(27),
|
||||
DURATION_MILLISECOND_VALUE(28),
|
||||
DURATION_MICROSECOND_VALUE(29),
|
||||
DURATION_NANOSECOND_VALUE(30),
|
||||
DECIMAL128_VALUE(31),
|
||||
VALUEDATA_NOT_SET(0);
|
||||
private final int value;
|
||||
@@ -3716,10 +3648,6 @@ public final class RowData {
|
||||
case 24: return INTERVAL_YEAR_MONTH_VALUE;
|
||||
case 25: return INTERVAL_DAY_TIME_VALUE;
|
||||
case 26: return INTERVAL_MONTH_DAY_NANO_VALUE;
|
||||
case 27: return DURATION_SECOND_VALUE;
|
||||
case 28: return DURATION_MILLISECOND_VALUE;
|
||||
case 29: return DURATION_MICROSECOND_VALUE;
|
||||
case 30: return DURATION_NANOSECOND_VALUE;
|
||||
case 31: return DECIMAL128_VALUE;
|
||||
case 0: return VALUEDATA_NOT_SET;
|
||||
default: return null;
|
||||
@@ -4323,90 +4251,6 @@ public final class RowData {
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int DURATION_SECOND_VALUE_FIELD_NUMBER = 27;
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationSecondValue() {
|
||||
return valueDataCase_ == 27;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_MILLISECOND_VALUE_FIELD_NUMBER = 28;
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationMillisecondValue() {
|
||||
return valueDataCase_ == 28;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_MICROSECOND_VALUE_FIELD_NUMBER = 29;
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationMicrosecondValue() {
|
||||
return valueDataCase_ == 29;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DURATION_NANOSECOND_VALUE_FIELD_NUMBER = 30;
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasDurationNanosecondValue() {
|
||||
return valueDataCase_ == 30;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int DECIMAL128_VALUE_FIELD_NUMBER = 31;
|
||||
/**
|
||||
* <code>.greptime.v1.Decimal128 decimal128_value = 31;</code>
|
||||
@@ -4554,22 +4398,6 @@ public final class RowData {
|
||||
if (valueDataCase_ == 26) {
|
||||
output.writeMessage(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
output.writeInt64(
|
||||
27, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
output.writeInt64(
|
||||
28, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
output.writeInt64(
|
||||
29, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
output.writeInt64(
|
||||
30, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
output.writeMessage(31, (io.greptime.v1.Common.Decimal128) valueData_);
|
||||
}
|
||||
@@ -4709,26 +4537,6 @@ public final class RowData {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
27, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
28, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
29, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
30, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(31, (io.greptime.v1.Common.Decimal128) valueData_);
|
||||
@@ -4856,22 +4664,6 @@ public final class RowData {
|
||||
if (!getIntervalMonthDayNanoValue()
|
||||
.equals(other.getIntervalMonthDayNanoValue())) return false;
|
||||
break;
|
||||
case 27:
|
||||
if (getDurationSecondValue()
|
||||
!= other.getDurationSecondValue()) return false;
|
||||
break;
|
||||
case 28:
|
||||
if (getDurationMillisecondValue()
|
||||
!= other.getDurationMillisecondValue()) return false;
|
||||
break;
|
||||
case 29:
|
||||
if (getDurationMicrosecondValue()
|
||||
!= other.getDurationMicrosecondValue()) return false;
|
||||
break;
|
||||
case 30:
|
||||
if (getDurationNanosecondValue()
|
||||
!= other.getDurationNanosecondValue()) return false;
|
||||
break;
|
||||
case 31:
|
||||
if (!getDecimal128Value()
|
||||
.equals(other.getDecimal128Value())) return false;
|
||||
@@ -5010,26 +4802,6 @@ public final class RowData {
|
||||
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalMonthDayNanoValue().hashCode();
|
||||
break;
|
||||
case 27:
|
||||
hash = (37 * hash) + DURATION_SECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationSecondValue());
|
||||
break;
|
||||
case 28:
|
||||
hash = (37 * hash) + DURATION_MILLISECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationMillisecondValue());
|
||||
break;
|
||||
case 29:
|
||||
hash = (37 * hash) + DURATION_MICROSECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationMicrosecondValue());
|
||||
break;
|
||||
case 30:
|
||||
hash = (37 * hash) + DURATION_NANOSECOND_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getDurationNanosecondValue());
|
||||
break;
|
||||
case 31:
|
||||
hash = (37 * hash) + DECIMAL128_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDecimal128Value().hashCode();
|
||||
@@ -5280,18 +5052,6 @@ public final class RowData {
|
||||
result.valueData_ = intervalMonthDayNanoValueBuilder_.build();
|
||||
}
|
||||
}
|
||||
if (valueDataCase_ == 27) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 28) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 29) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 30) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 31) {
|
||||
if (decimal128ValueBuilder_ == null) {
|
||||
result.valueData_ = valueData_;
|
||||
@@ -5455,22 +5215,6 @@ public final class RowData {
|
||||
mergeIntervalMonthDayNanoValue(other.getIntervalMonthDayNanoValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_SECOND_VALUE: {
|
||||
setDurationSecondValue(other.getDurationSecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_MILLISECOND_VALUE: {
|
||||
setDurationMillisecondValue(other.getDurationMillisecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_MICROSECOND_VALUE: {
|
||||
setDurationMicrosecondValue(other.getDurationMicrosecondValue());
|
||||
break;
|
||||
}
|
||||
case DURATION_NANOSECOND_VALUE: {
|
||||
setDurationNanosecondValue(other.getDurationNanosecondValue());
|
||||
break;
|
||||
}
|
||||
case DECIMAL128_VALUE: {
|
||||
mergeDecimal128Value(other.getDecimal128Value());
|
||||
break;
|
||||
@@ -6749,170 +6493,6 @@ public final class RowData {
|
||||
return intervalMonthDayNanoValueBuilder_;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return Whether the durationSecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationSecondValue() {
|
||||
return valueDataCase_ == 27;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return The durationSecondValue.
|
||||
*/
|
||||
public long getDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @param value The durationSecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationSecondValue(long value) {
|
||||
valueDataCase_ = 27;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_second_value = 27;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationSecondValue() {
|
||||
if (valueDataCase_ == 27) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return Whether the durationMillisecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationMillisecondValue() {
|
||||
return valueDataCase_ == 28;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return The durationMillisecondValue.
|
||||
*/
|
||||
public long getDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @param value The durationMillisecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMillisecondValue(long value) {
|
||||
valueDataCase_ = 28;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_millisecond_value = 28;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMillisecondValue() {
|
||||
if (valueDataCase_ == 28) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return Whether the durationMicrosecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationMicrosecondValue() {
|
||||
return valueDataCase_ == 29;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return The durationMicrosecondValue.
|
||||
*/
|
||||
public long getDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @param value The durationMicrosecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationMicrosecondValue(long value) {
|
||||
valueDataCase_ = 29;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_microsecond_value = 29;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationMicrosecondValue() {
|
||||
if (valueDataCase_ == 29) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return Whether the durationNanosecondValue field is set.
|
||||
*/
|
||||
public boolean hasDurationNanosecondValue() {
|
||||
return valueDataCase_ == 30;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return The durationNanosecondValue.
|
||||
*/
|
||||
public long getDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @param value The durationNanosecondValue to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDurationNanosecondValue(long value) {
|
||||
valueDataCase_ = 30;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 duration_nanosecond_value = 30;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDurationNanosecondValue() {
|
||||
if (valueDataCase_ == 30) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.Decimal128, io.greptime.v1.Common.Decimal128.Builder, io.greptime.v1.Common.Decimal128OrBuilder> decimal128ValueBuilder_;
|
||||
/**
|
||||
@@ -7145,7 +6725,7 @@ public final class RowData {
|
||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime." +
|
||||
"v1.ColumnDataTypeExtension\")\n\003Row\022\"\n\006val" +
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\316\007\n\005Value\022" +
|
||||
"ues\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005Value\022" +
|
||||
"\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 \001(\005H\000" +
|
||||
"\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030\004 \001(\003" +
|
||||
"H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value\030\006 \001(" +
|
||||
@@ -7164,15 +6744,11 @@ public final class RowData {
|
||||
"\001(\003H\000\022#\n\031interval_year_month_value\030\030 \001(\005" +
|
||||
"H\000\022!\n\027interval_day_time_value\030\031 \001(\003H\000\022J\n" +
|
||||
"\035interval_month_day_nano_value\030\032 \001(\0132!.g" +
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\022\037\n\025dur" +
|
||||
"ation_second_value\030\033 \001(\003H\000\022$\n\032duration_m" +
|
||||
"illisecond_value\030\034 \001(\003H\000\022$\n\032duration_mic" +
|
||||
"rosecond_value\030\035 \001(\003H\000\022#\n\031duration_nanos" +
|
||||
"econd_value\030\036 \001(\003H\000\0223\n\020decimal128_value\030" +
|
||||
"\037 \001(\0132\027.greptime.v1.Decimal128H\000B\014\n\nvalu" +
|
||||
"e_dataBP\n\016io.greptime.v1B\007RowDataZ5githu" +
|
||||
"b.com/GreptimeTeam/greptime-proto/go/gre" +
|
||||
"ptime/v1b\006proto3"
|
||||
"reptime.v1.IntervalMonthDayNanoH\000\0223\n\020dec" +
|
||||
"imal128_value\030\037 \001(\0132\027.greptime.v1.Decima" +
|
||||
"l128H\000B\014\n\nvalue_dataBP\n\016io.greptime.v1B\007" +
|
||||
"RowDataZ5github.com/GreptimeTeam/greptim" +
|
||||
"e-proto/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -7202,7 +6778,7 @@ public final class RowData {
|
||||
internal_static_greptime_v1_Value_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Value_descriptor,
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "DurationSecondValue", "DurationMillisecondValue", "DurationMicrosecondValue", "DurationNanosecondValue", "Decimal128Value", "ValueData", });
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "Decimal128Value", "ValueData", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user