feat: interal type for row protocol, and multi row deletes (#80)
This commit is contained in:
@@ -679,12 +679,12 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano>
|
||||
java.util.List<io.greptime.v1.Common.IntervalMonthDayNano>
|
||||
getIntervalMonthDayNanoValuesList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index);
|
||||
io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index);
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@@ -692,12 +692,12 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
||||
java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||
getIntervalMonthDayNanoValuesOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
@@ -1274,11 +1274,11 @@ public final class Columns {
|
||||
}
|
||||
case 210: {
|
||||
if (!((mutable_bitField0_ & 0x02000000) != 0)) {
|
||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Columns.IntervalMonthDayNano>();
|
||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Common.IntervalMonthDayNano>();
|
||||
mutable_bitField0_ |= 0x02000000;
|
||||
}
|
||||
intervalMonthDayNanoValues_.add(
|
||||
input.readMessage(io.greptime.v1.Columns.IntervalMonthDayNano.parser(), extensionRegistry));
|
||||
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -2100,19 +2100,19 @@ public final class Columns {
|
||||
private int intervalDayTimeValuesMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER = 26;
|
||||
private java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> intervalMonthDayNanoValues_;
|
||||
private java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> intervalMonthDayNanoValues_;
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||
return intervalMonthDayNanoValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
||||
public java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||
getIntervalMonthDayNanoValuesOrBuilderList() {
|
||||
return intervalMonthDayNanoValues_;
|
||||
}
|
||||
@@ -2127,14 +2127,14 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||
return intervalMonthDayNanoValues_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
int index) {
|
||||
return intervalMonthDayNanoValues_.get(index);
|
||||
}
|
||||
@@ -5566,22 +5566,22 @@ public final class Columns {
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> intervalMonthDayNanoValues_ =
|
||||
private java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> intervalMonthDayNanoValues_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureIntervalMonthDayNanoValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x02000000) != 0)) {
|
||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Columns.IntervalMonthDayNano>(intervalMonthDayNanoValues_);
|
||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Common.IntervalMonthDayNano>(intervalMonthDayNanoValues_);
|
||||
bitField0_ |= 0x02000000;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(intervalMonthDayNanoValues_);
|
||||
} else {
|
||||
@@ -5601,7 +5601,7 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
return intervalMonthDayNanoValues_.get(index);
|
||||
} else {
|
||||
@@ -5612,7 +5612,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder setIntervalMonthDayNanoValues(
|
||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
||||
int index, io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -5629,7 +5629,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder setIntervalMonthDayNanoValues(
|
||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
||||
int index, io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||
intervalMonthDayNanoValues_.set(index, builderForValue.build());
|
||||
@@ -5642,7 +5642,7 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder addIntervalMonthDayNanoValues(io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
||||
public Builder addIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -5659,7 +5659,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder addIntervalMonthDayNanoValues(
|
||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
||||
int index, io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -5676,7 +5676,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder addIntervalMonthDayNanoValues(
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||
intervalMonthDayNanoValues_.add(builderForValue.build());
|
||||
@@ -5690,7 +5690,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder addIntervalMonthDayNanoValues(
|
||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
||||
int index, io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||
intervalMonthDayNanoValues_.add(index, builderForValue.build());
|
||||
@@ -5704,7 +5704,7 @@ public final class Columns {
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder addAllIntervalMonthDayNanoValues(
|
||||
java.lang.Iterable<? extends io.greptime.v1.Columns.IntervalMonthDayNano> values) {
|
||||
java.lang.Iterable<? extends io.greptime.v1.Common.IntervalMonthDayNano> values) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
@@ -5744,14 +5744,14 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder(
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder(
|
||||
int index) {
|
||||
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||
int index) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
return intervalMonthDayNanoValues_.get(index); } else {
|
||||
@@ -5761,7 +5761,7 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
||||
public java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||
getIntervalMonthDayNanoValuesOrBuilderList() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ != null) {
|
||||
return intervalMonthDayNanoValuesBuilder_.getMessageOrBuilderList();
|
||||
@@ -5772,31 +5772,31 @@ public final class Columns {
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder() {
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder() {
|
||||
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance());
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder(
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder(
|
||||
int index) {
|
||||
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
||||
index, io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance());
|
||||
index, io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano.Builder>
|
||||
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano.Builder>
|
||||
getIntervalMonthDayNanoValuesBuilderList() {
|
||||
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||
getIntervalMonthDayNanoValuesFieldBuilder() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
intervalMonthDayNanoValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>(
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>(
|
||||
intervalMonthDayNanoValues_,
|
||||
((bitField0_ & 0x02000000) != 0),
|
||||
getParentForChildren(),
|
||||
@@ -6925,637 +6925,6 @@ public final class Columns {
|
||||
|
||||
}
|
||||
|
||||
public interface IntervalMonthDayNanoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.IntervalMonthDayNano)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
int getMonths();
|
||||
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
int getDays();
|
||||
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
long getNanoseconds();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
||||
*/
|
||||
public static final class IntervalMonthDayNano extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.IntervalMonthDayNano)
|
||||
IntervalMonthDayNanoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use IntervalMonthDayNano.newBuilder() to construct.
|
||||
private IntervalMonthDayNano(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private IntervalMonthDayNano() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new IntervalMonthDayNano();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private IntervalMonthDayNano(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
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;
|
||||
case 8: {
|
||||
|
||||
months_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
|
||||
days_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
nanoseconds_ = input.readInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano.class, io.greptime.v1.Columns.IntervalMonthDayNano.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MONTHS_FIELD_NUMBER = 1;
|
||||
private int months_;
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonths() {
|
||||
return months_;
|
||||
}
|
||||
|
||||
public static final int DAYS_FIELD_NUMBER = 2;
|
||||
private int days_;
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDays() {
|
||||
return days_;
|
||||
}
|
||||
|
||||
public static final int NANOSECONDS_FIELD_NUMBER = 3;
|
||||
private long nanoseconds_;
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getNanoseconds() {
|
||||
return nanoseconds_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (months_ != 0) {
|
||||
output.writeInt32(1, months_);
|
||||
}
|
||||
if (days_ != 0) {
|
||||
output.writeInt32(2, days_);
|
||||
}
|
||||
if (nanoseconds_ != 0L) {
|
||||
output.writeInt64(3, nanoseconds_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (months_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, months_);
|
||||
}
|
||||
if (days_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, days_);
|
||||
}
|
||||
if (nanoseconds_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(3, nanoseconds_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof io.greptime.v1.Columns.IntervalMonthDayNano)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano other = (io.greptime.v1.Columns.IntervalMonthDayNano) obj;
|
||||
|
||||
if (getMonths()
|
||||
!= other.getMonths()) return false;
|
||||
if (getDays()
|
||||
!= other.getDays()) return false;
|
||||
if (getNanoseconds()
|
||||
!= other.getNanoseconds()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + MONTHS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMonths();
|
||||
hash = (37 * hash) + DAYS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDays();
|
||||
hash = (37 * hash) + NANOSECONDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getNanoseconds());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(io.greptime.v1.Columns.IntervalMonthDayNano prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.IntervalMonthDayNano)
|
||||
io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano.class, io.greptime.v1.Columns.IntervalMonthDayNano.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using io.greptime.v1.Columns.IntervalMonthDayNano.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
months_ = 0;
|
||||
|
||||
days_ = 0;
|
||||
|
||||
nanoseconds_ = 0L;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||
return io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano build() {
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano buildPartial() {
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano result = new io.greptime.v1.Columns.IntervalMonthDayNano(this);
|
||||
result.months_ = months_;
|
||||
result.days_ = days_;
|
||||
result.nanoseconds_ = nanoseconds_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof io.greptime.v1.Columns.IntervalMonthDayNano) {
|
||||
return mergeFrom((io.greptime.v1.Columns.IntervalMonthDayNano)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(io.greptime.v1.Columns.IntervalMonthDayNano other) {
|
||||
if (other == io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance()) return this;
|
||||
if (other.getMonths() != 0) {
|
||||
setMonths(other.getMonths());
|
||||
}
|
||||
if (other.getDays() != 0) {
|
||||
setDays(other.getDays());
|
||||
}
|
||||
if (other.getNanoseconds() != 0L) {
|
||||
setNanoseconds(other.getNanoseconds());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
io.greptime.v1.Columns.IntervalMonthDayNano parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (io.greptime.v1.Columns.IntervalMonthDayNano) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int months_ ;
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonths() {
|
||||
return months_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @param value The months to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMonths(int value) {
|
||||
|
||||
months_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMonths() {
|
||||
|
||||
months_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int days_ ;
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDays() {
|
||||
return days_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @param value The days to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDays(int value) {
|
||||
|
||||
days_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDays() {
|
||||
|
||||
days_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private long nanoseconds_ ;
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getNanoseconds() {
|
||||
return nanoseconds_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @param value The nanoseconds to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setNanoseconds(long value) {
|
||||
|
||||
nanoseconds_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNanoseconds() {
|
||||
|
||||
nanoseconds_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.IntervalMonthDayNano)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
||||
private static final io.greptime.v1.Columns.IntervalMonthDayNano DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.Columns.IntervalMonthDayNano();
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<IntervalMonthDayNano>
|
||||
PARSER = new com.google.protobuf.AbstractParser<IntervalMonthDayNano>() {
|
||||
@java.lang.Override
|
||||
public IntervalMonthDayNano parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new IntervalMonthDayNano(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<IntervalMonthDayNano> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<IntervalMonthDayNano> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_Column_descriptor;
|
||||
private static final
|
||||
@@ -7566,11 +6935,6 @@ public final class Columns {
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
@@ -7604,11 +6968,9 @@ public final class Columns {
|
||||
"_month_values\030\030 \003(\005\022 \n\030interval_day_time" +
|
||||
"_values\030\031 \003(\003\022I\n\036interval_month_day_nano" +
|
||||
"_values\030\032 \003(\0132!.greptime.v1.IntervalMont" +
|
||||
"hDayNano\"I\n\024IntervalMonthDayNano\022\016\n\006mont" +
|
||||
"hs\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 " +
|
||||
"\001(\003BP\n\016io.greptime.v1B\007ColumnsZ5github.c" +
|
||||
"om/GreptimeTeam/greptime-proto/go/grepti" +
|
||||
"me/v1b\006proto3"
|
||||
"hDayNanoBP\n\016io.greptime.v1B\007ColumnsZ5git" +
|
||||
"hub.com/GreptimeTeam/greptime-proto/go/g" +
|
||||
"reptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -7627,12 +6989,6 @@ public final class Columns {
|
||||
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", "TsSecondValues", "TsMillisecondValues", "TsMicrosecondValues", "TsNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", });
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor,
|
||||
new java.lang.String[] { "Months", "Days", "Nanoseconds", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
@@ -7433,6 +7433,637 @@ public final class Common {
|
||||
|
||||
}
|
||||
|
||||
public interface IntervalMonthDayNanoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.IntervalMonthDayNano)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
int getMonths();
|
||||
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
int getDays();
|
||||
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
long getNanoseconds();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
||||
*/
|
||||
public static final class IntervalMonthDayNano extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.IntervalMonthDayNano)
|
||||
IntervalMonthDayNanoOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use IntervalMonthDayNano.newBuilder() to construct.
|
||||
private IntervalMonthDayNano(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private IntervalMonthDayNano() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new IntervalMonthDayNano();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private IntervalMonthDayNano(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
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;
|
||||
case 8: {
|
||||
|
||||
months_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
|
||||
days_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
nanoseconds_ = input.readInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.class, io.greptime.v1.Common.IntervalMonthDayNano.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MONTHS_FIELD_NUMBER = 1;
|
||||
private int months_;
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonths() {
|
||||
return months_;
|
||||
}
|
||||
|
||||
public static final int DAYS_FIELD_NUMBER = 2;
|
||||
private int days_;
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDays() {
|
||||
return days_;
|
||||
}
|
||||
|
||||
public static final int NANOSECONDS_FIELD_NUMBER = 3;
|
||||
private long nanoseconds_;
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getNanoseconds() {
|
||||
return nanoseconds_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (months_ != 0) {
|
||||
output.writeInt32(1, months_);
|
||||
}
|
||||
if (days_ != 0) {
|
||||
output.writeInt32(2, days_);
|
||||
}
|
||||
if (nanoseconds_ != 0L) {
|
||||
output.writeInt64(3, nanoseconds_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (months_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, months_);
|
||||
}
|
||||
if (days_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, days_);
|
||||
}
|
||||
if (nanoseconds_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(3, nanoseconds_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof io.greptime.v1.Common.IntervalMonthDayNano)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
io.greptime.v1.Common.IntervalMonthDayNano other = (io.greptime.v1.Common.IntervalMonthDayNano) obj;
|
||||
|
||||
if (getMonths()
|
||||
!= other.getMonths()) return false;
|
||||
if (getDays()
|
||||
!= other.getDays()) return false;
|
||||
if (getNanoseconds()
|
||||
!= other.getNanoseconds()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + MONTHS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMonths();
|
||||
hash = (37 * hash) + DAYS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDays();
|
||||
hash = (37 * hash) + NANOSECONDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getNanoseconds());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(io.greptime.v1.Common.IntervalMonthDayNano prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.IntervalMonthDayNano)
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.class, io.greptime.v1.Common.IntervalMonthDayNano.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using io.greptime.v1.Common.IntervalMonthDayNano.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
months_ = 0;
|
||||
|
||||
days_ = 0;
|
||||
|
||||
nanoseconds_ = 0L;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano build() {
|
||||
io.greptime.v1.Common.IntervalMonthDayNano result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano buildPartial() {
|
||||
io.greptime.v1.Common.IntervalMonthDayNano result = new io.greptime.v1.Common.IntervalMonthDayNano(this);
|
||||
result.months_ = months_;
|
||||
result.days_ = days_;
|
||||
result.nanoseconds_ = nanoseconds_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof io.greptime.v1.Common.IntervalMonthDayNano) {
|
||||
return mergeFrom((io.greptime.v1.Common.IntervalMonthDayNano)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(io.greptime.v1.Common.IntervalMonthDayNano other) {
|
||||
if (other == io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance()) return this;
|
||||
if (other.getMonths() != 0) {
|
||||
setMonths(other.getMonths());
|
||||
}
|
||||
if (other.getDays() != 0) {
|
||||
setDays(other.getDays());
|
||||
}
|
||||
if (other.getNanoseconds() != 0L) {
|
||||
setNanoseconds(other.getNanoseconds());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
io.greptime.v1.Common.IntervalMonthDayNano parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (io.greptime.v1.Common.IntervalMonthDayNano) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int months_ ;
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return The months.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonths() {
|
||||
return months_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @param value The months to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMonths(int value) {
|
||||
|
||||
months_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 months = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMonths() {
|
||||
|
||||
months_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int days_ ;
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return The days.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDays() {
|
||||
return days_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @param value The days to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDays(int value) {
|
||||
|
||||
days_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 days = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDays() {
|
||||
|
||||
days_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private long nanoseconds_ ;
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return The nanoseconds.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getNanoseconds() {
|
||||
return nanoseconds_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @param value The nanoseconds to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setNanoseconds(long value) {
|
||||
|
||||
nanoseconds_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 nanoseconds = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNanoseconds() {
|
||||
|
||||
nanoseconds_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.IntervalMonthDayNano)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
||||
private static final io.greptime.v1.Common.IntervalMonthDayNano DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.Common.IntervalMonthDayNano();
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<IntervalMonthDayNano>
|
||||
PARSER = new com.google.protobuf.AbstractParser<IntervalMonthDayNano>() {
|
||||
@java.lang.Override
|
||||
public IntervalMonthDayNano parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new IntervalMonthDayNano(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<IntervalMonthDayNano> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<IntervalMonthDayNano> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_RequestHeader_descriptor;
|
||||
private static final
|
||||
@@ -7478,6 +8109,11 @@ public final class Common {
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_ColumnDef_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
@@ -7505,21 +8141,23 @@ public final class Common {
|
||||
"\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010datatype\030\002 " +
|
||||
"\001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is_n" +
|
||||
"ullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 \001(" +
|
||||
"\014*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n" +
|
||||
"\tTIMESTAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLE" +
|
||||
"AN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005" +
|
||||
"INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32" +
|
||||
"\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n" +
|
||||
"\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DA" +
|
||||
"TETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMEST" +
|
||||
"AMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECO" +
|
||||
"ND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_S" +
|
||||
"ECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MI" +
|
||||
"CROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTE" +
|
||||
"RVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030" +
|
||||
"\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.grep" +
|
||||
"time.v1B\006CommonZ5github.com/GreptimeTeam" +
|
||||
"/greptime-proto/go/greptime/v1b\006proto3"
|
||||
"\014\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001(" +
|
||||
"\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003*1\n\014" +
|
||||
"SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIME" +
|
||||
"STAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLEAN\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\006UINT32\020\007\022\n\n" +
|
||||
"\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006B" +
|
||||
"INARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIM" +
|
||||
"E\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_M" +
|
||||
"ILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022" +
|
||||
"\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND" +
|
||||
"\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSE" +
|
||||
"COND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_" +
|
||||
"YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027I" +
|
||||
"NTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.greptime." +
|
||||
"v1B\006CommonZ5github.com/GreptimeTeam/grep" +
|
||||
"time-proto/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -7579,6 +8217,12 @@ public final class Common {
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_ColumnDef_descriptor,
|
||||
new java.lang.String[] { "Name", "Datatype", "IsNullable", "DefaultConstraint", });
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
|
||||
getDescriptor().getMessageTypes().get(9);
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor,
|
||||
new java.lang.String[] { "Months", "Days", "Nanoseconds", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3023,6 +3023,43 @@ public final class RowData {
|
||||
*/
|
||||
long getTimeNanosecondValue();
|
||||
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return Whether the intervalYearMonthValues field is set.
|
||||
*/
|
||||
boolean hasIntervalYearMonthValues();
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return The intervalYearMonthValues.
|
||||
*/
|
||||
int getIntervalYearMonthValues();
|
||||
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return Whether the intervalDayTimeValues field is set.
|
||||
*/
|
||||
boolean hasIntervalDayTimeValues();
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return The intervalDayTimeValues.
|
||||
*/
|
||||
long getIntervalDayTimeValues();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||
*/
|
||||
boolean hasIntervalMonthDayNanoValues();
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return The intervalMonthDayNanoValues.
|
||||
*/
|
||||
io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues();
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder();
|
||||
|
||||
public io.greptime.v1.RowData.Value.ValueDataCase getValueDataCase();
|
||||
}
|
||||
/**
|
||||
@@ -3186,6 +3223,30 @@ public final class RowData {
|
||||
valueDataCase_ = 23;
|
||||
break;
|
||||
}
|
||||
case 192: {
|
||||
valueData_ = input.readInt32();
|
||||
valueDataCase_ = 24;
|
||||
break;
|
||||
}
|
||||
case 200: {
|
||||
valueData_ = input.readInt64();
|
||||
valueDataCase_ = 25;
|
||||
break;
|
||||
}
|
||||
case 210: {
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.Builder subBuilder = null;
|
||||
if (valueDataCase_ == 26) {
|
||||
subBuilder = ((io.greptime.v1.Common.IntervalMonthDayNano) valueData_).toBuilder();
|
||||
}
|
||||
valueData_ =
|
||||
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
valueData_ = subBuilder.buildPartial();
|
||||
}
|
||||
valueDataCase_ = 26;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -3248,6 +3309,9 @@ public final class RowData {
|
||||
TIME_MILLISECOND_VALUE(21),
|
||||
TIME_MICROSECOND_VALUE(22),
|
||||
TIME_NANOSECOND_VALUE(23),
|
||||
INTERVAL_YEAR_MONTH_VALUES(24),
|
||||
INTERVAL_DAY_TIME_VALUES(25),
|
||||
INTERVAL_MONTH_DAY_NANO_VALUES(26),
|
||||
VALUEDATA_NOT_SET(0);
|
||||
private final int value;
|
||||
private ValueDataCase(int value) {
|
||||
@@ -3288,6 +3352,9 @@ public final class RowData {
|
||||
case 21: return TIME_MILLISECOND_VALUE;
|
||||
case 22: return TIME_MICROSECOND_VALUE;
|
||||
case 23: return TIME_NANOSECOND_VALUE;
|
||||
case 24: return INTERVAL_YEAR_MONTH_VALUES;
|
||||
case 25: return INTERVAL_DAY_TIME_VALUES;
|
||||
case 26: return INTERVAL_MONTH_DAY_NANO_VALUES;
|
||||
case 0: return VALUEDATA_NOT_SET;
|
||||
default: return null;
|
||||
}
|
||||
@@ -3817,6 +3884,79 @@ public final class RowData {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int INTERVAL_YEAR_MONTH_VALUES_FIELD_NUMBER = 24;
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return Whether the intervalYearMonthValues field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasIntervalYearMonthValues() {
|
||||
return valueDataCase_ == 24;
|
||||
}
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return The intervalYearMonthValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getIntervalYearMonthValues() {
|
||||
if (valueDataCase_ == 24) {
|
||||
return (java.lang.Integer) valueData_;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static final int INTERVAL_DAY_TIME_VALUES_FIELD_NUMBER = 25;
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return Whether the intervalDayTimeValues field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasIntervalDayTimeValues() {
|
||||
return valueDataCase_ == 25;
|
||||
}
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return The intervalDayTimeValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getIntervalDayTimeValues() {
|
||||
if (valueDataCase_ == 25) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public static final int INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER = 26;
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasIntervalMonthDayNanoValues() {
|
||||
return valueDataCase_ == 26;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return The intervalMonthDayNanoValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues() {
|
||||
if (valueDataCase_ == 26) {
|
||||
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||
}
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder() {
|
||||
if (valueDataCase_ == 26) {
|
||||
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||
}
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -3922,6 +4062,17 @@ public final class RowData {
|
||||
output.writeInt64(
|
||||
23, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 24) {
|
||||
output.writeInt32(
|
||||
24, (int)((java.lang.Integer) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 25) {
|
||||
output.writeInt64(
|
||||
25, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 26) {
|
||||
output.writeMessage(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -4044,6 +4195,20 @@ public final class RowData {
|
||||
.computeInt64Size(
|
||||
23, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 24) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(
|
||||
24, (int)((java.lang.Integer) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 25) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(
|
||||
25, (long)((java.lang.Long) valueData_));
|
||||
}
|
||||
if (valueDataCase_ == 26) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -4155,6 +4320,18 @@ public final class RowData {
|
||||
if (getTimeNanosecondValue()
|
||||
!= other.getTimeNanosecondValue()) return false;
|
||||
break;
|
||||
case 24:
|
||||
if (getIntervalYearMonthValues()
|
||||
!= other.getIntervalYearMonthValues()) return false;
|
||||
break;
|
||||
case 25:
|
||||
if (getIntervalDayTimeValues()
|
||||
!= other.getIntervalDayTimeValues()) return false;
|
||||
break;
|
||||
case 26:
|
||||
if (!getIntervalMonthDayNanoValues()
|
||||
.equals(other.getIntervalMonthDayNanoValues())) return false;
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
}
|
||||
@@ -4276,6 +4453,19 @@ public final class RowData {
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getTimeNanosecondValue());
|
||||
break;
|
||||
case 24:
|
||||
hash = (37 * hash) + INTERVAL_YEAR_MONTH_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalYearMonthValues();
|
||||
break;
|
||||
case 25:
|
||||
hash = (37 * hash) + INTERVAL_DAY_TIME_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getIntervalDayTimeValues());
|
||||
break;
|
||||
case 26:
|
||||
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getIntervalMonthDayNanoValues().hashCode();
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
}
|
||||
@@ -4509,6 +4699,19 @@ public final class RowData {
|
||||
if (valueDataCase_ == 23) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 24) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 25) {
|
||||
result.valueData_ = valueData_;
|
||||
}
|
||||
if (valueDataCase_ == 26) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
result.valueData_ = valueData_;
|
||||
} else {
|
||||
result.valueData_ = intervalMonthDayNanoValuesBuilder_.build();
|
||||
}
|
||||
}
|
||||
result.valueDataCase_ = valueDataCase_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -4653,6 +4856,18 @@ public final class RowData {
|
||||
setTimeNanosecondValue(other.getTimeNanosecondValue());
|
||||
break;
|
||||
}
|
||||
case INTERVAL_YEAR_MONTH_VALUES: {
|
||||
setIntervalYearMonthValues(other.getIntervalYearMonthValues());
|
||||
break;
|
||||
}
|
||||
case INTERVAL_DAY_TIME_VALUES: {
|
||||
setIntervalDayTimeValues(other.getIntervalDayTimeValues());
|
||||
break;
|
||||
}
|
||||
case INTERVAL_MONTH_DAY_NANO_VALUES: {
|
||||
mergeIntervalMonthDayNanoValues(other.getIntervalMonthDayNanoValues());
|
||||
break;
|
||||
}
|
||||
case VALUEDATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -5702,6 +5917,230 @@ public final class RowData {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return Whether the intervalYearMonthValues field is set.
|
||||
*/
|
||||
public boolean hasIntervalYearMonthValues() {
|
||||
return valueDataCase_ == 24;
|
||||
}
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return The intervalYearMonthValues.
|
||||
*/
|
||||
public int getIntervalYearMonthValues() {
|
||||
if (valueDataCase_ == 24) {
|
||||
return (java.lang.Integer) valueData_;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @param value The intervalYearMonthValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIntervalYearMonthValues(int value) {
|
||||
valueDataCase_ = 24;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 interval_year_month_values = 24;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIntervalYearMonthValues() {
|
||||
if (valueDataCase_ == 24) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return Whether the intervalDayTimeValues field is set.
|
||||
*/
|
||||
public boolean hasIntervalDayTimeValues() {
|
||||
return valueDataCase_ == 25;
|
||||
}
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return The intervalDayTimeValues.
|
||||
*/
|
||||
public long getIntervalDayTimeValues() {
|
||||
if (valueDataCase_ == 25) {
|
||||
return (java.lang.Long) valueData_;
|
||||
}
|
||||
return 0L;
|
||||
}
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @param value The intervalDayTimeValues to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIntervalDayTimeValues(long value) {
|
||||
valueDataCase_ = 25;
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 interval_day_time_values = 25;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIntervalDayTimeValues() {
|
||||
if (valueDataCase_ == 25) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasIntervalMonthDayNanoValues() {
|
||||
return valueDataCase_ == 26;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
* @return The intervalMonthDayNanoValues.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (valueDataCase_ == 26) {
|
||||
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||
}
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
} else {
|
||||
if (valueDataCase_ == 26) {
|
||||
return intervalMonthDayNanoValuesBuilder_.getMessage();
|
||||
}
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder setIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
intervalMonthDayNanoValuesBuilder_.setMessage(value);
|
||||
}
|
||||
valueDataCase_ = 26;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder setIntervalMonthDayNanoValues(
|
||||
io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
valueData_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
intervalMonthDayNanoValuesBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
valueDataCase_ = 26;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder mergeIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (valueDataCase_ == 26 &&
|
||||
valueData_ != io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance()) {
|
||||
valueData_ = io.greptime.v1.Common.IntervalMonthDayNano.newBuilder((io.greptime.v1.Common.IntervalMonthDayNano) valueData_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
valueData_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
if (valueDataCase_ == 26) {
|
||||
intervalMonthDayNanoValuesBuilder_.mergeFrom(value);
|
||||
} else {
|
||||
intervalMonthDayNanoValuesBuilder_.setMessage(value);
|
||||
}
|
||||
}
|
||||
valueDataCase_ = 26;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public Builder clearIntervalMonthDayNanoValues() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (valueDataCase_ == 26) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (valueDataCase_ == 26) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
}
|
||||
intervalMonthDayNanoValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder() {
|
||||
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder() {
|
||||
if ((valueDataCase_ == 26) && (intervalMonthDayNanoValuesBuilder_ != null)) {
|
||||
return intervalMonthDayNanoValuesBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (valueDataCase_ == 26) {
|
||||
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||
}
|
||||
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||
getIntervalMonthDayNanoValuesFieldBuilder() {
|
||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||
if (!(valueDataCase_ == 26)) {
|
||||
valueData_ = io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||
}
|
||||
intervalMonthDayNanoValuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>(
|
||||
(io.greptime.v1.Common.IntervalMonthDayNano) valueData_,
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
valueData_ = null;
|
||||
}
|
||||
valueDataCase_ = 26;
|
||||
onChanged();;
|
||||
return intervalMonthDayNanoValuesBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -5792,7 +6231,7 @@ public final class RowData {
|
||||
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant" +
|
||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
||||
"\")\n\003Row\022\"\n\006values\030\001 \003(\0132\022.greptime.v1.Va" +
|
||||
"lue\"\327\004\n\005Value\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16" +
|
||||
"lue\"\356\005\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\ti" +
|
||||
"64_value\030\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\t" +
|
||||
"u16_value\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023" +
|
||||
@@ -5806,10 +6245,14 @@ public final class RowData {
|
||||
"osecond_value\030\023 \001(\003H\000\022\033\n\021time_second_val" +
|
||||
"ue\030\024 \001(\003H\000\022 \n\026time_millisecond_value\030\025 \001" +
|
||||
"(\003H\000\022 \n\026time_microsecond_value\030\026 \001(\003H\000\022\037" +
|
||||
"\n\025time_nanosecond_value\030\027 \001(\003H\000B\014\n\nvalue" +
|
||||
"_dataBP\n\016io.greptime.v1B\007RowDataZ5github" +
|
||||
".com/GreptimeTeam/greptime-proto/go/grep" +
|
||||
"time/v1b\006proto3"
|
||||
"\n\025time_nanosecond_value\030\027 \001(\003H\000\022$\n\032inter" +
|
||||
"val_year_month_values\030\030 \001(\005H\000\022\"\n\030interva" +
|
||||
"l_day_time_values\030\031 \001(\003H\000\022K\n\036interval_mo" +
|
||||
"nth_day_nano_values\030\032 \001(\0132!.greptime.v1." +
|
||||
"IntervalMonthDayNanoH\000B\014\n\nvalue_dataBP\n\016" +
|
||||
"io.greptime.v1B\007RowDataZ5github.com/Grep" +
|
||||
"timeTeam/greptime-proto/go/greptime/v1b\006" +
|
||||
"proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -5839,7 +6282,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", "TsSecondValue", "TsMillisecondValue", "TsMicrosecondValue", "TsNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "ValueData", });
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TsSecondValue", "TsMillisecondValue", "TsMicrosecondValue", "TsNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "ValueData", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user