refactor: rename PartitionExprVersion (#309)
Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -24936,8 +24936,8 @@ java.lang.String defaultValue);
|
||||
|
||||
}
|
||||
|
||||
public interface PartitionRuleVersionOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.PartitionRuleVersion)
|
||||
public interface PartitionExprVersionOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.PartitionExprVersion)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
@@ -24947,25 +24947,25 @@ java.lang.String defaultValue);
|
||||
long getValue();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.PartitionRuleVersion}
|
||||
* Protobuf type {@code greptime.v1.PartitionExprVersion}
|
||||
*/
|
||||
public static final class PartitionRuleVersion extends
|
||||
public static final class PartitionExprVersion extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.PartitionRuleVersion)
|
||||
PartitionRuleVersionOrBuilder {
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.PartitionExprVersion)
|
||||
PartitionExprVersionOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use PartitionRuleVersion.newBuilder() to construct.
|
||||
private PartitionRuleVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
// Use PartitionExprVersion.newBuilder() to construct.
|
||||
private PartitionExprVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private PartitionRuleVersion() {
|
||||
private PartitionExprVersion() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new PartitionRuleVersion();
|
||||
return new PartitionExprVersion();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -24973,7 +24973,7 @@ java.lang.String defaultValue);
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private PartitionRuleVersion(
|
||||
private PartitionExprVersion(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
@@ -25019,15 +25019,15 @@ java.lang.String defaultValue);
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor;
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class);
|
||||
io.greptime.v1.Common.PartitionExprVersion.class, io.greptime.v1.Common.PartitionExprVersion.Builder.class);
|
||||
}
|
||||
|
||||
public static final int VALUE_FIELD_NUMBER = 1;
|
||||
@@ -25081,10 +25081,10 @@ java.lang.String defaultValue);
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof io.greptime.v1.Common.PartitionRuleVersion)) {
|
||||
if (!(obj instanceof io.greptime.v1.Common.PartitionExprVersion)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
io.greptime.v1.Common.PartitionRuleVersion other = (io.greptime.v1.Common.PartitionRuleVersion) obj;
|
||||
io.greptime.v1.Common.PartitionExprVersion other = (io.greptime.v1.Common.PartitionExprVersion) obj;
|
||||
|
||||
if (getValue()
|
||||
!= other.getValue()) return false;
|
||||
@@ -25107,69 +25107,69 @@ java.lang.String defaultValue);
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion 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.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion 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.PartitionRuleVersion parseFrom(byte[] data)
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(java.io.InputStream input)
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion 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.PartitionRuleVersion parseDelimitedFrom(java.io.InputStream input)
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseDelimitedFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion 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.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(
|
||||
public static io.greptime.v1.Common.PartitionExprVersion parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
@@ -25182,7 +25182,7 @@ java.lang.String defaultValue);
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(io.greptime.v1.Common.PartitionRuleVersion prototype) {
|
||||
public static Builder newBuilder(io.greptime.v1.Common.PartitionExprVersion prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -25198,26 +25198,26 @@ java.lang.String defaultValue);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.PartitionRuleVersion}
|
||||
* Protobuf type {@code greptime.v1.PartitionExprVersion}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.PartitionRuleVersion)
|
||||
io.greptime.v1.Common.PartitionRuleVersionOrBuilder {
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.PartitionExprVersion)
|
||||
io.greptime.v1.Common.PartitionExprVersionOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor;
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class);
|
||||
io.greptime.v1.Common.PartitionExprVersion.class, io.greptime.v1.Common.PartitionExprVersion.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using io.greptime.v1.Common.PartitionRuleVersion.newBuilder()
|
||||
// Construct using io.greptime.v1.Common.PartitionExprVersion.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
@@ -25243,17 +25243,17 @@ java.lang.String defaultValue);
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor;
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_PartitionExprVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() {
|
||||
return io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance();
|
||||
public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() {
|
||||
return io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersion build() {
|
||||
io.greptime.v1.Common.PartitionRuleVersion result = buildPartial();
|
||||
public io.greptime.v1.Common.PartitionExprVersion build() {
|
||||
io.greptime.v1.Common.PartitionExprVersion result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
@@ -25261,8 +25261,8 @@ java.lang.String defaultValue);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersion buildPartial() {
|
||||
io.greptime.v1.Common.PartitionRuleVersion result = new io.greptime.v1.Common.PartitionRuleVersion(this);
|
||||
public io.greptime.v1.Common.PartitionExprVersion buildPartial() {
|
||||
io.greptime.v1.Common.PartitionExprVersion result = new io.greptime.v1.Common.PartitionExprVersion(this);
|
||||
result.value_ = value_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -25302,16 +25302,16 @@ java.lang.String defaultValue);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof io.greptime.v1.Common.PartitionRuleVersion) {
|
||||
return mergeFrom((io.greptime.v1.Common.PartitionRuleVersion)other);
|
||||
if (other instanceof io.greptime.v1.Common.PartitionExprVersion) {
|
||||
return mergeFrom((io.greptime.v1.Common.PartitionExprVersion)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(io.greptime.v1.Common.PartitionRuleVersion other) {
|
||||
if (other == io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance()) return this;
|
||||
public Builder mergeFrom(io.greptime.v1.Common.PartitionExprVersion other) {
|
||||
if (other == io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance()) return this;
|
||||
if (other.getValue() != 0L) {
|
||||
setValue(other.getValue());
|
||||
}
|
||||
@@ -25330,11 +25330,11 @@ java.lang.String defaultValue);
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
io.greptime.v1.Common.PartitionRuleVersion parsedMessage = null;
|
||||
io.greptime.v1.Common.PartitionExprVersion parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (io.greptime.v1.Common.PartitionRuleVersion) e.getUnfinishedMessage();
|
||||
parsedMessage = (io.greptime.v1.Common.PartitionExprVersion) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
@@ -25387,41 +25387,41 @@ java.lang.String defaultValue);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.PartitionRuleVersion)
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.PartitionExprVersion)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion)
|
||||
private static final io.greptime.v1.Common.PartitionRuleVersion DEFAULT_INSTANCE;
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprVersion)
|
||||
private static final io.greptime.v1.Common.PartitionExprVersion DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.Common.PartitionRuleVersion();
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.Common.PartitionExprVersion();
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.PartitionRuleVersion getDefaultInstance() {
|
||||
public static io.greptime.v1.Common.PartitionExprVersion getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<PartitionRuleVersion>
|
||||
PARSER = new com.google.protobuf.AbstractParser<PartitionRuleVersion>() {
|
||||
private static final com.google.protobuf.Parser<PartitionExprVersion>
|
||||
PARSER = new com.google.protobuf.AbstractParser<PartitionExprVersion>() {
|
||||
@java.lang.Override
|
||||
public PartitionRuleVersion parsePartialFrom(
|
||||
public PartitionExprVersion parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new PartitionRuleVersion(input, extensionRegistry);
|
||||
return new PartitionExprVersion(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<PartitionRuleVersion> parser() {
|
||||
public static com.google.protobuf.Parser<PartitionExprVersion> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<PartitionRuleVersion> getParserForType() {
|
||||
public com.google.protobuf.Parser<PartitionExprVersion> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() {
|
||||
public io.greptime.v1.Common.PartitionExprVersion getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
@@ -25598,10 +25598,10 @@ java.lang.String defaultValue);
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_ArrowIpc_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_PartitionRuleVersion_descriptor;
|
||||
internal_static_greptime_v1_PartitionExprVersion_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable;
|
||||
internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
@@ -25692,7 +25692,7 @@ java.lang.String defaultValue);
|
||||
".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" +
|
||||
"try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010A" +
|
||||
"rrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030\002" +
|
||||
" \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionRuleVe" +
|
||||
" \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionExprVe" +
|
||||
"rsion\022\r\n\005value\030\001 \001(\004*1\n\014SemanticType\022\007\n\003" +
|
||||
"TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Colu" +
|
||||
"mnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT" +
|
||||
@@ -25923,11 +25923,11 @@ java.lang.String defaultValue);
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_ArrowIpc_descriptor,
|
||||
new java.lang.String[] { "Schema", "DataHeader", "Payload", });
|
||||
internal_static_greptime_v1_PartitionRuleVersion_descriptor =
|
||||
internal_static_greptime_v1_PartitionExprVersion_descriptor =
|
||||
getDescriptor().getMessageTypes().get(29);
|
||||
internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable = new
|
||||
internal_static_greptime_v1_PartitionExprVersion_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_PartitionRuleVersion_descriptor,
|
||||
internal_static_greptime_v1_PartitionExprVersion_descriptor,
|
||||
new java.lang.String[] { "Value", });
|
||||
}
|
||||
|
||||
|
||||
@@ -3610,19 +3610,19 @@ java.lang.String defaultValue);
|
||||
io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return Whether the partitionRuleVersion field is set.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return Whether the partitionExprVersion field is set.
|
||||
*/
|
||||
boolean hasPartitionRuleVersion();
|
||||
boolean hasPartitionExprVersion();
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return The partitionRuleVersion.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return The partitionExprVersion.
|
||||
*/
|
||||
io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion();
|
||||
io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion();
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder();
|
||||
io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.flow.InsertRequest}
|
||||
@@ -3688,14 +3688,14 @@ java.lang.String defaultValue);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null;
|
||||
if (partitionRuleVersion_ != null) {
|
||||
subBuilder = partitionRuleVersion_.toBuilder();
|
||||
io.greptime.v1.Common.PartitionExprVersion.Builder subBuilder = null;
|
||||
if (partitionExprVersion_ != null) {
|
||||
subBuilder = partitionExprVersion_.toBuilder();
|
||||
}
|
||||
partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry);
|
||||
partitionExprVersion_ = input.readMessage(io.greptime.v1.Common.PartitionExprVersion.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(partitionRuleVersion_);
|
||||
partitionRuleVersion_ = subBuilder.buildPartial();
|
||||
subBuilder.mergeFrom(partitionExprVersion_);
|
||||
partitionExprVersion_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -3771,30 +3771,30 @@ java.lang.String defaultValue);
|
||||
return getRows();
|
||||
}
|
||||
|
||||
public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3;
|
||||
private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_;
|
||||
public static final int PARTITION_EXPR_VERSION_FIELD_NUMBER = 3;
|
||||
private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_;
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return Whether the partitionRuleVersion field is set.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return Whether the partitionExprVersion field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasPartitionRuleVersion() {
|
||||
return partitionRuleVersion_ != null;
|
||||
public boolean hasPartitionExprVersion() {
|
||||
return partitionExprVersion_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return The partitionRuleVersion.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return The partitionExprVersion.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() {
|
||||
return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_;
|
||||
public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() {
|
||||
return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() {
|
||||
return getPartitionRuleVersion();
|
||||
public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() {
|
||||
return getPartitionExprVersion();
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -3817,8 +3817,8 @@ java.lang.String defaultValue);
|
||||
if (rows_ != null) {
|
||||
output.writeMessage(2, getRows());
|
||||
}
|
||||
if (partitionRuleVersion_ != null) {
|
||||
output.writeMessage(3, getPartitionRuleVersion());
|
||||
if (partitionExprVersion_ != null) {
|
||||
output.writeMessage(3, getPartitionExprVersion());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -3837,9 +3837,9 @@ java.lang.String defaultValue);
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, getRows());
|
||||
}
|
||||
if (partitionRuleVersion_ != null) {
|
||||
if (partitionExprVersion_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, getPartitionRuleVersion());
|
||||
.computeMessageSize(3, getPartitionExprVersion());
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -3863,10 +3863,10 @@ java.lang.String defaultValue);
|
||||
if (!getRows()
|
||||
.equals(other.getRows())) return false;
|
||||
}
|
||||
if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false;
|
||||
if (hasPartitionRuleVersion()) {
|
||||
if (!getPartitionRuleVersion()
|
||||
.equals(other.getPartitionRuleVersion())) return false;
|
||||
if (hasPartitionExprVersion() != other.hasPartitionExprVersion()) return false;
|
||||
if (hasPartitionExprVersion()) {
|
||||
if (!getPartitionExprVersion()
|
||||
.equals(other.getPartitionExprVersion())) return false;
|
||||
}
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
@@ -3886,9 +3886,9 @@ java.lang.String defaultValue);
|
||||
hash = (37 * hash) + ROWS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRows().hashCode();
|
||||
}
|
||||
if (hasPartitionRuleVersion()) {
|
||||
hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getPartitionRuleVersion().hashCode();
|
||||
if (hasPartitionExprVersion()) {
|
||||
hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getPartitionExprVersion().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
@@ -4031,11 +4031,11 @@ java.lang.String defaultValue);
|
||||
rows_ = null;
|
||||
rowsBuilder_ = null;
|
||||
}
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
partitionRuleVersion_ = null;
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
partitionExprVersion_ = null;
|
||||
} else {
|
||||
partitionRuleVersion_ = null;
|
||||
partitionRuleVersionBuilder_ = null;
|
||||
partitionExprVersion_ = null;
|
||||
partitionExprVersionBuilder_ = null;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
@@ -4069,10 +4069,10 @@ java.lang.String defaultValue);
|
||||
} else {
|
||||
result.rows_ = rowsBuilder_.build();
|
||||
}
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
result.partitionRuleVersion_ = partitionRuleVersion_;
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
result.partitionExprVersion_ = partitionExprVersion_;
|
||||
} else {
|
||||
result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build();
|
||||
result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -4128,8 +4128,8 @@ java.lang.String defaultValue);
|
||||
if (other.hasRows()) {
|
||||
mergeRows(other.getRows());
|
||||
}
|
||||
if (other.hasPartitionRuleVersion()) {
|
||||
mergePartitionRuleVersion(other.getPartitionRuleVersion());
|
||||
if (other.hasPartitionExprVersion()) {
|
||||
mergePartitionExprVersion(other.getPartitionExprVersion());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
@@ -4310,123 +4310,123 @@ java.lang.String defaultValue);
|
||||
return rowsBuilder_;
|
||||
}
|
||||
|
||||
private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_;
|
||||
private io.greptime.v1.Common.PartitionExprVersion partitionExprVersion_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_;
|
||||
io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder> partitionExprVersionBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return Whether the partitionRuleVersion field is set.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return Whether the partitionExprVersion field is set.
|
||||
*/
|
||||
public boolean hasPartitionRuleVersion() {
|
||||
return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null;
|
||||
public boolean hasPartitionExprVersion() {
|
||||
return partitionExprVersionBuilder_ != null || partitionExprVersion_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* @return The partitionRuleVersion.
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
* @return The partitionExprVersion.
|
||||
*/
|
||||
public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_;
|
||||
public io.greptime.v1.Common.PartitionExprVersion getPartitionExprVersion() {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
return partitionExprVersion_ == null ? io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
|
||||
} else {
|
||||
return partitionRuleVersionBuilder_.getMessage();
|
||||
return partitionExprVersionBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
public Builder setPartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
partitionRuleVersion_ = value;
|
||||
partitionExprVersion_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
partitionRuleVersionBuilder_.setMessage(value);
|
||||
partitionExprVersionBuilder_.setMessage(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public Builder setPartitionRuleVersion(
|
||||
io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
partitionRuleVersion_ = builderForValue.build();
|
||||
public Builder setPartitionExprVersion(
|
||||
io.greptime.v1.Common.PartitionExprVersion.Builder builderForValue) {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
partitionExprVersion_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
partitionRuleVersionBuilder_.setMessage(builderForValue.build());
|
||||
partitionExprVersionBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
if (partitionRuleVersion_ != null) {
|
||||
partitionRuleVersion_ =
|
||||
io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial();
|
||||
public Builder mergePartitionExprVersion(io.greptime.v1.Common.PartitionExprVersion value) {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
if (partitionExprVersion_ != null) {
|
||||
partitionExprVersion_ =
|
||||
io.greptime.v1.Common.PartitionExprVersion.newBuilder(partitionExprVersion_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
partitionRuleVersion_ = value;
|
||||
partitionExprVersion_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
partitionRuleVersionBuilder_.mergeFrom(value);
|
||||
partitionExprVersionBuilder_.mergeFrom(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public Builder clearPartitionRuleVersion() {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
partitionRuleVersion_ = null;
|
||||
public Builder clearPartitionExprVersion() {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
partitionExprVersion_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
partitionRuleVersion_ = null;
|
||||
partitionRuleVersionBuilder_ = null;
|
||||
partitionExprVersion_ = null;
|
||||
partitionExprVersionBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() {
|
||||
public io.greptime.v1.Common.PartitionExprVersion.Builder getPartitionExprVersionBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getPartitionRuleVersionFieldBuilder().getBuilder();
|
||||
return getPartitionExprVersionFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() {
|
||||
if (partitionRuleVersionBuilder_ != null) {
|
||||
return partitionRuleVersionBuilder_.getMessageOrBuilder();
|
||||
public io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder() {
|
||||
if (partitionExprVersionBuilder_ != null) {
|
||||
return partitionExprVersionBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return partitionRuleVersion_ == null ?
|
||||
io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_;
|
||||
return partitionExprVersion_ == null ?
|
||||
io.greptime.v1.Common.PartitionExprVersion.getDefaultInstance() : partitionExprVersion_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.PartitionRuleVersion partition_rule_version = 3;</code>
|
||||
* <code>.greptime.v1.PartitionExprVersion partition_expr_version = 3;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>
|
||||
getPartitionRuleVersionFieldBuilder() {
|
||||
if (partitionRuleVersionBuilder_ == null) {
|
||||
partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>(
|
||||
getPartitionRuleVersion(),
|
||||
io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>
|
||||
getPartitionExprVersionFieldBuilder() {
|
||||
if (partitionExprVersionBuilder_ == null) {
|
||||
partitionExprVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.PartitionExprVersion, io.greptime.v1.Common.PartitionExprVersion.Builder, io.greptime.v1.Common.PartitionExprVersionOrBuilder>(
|
||||
getPartitionExprVersion(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
partitionRuleVersion_ = null;
|
||||
partitionExprVersion_ = null;
|
||||
}
|
||||
return partitionRuleVersionBuilder_;
|
||||
return partitionExprVersionBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
@@ -11166,8 +11166,8 @@ java.lang.String defaultValue);
|
||||
"equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." +
|
||||
"flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" +
|
||||
"region_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime" +
|
||||
".v1.Rows\022A\n\026partition_rule_version\030\003 \001(\013" +
|
||||
"2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" +
|
||||
".v1.Rows\022A\n\026partition_expr_version\030\003 \001(\013" +
|
||||
"2!.greptime.v1.PartitionExprVersion\"\332\001\n\013" +
|
||||
"FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" +
|
||||
"1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" +
|
||||
"2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" +
|
||||
@@ -11247,7 +11247,7 @@ java.lang.String defaultValue);
|
||||
internal_static_greptime_v1_flow_InsertRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_flow_InsertRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", "Rows", "PartitionRuleVersion", });
|
||||
new java.lang.String[] { "RegionId", "Rows", "PartitionExprVersion", });
|
||||
internal_static_greptime_v1_flow_FlowRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
internal_static_greptime_v1_flow_FlowRequest_fieldAccessorTable = new
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user