//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: meta_service.proto
package metaservicepb
import (
clusterpb "github.com/apache/incubator-horaedb-proto/golang/pkg/clusterpb"
commonpb "github.com/apache/incubator-horaedb-proto/golang/pkg/commonpb"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ShardInfo_Status int32
const (
ShardInfo_Ready ShardInfo_Status = 0
ShardInfo_PartialOpen ShardInfo_Status = 1
)
// Enum value maps for ShardInfo_Status.
var (
ShardInfo_Status_name = map[int32]string{
0: "Ready",
1: "PartialOpen",
}
ShardInfo_Status_value = map[string]int32{
"Ready": 0,
"PartialOpen": 1,
}
)
func (x ShardInfo_Status) Enum() *ShardInfo_Status {
p := new(ShardInfo_Status)
*p = x
return p
}
func (x ShardInfo_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ShardInfo_Status) Descriptor() protoreflect.EnumDescriptor {
return file_meta_service_proto_enumTypes[0].Descriptor()
}
func (ShardInfo_Status) Type() protoreflect.EnumType {
return &file_meta_service_proto_enumTypes[0]
}
func (x ShardInfo_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ShardInfo_Status.Descriptor instead.
func (ShardInfo_Status) EnumDescriptor() ([]byte, []int) {
return file_meta_service_proto_rawDescGZIP(), []int{19, 0}
}
type RequestHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
}
func (x *RequestHeader) Reset() {
*x = RequestHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_meta_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RequestHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestHeader) ProtoMessage() {}
func (x *RequestHeader) ProtoReflect() protoreflect.Message {
mi := &file_meta_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead.
func (*RequestHeader) Descriptor() ([]byte, []int) {
return file_meta_service_proto_rawDescGZIP(), []int{0}
}
func (x *RequestHeader) GetNode() string {
if x != nil {
return x.Node
}
return ""
}
func (x *RequestHeader) GetClusterName() string {
if x != nil {
return x.ClusterName
}
return ""
}
type AllocSchemaIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *AllocSchemaIdRequest) Reset() {
*x = AllocSchemaIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_meta_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AllocSchemaIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AllocSchemaIdRequest) ProtoMessage() {}
func (x *AllocSchemaIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_meta_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AllocSchemaIdRequest.ProtoReflect.Descriptor instead.
func (*AllocSchemaIdRequest) Descriptor() ([]byte, []int) {
return file_meta_service_proto_rawDescGZIP(), []int{1}
}
func (x *AllocSchemaIdRequest) GetHeader() *RequestHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *AllocSchemaIdRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type AllocSchemaIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *commonpb.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *AllocSchemaIdResponse) Reset() {
*x = AllocSchemaIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_meta_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AllocSchemaIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AllocSchemaIdResponse) ProtoMessage() {}
func (x *AllocSchemaIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_meta_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AllocSchemaIdResponse.ProtoReflect.Descriptor instead.
func (*AllocSchemaIdResponse) Descriptor() ([]byte, []int) {
return file_meta_service_proto_rawDescGZIP(), []int{2}
}
func (x *AllocSchemaIdResponse) GetHeader() *commonpb.ResponseHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *AllocSchemaIdResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AllocSchemaIdResponse) GetId() uint32 {
if x != nil {
return x.Id
}
return 0
}
type CreateTableRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
EncodedSchema []byte `protobuf:"bytes,4,opt,name=encoded_schema,json=encodedSchema,proto3" json:"encoded_schema,omitempty"`
Engine string `protobuf:"bytes,5,opt,name=engine,proto3" json:"engine,omitempty"`
CreateIfNotExist bool `protobuf:"varint,6,opt,name=create_if_not_exist,json=createIfNotExist,proto3" json:"create_if_not_exist,omitempty"`
Options map[string
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ceresdbproto-main.zip (43个子文件)
ceresdbproto-main
Cargo.toml 1KB
golang
go.mod 449B
go.sum 12KB
pkg
clusterpb
cluster.pb.go 54KB
metastoragepb
meta_storage.pb.go 14KB
metaservicepb
meta_service_grpc.pb.go 13KB
meta_service.pb.go 79KB
horaeprompb
prometheus.pb.go 34KB
commonpb
common.pb.go 6KB
metaeventpb
meta_event.pb.go 58KB
meta_event_grpc.pb.go 16KB
storagepb
storage.pb.go 68KB
storage_grpc.pb.go 13KB
.github
workflows
ci.yml 2KB
Makefile 279B
src
lib.rs 930B
LICENSE 11KB
java
pom.xml 6KB
src
.gitignore 6B
build.rs 3KB
rust-toolchain.toml 869B
.asf.yaml 1KB
protos
meta_storage.proto 1KB
common.proto 1KB
storage.proto 4KB
prometheus.proto 2KB
meta_event.proto 3KB
meta_service.proto 4KB
cluster.proto 5KB
engine
wal_on_mq.proto 1KB
sst.proto 2KB
time_range.proto 977B
sys_catalog.proto 2KB
oss_cache.proto 944B
table_requests.proto 1KB
remote_engine.proto 5KB
schema.proto 2KB
manifest.proto 5KB
generate-go.sh 1KB
.gitignore 48B
licenserc.toml 851B
DISCLAIMER 553B
NOTICE 176B
共 43 条
- 1
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6823
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 使用FFT算法对一个信号进行分析.rar
- 171cms游戏应用下载系统源码.zip
- 基于jsp+servlet+mysql蛋糕甜品店购物网站源码+数据库(期末大作业).zip
- Java项目:在线蛋糕商城系统(java+jsp+mysql)源码+数据库+期末大作业.zip
- ZapyaClient10_7-1.apk
- 织梦cms站长导航网站源码.zip
- 基于SSM+MySQL的网络投票调查问卷系统源码+数据库(java期末大作业).zip
- 基于jsp+servlet的宠物商城网站系统源码+数据库(java期末大作业).zip
- 基于Python+Tensorflow实现声纹识别+源代码+文档说明.zip
- java-leetcode题解之第112题路径总和.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功