From 844c59b9c29b09aebd72c79d1af87afaf8eec72e Mon Sep 17 00:00:00 2001 From: Aaron Son Date: Tue, 23 Jun 2020 09:30:17 -0700 Subject: [PATCH] proto/{third_party,Makefile}: Adopt protobuf-go and grpc-go for protobuf message generation. --- .gitmodules | 6 + .../eventsapi/v1alpha1/client_event.pb.go | 857 ++-- .../v1alpha1/client_event_grpc.pb.go | 90 + .../eventsapi/v1alpha1/event_constants.pb.go | 641 +-- .../remotesapi/v1alpha1/chunkstore.pb.go | 3482 ++++++++++------- .../remotesapi/v1alpha1/chunkstore_grpc.pb.go | 384 ++ .../remotesapi/v1alpha1/credentials.pb.go | 381 +- .../v1alpha1/credentials_grpc.pb.go | 90 + .../liquidata-inc/dolt/go/gen/proto | 1 + go/go.mod | 1 + go/utils/remotesrv/grpc.go | 7 +- proto/Makefile | 26 +- proto/third_party/grpc-go | 1 + proto/third_party/protobuf-go | 1 + 14 files changed, 3720 insertions(+), 2248 deletions(-) create mode 100644 go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event_grpc.pb.go create mode 100644 go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore_grpc.pb.go create mode 100644 go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials_grpc.pb.go create mode 120000 go/gen/proto/github.com/liquidata-inc/dolt/go/gen/proto create mode 160000 proto/third_party/grpc-go create mode 160000 proto/third_party/protobuf-go diff --git a/.gitmodules b/.gitmodules index cd59b317b4..9c6a720c78 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,9 @@ [submodule "proto/third_party/golang-protobuf"] path = proto/third_party/golang-protobuf url = https://github.com/golang/protobuf.git +[submodule "proto/third_party/protobuf-go"] + path = proto/third_party/protobuf-go + url = https://github.com/protocolbuffers/protobuf-go.git +[submodule "proto/third_party/grpc-go"] + path = proto/third_party/grpc-go + url = https://github.com/grpc/grpc-go.git diff --git a/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event.pb.go b/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event.pb.go index fbc6868e3b..c3ffa850e3 100644 --- a/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event.pb.go +++ b/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event.pb.go @@ -1,114 +1,174 @@ +// Copyright 2019 Liquidata, Inc. +// +// Licensed 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. + +// WARNING: This file was is automatically generated. DO NOT EDIT BY HAND. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.24.0 +// protoc v3.11.2 // source: dolt/services/eventsapi/v1alpha1/client_event.proto package eventsapi import ( - context "context" - fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptypes/duration" timestamp "github.com/golang/protobuf/ptypes/timestamp" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ClientEventAttribute struct { - Id AttributeID `protobuf:"varint,1,opt,name=id,proto3,enum=dolt.services.eventsapi.v1alpha1.AttributeID" json:"id,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id AttributeID `protobuf:"varint,1,opt,name=id,proto3,enum=dolt.services.eventsapi.v1alpha1.AttributeID" json:"id,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ClientEventAttribute) Reset() { *m = ClientEventAttribute{} } -func (m *ClientEventAttribute) String() string { return proto.CompactTextString(m) } -func (*ClientEventAttribute) ProtoMessage() {} +func (x *ClientEventAttribute) Reset() { + *x = ClientEventAttribute{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientEventAttribute) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientEventAttribute) ProtoMessage() {} + +func (x *ClientEventAttribute) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_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 ClientEventAttribute.ProtoReflect.Descriptor instead. func (*ClientEventAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_2059ca7f76f8dca6, []int{0} + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP(), []int{0} } -func (m *ClientEventAttribute) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientEventAttribute.Unmarshal(m, b) -} -func (m *ClientEventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientEventAttribute.Marshal(b, m, deterministic) -} -func (m *ClientEventAttribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientEventAttribute.Merge(m, src) -} -func (m *ClientEventAttribute) XXX_Size() int { - return xxx_messageInfo_ClientEventAttribute.Size(m) -} -func (m *ClientEventAttribute) XXX_DiscardUnknown() { - xxx_messageInfo_ClientEventAttribute.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientEventAttribute proto.InternalMessageInfo - -func (m *ClientEventAttribute) GetId() AttributeID { - if m != nil { - return m.Id +func (x *ClientEventAttribute) GetId() AttributeID { + if x != nil { + return x.Id } return AttributeID_ATTRIBUTE_UNSPECIFIED } -func (m *ClientEventAttribute) GetValue() string { - if m != nil { - return m.Value +func (x *ClientEventAttribute) GetValue() string { + if x != nil { + return x.Value } return "" } type ClientEventMetric struct { - // Types that are valid to be assigned to MetricOneof: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to MetricOneof: // *ClientEventMetric_Duration // *ClientEventMetric_Count - MetricOneof isClientEventMetric_MetricOneof `protobuf_oneof:"metric_oneof"` - MetricId MetricID `protobuf:"varint,100,opt,name=metric_id,json=metricId,proto3,enum=dolt.services.eventsapi.v1alpha1.MetricID" json:"metric_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MetricOneof isClientEventMetric_MetricOneof `protobuf_oneof:"metric_oneof"` + MetricId MetricID `protobuf:"varint,100,opt,name=metric_id,json=metricId,proto3,enum=dolt.services.eventsapi.v1alpha1.MetricID" json:"metric_id,omitempty"` } -func (m *ClientEventMetric) Reset() { *m = ClientEventMetric{} } -func (m *ClientEventMetric) String() string { return proto.CompactTextString(m) } -func (*ClientEventMetric) ProtoMessage() {} +func (x *ClientEventMetric) Reset() { + *x = ClientEventMetric{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientEventMetric) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientEventMetric) ProtoMessage() {} + +func (x *ClientEventMetric) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_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 ClientEventMetric.ProtoReflect.Descriptor instead. func (*ClientEventMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_2059ca7f76f8dca6, []int{1} + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP(), []int{1} } -func (m *ClientEventMetric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientEventMetric.Unmarshal(m, b) -} -func (m *ClientEventMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientEventMetric.Marshal(b, m, deterministic) -} -func (m *ClientEventMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientEventMetric.Merge(m, src) -} -func (m *ClientEventMetric) XXX_Size() int { - return xxx_messageInfo_ClientEventMetric.Size(m) -} -func (m *ClientEventMetric) XXX_DiscardUnknown() { - xxx_messageInfo_ClientEventMetric.DiscardUnknown(m) +func (m *ClientEventMetric) GetMetricOneof() isClientEventMetric_MetricOneof { + if m != nil { + return m.MetricOneof + } + return nil } -var xxx_messageInfo_ClientEventMetric proto.InternalMessageInfo +func (x *ClientEventMetric) GetDuration() *duration.Duration { + if x, ok := x.GetMetricOneof().(*ClientEventMetric_Duration); ok { + return x.Duration + } + return nil +} + +func (x *ClientEventMetric) GetCount() int32 { + if x, ok := x.GetMetricOneof().(*ClientEventMetric_Count); ok { + return x.Count + } + return 0 +} + +func (x *ClientEventMetric) GetMetricId() MetricID { + if x != nil { + return x.MetricId + } + return MetricID_METRIC_UNSPECIFIED +} type isClientEventMetric_MetricOneof interface { isClientEventMetric_MetricOneof() @@ -126,361 +186,450 @@ func (*ClientEventMetric_Duration) isClientEventMetric_MetricOneof() {} func (*ClientEventMetric_Count) isClientEventMetric_MetricOneof() {} -func (m *ClientEventMetric) GetMetricOneof() isClientEventMetric_MetricOneof { - if m != nil { - return m.MetricOneof - } - return nil -} - -func (m *ClientEventMetric) GetDuration() *duration.Duration { - if x, ok := m.GetMetricOneof().(*ClientEventMetric_Duration); ok { - return x.Duration - } - return nil -} - -func (m *ClientEventMetric) GetCount() int32 { - if x, ok := m.GetMetricOneof().(*ClientEventMetric_Count); ok { - return x.Count - } - return 0 -} - -func (m *ClientEventMetric) GetMetricId() MetricID { - if m != nil { - return m.MetricId - } - return MetricID_METRIC_UNSPECIFIED -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ClientEventMetric) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ClientEventMetric_Duration)(nil), - (*ClientEventMetric_Count)(nil), - } -} - type ClientEvent struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Type ClientEventType `protobuf:"varint,4,opt,name=type,proto3,enum=dolt.services.eventsapi.v1alpha1.ClientEventType" json:"type,omitempty"` - Attributes []*ClientEventAttribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"` - Metrics []*ClientEventMetric `protobuf:"bytes,6,rep,name=metrics,proto3" json:"metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Type ClientEventType `protobuf:"varint,4,opt,name=type,proto3,enum=dolt.services.eventsapi.v1alpha1.ClientEventType" json:"type,omitempty"` + Attributes []*ClientEventAttribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"` + Metrics []*ClientEventMetric `protobuf:"bytes,6,rep,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *ClientEvent) Reset() { *m = ClientEvent{} } -func (m *ClientEvent) String() string { return proto.CompactTextString(m) } -func (*ClientEvent) ProtoMessage() {} +func (x *ClientEvent) Reset() { + *x = ClientEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientEvent) ProtoMessage() {} + +func (x *ClientEvent) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_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 ClientEvent.ProtoReflect.Descriptor instead. func (*ClientEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_2059ca7f76f8dca6, []int{2} + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP(), []int{2} } -func (m *ClientEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientEvent.Unmarshal(m, b) -} -func (m *ClientEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientEvent.Marshal(b, m, deterministic) -} -func (m *ClientEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientEvent.Merge(m, src) -} -func (m *ClientEvent) XXX_Size() int { - return xxx_messageInfo_ClientEvent.Size(m) -} -func (m *ClientEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ClientEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientEvent proto.InternalMessageInfo - -func (m *ClientEvent) GetId() string { - if m != nil { - return m.Id +func (x *ClientEvent) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ClientEvent) GetStartTime() *timestamp.Timestamp { - if m != nil { - return m.StartTime +func (x *ClientEvent) GetStartTime() *timestamp.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *ClientEvent) GetEndTime() *timestamp.Timestamp { - if m != nil { - return m.EndTime +func (x *ClientEvent) GetEndTime() *timestamp.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *ClientEvent) GetType() ClientEventType { - if m != nil { - return m.Type +func (x *ClientEvent) GetType() ClientEventType { + if x != nil { + return x.Type } return ClientEventType_TYPE_UNSPECIFIED } -func (m *ClientEvent) GetAttributes() []*ClientEventAttribute { - if m != nil { - return m.Attributes +func (x *ClientEvent) GetAttributes() []*ClientEventAttribute { + if x != nil { + return x.Attributes } return nil } -func (m *ClientEvent) GetMetrics() []*ClientEventMetric { - if m != nil { - return m.Metrics +func (x *ClientEvent) GetMetrics() []*ClientEventMetric { + if x != nil { + return x.Metrics } return nil } type LogEventsRequest struct { - MachineId string `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` - Extra string `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Platform Platform `protobuf:"varint,4,opt,name=platform,proto3,enum=dolt.services.eventsapi.v1alpha1.Platform" json:"platform,omitempty"` - Events []*ClientEvent `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` - App AppID `protobuf:"varint,6,opt,name=app,proto3,enum=dolt.services.eventsapi.v1alpha1.AppID" json:"app,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MachineId string `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` + Extra string `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Platform Platform `protobuf:"varint,4,opt,name=platform,proto3,enum=dolt.services.eventsapi.v1alpha1.Platform" json:"platform,omitempty"` + Events []*ClientEvent `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + App AppID `protobuf:"varint,6,opt,name=app,proto3,enum=dolt.services.eventsapi.v1alpha1.AppID" json:"app,omitempty"` } -func (m *LogEventsRequest) Reset() { *m = LogEventsRequest{} } -func (m *LogEventsRequest) String() string { return proto.CompactTextString(m) } -func (*LogEventsRequest) ProtoMessage() {} +func (x *LogEventsRequest) Reset() { + *x = LogEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LogEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LogEventsRequest) ProtoMessage() {} + +func (x *LogEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[3] + 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 LogEventsRequest.ProtoReflect.Descriptor instead. func (*LogEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2059ca7f76f8dca6, []int{3} + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP(), []int{3} } -func (m *LogEventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEventsRequest.Unmarshal(m, b) -} -func (m *LogEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEventsRequest.Marshal(b, m, deterministic) -} -func (m *LogEventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEventsRequest.Merge(m, src) -} -func (m *LogEventsRequest) XXX_Size() int { - return xxx_messageInfo_LogEventsRequest.Size(m) -} -func (m *LogEventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LogEventsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LogEventsRequest proto.InternalMessageInfo - -func (m *LogEventsRequest) GetMachineId() string { - if m != nil { - return m.MachineId +func (x *LogEventsRequest) GetMachineId() string { + if x != nil { + return x.MachineId } return "" } -func (m *LogEventsRequest) GetExtra() string { - if m != nil { - return m.Extra +func (x *LogEventsRequest) GetExtra() string { + if x != nil { + return x.Extra } return "" } -func (m *LogEventsRequest) GetVersion() string { - if m != nil { - return m.Version +func (x *LogEventsRequest) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *LogEventsRequest) GetPlatform() Platform { - if m != nil { - return m.Platform +func (x *LogEventsRequest) GetPlatform() Platform { + if x != nil { + return x.Platform } return Platform_PLATFORM_UNSPECIFIED } -func (m *LogEventsRequest) GetEvents() []*ClientEvent { - if m != nil { - return m.Events +func (x *LogEventsRequest) GetEvents() []*ClientEvent { + if x != nil { + return x.Events } return nil } -func (m *LogEventsRequest) GetApp() AppID { - if m != nil { - return m.App +func (x *LogEventsRequest) GetApp() AppID { + if x != nil { + return x.App } return AppID_APP_ID_UNSPECIFIED } type LogEventsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *LogEventsResponse) Reset() { *m = LogEventsResponse{} } -func (m *LogEventsResponse) String() string { return proto.CompactTextString(m) } -func (*LogEventsResponse) ProtoMessage() {} +func (x *LogEventsResponse) Reset() { + *x = LogEventsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LogEventsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LogEventsResponse) ProtoMessage() {} + +func (x *LogEventsResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[4] + 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 LogEventsResponse.ProtoReflect.Descriptor instead. func (*LogEventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2059ca7f76f8dca6, []int{4} + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP(), []int{4} } -func (m *LogEventsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogEventsResponse.Unmarshal(m, b) -} -func (m *LogEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogEventsResponse.Marshal(b, m, deterministic) -} -func (m *LogEventsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogEventsResponse.Merge(m, src) -} -func (m *LogEventsResponse) XXX_Size() int { - return xxx_messageInfo_LogEventsResponse.Size(m) -} -func (m *LogEventsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LogEventsResponse.DiscardUnknown(m) +var File_dolt_services_eventsapi_v1alpha1_client_event_proto protoreflect.FileDescriptor + +var file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDesc = []byte{ + 0x0a, 0x33, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x36, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x6b, 0x0a, 0x14, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbd, 0x01, + 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x49, 0x44, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x64, 0x42, 0x0e, 0x0a, + 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0xfd, 0x02, + 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x45, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, + 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x64, 0x6f, 0x6c, + 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4d, + 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x33, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xab, 0x02, + 0x0a, 0x10, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x46, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x45, 0x0a, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x39, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x41, 0x70, 0x70, 0x49, 0x44, 0x52, 0x03, 0x61, 0x70, 0x70, 0x22, 0x13, 0x0a, 0x11, 0x4c, + 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x32, 0x8b, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x74, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x67, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x57, + 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x71, + 0x75, 0x69, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x69, 0x6e, 0x63, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, + 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x6f, 0x6c, + 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var xxx_messageInfo_LogEventsResponse proto.InternalMessageInfo +var ( + file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescOnce sync.Once + file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescData = file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDesc +) -func init() { - proto.RegisterType((*ClientEventAttribute)(nil), "dolt.services.eventsapi.v1alpha1.ClientEventAttribute") - proto.RegisterType((*ClientEventMetric)(nil), "dolt.services.eventsapi.v1alpha1.ClientEventMetric") - proto.RegisterType((*ClientEvent)(nil), "dolt.services.eventsapi.v1alpha1.ClientEvent") - proto.RegisterType((*LogEventsRequest)(nil), "dolt.services.eventsapi.v1alpha1.LogEventsRequest") - proto.RegisterType((*LogEventsResponse)(nil), "dolt.services.eventsapi.v1alpha1.LogEventsResponse") +func file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescGZIP() []byte { + file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescOnce.Do(func() { + file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescData) + }) + return file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDescData } -func init() { - proto.RegisterFile("dolt/services/eventsapi/v1alpha1/client_event.proto", fileDescriptor_2059ca7f76f8dca6) +var file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_dolt_services_eventsapi_v1alpha1_client_event_proto_goTypes = []interface{}{ + (*ClientEventAttribute)(nil), // 0: dolt.services.eventsapi.v1alpha1.ClientEventAttribute + (*ClientEventMetric)(nil), // 1: dolt.services.eventsapi.v1alpha1.ClientEventMetric + (*ClientEvent)(nil), // 2: dolt.services.eventsapi.v1alpha1.ClientEvent + (*LogEventsRequest)(nil), // 3: dolt.services.eventsapi.v1alpha1.LogEventsRequest + (*LogEventsResponse)(nil), // 4: dolt.services.eventsapi.v1alpha1.LogEventsResponse + (AttributeID)(0), // 5: dolt.services.eventsapi.v1alpha1.AttributeID + (*duration.Duration)(nil), // 6: google.protobuf.Duration + (MetricID)(0), // 7: dolt.services.eventsapi.v1alpha1.MetricID + (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp + (ClientEventType)(0), // 9: dolt.services.eventsapi.v1alpha1.ClientEventType + (Platform)(0), // 10: dolt.services.eventsapi.v1alpha1.Platform + (AppID)(0), // 11: dolt.services.eventsapi.v1alpha1.AppID +} +var file_dolt_services_eventsapi_v1alpha1_client_event_proto_depIdxs = []int32{ + 5, // 0: dolt.services.eventsapi.v1alpha1.ClientEventAttribute.id:type_name -> dolt.services.eventsapi.v1alpha1.AttributeID + 6, // 1: dolt.services.eventsapi.v1alpha1.ClientEventMetric.duration:type_name -> google.protobuf.Duration + 7, // 2: dolt.services.eventsapi.v1alpha1.ClientEventMetric.metric_id:type_name -> dolt.services.eventsapi.v1alpha1.MetricID + 8, // 3: dolt.services.eventsapi.v1alpha1.ClientEvent.start_time:type_name -> google.protobuf.Timestamp + 8, // 4: dolt.services.eventsapi.v1alpha1.ClientEvent.end_time:type_name -> google.protobuf.Timestamp + 9, // 5: dolt.services.eventsapi.v1alpha1.ClientEvent.type:type_name -> dolt.services.eventsapi.v1alpha1.ClientEventType + 0, // 6: dolt.services.eventsapi.v1alpha1.ClientEvent.attributes:type_name -> dolt.services.eventsapi.v1alpha1.ClientEventAttribute + 1, // 7: dolt.services.eventsapi.v1alpha1.ClientEvent.metrics:type_name -> dolt.services.eventsapi.v1alpha1.ClientEventMetric + 10, // 8: dolt.services.eventsapi.v1alpha1.LogEventsRequest.platform:type_name -> dolt.services.eventsapi.v1alpha1.Platform + 2, // 9: dolt.services.eventsapi.v1alpha1.LogEventsRequest.events:type_name -> dolt.services.eventsapi.v1alpha1.ClientEvent + 11, // 10: dolt.services.eventsapi.v1alpha1.LogEventsRequest.app:type_name -> dolt.services.eventsapi.v1alpha1.AppID + 3, // 11: dolt.services.eventsapi.v1alpha1.ClientEventsService.LogEvents:input_type -> dolt.services.eventsapi.v1alpha1.LogEventsRequest + 4, // 12: dolt.services.eventsapi.v1alpha1.ClientEventsService.LogEvents:output_type -> dolt.services.eventsapi.v1alpha1.LogEventsResponse + 12, // [12:13] is the sub-list for method output_type + 11, // [11:12] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name } -var fileDescriptor_2059ca7f76f8dca6 = []byte{ - // 593 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xd3, 0x30, - 0x14, 0x5e, 0xdb, 0xb5, 0x6b, 0x4f, 0xd1, 0xc4, 0xbc, 0x09, 0x85, 0x4a, 0x40, 0xd5, 0x1b, 0x26, - 0xa4, 0x25, 0x5a, 0x2a, 0x86, 0x26, 0xc4, 0x05, 0xa3, 0x83, 0x55, 0x62, 0x12, 0x32, 0x03, 0x24, - 0x6e, 0x2a, 0x37, 0xf1, 0x52, 0x8b, 0xc4, 0xf6, 0x62, 0xa7, 0x62, 0xcf, 0xc0, 0xa3, 0xf0, 0x0c, - 0x3c, 0x1a, 0x12, 0x8a, 0x9d, 0x44, 0xd1, 0xb8, 0xc8, 0x7a, 0x79, 0x7e, 0xbe, 0xef, 0x7c, 0xe7, - 0xc7, 0x86, 0x69, 0x28, 0x62, 0xed, 0x29, 0x9a, 0xae, 0x59, 0x40, 0x95, 0x47, 0xd7, 0x94, 0x6b, - 0x45, 0x24, 0xf3, 0xd6, 0xc7, 0x24, 0x96, 0x2b, 0x72, 0xec, 0x05, 0x31, 0xa3, 0x5c, 0x2f, 0x4c, - 0xc4, 0x95, 0xa9, 0xd0, 0x02, 0x8d, 0x73, 0x90, 0x5b, 0x82, 0xdc, 0x0a, 0xe4, 0x96, 0xa0, 0xd1, - 0x49, 0x23, 0xad, 0x71, 0x2d, 0x02, 0xc1, 0x95, 0x26, 0x5c, 0x2b, 0xcb, 0x3c, 0x7a, 0x1a, 0x09, - 0x11, 0xc5, 0xd4, 0x33, 0xd6, 0x32, 0xbb, 0xf6, 0xc2, 0x2c, 0x25, 0x9a, 0x09, 0x5e, 0xc4, 0x9f, - 0xdd, 0x8d, 0x6b, 0x96, 0x50, 0xa5, 0x49, 0x22, 0x6d, 0xc2, 0xe4, 0x07, 0x1c, 0xbc, 0x33, 0x82, - 0xcf, 0x73, 0xfe, 0xb7, 0x5a, 0xa7, 0x6c, 0x99, 0x69, 0x8a, 0xde, 0x40, 0x9b, 0x85, 0x4e, 0x6b, - 0xdc, 0x3a, 0xdc, 0xf5, 0x8f, 0xdc, 0x26, 0xfd, 0x6e, 0x05, 0x9c, 0xcf, 0x70, 0x9b, 0x85, 0xe8, - 0x00, 0xba, 0x6b, 0x12, 0x67, 0xd4, 0x69, 0x8f, 0x5b, 0x87, 0x03, 0x6c, 0x8d, 0xc9, 0x9f, 0x16, - 0xec, 0xd5, 0xaa, 0x5d, 0x52, 0x9d, 0xb2, 0x00, 0xbd, 0x82, 0x7e, 0xa9, 0xda, 0x14, 0x1c, 0xfa, - 0x8f, 0x5d, 0x2b, 0xdb, 0x2d, 0x65, 0xbb, 0xb3, 0x22, 0xe1, 0x62, 0x0b, 0x57, 0xc9, 0xe8, 0x11, - 0x74, 0x03, 0x91, 0x71, 0x6d, 0x8a, 0x74, 0x2f, 0xb6, 0xb0, 0x35, 0xd1, 0x07, 0x18, 0x24, 0x86, - 0x7a, 0xc1, 0x42, 0x27, 0x34, 0x2d, 0xbc, 0x68, 0x6e, 0xc1, 0xaa, 0x99, 0xcf, 0x70, 0xdf, 0x82, - 0xe7, 0xe1, 0xd9, 0x2e, 0x3c, 0x28, 0x88, 0x04, 0xa7, 0xe2, 0x7a, 0xf2, 0xb7, 0x0d, 0xc3, 0x9a, - 0x7e, 0xb4, 0x5b, 0x0d, 0x69, 0x60, 0xba, 0x3e, 0x05, 0x50, 0x9a, 0xa4, 0x7a, 0x91, 0x4f, 0xd9, - 0xa8, 0x1a, 0xfa, 0xa3, 0xff, 0x7a, 0xb9, 0x2a, 0x57, 0x80, 0x07, 0x26, 0x3b, 0xb7, 0xd1, 0x4b, - 0xe8, 0x53, 0x1e, 0x5a, 0x60, 0xa7, 0x11, 0xb8, 0x43, 0x79, 0x68, 0x60, 0xe7, 0xb0, 0xad, 0x6f, - 0x25, 0x75, 0xb6, 0x4d, 0x97, 0xc7, 0xcd, 0x5d, 0xd6, 0xe4, 0x5f, 0xdd, 0x4a, 0x8a, 0x0d, 0x1c, - 0x7d, 0x05, 0x20, 0xe5, 0x06, 0x95, 0xd3, 0x1d, 0x77, 0x0e, 0x87, 0xfe, 0xc9, 0x46, 0x64, 0xd5, - 0x01, 0xe0, 0x1a, 0x13, 0xba, 0x84, 0x1d, 0x3b, 0x40, 0xe5, 0xf4, 0x0c, 0xe9, 0x74, 0x23, 0x52, - 0xbb, 0x12, 0x5c, 0x72, 0x4c, 0x7e, 0xb7, 0xe1, 0xe1, 0x47, 0x11, 0x99, 0x98, 0xc2, 0xf4, 0x26, - 0xa3, 0x4a, 0xa3, 0x27, 0x00, 0x09, 0x09, 0x56, 0x8c, 0xd3, 0x45, 0xb5, 0x8c, 0x41, 0xe1, 0x99, - 0x9b, 0x4b, 0xa4, 0x3f, 0x75, 0x4a, 0xca, 0x4b, 0x34, 0x06, 0x72, 0x60, 0x67, 0x4d, 0x53, 0x95, - 0x9f, 0x5c, 0xc7, 0xf8, 0x4b, 0x13, 0xbd, 0x87, 0xbe, 0x8c, 0x89, 0xbe, 0x16, 0x69, 0x52, 0x4c, - 0xf5, 0x1e, 0xb7, 0xf3, 0xa9, 0x40, 0xe0, 0x0a, 0x8b, 0xce, 0xa1, 0x67, 0x13, 0x8b, 0x71, 0x1e, - 0x6d, 0xd4, 0x39, 0x2e, 0xc0, 0xe8, 0x14, 0x3a, 0x44, 0x4a, 0xa7, 0x67, 0x94, 0x3c, 0xbf, 0xc7, - 0x43, 0x94, 0x72, 0x3e, 0xc3, 0x39, 0x66, 0xb2, 0x0f, 0x7b, 0xb5, 0x61, 0x29, 0x29, 0xb8, 0xa2, - 0xfe, 0xaf, 0x16, 0xec, 0xd7, 0xea, 0xa8, 0xcf, 0x96, 0x0b, 0x69, 0x18, 0x54, 0xc9, 0xc8, 0x6f, - 0xae, 0x73, 0x77, 0x0d, 0xa3, 0xe9, 0x46, 0x18, 0xab, 0xe6, 0xec, 0xdb, 0xf7, 0x2f, 0x11, 0xd3, - 0xab, 0x6c, 0xe9, 0x06, 0x22, 0xf1, 0x62, 0x76, 0x93, 0xb1, 0x90, 0x68, 0x72, 0xc4, 0x78, 0xe0, - 0x99, 0x1f, 0x31, 0x12, 0x5e, 0x44, 0xb9, 0xfd, 0xbe, 0xbc, 0xa6, 0x3f, 0xf2, 0x75, 0xe5, 0x5a, - 0xf6, 0x0c, 0x62, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xec, 0xa0, 0x98, 0x9a, 0xaf, 0x05, 0x00, - 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// ClientEventsServiceClient is the client API for ClientEventsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ClientEventsServiceClient interface { - LogEvents(ctx context.Context, in *LogEventsRequest, opts ...grpc.CallOption) (*LogEventsResponse, error) -} - -type clientEventsServiceClient struct { - cc *grpc.ClientConn -} - -func NewClientEventsServiceClient(cc *grpc.ClientConn) ClientEventsServiceClient { - return &clientEventsServiceClient{cc} -} - -func (c *clientEventsServiceClient) LogEvents(ctx context.Context, in *LogEventsRequest, opts ...grpc.CallOption) (*LogEventsResponse, error) { - out := new(LogEventsResponse) - err := c.cc.Invoke(ctx, "/dolt.services.eventsapi.v1alpha1.ClientEventsService/LogEvents", in, out, opts...) - if err != nil { - return nil, err +func init() { file_dolt_services_eventsapi_v1alpha1_client_event_proto_init() } +func file_dolt_services_eventsapi_v1alpha1_client_event_proto_init() { + if File_dolt_services_eventsapi_v1alpha1_client_event_proto != nil { + return } - return out, nil -} - -// ClientEventsServiceServer is the server API for ClientEventsService service. -type ClientEventsServiceServer interface { - LogEvents(context.Context, *LogEventsRequest) (*LogEventsResponse, error) -} - -// UnimplementedClientEventsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedClientEventsServiceServer struct { -} - -func (*UnimplementedClientEventsServiceServer) LogEvents(ctx context.Context, req *LogEventsRequest) (*LogEventsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LogEvents not implemented") -} - -func RegisterClientEventsServiceServer(s *grpc.Server, srv ClientEventsServiceServer) { - s.RegisterService(&_ClientEventsService_serviceDesc, srv) -} - -func _ClientEventsService_LogEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LogEventsRequest) - if err := dec(in); err != nil { - return nil, err + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_init() + if !protoimpl.UnsafeEnabled { + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientEventAttribute); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientEventMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - if interceptor == nil { - return srv.(ClientEventsServiceServer).LogEvents(ctx, in) + file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ClientEventMetric_Duration)(nil), + (*ClientEventMetric_Count)(nil), } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.eventsapi.v1alpha1.ClientEventsService/LogEvents", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClientEventsServiceServer).LogEvents(ctx, req.(*LogEventsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ClientEventsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dolt.services.eventsapi.v1alpha1.ClientEventsService", - HandlerType: (*ClientEventsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "LogEvents", - Handler: _ClientEventsService_LogEvents_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dolt/services/eventsapi/v1alpha1/client_event.proto", + GoTypes: file_dolt_services_eventsapi_v1alpha1_client_event_proto_goTypes, + DependencyIndexes: file_dolt_services_eventsapi_v1alpha1_client_event_proto_depIdxs, + MessageInfos: file_dolt_services_eventsapi_v1alpha1_client_event_proto_msgTypes, + }.Build() + File_dolt_services_eventsapi_v1alpha1_client_event_proto = out.File + file_dolt_services_eventsapi_v1alpha1_client_event_proto_rawDesc = nil + file_dolt_services_eventsapi_v1alpha1_client_event_proto_goTypes = nil + file_dolt_services_eventsapi_v1alpha1_client_event_proto_depIdxs = nil } diff --git a/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event_grpc.pb.go b/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event_grpc.pb.go new file mode 100644 index 0000000000..491fcacc21 --- /dev/null +++ b/go/gen/proto/dolt/services/eventsapi/v1alpha1/client_event_grpc.pb.go @@ -0,0 +1,90 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package eventsapi + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// ClientEventsServiceClient is the client API for ClientEventsService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ClientEventsServiceClient interface { + LogEvents(ctx context.Context, in *LogEventsRequest, opts ...grpc.CallOption) (*LogEventsResponse, error) +} + +type clientEventsServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewClientEventsServiceClient(cc grpc.ClientConnInterface) ClientEventsServiceClient { + return &clientEventsServiceClient{cc} +} + +func (c *clientEventsServiceClient) LogEvents(ctx context.Context, in *LogEventsRequest, opts ...grpc.CallOption) (*LogEventsResponse, error) { + out := new(LogEventsResponse) + err := c.cc.Invoke(ctx, "/dolt.services.eventsapi.v1alpha1.ClientEventsService/LogEvents", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ClientEventsServiceServer is the server API for ClientEventsService service. +// All implementations must embed UnimplementedClientEventsServiceServer +// for forward compatibility +type ClientEventsServiceServer interface { + LogEvents(context.Context, *LogEventsRequest) (*LogEventsResponse, error) + mustEmbedUnimplementedClientEventsServiceServer() +} + +// UnimplementedClientEventsServiceServer must be embedded to have forward compatible implementations. +type UnimplementedClientEventsServiceServer struct { +} + +func (*UnimplementedClientEventsServiceServer) LogEvents(context.Context, *LogEventsRequest) (*LogEventsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LogEvents not implemented") +} +func (*UnimplementedClientEventsServiceServer) mustEmbedUnimplementedClientEventsServiceServer() {} + +func RegisterClientEventsServiceServer(s *grpc.Server, srv ClientEventsServiceServer) { + s.RegisterService(&_ClientEventsService_serviceDesc, srv) +} + +func _ClientEventsService_LogEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LogEventsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClientEventsServiceServer).LogEvents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.eventsapi.v1alpha1.ClientEventsService/LogEvents", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClientEventsServiceServer).LogEvents(ctx, req.(*LogEventsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ClientEventsService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "dolt.services.eventsapi.v1alpha1.ClientEventsService", + HandlerType: (*ClientEventsServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "LogEvents", + Handler: _ClientEventsService_LogEvents_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "dolt/services/eventsapi/v1alpha1/client_event.proto", +} diff --git a/go/gen/proto/dolt/services/eventsapi/v1alpha1/event_constants.pb.go b/go/gen/proto/dolt/services/eventsapi/v1alpha1/event_constants.pb.go index 3d8ad9a8d2..4ab82280ef 100644 --- a/go/gen/proto/dolt/services/eventsapi/v1alpha1/event_constants.pb.go +++ b/go/gen/proto/dolt/services/eventsapi/v1alpha1/event_constants.pb.go @@ -1,25 +1,45 @@ +// Copyright 2019 Liquidata, Inc. +// +// Licensed 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. + +// WARNING: This file was is automatically generated. DO NOT EDIT BY HAND. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.24.0 +// protoc v3.11.2 // source: dolt/services/eventsapi/v1alpha1/event_constants.proto package eventsapi import ( - fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type Platform int32 @@ -30,26 +50,47 @@ const ( Platform_DARWIN Platform = 3 ) -var Platform_name = map[int32]string{ - 0: "PLATFORM_UNSPECIFIED", - 1: "LINUX", - 2: "WINDOWS", - 3: "DARWIN", -} +// Enum value maps for Platform. +var ( + Platform_name = map[int32]string{ + 0: "PLATFORM_UNSPECIFIED", + 1: "LINUX", + 2: "WINDOWS", + 3: "DARWIN", + } + Platform_value = map[string]int32{ + "PLATFORM_UNSPECIFIED": 0, + "LINUX": 1, + "WINDOWS": 2, + "DARWIN": 3, + } +) -var Platform_value = map[string]int32{ - "PLATFORM_UNSPECIFIED": 0, - "LINUX": 1, - "WINDOWS": 2, - "DARWIN": 3, +func (x Platform) Enum() *Platform { + p := new(Platform) + *p = x + return p } func (x Platform) String() string { - return proto.EnumName(Platform_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Platform) Descriptor() protoreflect.EnumDescriptor { + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[0].Descriptor() +} + +func (Platform) Type() protoreflect.EnumType { + return &file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[0] +} + +func (x Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Platform.Descriptor instead. func (Platform) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d970d881fa70959f, []int{0} + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP(), []int{0} } type ClientEventType int32 @@ -107,118 +148,139 @@ const ( ClientEventType_REMOTEAPI_ADD_TABLE_FILES ClientEventType = 49 ) -var ClientEventType_name = map[int32]string{ - 0: "TYPE_UNSPECIFIED", - 1: "INIT", - 2: "STATUS", - 3: "ADD", - 4: "RESET", - 5: "COMMIT", - 6: "SQL", - 7: "SQL_SERVER", - 8: "LOG", - 9: "DIFF", - 10: "MERGE", - 11: "BRANCH", - 12: "CHECKOUT", - 13: "REMOTE", - 14: "PUSH", - 15: "PULL", - 16: "FETCH", - 17: "CLONE", - 18: "LOGIN", - 19: "VERSION", - 20: "CONFIG", - 21: "LS", - 22: "SCHEMA", - 23: "TABLE_IMPORT", - 24: "TABLE_EXPORT", - 25: "TABLE_CREATE", - 26: "TABLE_RM", - 27: "TABLE_MV", - 28: "TABLE_CP", - 29: "TABLE_SELECT", - 30: "TABLE_PUT_ROW", - 31: "TABLE_RM_ROW", - 32: "CREDS_NEW", - 33: "CREDS_RM", - 34: "CREDS_LS", - 35: "CONF_CAT", - 36: "CONF_RESOLVE", - 37: "REMOTEAPI_GET_REPO_METADATA", - 38: "REMOTEAPI_HAS_CHUNKS", - 39: "REMOTEAPI_GET_DOWNLOAD_LOCATIONS", - 40: "REMOTEAPI_GET_UPLOAD_LOCATIONS", - 41: "REMOTEAPI_REBASE", - 42: "REMOTEAPI_ROOT", - 43: "REMOTEAPI_COMMIT", - 44: "REMOTEAPI_LIST_TABLE_FILES", - 45: "BLAME", - 46: "CREDS_CHECK", - 47: "CREDS_USE", - 48: "CREDS_IMPORT", - 49: "REMOTEAPI_ADD_TABLE_FILES", -} +// Enum value maps for ClientEventType. +var ( + ClientEventType_name = map[int32]string{ + 0: "TYPE_UNSPECIFIED", + 1: "INIT", + 2: "STATUS", + 3: "ADD", + 4: "RESET", + 5: "COMMIT", + 6: "SQL", + 7: "SQL_SERVER", + 8: "LOG", + 9: "DIFF", + 10: "MERGE", + 11: "BRANCH", + 12: "CHECKOUT", + 13: "REMOTE", + 14: "PUSH", + 15: "PULL", + 16: "FETCH", + 17: "CLONE", + 18: "LOGIN", + 19: "VERSION", + 20: "CONFIG", + 21: "LS", + 22: "SCHEMA", + 23: "TABLE_IMPORT", + 24: "TABLE_EXPORT", + 25: "TABLE_CREATE", + 26: "TABLE_RM", + 27: "TABLE_MV", + 28: "TABLE_CP", + 29: "TABLE_SELECT", + 30: "TABLE_PUT_ROW", + 31: "TABLE_RM_ROW", + 32: "CREDS_NEW", + 33: "CREDS_RM", + 34: "CREDS_LS", + 35: "CONF_CAT", + 36: "CONF_RESOLVE", + 37: "REMOTEAPI_GET_REPO_METADATA", + 38: "REMOTEAPI_HAS_CHUNKS", + 39: "REMOTEAPI_GET_DOWNLOAD_LOCATIONS", + 40: "REMOTEAPI_GET_UPLOAD_LOCATIONS", + 41: "REMOTEAPI_REBASE", + 42: "REMOTEAPI_ROOT", + 43: "REMOTEAPI_COMMIT", + 44: "REMOTEAPI_LIST_TABLE_FILES", + 45: "BLAME", + 46: "CREDS_CHECK", + 47: "CREDS_USE", + 48: "CREDS_IMPORT", + 49: "REMOTEAPI_ADD_TABLE_FILES", + } + ClientEventType_value = map[string]int32{ + "TYPE_UNSPECIFIED": 0, + "INIT": 1, + "STATUS": 2, + "ADD": 3, + "RESET": 4, + "COMMIT": 5, + "SQL": 6, + "SQL_SERVER": 7, + "LOG": 8, + "DIFF": 9, + "MERGE": 10, + "BRANCH": 11, + "CHECKOUT": 12, + "REMOTE": 13, + "PUSH": 14, + "PULL": 15, + "FETCH": 16, + "CLONE": 17, + "LOGIN": 18, + "VERSION": 19, + "CONFIG": 20, + "LS": 21, + "SCHEMA": 22, + "TABLE_IMPORT": 23, + "TABLE_EXPORT": 24, + "TABLE_CREATE": 25, + "TABLE_RM": 26, + "TABLE_MV": 27, + "TABLE_CP": 28, + "TABLE_SELECT": 29, + "TABLE_PUT_ROW": 30, + "TABLE_RM_ROW": 31, + "CREDS_NEW": 32, + "CREDS_RM": 33, + "CREDS_LS": 34, + "CONF_CAT": 35, + "CONF_RESOLVE": 36, + "REMOTEAPI_GET_REPO_METADATA": 37, + "REMOTEAPI_HAS_CHUNKS": 38, + "REMOTEAPI_GET_DOWNLOAD_LOCATIONS": 39, + "REMOTEAPI_GET_UPLOAD_LOCATIONS": 40, + "REMOTEAPI_REBASE": 41, + "REMOTEAPI_ROOT": 42, + "REMOTEAPI_COMMIT": 43, + "REMOTEAPI_LIST_TABLE_FILES": 44, + "BLAME": 45, + "CREDS_CHECK": 46, + "CREDS_USE": 47, + "CREDS_IMPORT": 48, + "REMOTEAPI_ADD_TABLE_FILES": 49, + } +) -var ClientEventType_value = map[string]int32{ - "TYPE_UNSPECIFIED": 0, - "INIT": 1, - "STATUS": 2, - "ADD": 3, - "RESET": 4, - "COMMIT": 5, - "SQL": 6, - "SQL_SERVER": 7, - "LOG": 8, - "DIFF": 9, - "MERGE": 10, - "BRANCH": 11, - "CHECKOUT": 12, - "REMOTE": 13, - "PUSH": 14, - "PULL": 15, - "FETCH": 16, - "CLONE": 17, - "LOGIN": 18, - "VERSION": 19, - "CONFIG": 20, - "LS": 21, - "SCHEMA": 22, - "TABLE_IMPORT": 23, - "TABLE_EXPORT": 24, - "TABLE_CREATE": 25, - "TABLE_RM": 26, - "TABLE_MV": 27, - "TABLE_CP": 28, - "TABLE_SELECT": 29, - "TABLE_PUT_ROW": 30, - "TABLE_RM_ROW": 31, - "CREDS_NEW": 32, - "CREDS_RM": 33, - "CREDS_LS": 34, - "CONF_CAT": 35, - "CONF_RESOLVE": 36, - "REMOTEAPI_GET_REPO_METADATA": 37, - "REMOTEAPI_HAS_CHUNKS": 38, - "REMOTEAPI_GET_DOWNLOAD_LOCATIONS": 39, - "REMOTEAPI_GET_UPLOAD_LOCATIONS": 40, - "REMOTEAPI_REBASE": 41, - "REMOTEAPI_ROOT": 42, - "REMOTEAPI_COMMIT": 43, - "REMOTEAPI_LIST_TABLE_FILES": 44, - "BLAME": 45, - "CREDS_CHECK": 46, - "CREDS_USE": 47, - "CREDS_IMPORT": 48, - "REMOTEAPI_ADD_TABLE_FILES": 49, +func (x ClientEventType) Enum() *ClientEventType { + p := new(ClientEventType) + *p = x + return p } func (x ClientEventType) String() string { - return proto.EnumName(ClientEventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ClientEventType) Descriptor() protoreflect.EnumDescriptor { + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[1].Descriptor() +} + +func (ClientEventType) Type() protoreflect.EnumType { + return &file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[1] +} + +func (x ClientEventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientEventType.Descriptor instead. func (ClientEventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d970d881fa70959f, []int{1} + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP(), []int{1} } type MetricID int32 @@ -230,26 +292,47 @@ const ( MetricID_REMOTEAPI_RPC_ERROR MetricID = 3 ) -var MetricID_name = map[int32]string{ - 0: "METRIC_UNSPECIFIED", - 1: "BYTES_DOWNLOADED", - 2: "DOWNLOAD_MS_ELAPSED", - 3: "REMOTEAPI_RPC_ERROR", -} +// Enum value maps for MetricID. +var ( + MetricID_name = map[int32]string{ + 0: "METRIC_UNSPECIFIED", + 1: "BYTES_DOWNLOADED", + 2: "DOWNLOAD_MS_ELAPSED", + 3: "REMOTEAPI_RPC_ERROR", + } + MetricID_value = map[string]int32{ + "METRIC_UNSPECIFIED": 0, + "BYTES_DOWNLOADED": 1, + "DOWNLOAD_MS_ELAPSED": 2, + "REMOTEAPI_RPC_ERROR": 3, + } +) -var MetricID_value = map[string]int32{ - "METRIC_UNSPECIFIED": 0, - "BYTES_DOWNLOADED": 1, - "DOWNLOAD_MS_ELAPSED": 2, - "REMOTEAPI_RPC_ERROR": 3, +func (x MetricID) Enum() *MetricID { + p := new(MetricID) + *p = x + return p } func (x MetricID) String() string { - return proto.EnumName(MetricID_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (MetricID) Descriptor() protoreflect.EnumDescriptor { + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[2].Descriptor() +} + +func (MetricID) Type() protoreflect.EnumType { + return &file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[2] +} + +func (x MetricID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MetricID.Descriptor instead. func (MetricID) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d970d881fa70959f, []int{2} + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP(), []int{2} } type AttributeID int32 @@ -259,22 +342,43 @@ const ( AttributeID_REMOTE_URL_SCHEME AttributeID = 2 ) -var AttributeID_name = map[int32]string{ - 0: "ATTRIBUTE_UNSPECIFIED", - 2: "REMOTE_URL_SCHEME", -} +// Enum value maps for AttributeID. +var ( + AttributeID_name = map[int32]string{ + 0: "ATTRIBUTE_UNSPECIFIED", + 2: "REMOTE_URL_SCHEME", + } + AttributeID_value = map[string]int32{ + "ATTRIBUTE_UNSPECIFIED": 0, + "REMOTE_URL_SCHEME": 2, + } +) -var AttributeID_value = map[string]int32{ - "ATTRIBUTE_UNSPECIFIED": 0, - "REMOTE_URL_SCHEME": 2, +func (x AttributeID) Enum() *AttributeID { + p := new(AttributeID) + *p = x + return p } func (x AttributeID) String() string { - return proto.EnumName(AttributeID_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AttributeID) Descriptor() protoreflect.EnumDescriptor { + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[3].Descriptor() +} + +func (AttributeID) Type() protoreflect.EnumType { + return &file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[3] +} + +func (x AttributeID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AttributeID.Descriptor instead. func (AttributeID) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d970d881fa70959f, []int{3} + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP(), []int{3} } type AppID int32 @@ -284,85 +388,182 @@ const ( AppID_APP_DOLT AppID = 1 ) -var AppID_name = map[int32]string{ - 0: "APP_ID_UNSPECIFIED", - 1: "APP_DOLT", -} +// Enum value maps for AppID. +var ( + AppID_name = map[int32]string{ + 0: "APP_ID_UNSPECIFIED", + 1: "APP_DOLT", + } + AppID_value = map[string]int32{ + "APP_ID_UNSPECIFIED": 0, + "APP_DOLT": 1, + } +) -var AppID_value = map[string]int32{ - "APP_ID_UNSPECIFIED": 0, - "APP_DOLT": 1, +func (x AppID) Enum() *AppID { + p := new(AppID) + *p = x + return p } func (x AppID) String() string { - return proto.EnumName(AppID_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AppID) Descriptor() protoreflect.EnumDescriptor { + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[4].Descriptor() +} + +func (AppID) Type() protoreflect.EnumType { + return &file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes[4] +} + +func (x AppID) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AppID.Descriptor instead. func (AppID) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d970d881fa70959f, []int{4} + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP(), []int{4} } -func init() { - proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.Platform", Platform_name, Platform_value) - proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.ClientEventType", ClientEventType_name, ClientEventType_value) - proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.MetricID", MetricID_name, MetricID_value) - proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.AttributeID", AttributeID_name, AttributeID_value) - proto.RegisterEnum("dolt.services.eventsapi.v1alpha1.AppID", AppID_name, AppID_value) +var File_dolt_services_eventsapi_v1alpha1_event_constants_proto protoreflect.FileDescriptor + +var file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDesc = []byte{ + 0x0a, 0x36, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2a, 0x48, 0x0a, 0x08, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, + 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, + 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x41, 0x52, 0x57, + 0x49, 0x4e, 0x10, 0x03, 0x2a, 0xbf, 0x06, 0x0a, 0x0f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x03, 0x12, 0x09, 0x0a, + 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, + 0x49, 0x54, 0x10, 0x05, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x51, 0x4c, 0x10, 0x06, 0x12, 0x0e, 0x0a, + 0x0a, 0x53, 0x51, 0x4c, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x07, 0x12, 0x07, 0x0a, + 0x03, 0x4c, 0x4f, 0x47, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x46, 0x46, 0x10, 0x09, + 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, + 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x48, 0x45, 0x43, 0x4b, + 0x4f, 0x55, 0x54, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x10, + 0x0d, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x55, 0x53, 0x48, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x50, + 0x55, 0x4c, 0x4c, 0x10, 0x0f, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x10, + 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x11, 0x12, 0x09, 0x0a, 0x05, 0x4c, + 0x4f, 0x47, 0x49, 0x4e, 0x10, 0x12, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, + 0x4e, 0x10, 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x14, 0x12, + 0x06, 0x0a, 0x02, 0x4c, 0x53, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x43, 0x48, 0x45, 0x4d, + 0x41, 0x10, 0x16, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x49, 0x4d, 0x50, + 0x4f, 0x52, 0x54, 0x10, 0x17, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x45, + 0x58, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x18, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x42, 0x4c, 0x45, + 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x41, 0x42, + 0x4c, 0x45, 0x5f, 0x52, 0x4d, 0x10, 0x1a, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x41, 0x42, 0x4c, 0x45, + 0x5f, 0x4d, 0x56, 0x10, 0x1b, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x43, + 0x50, 0x10, 0x1c, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x45, 0x4c, + 0x45, 0x43, 0x54, 0x10, 0x1d, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, + 0x55, 0x54, 0x5f, 0x52, 0x4f, 0x57, 0x10, 0x1e, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x41, 0x42, 0x4c, + 0x45, 0x5f, 0x52, 0x4d, 0x5f, 0x52, 0x4f, 0x57, 0x10, 0x1f, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, + 0x45, 0x44, 0x53, 0x5f, 0x4e, 0x45, 0x57, 0x10, 0x20, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, + 0x44, 0x53, 0x5f, 0x52, 0x4d, 0x10, 0x21, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x44, 0x53, + 0x5f, 0x4c, 0x53, 0x10, 0x22, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x5f, 0x43, 0x41, + 0x54, 0x10, 0x23, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x46, 0x5f, 0x52, 0x45, 0x53, 0x4f, + 0x4c, 0x56, 0x45, 0x10, 0x24, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x41, + 0x50, 0x49, 0x5f, 0x47, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x5f, 0x4d, 0x45, 0x54, 0x41, + 0x44, 0x41, 0x54, 0x41, 0x10, 0x25, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, + 0x41, 0x50, 0x49, 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x43, 0x48, 0x55, 0x4e, 0x4b, 0x53, 0x10, 0x26, + 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x41, 0x50, 0x49, 0x5f, 0x47, 0x45, + 0x54, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x27, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, + 0x41, 0x50, 0x49, 0x5f, 0x47, 0x45, 0x54, 0x5f, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x4c, + 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x28, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, + 0x4d, 0x4f, 0x54, 0x45, 0x41, 0x50, 0x49, 0x5f, 0x52, 0x45, 0x42, 0x41, 0x53, 0x45, 0x10, 0x29, + 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x41, 0x50, 0x49, 0x5f, 0x52, 0x4f, + 0x4f, 0x54, 0x10, 0x2a, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x41, 0x50, + 0x49, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x2b, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, + 0x4d, 0x4f, 0x54, 0x45, 0x41, 0x50, 0x49, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x41, 0x42, + 0x4c, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x53, 0x10, 0x2c, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, + 0x41, 0x4d, 0x45, 0x10, 0x2d, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x44, 0x53, 0x5f, 0x43, + 0x48, 0x45, 0x43, 0x4b, 0x10, 0x2e, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x52, 0x45, 0x44, 0x53, 0x5f, + 0x55, 0x53, 0x45, 0x10, 0x2f, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52, 0x45, 0x44, 0x53, 0x5f, 0x49, + 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x30, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x4d, 0x4f, 0x54, + 0x45, 0x41, 0x50, 0x49, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, + 0x49, 0x4c, 0x45, 0x53, 0x10, 0x31, 0x2a, 0x6a, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x49, 0x44, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x59, + 0x54, 0x45, 0x53, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x4d, 0x53, 0x5f, + 0x45, 0x4c, 0x41, 0x50, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x4d, + 0x4f, 0x54, 0x45, 0x41, 0x50, 0x49, 0x5f, 0x52, 0x50, 0x43, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x03, 0x2a, 0x45, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, + 0x44, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, + 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x55, 0x52, 0x4c, 0x5f, 0x53, 0x43, 0x48, 0x45, 0x4d, + 0x45, 0x10, 0x02, 0x22, 0x04, 0x08, 0x01, 0x10, 0x01, 0x2a, 0x2d, 0x0a, 0x05, 0x41, 0x70, 0x70, + 0x49, 0x44, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x50, 0x50, 0x5f, 0x49, 0x44, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, + 0x50, 0x5f, 0x44, 0x4f, 0x4c, 0x54, 0x10, 0x01, 0x42, 0x57, 0x5a, 0x55, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x61, + 0x2d, 0x69, 0x6e, 0x63, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x61, 0x70, + 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("dolt/services/eventsapi/v1alpha1/event_constants.proto", fileDescriptor_d970d881fa70959f) +var ( + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescOnce sync.Once + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescData = file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDesc +) + +func file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescGZIP() []byte { + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescOnce.Do(func() { + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescData = protoimpl.X.CompressGZIP(file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescData) + }) + return file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDescData } -var fileDescriptor_d970d881fa70959f = []byte{ - // 784 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4b, 0x73, 0xdb, 0x36, - 0x17, 0xfd, 0xe4, 0x87, 0x2c, 0xc3, 0xaf, 0x6b, 0xc4, 0x4e, 0xe2, 0xe4, 0x8b, 0xe3, 0xba, 0xe9, - 0x4b, 0xad, 0xa5, 0x7a, 0x3a, 0xd3, 0x4d, 0x57, 0x10, 0x70, 0x25, 0x61, 0x02, 0x12, 0x0c, 0x00, - 0x5a, 0x49, 0x37, 0x18, 0x59, 0x51, 0x1d, 0x76, 0x14, 0x49, 0x95, 0x68, 0xcf, 0xf4, 0xd7, 0xf5, - 0xaf, 0x75, 0x40, 0x26, 0x66, 0xac, 0x4d, 0x77, 0x3c, 0xe7, 0xde, 0x73, 0x08, 0x1c, 0x5c, 0x80, - 0xfc, 0xfa, 0x7e, 0x36, 0xc9, 0xdb, 0xcb, 0xf1, 0xe2, 0x2e, 0x1b, 0x8d, 0x97, 0xed, 0xf1, 0xdd, - 0x78, 0x9a, 0x2f, 0x87, 0xf3, 0xac, 0x7d, 0x77, 0x39, 0x9c, 0xcc, 0x3f, 0x0c, 0x2f, 0x4b, 0xca, - 0x8f, 0x66, 0xd3, 0x65, 0x3e, 0x9c, 0xe6, 0xcb, 0xd6, 0x7c, 0x31, 0xcb, 0x67, 0xf4, 0x2c, 0xe8, - 0x5a, 0x9f, 0x75, 0xad, 0x7b, 0x5d, 0xeb, 0xb3, 0xae, 0xd9, 0x27, 0x8d, 0x64, 0x32, 0xcc, 0xff, - 0x98, 0x2d, 0x3e, 0xd2, 0xa7, 0xe4, 0x28, 0x51, 0xcc, 0x75, 0xb5, 0x89, 0x7c, 0x1a, 0xdb, 0x04, - 0xb9, 0xec, 0x4a, 0x14, 0xf0, 0x3f, 0xba, 0x4d, 0x36, 0x95, 0x8c, 0xd3, 0xb7, 0x50, 0xa3, 0x3b, - 0x64, 0x6b, 0x20, 0x63, 0xa1, 0x07, 0x16, 0xd6, 0x28, 0x21, 0x75, 0xc1, 0xcc, 0x40, 0xc6, 0xb0, - 0xde, 0xfc, 0xa7, 0x4e, 0x0e, 0xf8, 0x24, 0x1b, 0x4f, 0x73, 0x0c, 0xbf, 0x71, 0x7f, 0xcf, 0xc7, - 0xf4, 0x88, 0x80, 0x7b, 0x97, 0xe0, 0x8a, 0x5b, 0x83, 0x6c, 0xc8, 0x58, 0x3a, 0xa8, 0x05, 0xbd, - 0x75, 0xcc, 0xa5, 0xc1, 0x6b, 0x8b, 0xac, 0x33, 0x21, 0x60, 0x3d, 0xfc, 0xcc, 0xa0, 0x45, 0x07, - 0x1b, 0xa1, 0xce, 0x75, 0x14, 0x49, 0x07, 0x9b, 0xa1, 0x6e, 0xdf, 0x28, 0xa8, 0xd3, 0x7d, 0x42, - 0xec, 0x1b, 0xe5, 0x2d, 0x9a, 0x2b, 0x34, 0xb0, 0x15, 0x0a, 0x4a, 0xf7, 0xa0, 0x11, 0x7c, 0x85, - 0xec, 0x76, 0x61, 0x3b, 0x58, 0x44, 0x68, 0x7a, 0x08, 0x24, 0x58, 0x74, 0x0c, 0x8b, 0x79, 0x1f, - 0x76, 0xe8, 0x2e, 0x69, 0xf0, 0x3e, 0xf2, 0xd7, 0x3a, 0x75, 0xb0, 0x1b, 0x2a, 0x06, 0x23, 0xed, - 0x10, 0xf6, 0x82, 0x34, 0x49, 0x6d, 0x1f, 0xf6, 0xcb, 0x2f, 0xa5, 0xe0, 0x20, 0x98, 0x74, 0xd1, - 0xf1, 0x3e, 0x40, 0xf8, 0xe4, 0x4a, 0xc7, 0x08, 0x87, 0x45, 0x14, 0xba, 0x27, 0x63, 0xa0, 0x21, - 0x8a, 0x2b, 0x34, 0x56, 0xea, 0x18, 0x1e, 0x95, 0x4b, 0x8d, 0xbb, 0xb2, 0x07, 0x47, 0xb4, 0x4e, - 0xd6, 0x94, 0x85, 0xe3, 0x62, 0x7b, 0xbc, 0x8f, 0x11, 0x83, 0xc7, 0x14, 0xc8, 0xae, 0x63, 0x1d, - 0x85, 0x5e, 0x46, 0x89, 0x36, 0x0e, 0x9e, 0x54, 0x0c, 0xbe, 0x2d, 0x98, 0xa7, 0x15, 0xc3, 0x0d, - 0x32, 0x87, 0x70, 0x12, 0x56, 0x5c, 0x32, 0x26, 0x82, 0x67, 0x15, 0x8a, 0xae, 0xe0, 0x79, 0x85, - 0x78, 0x02, 0xff, 0xaf, 0xb4, 0x16, 0x15, 0x72, 0x07, 0x2f, 0xe8, 0x21, 0xd9, 0x2b, 0x99, 0x24, - 0x75, 0xde, 0xe8, 0x01, 0x9c, 0x56, 0x4d, 0x26, 0x2a, 0x98, 0x97, 0x74, 0x8f, 0x6c, 0x73, 0x83, - 0xc2, 0xfa, 0x18, 0x07, 0x70, 0x56, 0x24, 0x54, 0x40, 0x13, 0xc1, 0x57, 0x15, 0x52, 0x16, 0xce, - 0x0b, 0xa4, 0xe3, 0xae, 0xe7, 0xcc, 0xc1, 0xd7, 0xc1, 0xaa, 0x40, 0x06, 0xad, 0x56, 0x57, 0x08, - 0xaf, 0xe8, 0x4b, 0xf2, 0xbc, 0xcc, 0x93, 0x25, 0xd2, 0xf7, 0xd0, 0x79, 0x83, 0x89, 0xf6, 0x11, - 0x3a, 0x26, 0x98, 0x63, 0xf0, 0x4d, 0x98, 0xaf, 0xaa, 0xa1, 0xcf, 0xac, 0xe7, 0xfd, 0x34, 0x7e, - 0x6d, 0xe1, 0x5b, 0xfa, 0x8a, 0x9c, 0x3d, 0x94, 0x0a, 0x3d, 0x88, 0x95, 0x66, 0xc2, 0x2b, 0xcd, - 0x99, 0x93, 0x3a, 0xb6, 0xf0, 0x1d, 0x3d, 0x27, 0xa7, 0x0f, 0xbb, 0xd2, 0x64, 0xa5, 0xe7, 0xfb, - 0x30, 0x71, 0x55, 0x8f, 0xc1, 0x0e, 0xb3, 0x08, 0x3f, 0x50, 0x4a, 0xf6, 0xbf, 0x60, 0xb5, 0x76, - 0xd0, 0x7c, 0xd8, 0xf9, 0x69, 0xca, 0x7e, 0xa4, 0xa7, 0xe4, 0x59, 0xc5, 0x2a, 0x69, 0x9d, 0x2f, - 0x03, 0xeb, 0x4a, 0x85, 0x16, 0x7e, 0x0a, 0xc7, 0xdf, 0x51, 0x2c, 0x42, 0xb8, 0xa0, 0x07, 0x64, - 0xa7, 0x4c, 0xa7, 0x98, 0x29, 0x68, 0x55, 0x59, 0xa6, 0x16, 0xa1, 0x5d, 0x24, 0x54, 0xc0, 0x4f, - 0x27, 0xfe, 0x33, 0x7d, 0x41, 0x4e, 0x2a, 0x73, 0x26, 0xc4, 0x03, 0xef, 0xcb, 0xe6, 0x9f, 0xa4, - 0x11, 0x8d, 0xf3, 0x45, 0x36, 0x92, 0x82, 0x3e, 0x26, 0x34, 0x42, 0x67, 0x24, 0x5f, 0xb9, 0x3b, - 0x47, 0x04, 0x3a, 0xef, 0x1c, 0xda, 0xfb, 0x84, 0x50, 0x40, 0x8d, 0x3e, 0x21, 0x8f, 0xee, 0x13, - 0x8b, 0xac, 0x47, 0xc5, 0x12, 0x8b, 0x02, 0xd6, 0x42, 0xe1, 0x8b, 0x8d, 0x27, 0xdc, 0xa3, 0x31, - 0xda, 0xc0, 0x7a, 0x13, 0xc9, 0x0e, 0xcb, 0xf3, 0x45, 0x76, 0x7d, 0x9b, 0x8f, 0xa5, 0xa0, 0x27, - 0xe4, 0x98, 0x39, 0x67, 0x64, 0x27, 0x75, 0xab, 0xb7, 0xf5, 0x98, 0x1c, 0x96, 0x16, 0x3e, 0x35, - 0xca, 0x17, 0xf3, 0x8c, 0xb0, 0x76, 0xbe, 0xd1, 0xa8, 0x41, 0xad, 0x79, 0x41, 0x36, 0xd9, 0x7c, - 0x5e, 0xae, 0x97, 0x25, 0x89, 0x97, 0x62, 0x45, 0xbd, 0x4b, 0x1a, 0x81, 0x17, 0x5a, 0x39, 0xa8, - 0x75, 0x06, 0xbf, 0xa7, 0x37, 0x59, 0xfe, 0xe1, 0xf6, 0xba, 0x35, 0x9a, 0x7d, 0x6c, 0x4f, 0xb2, - 0xbf, 0x6e, 0xb3, 0xf7, 0xc3, 0x7c, 0x78, 0x91, 0x4d, 0x47, 0xed, 0xe2, 0x89, 0xbb, 0x99, 0xb5, - 0x6f, 0xc6, 0xd3, 0x76, 0xf1, 0x7a, 0xb5, 0xff, 0xeb, 0xd1, 0xfb, 0xed, 0x9e, 0xba, 0xae, 0x17, - 0x8a, 0x5f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x64, 0xd0, 0xc8, 0x2b, 0x29, 0x05, 0x00, 0x00, +var file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_dolt_services_eventsapi_v1alpha1_event_constants_proto_goTypes = []interface{}{ + (Platform)(0), // 0: dolt.services.eventsapi.v1alpha1.Platform + (ClientEventType)(0), // 1: dolt.services.eventsapi.v1alpha1.ClientEventType + (MetricID)(0), // 2: dolt.services.eventsapi.v1alpha1.MetricID + (AttributeID)(0), // 3: dolt.services.eventsapi.v1alpha1.AttributeID + (AppID)(0), // 4: dolt.services.eventsapi.v1alpha1.AppID +} +var file_dolt_services_eventsapi_v1alpha1_event_constants_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_dolt_services_eventsapi_v1alpha1_event_constants_proto_init() } +func file_dolt_services_eventsapi_v1alpha1_event_constants_proto_init() { + if File_dolt_services_eventsapi_v1alpha1_event_constants_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDesc, + NumEnums: 5, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_dolt_services_eventsapi_v1alpha1_event_constants_proto_goTypes, + DependencyIndexes: file_dolt_services_eventsapi_v1alpha1_event_constants_proto_depIdxs, + EnumInfos: file_dolt_services_eventsapi_v1alpha1_event_constants_proto_enumTypes, + }.Build() + File_dolt_services_eventsapi_v1alpha1_event_constants_proto = out.File + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_rawDesc = nil + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_goTypes = nil + file_dolt_services_eventsapi_v1alpha1_event_constants_proto_depIdxs = nil } diff --git a/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore.pb.go b/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore.pb.go index 65e99d2377..97b3bf3d9f 100644 --- a/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore.pb.go +++ b/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore.pb.go @@ -1,346 +1,437 @@ +// Copyright 2019 Liquidata, Inc. +// +// Licensed 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.24.0 +// protoc v3.11.2 // source: dolt/services/remotesapi/v1alpha1/chunkstore.proto package remotesapi import ( - context "context" - fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type RepoId struct { - Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` - RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` + RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` } -func (m *RepoId) Reset() { *m = RepoId{} } -func (m *RepoId) String() string { return proto.CompactTextString(m) } -func (*RepoId) ProtoMessage() {} +func (x *RepoId) Reset() { + *x = RepoId{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepoId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepoId) ProtoMessage() {} + +func (x *RepoId) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_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 RepoId.ProtoReflect.Descriptor instead. func (*RepoId) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{0} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{0} } -func (m *RepoId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepoId.Unmarshal(m, b) -} -func (m *RepoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepoId.Marshal(b, m, deterministic) -} -func (m *RepoId) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoId.Merge(m, src) -} -func (m *RepoId) XXX_Size() int { - return xxx_messageInfo_RepoId.Size(m) -} -func (m *RepoId) XXX_DiscardUnknown() { - xxx_messageInfo_RepoId.DiscardUnknown(m) -} - -var xxx_messageInfo_RepoId proto.InternalMessageInfo - -func (m *RepoId) GetOrg() string { - if m != nil { - return m.Org +func (x *RepoId) GetOrg() string { + if x != nil { + return x.Org } return "" } -func (m *RepoId) GetRepoName() string { - if m != nil { - return m.RepoName +func (x *RepoId) GetRepoName() string { + if x != nil { + return x.RepoName } return "" } type HasChunksRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` } -func (m *HasChunksRequest) Reset() { *m = HasChunksRequest{} } -func (m *HasChunksRequest) String() string { return proto.CompactTextString(m) } -func (*HasChunksRequest) ProtoMessage() {} +func (x *HasChunksRequest) Reset() { + *x = HasChunksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HasChunksRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HasChunksRequest) ProtoMessage() {} + +func (x *HasChunksRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_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 HasChunksRequest.ProtoReflect.Descriptor instead. func (*HasChunksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{1} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{1} } -func (m *HasChunksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasChunksRequest.Unmarshal(m, b) -} -func (m *HasChunksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasChunksRequest.Marshal(b, m, deterministic) -} -func (m *HasChunksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasChunksRequest.Merge(m, src) -} -func (m *HasChunksRequest) XXX_Size() int { - return xxx_messageInfo_HasChunksRequest.Size(m) -} -func (m *HasChunksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HasChunksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_HasChunksRequest proto.InternalMessageInfo - -func (m *HasChunksRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *HasChunksRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } -func (m *HasChunksRequest) GetHashes() [][]byte { - if m != nil { - return m.Hashes +func (x *HasChunksRequest) GetHashes() [][]byte { + if x != nil { + return x.Hashes } return nil } type HasChunksResponse struct { - Absent []int32 `protobuf:"varint,1,rep,packed,name=absent,proto3" json:"absent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Absent []int32 `protobuf:"varint,1,rep,packed,name=absent,proto3" json:"absent,omitempty"` } -func (m *HasChunksResponse) Reset() { *m = HasChunksResponse{} } -func (m *HasChunksResponse) String() string { return proto.CompactTextString(m) } -func (*HasChunksResponse) ProtoMessage() {} +func (x *HasChunksResponse) Reset() { + *x = HasChunksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HasChunksResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HasChunksResponse) ProtoMessage() {} + +func (x *HasChunksResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_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 HasChunksResponse.ProtoReflect.Descriptor instead. func (*HasChunksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{2} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{2} } -func (m *HasChunksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasChunksResponse.Unmarshal(m, b) -} -func (m *HasChunksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasChunksResponse.Marshal(b, m, deterministic) -} -func (m *HasChunksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasChunksResponse.Merge(m, src) -} -func (m *HasChunksResponse) XXX_Size() int { - return xxx_messageInfo_HasChunksResponse.Size(m) -} -func (m *HasChunksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HasChunksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_HasChunksResponse proto.InternalMessageInfo - -func (m *HasChunksResponse) GetAbsent() []int32 { - if m != nil { - return m.Absent +func (x *HasChunksResponse) GetAbsent() []int32 { + if x != nil { + return x.Absent } return nil } type HttpGetChunk struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` } -func (m *HttpGetChunk) Reset() { *m = HttpGetChunk{} } -func (m *HttpGetChunk) String() string { return proto.CompactTextString(m) } -func (*HttpGetChunk) ProtoMessage() {} +func (x *HttpGetChunk) Reset() { + *x = HttpGetChunk{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HttpGetChunk) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HttpGetChunk) ProtoMessage() {} + +func (x *HttpGetChunk) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[3] + 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 HttpGetChunk.ProtoReflect.Descriptor instead. func (*HttpGetChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{3} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{3} } -func (m *HttpGetChunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpGetChunk.Unmarshal(m, b) -} -func (m *HttpGetChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpGetChunk.Marshal(b, m, deterministic) -} -func (m *HttpGetChunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpGetChunk.Merge(m, src) -} -func (m *HttpGetChunk) XXX_Size() int { - return xxx_messageInfo_HttpGetChunk.Size(m) -} -func (m *HttpGetChunk) XXX_DiscardUnknown() { - xxx_messageInfo_HttpGetChunk.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpGetChunk proto.InternalMessageInfo - -func (m *HttpGetChunk) GetUrl() string { - if m != nil { - return m.Url +func (x *HttpGetChunk) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *HttpGetChunk) GetHashes() [][]byte { - if m != nil { - return m.Hashes +func (x *HttpGetChunk) GetHashes() [][]byte { + if x != nil { + return x.Hashes } return nil } type RangeChunk struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` } -func (m *RangeChunk) Reset() { *m = RangeChunk{} } -func (m *RangeChunk) String() string { return proto.CompactTextString(m) } -func (*RangeChunk) ProtoMessage() {} +func (x *RangeChunk) Reset() { + *x = RangeChunk{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RangeChunk) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RangeChunk) ProtoMessage() {} + +func (x *RangeChunk) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[4] + 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 RangeChunk.ProtoReflect.Descriptor instead. func (*RangeChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{4} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{4} } -func (m *RangeChunk) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RangeChunk.Unmarshal(m, b) -} -func (m *RangeChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RangeChunk.Marshal(b, m, deterministic) -} -func (m *RangeChunk) XXX_Merge(src proto.Message) { - xxx_messageInfo_RangeChunk.Merge(m, src) -} -func (m *RangeChunk) XXX_Size() int { - return xxx_messageInfo_RangeChunk.Size(m) -} -func (m *RangeChunk) XXX_DiscardUnknown() { - xxx_messageInfo_RangeChunk.DiscardUnknown(m) -} - -var xxx_messageInfo_RangeChunk proto.InternalMessageInfo - -func (m *RangeChunk) GetHash() []byte { - if m != nil { - return m.Hash +func (x *RangeChunk) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *RangeChunk) GetOffset() uint64 { - if m != nil { - return m.Offset +func (x *RangeChunk) GetOffset() uint64 { + if x != nil { + return x.Offset } return 0 } -func (m *RangeChunk) GetLength() uint32 { - if m != nil { - return m.Length +func (x *RangeChunk) GetLength() uint32 { + if x != nil { + return x.Length } return 0 } type HttpGetRange struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Ranges []*RangeChunk `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Ranges []*RangeChunk `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` } -func (m *HttpGetRange) Reset() { *m = HttpGetRange{} } -func (m *HttpGetRange) String() string { return proto.CompactTextString(m) } -func (*HttpGetRange) ProtoMessage() {} +func (x *HttpGetRange) Reset() { + *x = HttpGetRange{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HttpGetRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HttpGetRange) ProtoMessage() {} + +func (x *HttpGetRange) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[5] + 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 HttpGetRange.ProtoReflect.Descriptor instead. func (*HttpGetRange) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{5} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{5} } -func (m *HttpGetRange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpGetRange.Unmarshal(m, b) -} -func (m *HttpGetRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpGetRange.Marshal(b, m, deterministic) -} -func (m *HttpGetRange) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpGetRange.Merge(m, src) -} -func (m *HttpGetRange) XXX_Size() int { - return xxx_messageInfo_HttpGetRange.Size(m) -} -func (m *HttpGetRange) XXX_DiscardUnknown() { - xxx_messageInfo_HttpGetRange.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpGetRange proto.InternalMessageInfo - -func (m *HttpGetRange) GetUrl() string { - if m != nil { - return m.Url +func (x *HttpGetRange) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *HttpGetRange) GetRanges() []*RangeChunk { - if m != nil { - return m.Ranges +func (x *HttpGetRange) GetRanges() []*RangeChunk { + if x != nil { + return x.Ranges } return nil } type DownloadLoc struct { - // Types that are valid to be assigned to Location: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Location: // *DownloadLoc_HttpGet // *DownloadLoc_HttpGetRange - Location isDownloadLoc_Location `protobuf_oneof:"location"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Location isDownloadLoc_Location `protobuf_oneof:"location"` } -func (m *DownloadLoc) Reset() { *m = DownloadLoc{} } -func (m *DownloadLoc) String() string { return proto.CompactTextString(m) } -func (*DownloadLoc) ProtoMessage() {} +func (x *DownloadLoc) Reset() { + *x = DownloadLoc{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownloadLoc) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownloadLoc) ProtoMessage() {} + +func (x *DownloadLoc) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[6] + 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 DownloadLoc.ProtoReflect.Descriptor instead. func (*DownloadLoc) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{6} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{6} } -func (m *DownloadLoc) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownloadLoc.Unmarshal(m, b) -} -func (m *DownloadLoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownloadLoc.Marshal(b, m, deterministic) -} -func (m *DownloadLoc) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownloadLoc.Merge(m, src) -} -func (m *DownloadLoc) XXX_Size() int { - return xxx_messageInfo_DownloadLoc.Size(m) -} -func (m *DownloadLoc) XXX_DiscardUnknown() { - xxx_messageInfo_DownloadLoc.DiscardUnknown(m) +func (m *DownloadLoc) GetLocation() isDownloadLoc_Location { + if m != nil { + return m.Location + } + return nil } -var xxx_messageInfo_DownloadLoc proto.InternalMessageInfo +func (x *DownloadLoc) GetHttpGet() *HttpGetChunk { + if x, ok := x.GetLocation().(*DownloadLoc_HttpGet); ok { + return x.HttpGet + } + return nil +} + +func (x *DownloadLoc) GetHttpGetRange() *HttpGetRange { + if x, ok := x.GetLocation().(*DownloadLoc_HttpGetRange); ok { + return x.HttpGetRange + } + return nil +} type isDownloadLoc_Location interface { isDownloadLoc_Location() @@ -358,112 +449,113 @@ func (*DownloadLoc_HttpGet) isDownloadLoc_Location() {} func (*DownloadLoc_HttpGetRange) isDownloadLoc_Location() {} -func (m *DownloadLoc) GetLocation() isDownloadLoc_Location { +type HttpPostTableFile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` +} + +func (x *HttpPostTableFile) Reset() { + *x = HttpPostTableFile{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HttpPostTableFile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HttpPostTableFile) ProtoMessage() {} + +func (x *HttpPostTableFile) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[7] + 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 HttpPostTableFile.ProtoReflect.Descriptor instead. +func (*HttpPostTableFile) Descriptor() ([]byte, []int) { + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{7} +} + +func (x *HttpPostTableFile) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +type UploadLoc struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TableFileHash []byte `protobuf:"bytes,1,opt,name=table_file_hash,json=tableFileHash,proto3" json:"table_file_hash,omitempty"` + // Types that are assignable to Location: + // *UploadLoc_HttpPost + Location isUploadLoc_Location `protobuf_oneof:"location"` +} + +func (x *UploadLoc) Reset() { + *x = UploadLoc{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UploadLoc) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UploadLoc) ProtoMessage() {} + +func (x *UploadLoc) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[8] + 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 UploadLoc.ProtoReflect.Descriptor instead. +func (*UploadLoc) Descriptor() ([]byte, []int) { + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{8} +} + +func (x *UploadLoc) GetTableFileHash() []byte { + if x != nil { + return x.TableFileHash + } + return nil +} + +func (m *UploadLoc) GetLocation() isUploadLoc_Location { if m != nil { return m.Location } return nil } -func (m *DownloadLoc) GetHttpGet() *HttpGetChunk { - if x, ok := m.GetLocation().(*DownloadLoc_HttpGet); ok { - return x.HttpGet - } - return nil -} - -func (m *DownloadLoc) GetHttpGetRange() *HttpGetRange { - if x, ok := m.GetLocation().(*DownloadLoc_HttpGetRange); ok { - return x.HttpGetRange - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*DownloadLoc) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*DownloadLoc_HttpGet)(nil), - (*DownloadLoc_HttpGetRange)(nil), - } -} - -type HttpPostTableFile struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HttpPostTableFile) Reset() { *m = HttpPostTableFile{} } -func (m *HttpPostTableFile) String() string { return proto.CompactTextString(m) } -func (*HttpPostTableFile) ProtoMessage() {} -func (*HttpPostTableFile) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{7} -} - -func (m *HttpPostTableFile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HttpPostTableFile.Unmarshal(m, b) -} -func (m *HttpPostTableFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HttpPostTableFile.Marshal(b, m, deterministic) -} -func (m *HttpPostTableFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_HttpPostTableFile.Merge(m, src) -} -func (m *HttpPostTableFile) XXX_Size() int { - return xxx_messageInfo_HttpPostTableFile.Size(m) -} -func (m *HttpPostTableFile) XXX_DiscardUnknown() { - xxx_messageInfo_HttpPostTableFile.DiscardUnknown(m) -} - -var xxx_messageInfo_HttpPostTableFile proto.InternalMessageInfo - -func (m *HttpPostTableFile) GetUrl() string { - if m != nil { - return m.Url - } - return "" -} - -type UploadLoc struct { - TableFileHash []byte `protobuf:"bytes,1,opt,name=table_file_hash,json=tableFileHash,proto3" json:"table_file_hash,omitempty"` - // Types that are valid to be assigned to Location: - // *UploadLoc_HttpPost - Location isUploadLoc_Location `protobuf_oneof:"location"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UploadLoc) Reset() { *m = UploadLoc{} } -func (m *UploadLoc) String() string { return proto.CompactTextString(m) } -func (*UploadLoc) ProtoMessage() {} -func (*UploadLoc) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{8} -} - -func (m *UploadLoc) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadLoc.Unmarshal(m, b) -} -func (m *UploadLoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadLoc.Marshal(b, m, deterministic) -} -func (m *UploadLoc) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadLoc.Merge(m, src) -} -func (m *UploadLoc) XXX_Size() int { - return xxx_messageInfo_UploadLoc.Size(m) -} -func (m *UploadLoc) XXX_DiscardUnknown() { - xxx_messageInfo_UploadLoc.DiscardUnknown(m) -} - -var xxx_messageInfo_UploadLoc proto.InternalMessageInfo - -func (m *UploadLoc) GetTableFileHash() []byte { - if m != nil { - return m.TableFileHash +func (x *UploadLoc) GetHttpPost() *HttpPostTableFile { + if x, ok := x.GetLocation().(*UploadLoc_HttpPost); ok { + return x.HttpPost } return nil } @@ -478,616 +570,703 @@ type UploadLoc_HttpPost struct { func (*UploadLoc_HttpPost) isUploadLoc_Location() {} -func (m *UploadLoc) GetLocation() isUploadLoc_Location { - if m != nil { - return m.Location - } - return nil -} - -func (m *UploadLoc) GetHttpPost() *HttpPostTableFile { - if x, ok := m.GetLocation().(*UploadLoc_HttpPost); ok { - return x.HttpPost - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UploadLoc) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UploadLoc_HttpPost)(nil), - } -} - type GetDownloadLocsRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - ChunkHashes [][]byte `protobuf:"bytes,2,rep,name=chunk_hashes,json=chunkHashes,proto3" json:"chunk_hashes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + ChunkHashes [][]byte `protobuf:"bytes,2,rep,name=chunk_hashes,json=chunkHashes,proto3" json:"chunk_hashes,omitempty"` } -func (m *GetDownloadLocsRequest) Reset() { *m = GetDownloadLocsRequest{} } -func (m *GetDownloadLocsRequest) String() string { return proto.CompactTextString(m) } -func (*GetDownloadLocsRequest) ProtoMessage() {} +func (x *GetDownloadLocsRequest) Reset() { + *x = GetDownloadLocsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDownloadLocsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDownloadLocsRequest) ProtoMessage() {} + +func (x *GetDownloadLocsRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[9] + 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 GetDownloadLocsRequest.ProtoReflect.Descriptor instead. func (*GetDownloadLocsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{9} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{9} } -func (m *GetDownloadLocsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDownloadLocsRequest.Unmarshal(m, b) -} -func (m *GetDownloadLocsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDownloadLocsRequest.Marshal(b, m, deterministic) -} -func (m *GetDownloadLocsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDownloadLocsRequest.Merge(m, src) -} -func (m *GetDownloadLocsRequest) XXX_Size() int { - return xxx_messageInfo_GetDownloadLocsRequest.Size(m) -} -func (m *GetDownloadLocsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDownloadLocsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDownloadLocsRequest proto.InternalMessageInfo - -func (m *GetDownloadLocsRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *GetDownloadLocsRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } -func (m *GetDownloadLocsRequest) GetChunkHashes() [][]byte { - if m != nil { - return m.ChunkHashes +func (x *GetDownloadLocsRequest) GetChunkHashes() [][]byte { + if x != nil { + return x.ChunkHashes } return nil } type GetDownloadLocsResponse struct { - Locs []*DownloadLoc `protobuf:"bytes,1,rep,name=locs,proto3" json:"locs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Locs []*DownloadLoc `protobuf:"bytes,1,rep,name=locs,proto3" json:"locs,omitempty"` } -func (m *GetDownloadLocsResponse) Reset() { *m = GetDownloadLocsResponse{} } -func (m *GetDownloadLocsResponse) String() string { return proto.CompactTextString(m) } -func (*GetDownloadLocsResponse) ProtoMessage() {} +func (x *GetDownloadLocsResponse) Reset() { + *x = GetDownloadLocsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDownloadLocsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDownloadLocsResponse) ProtoMessage() {} + +func (x *GetDownloadLocsResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[10] + 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 GetDownloadLocsResponse.ProtoReflect.Descriptor instead. func (*GetDownloadLocsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{10} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{10} } -func (m *GetDownloadLocsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetDownloadLocsResponse.Unmarshal(m, b) -} -func (m *GetDownloadLocsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetDownloadLocsResponse.Marshal(b, m, deterministic) -} -func (m *GetDownloadLocsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDownloadLocsResponse.Merge(m, src) -} -func (m *GetDownloadLocsResponse) XXX_Size() int { - return xxx_messageInfo_GetDownloadLocsResponse.Size(m) -} -func (m *GetDownloadLocsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDownloadLocsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDownloadLocsResponse proto.InternalMessageInfo - -func (m *GetDownloadLocsResponse) GetLocs() []*DownloadLoc { - if m != nil { - return m.Locs +func (x *GetDownloadLocsResponse) GetLocs() []*DownloadLoc { + if x != nil { + return x.Locs } return nil } type TableFileDetails struct { - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - ContentLength uint64 `protobuf:"varint,2,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"` - ContentHash []byte `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ContentLength uint64 `protobuf:"varint,2,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"` + ContentHash []byte `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` } -func (m *TableFileDetails) Reset() { *m = TableFileDetails{} } -func (m *TableFileDetails) String() string { return proto.CompactTextString(m) } -func (*TableFileDetails) ProtoMessage() {} +func (x *TableFileDetails) Reset() { + *x = TableFileDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableFileDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableFileDetails) ProtoMessage() {} + +func (x *TableFileDetails) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[11] + 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 TableFileDetails.ProtoReflect.Descriptor instead. func (*TableFileDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{11} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{11} } -func (m *TableFileDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableFileDetails.Unmarshal(m, b) -} -func (m *TableFileDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableFileDetails.Marshal(b, m, deterministic) -} -func (m *TableFileDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableFileDetails.Merge(m, src) -} -func (m *TableFileDetails) XXX_Size() int { - return xxx_messageInfo_TableFileDetails.Size(m) -} -func (m *TableFileDetails) XXX_DiscardUnknown() { - xxx_messageInfo_TableFileDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_TableFileDetails proto.InternalMessageInfo - -func (m *TableFileDetails) GetId() []byte { - if m != nil { - return m.Id +func (x *TableFileDetails) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *TableFileDetails) GetContentLength() uint64 { - if m != nil { - return m.ContentLength +func (x *TableFileDetails) GetContentLength() uint64 { + if x != nil { + return x.ContentLength } return 0 } -func (m *TableFileDetails) GetContentHash() []byte { - if m != nil { - return m.ContentHash +func (x *TableFileDetails) GetContentHash() []byte { + if x != nil { + return x.ContentHash } return nil } type GetUploadLocsRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - TableFileHashes [][]byte `protobuf:"bytes,2,rep,name=table_file_hashes,json=tableFileHashes,proto3" json:"table_file_hashes,omitempty"` // Deprecated: Do not use. - TableFileDetails []*TableFileDetails `protobuf:"bytes,3,rep,name=table_file_details,json=tableFileDetails,proto3" json:"table_file_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + // Deprecated: Do not use. + TableFileHashes [][]byte `protobuf:"bytes,2,rep,name=table_file_hashes,json=tableFileHashes,proto3" json:"table_file_hashes,omitempty"` + TableFileDetails []*TableFileDetails `protobuf:"bytes,3,rep,name=table_file_details,json=tableFileDetails,proto3" json:"table_file_details,omitempty"` } -func (m *GetUploadLocsRequest) Reset() { *m = GetUploadLocsRequest{} } -func (m *GetUploadLocsRequest) String() string { return proto.CompactTextString(m) } -func (*GetUploadLocsRequest) ProtoMessage() {} +func (x *GetUploadLocsRequest) Reset() { + *x = GetUploadLocsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUploadLocsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUploadLocsRequest) ProtoMessage() {} + +func (x *GetUploadLocsRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[12] + 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 GetUploadLocsRequest.ProtoReflect.Descriptor instead. func (*GetUploadLocsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{12} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{12} } -func (m *GetUploadLocsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUploadLocsRequest.Unmarshal(m, b) -} -func (m *GetUploadLocsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUploadLocsRequest.Marshal(b, m, deterministic) -} -func (m *GetUploadLocsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUploadLocsRequest.Merge(m, src) -} -func (m *GetUploadLocsRequest) XXX_Size() int { - return xxx_messageInfo_GetUploadLocsRequest.Size(m) -} -func (m *GetUploadLocsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUploadLocsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUploadLocsRequest proto.InternalMessageInfo - -func (m *GetUploadLocsRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *GetUploadLocsRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } // Deprecated: Do not use. -func (m *GetUploadLocsRequest) GetTableFileHashes() [][]byte { - if m != nil { - return m.TableFileHashes +func (x *GetUploadLocsRequest) GetTableFileHashes() [][]byte { + if x != nil { + return x.TableFileHashes } return nil } -func (m *GetUploadLocsRequest) GetTableFileDetails() []*TableFileDetails { - if m != nil { - return m.TableFileDetails +func (x *GetUploadLocsRequest) GetTableFileDetails() []*TableFileDetails { + if x != nil { + return x.TableFileDetails } return nil } type GetUploadLocsResponse struct { - Locs []*UploadLoc `protobuf:"bytes,1,rep,name=locs,proto3" json:"locs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Locs []*UploadLoc `protobuf:"bytes,1,rep,name=locs,proto3" json:"locs,omitempty"` } -func (m *GetUploadLocsResponse) Reset() { *m = GetUploadLocsResponse{} } -func (m *GetUploadLocsResponse) String() string { return proto.CompactTextString(m) } -func (*GetUploadLocsResponse) ProtoMessage() {} +func (x *GetUploadLocsResponse) Reset() { + *x = GetUploadLocsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUploadLocsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUploadLocsResponse) ProtoMessage() {} + +func (x *GetUploadLocsResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[13] + 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 GetUploadLocsResponse.ProtoReflect.Descriptor instead. func (*GetUploadLocsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{13} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{13} } -func (m *GetUploadLocsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetUploadLocsResponse.Unmarshal(m, b) -} -func (m *GetUploadLocsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetUploadLocsResponse.Marshal(b, m, deterministic) -} -func (m *GetUploadLocsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUploadLocsResponse.Merge(m, src) -} -func (m *GetUploadLocsResponse) XXX_Size() int { - return xxx_messageInfo_GetUploadLocsResponse.Size(m) -} -func (m *GetUploadLocsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUploadLocsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUploadLocsResponse proto.InternalMessageInfo - -func (m *GetUploadLocsResponse) GetLocs() []*UploadLoc { - if m != nil { - return m.Locs +func (x *GetUploadLocsResponse) GetLocs() []*UploadLoc { + if x != nil { + return x.Locs } return nil } type RebaseRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` } -func (m *RebaseRequest) Reset() { *m = RebaseRequest{} } -func (m *RebaseRequest) String() string { return proto.CompactTextString(m) } -func (*RebaseRequest) ProtoMessage() {} +func (x *RebaseRequest) Reset() { + *x = RebaseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebaseRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebaseRequest) ProtoMessage() {} + +func (x *RebaseRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[14] + 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 RebaseRequest.ProtoReflect.Descriptor instead. func (*RebaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{14} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{14} } -func (m *RebaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RebaseRequest.Unmarshal(m, b) -} -func (m *RebaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RebaseRequest.Marshal(b, m, deterministic) -} -func (m *RebaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RebaseRequest.Merge(m, src) -} -func (m *RebaseRequest) XXX_Size() int { - return xxx_messageInfo_RebaseRequest.Size(m) -} -func (m *RebaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RebaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RebaseRequest proto.InternalMessageInfo - -func (m *RebaseRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *RebaseRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } type RebaseResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RebaseResponse) Reset() { *m = RebaseResponse{} } -func (m *RebaseResponse) String() string { return proto.CompactTextString(m) } -func (*RebaseResponse) ProtoMessage() {} +func (x *RebaseResponse) Reset() { + *x = RebaseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebaseResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebaseResponse) ProtoMessage() {} + +func (x *RebaseResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[15] + 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 RebaseResponse.ProtoReflect.Descriptor instead. func (*RebaseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{15} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{15} } -func (m *RebaseResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RebaseResponse.Unmarshal(m, b) -} -func (m *RebaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RebaseResponse.Marshal(b, m, deterministic) -} -func (m *RebaseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RebaseResponse.Merge(m, src) -} -func (m *RebaseResponse) XXX_Size() int { - return xxx_messageInfo_RebaseResponse.Size(m) -} -func (m *RebaseResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RebaseResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RebaseResponse proto.InternalMessageInfo - type RootRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` } -func (m *RootRequest) Reset() { *m = RootRequest{} } -func (m *RootRequest) String() string { return proto.CompactTextString(m) } -func (*RootRequest) ProtoMessage() {} +func (x *RootRequest) Reset() { + *x = RootRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RootRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RootRequest) ProtoMessage() {} + +func (x *RootRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[16] + 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 RootRequest.ProtoReflect.Descriptor instead. func (*RootRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{16} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{16} } -func (m *RootRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RootRequest.Unmarshal(m, b) -} -func (m *RootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RootRequest.Marshal(b, m, deterministic) -} -func (m *RootRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RootRequest.Merge(m, src) -} -func (m *RootRequest) XXX_Size() int { - return xxx_messageInfo_RootRequest.Size(m) -} -func (m *RootRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RootRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RootRequest proto.InternalMessageInfo - -func (m *RootRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *RootRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } type RootResponse struct { - RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` } -func (m *RootResponse) Reset() { *m = RootResponse{} } -func (m *RootResponse) String() string { return proto.CompactTextString(m) } -func (*RootResponse) ProtoMessage() {} +func (x *RootResponse) Reset() { + *x = RootResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RootResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RootResponse) ProtoMessage() {} + +func (x *RootResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[17] + 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 RootResponse.ProtoReflect.Descriptor instead. func (*RootResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{17} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{17} } -func (m *RootResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RootResponse.Unmarshal(m, b) -} -func (m *RootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RootResponse.Marshal(b, m, deterministic) -} -func (m *RootResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RootResponse.Merge(m, src) -} -func (m *RootResponse) XXX_Size() int { - return xxx_messageInfo_RootResponse.Size(m) -} -func (m *RootResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RootResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RootResponse proto.InternalMessageInfo - -func (m *RootResponse) GetRootHash() []byte { - if m != nil { - return m.RootHash +func (x *RootResponse) GetRootHash() []byte { + if x != nil { + return x.RootHash } return nil } type ChunkTableInfo struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - ChunkCount uint32 `protobuf:"varint,2,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + ChunkCount uint32 `protobuf:"varint,2,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"` } -func (m *ChunkTableInfo) Reset() { *m = ChunkTableInfo{} } -func (m *ChunkTableInfo) String() string { return proto.CompactTextString(m) } -func (*ChunkTableInfo) ProtoMessage() {} +func (x *ChunkTableInfo) Reset() { + *x = ChunkTableInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChunkTableInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChunkTableInfo) ProtoMessage() {} + +func (x *ChunkTableInfo) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[18] + 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 ChunkTableInfo.ProtoReflect.Descriptor instead. func (*ChunkTableInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{18} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{18} } -func (m *ChunkTableInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChunkTableInfo.Unmarshal(m, b) -} -func (m *ChunkTableInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChunkTableInfo.Marshal(b, m, deterministic) -} -func (m *ChunkTableInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChunkTableInfo.Merge(m, src) -} -func (m *ChunkTableInfo) XXX_Size() int { - return xxx_messageInfo_ChunkTableInfo.Size(m) -} -func (m *ChunkTableInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ChunkTableInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ChunkTableInfo proto.InternalMessageInfo - -func (m *ChunkTableInfo) GetHash() []byte { - if m != nil { - return m.Hash +func (x *ChunkTableInfo) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *ChunkTableInfo) GetChunkCount() uint32 { - if m != nil { - return m.ChunkCount +func (x *ChunkTableInfo) GetChunkCount() uint32 { + if x != nil { + return x.ChunkCount } return 0 } type CommitRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - Current []byte `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` - Last []byte `protobuf:"bytes,3,opt,name=last,proto3" json:"last,omitempty"` - ChunkTableInfo []*ChunkTableInfo `protobuf:"bytes,4,rep,name=chunk_table_info,json=chunkTableInfo,proto3" json:"chunk_table_info,omitempty"` - ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,14,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + Current []byte `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` + Last []byte `protobuf:"bytes,3,opt,name=last,proto3" json:"last,omitempty"` + ChunkTableInfo []*ChunkTableInfo `protobuf:"bytes,4,rep,name=chunk_table_info,json=chunkTableInfo,proto3" json:"chunk_table_info,omitempty"` + ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,14,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` } -func (m *CommitRequest) Reset() { *m = CommitRequest{} } -func (m *CommitRequest) String() string { return proto.CompactTextString(m) } -func (*CommitRequest) ProtoMessage() {} +func (x *CommitRequest) Reset() { + *x = CommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitRequest) ProtoMessage() {} + +func (x *CommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[19] + 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 CommitRequest.ProtoReflect.Descriptor instead. func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{19} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{19} } -func (m *CommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitRequest.Unmarshal(m, b) -} -func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic) -} -func (m *CommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitRequest.Merge(m, src) -} -func (m *CommitRequest) XXX_Size() int { - return xxx_messageInfo_CommitRequest.Size(m) -} -func (m *CommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitRequest proto.InternalMessageInfo - -func (m *CommitRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *CommitRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } -func (m *CommitRequest) GetCurrent() []byte { - if m != nil { - return m.Current +func (x *CommitRequest) GetCurrent() []byte { + if x != nil { + return x.Current } return nil } -func (m *CommitRequest) GetLast() []byte { - if m != nil { - return m.Last +func (x *CommitRequest) GetLast() []byte { + if x != nil { + return x.Last } return nil } -func (m *CommitRequest) GetChunkTableInfo() []*ChunkTableInfo { - if m != nil { - return m.ChunkTableInfo +func (x *CommitRequest) GetChunkTableInfo() []*ChunkTableInfo { + if x != nil { + return x.ChunkTableInfo } return nil } -func (m *CommitRequest) GetClientRepoFormat() *ClientRepoFormat { - if m != nil { - return m.ClientRepoFormat +func (x *CommitRequest) GetClientRepoFormat() *ClientRepoFormat { + if x != nil { + return x.ClientRepoFormat } return nil } type CommitResponse struct { - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` } -func (m *CommitResponse) Reset() { *m = CommitResponse{} } -func (m *CommitResponse) String() string { return proto.CompactTextString(m) } -func (*CommitResponse) ProtoMessage() {} +func (x *CommitResponse) Reset() { + *x = CommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitResponse) ProtoMessage() {} + +func (x *CommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[20] + 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 CommitResponse.ProtoReflect.Descriptor instead. func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{20} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{20} } -func (m *CommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitResponse.Unmarshal(m, b) -} -func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic) -} -func (m *CommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitResponse.Merge(m, src) -} -func (m *CommitResponse) XXX_Size() int { - return xxx_messageInfo_CommitResponse.Size(m) -} -func (m *CommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitResponse proto.InternalMessageInfo - -func (m *CommitResponse) GetSuccess() bool { - if m != nil { - return m.Success +func (x *CommitResponse) GetSuccess() bool { + if x != nil { + return x.Success } return false } type GetRepoMetadataRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,14,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,14,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` } -func (m *GetRepoMetadataRequest) Reset() { *m = GetRepoMetadataRequest{} } -func (m *GetRepoMetadataRequest) String() string { return proto.CompactTextString(m) } -func (*GetRepoMetadataRequest) ProtoMessage() {} +func (x *GetRepoMetadataRequest) Reset() { + *x = GetRepoMetadataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepoMetadataRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepoMetadataRequest) ProtoMessage() {} + +func (x *GetRepoMetadataRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[21] + 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 GetRepoMetadataRequest.ProtoReflect.Descriptor instead. func (*GetRepoMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{21} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{21} } -func (m *GetRepoMetadataRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRepoMetadataRequest.Unmarshal(m, b) -} -func (m *GetRepoMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRepoMetadataRequest.Marshal(b, m, deterministic) -} -func (m *GetRepoMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRepoMetadataRequest.Merge(m, src) -} -func (m *GetRepoMetadataRequest) XXX_Size() int { - return xxx_messageInfo_GetRepoMetadataRequest.Size(m) -} -func (m *GetRepoMetadataRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRepoMetadataRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRepoMetadataRequest proto.InternalMessageInfo - -func (m *GetRepoMetadataRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *GetRepoMetadataRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } -func (m *GetRepoMetadataRequest) GetClientRepoFormat() *ClientRepoFormat { - if m != nil { - return m.ClientRepoFormat +func (x *GetRepoMetadataRequest) GetClientRepoFormat() *ClientRepoFormat { + if x != nil { + return x.ClientRepoFormat } return nil } type GetRepoMetadataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Version string of the noms binary format for this repository. // See types.NomsBinFormat. NbfVersion string `protobuf:"bytes,1,opt,name=nbf_version,json=nbfVersion,proto3" json:"nbf_version,omitempty"` @@ -1096,828 +1275,1155 @@ type GetRepoMetadataResponse struct { NbsVersion string `protobuf:"bytes,2,opt,name=nbs_version,json=nbsVersion,proto3" json:"nbs_version,omitempty"` // Approximate number of bytes required for storage of all // currently-referenced repository table files. - StorageSize uint64 `protobuf:"varint,3,opt,name=storage_size,json=storageSize,proto3" json:"storage_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StorageSize uint64 `protobuf:"varint,3,opt,name=storage_size,json=storageSize,proto3" json:"storage_size,omitempty"` } -func (m *GetRepoMetadataResponse) Reset() { *m = GetRepoMetadataResponse{} } -func (m *GetRepoMetadataResponse) String() string { return proto.CompactTextString(m) } -func (*GetRepoMetadataResponse) ProtoMessage() {} +func (x *GetRepoMetadataResponse) Reset() { + *x = GetRepoMetadataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepoMetadataResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepoMetadataResponse) ProtoMessage() {} + +func (x *GetRepoMetadataResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[22] + 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 GetRepoMetadataResponse.ProtoReflect.Descriptor instead. func (*GetRepoMetadataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{22} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{22} } -func (m *GetRepoMetadataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRepoMetadataResponse.Unmarshal(m, b) -} -func (m *GetRepoMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRepoMetadataResponse.Marshal(b, m, deterministic) -} -func (m *GetRepoMetadataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRepoMetadataResponse.Merge(m, src) -} -func (m *GetRepoMetadataResponse) XXX_Size() int { - return xxx_messageInfo_GetRepoMetadataResponse.Size(m) -} -func (m *GetRepoMetadataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRepoMetadataResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRepoMetadataResponse proto.InternalMessageInfo - -func (m *GetRepoMetadataResponse) GetNbfVersion() string { - if m != nil { - return m.NbfVersion +func (x *GetRepoMetadataResponse) GetNbfVersion() string { + if x != nil { + return x.NbfVersion } return "" } -func (m *GetRepoMetadataResponse) GetNbsVersion() string { - if m != nil { - return m.NbsVersion +func (x *GetRepoMetadataResponse) GetNbsVersion() string { + if x != nil { + return x.NbsVersion } return "" } -func (m *GetRepoMetadataResponse) GetStorageSize() uint64 { - if m != nil { - return m.StorageSize +func (x *GetRepoMetadataResponse) GetStorageSize() uint64 { + if x != nil { + return x.StorageSize } return 0 } type ClientRepoFormat struct { - NbfVersion string `protobuf:"bytes,1,opt,name=nbf_version,json=nbfVersion,proto3" json:"nbf_version,omitempty"` - NbsVersion string `protobuf:"bytes,2,opt,name=nbs_version,json=nbsVersion,proto3" json:"nbs_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NbfVersion string `protobuf:"bytes,1,opt,name=nbf_version,json=nbfVersion,proto3" json:"nbf_version,omitempty"` + NbsVersion string `protobuf:"bytes,2,opt,name=nbs_version,json=nbsVersion,proto3" json:"nbs_version,omitempty"` } -func (m *ClientRepoFormat) Reset() { *m = ClientRepoFormat{} } -func (m *ClientRepoFormat) String() string { return proto.CompactTextString(m) } -func (*ClientRepoFormat) ProtoMessage() {} +func (x *ClientRepoFormat) Reset() { + *x = ClientRepoFormat{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientRepoFormat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientRepoFormat) ProtoMessage() {} + +func (x *ClientRepoFormat) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[23] + 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 ClientRepoFormat.ProtoReflect.Descriptor instead. func (*ClientRepoFormat) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{23} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{23} } -func (m *ClientRepoFormat) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClientRepoFormat.Unmarshal(m, b) -} -func (m *ClientRepoFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClientRepoFormat.Marshal(b, m, deterministic) -} -func (m *ClientRepoFormat) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientRepoFormat.Merge(m, src) -} -func (m *ClientRepoFormat) XXX_Size() int { - return xxx_messageInfo_ClientRepoFormat.Size(m) -} -func (m *ClientRepoFormat) XXX_DiscardUnknown() { - xxx_messageInfo_ClientRepoFormat.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientRepoFormat proto.InternalMessageInfo - -func (m *ClientRepoFormat) GetNbfVersion() string { - if m != nil { - return m.NbfVersion +func (x *ClientRepoFormat) GetNbfVersion() string { + if x != nil { + return x.NbfVersion } return "" } -func (m *ClientRepoFormat) GetNbsVersion() string { - if m != nil { - return m.NbsVersion +func (x *ClientRepoFormat) GetNbsVersion() string { + if x != nil { + return x.NbsVersion } return "" } type ListTableFilesRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` } -func (m *ListTableFilesRequest) Reset() { *m = ListTableFilesRequest{} } -func (m *ListTableFilesRequest) String() string { return proto.CompactTextString(m) } -func (*ListTableFilesRequest) ProtoMessage() {} +func (x *ListTableFilesRequest) Reset() { + *x = ListTableFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTableFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTableFilesRequest) ProtoMessage() {} + +func (x *ListTableFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[24] + 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 ListTableFilesRequest.ProtoReflect.Descriptor instead. func (*ListTableFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{24} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{24} } -func (m *ListTableFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTableFilesRequest.Unmarshal(m, b) -} -func (m *ListTableFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTableFilesRequest.Marshal(b, m, deterministic) -} -func (m *ListTableFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTableFilesRequest.Merge(m, src) -} -func (m *ListTableFilesRequest) XXX_Size() int { - return xxx_messageInfo_ListTableFilesRequest.Size(m) -} -func (m *ListTableFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTableFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTableFilesRequest proto.InternalMessageInfo - -func (m *ListTableFilesRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *ListTableFilesRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } type TableFileInfo struct { - FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` - NumChunks uint32 `protobuf:"varint,2,opt,name=num_chunks,json=numChunks,proto3" json:"num_chunks,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` + NumChunks uint32 `protobuf:"varint,2,opt,name=num_chunks,json=numChunks,proto3" json:"num_chunks,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` } -func (m *TableFileInfo) Reset() { *m = TableFileInfo{} } -func (m *TableFileInfo) String() string { return proto.CompactTextString(m) } -func (*TableFileInfo) ProtoMessage() {} +func (x *TableFileInfo) Reset() { + *x = TableFileInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableFileInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableFileInfo) ProtoMessage() {} + +func (x *TableFileInfo) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[25] + 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 TableFileInfo.ProtoReflect.Descriptor instead. func (*TableFileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{25} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{25} } -func (m *TableFileInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableFileInfo.Unmarshal(m, b) -} -func (m *TableFileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableFileInfo.Marshal(b, m, deterministic) -} -func (m *TableFileInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableFileInfo.Merge(m, src) -} -func (m *TableFileInfo) XXX_Size() int { - return xxx_messageInfo_TableFileInfo.Size(m) -} -func (m *TableFileInfo) XXX_DiscardUnknown() { - xxx_messageInfo_TableFileInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_TableFileInfo proto.InternalMessageInfo - -func (m *TableFileInfo) GetFileId() string { - if m != nil { - return m.FileId +func (x *TableFileInfo) GetFileId() string { + if x != nil { + return x.FileId } return "" } -func (m *TableFileInfo) GetNumChunks() uint32 { - if m != nil { - return m.NumChunks +func (x *TableFileInfo) GetNumChunks() uint32 { + if x != nil { + return x.NumChunks } return 0 } -func (m *TableFileInfo) GetUrl() string { - if m != nil { - return m.Url +func (x *TableFileInfo) GetUrl() string { + if x != nil { + return x.Url } return "" } type ListTableFilesResponse struct { - RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` - TableFileInfo []*TableFileInfo `protobuf:"bytes,2,rep,name=table_file_info,json=tableFileInfo,proto3" json:"table_file_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` + TableFileInfo []*TableFileInfo `protobuf:"bytes,2,rep,name=table_file_info,json=tableFileInfo,proto3" json:"table_file_info,omitempty"` } -func (m *ListTableFilesResponse) Reset() { *m = ListTableFilesResponse{} } -func (m *ListTableFilesResponse) String() string { return proto.CompactTextString(m) } -func (*ListTableFilesResponse) ProtoMessage() {} +func (x *ListTableFilesResponse) Reset() { + *x = ListTableFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTableFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTableFilesResponse) ProtoMessage() {} + +func (x *ListTableFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[26] + 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 ListTableFilesResponse.ProtoReflect.Descriptor instead. func (*ListTableFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{26} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{26} } -func (m *ListTableFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTableFilesResponse.Unmarshal(m, b) -} -func (m *ListTableFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTableFilesResponse.Marshal(b, m, deterministic) -} -func (m *ListTableFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTableFilesResponse.Merge(m, src) -} -func (m *ListTableFilesResponse) XXX_Size() int { - return xxx_messageInfo_ListTableFilesResponse.Size(m) -} -func (m *ListTableFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTableFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTableFilesResponse proto.InternalMessageInfo - -func (m *ListTableFilesResponse) GetRootHash() []byte { - if m != nil { - return m.RootHash +func (x *ListTableFilesResponse) GetRootHash() []byte { + if x != nil { + return x.RootHash } return nil } -func (m *ListTableFilesResponse) GetTableFileInfo() []*TableFileInfo { - if m != nil { - return m.TableFileInfo +func (x *ListTableFilesResponse) GetTableFileInfo() []*TableFileInfo { + if x != nil { + return x.TableFileInfo } return nil } type AddTableFilesRequest struct { - RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` - ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,2,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` - ChunkTableInfo []*ChunkTableInfo `protobuf:"bytes,3,rep,name=chunk_table_info,json=chunkTableInfo,proto3" json:"chunk_table_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepoId *RepoId `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` + ClientRepoFormat *ClientRepoFormat `protobuf:"bytes,2,opt,name=client_repo_format,json=clientRepoFormat,proto3" json:"client_repo_format,omitempty"` + ChunkTableInfo []*ChunkTableInfo `protobuf:"bytes,3,rep,name=chunk_table_info,json=chunkTableInfo,proto3" json:"chunk_table_info,omitempty"` } -func (m *AddTableFilesRequest) Reset() { *m = AddTableFilesRequest{} } -func (m *AddTableFilesRequest) String() string { return proto.CompactTextString(m) } -func (*AddTableFilesRequest) ProtoMessage() {} +func (x *AddTableFilesRequest) Reset() { + *x = AddTableFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddTableFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddTableFilesRequest) ProtoMessage() {} + +func (x *AddTableFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[27] + 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 AddTableFilesRequest.ProtoReflect.Descriptor instead. func (*AddTableFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{27} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{27} } -func (m *AddTableFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTableFilesRequest.Unmarshal(m, b) -} -func (m *AddTableFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTableFilesRequest.Marshal(b, m, deterministic) -} -func (m *AddTableFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTableFilesRequest.Merge(m, src) -} -func (m *AddTableFilesRequest) XXX_Size() int { - return xxx_messageInfo_AddTableFilesRequest.Size(m) -} -func (m *AddTableFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTableFilesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTableFilesRequest proto.InternalMessageInfo - -func (m *AddTableFilesRequest) GetRepoId() *RepoId { - if m != nil { - return m.RepoId +func (x *AddTableFilesRequest) GetRepoId() *RepoId { + if x != nil { + return x.RepoId } return nil } -func (m *AddTableFilesRequest) GetClientRepoFormat() *ClientRepoFormat { - if m != nil { - return m.ClientRepoFormat +func (x *AddTableFilesRequest) GetClientRepoFormat() *ClientRepoFormat { + if x != nil { + return x.ClientRepoFormat } return nil } -func (m *AddTableFilesRequest) GetChunkTableInfo() []*ChunkTableInfo { - if m != nil { - return m.ChunkTableInfo +func (x *AddTableFilesRequest) GetChunkTableInfo() []*ChunkTableInfo { + if x != nil { + return x.ChunkTableInfo } return nil } type AddTableFilesResponse struct { - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` } -func (m *AddTableFilesResponse) Reset() { *m = AddTableFilesResponse{} } -func (m *AddTableFilesResponse) String() string { return proto.CompactTextString(m) } -func (*AddTableFilesResponse) ProtoMessage() {} +func (x *AddTableFilesResponse) Reset() { + *x = AddTableFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddTableFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddTableFilesResponse) ProtoMessage() {} + +func (x *AddTableFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[28] + 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 AddTableFilesResponse.ProtoReflect.Descriptor instead. func (*AddTableFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_702c187af9ca94ec, []int{28} + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP(), []int{28} } -func (m *AddTableFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTableFilesResponse.Unmarshal(m, b) -} -func (m *AddTableFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTableFilesResponse.Marshal(b, m, deterministic) -} -func (m *AddTableFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTableFilesResponse.Merge(m, src) -} -func (m *AddTableFilesResponse) XXX_Size() int { - return xxx_messageInfo_AddTableFilesResponse.Size(m) -} -func (m *AddTableFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTableFilesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTableFilesResponse proto.InternalMessageInfo - -func (m *AddTableFilesResponse) GetSuccess() bool { - if m != nil { - return m.Success +func (x *AddTableFilesResponse) GetSuccess() bool { + if x != nil { + return x.Success } return false } -func init() { - proto.RegisterType((*RepoId)(nil), "dolt.services.remotesapi.v1alpha1.RepoId") - proto.RegisterType((*HasChunksRequest)(nil), "dolt.services.remotesapi.v1alpha1.HasChunksRequest") - proto.RegisterType((*HasChunksResponse)(nil), "dolt.services.remotesapi.v1alpha1.HasChunksResponse") - proto.RegisterType((*HttpGetChunk)(nil), "dolt.services.remotesapi.v1alpha1.HttpGetChunk") - proto.RegisterType((*RangeChunk)(nil), "dolt.services.remotesapi.v1alpha1.RangeChunk") - proto.RegisterType((*HttpGetRange)(nil), "dolt.services.remotesapi.v1alpha1.HttpGetRange") - proto.RegisterType((*DownloadLoc)(nil), "dolt.services.remotesapi.v1alpha1.DownloadLoc") - proto.RegisterType((*HttpPostTableFile)(nil), "dolt.services.remotesapi.v1alpha1.HttpPostTableFile") - proto.RegisterType((*UploadLoc)(nil), "dolt.services.remotesapi.v1alpha1.UploadLoc") - proto.RegisterType((*GetDownloadLocsRequest)(nil), "dolt.services.remotesapi.v1alpha1.GetDownloadLocsRequest") - proto.RegisterType((*GetDownloadLocsResponse)(nil), "dolt.services.remotesapi.v1alpha1.GetDownloadLocsResponse") - proto.RegisterType((*TableFileDetails)(nil), "dolt.services.remotesapi.v1alpha1.TableFileDetails") - proto.RegisterType((*GetUploadLocsRequest)(nil), "dolt.services.remotesapi.v1alpha1.GetUploadLocsRequest") - proto.RegisterType((*GetUploadLocsResponse)(nil), "dolt.services.remotesapi.v1alpha1.GetUploadLocsResponse") - proto.RegisterType((*RebaseRequest)(nil), "dolt.services.remotesapi.v1alpha1.RebaseRequest") - proto.RegisterType((*RebaseResponse)(nil), "dolt.services.remotesapi.v1alpha1.RebaseResponse") - proto.RegisterType((*RootRequest)(nil), "dolt.services.remotesapi.v1alpha1.RootRequest") - proto.RegisterType((*RootResponse)(nil), "dolt.services.remotesapi.v1alpha1.RootResponse") - proto.RegisterType((*ChunkTableInfo)(nil), "dolt.services.remotesapi.v1alpha1.ChunkTableInfo") - proto.RegisterType((*CommitRequest)(nil), "dolt.services.remotesapi.v1alpha1.CommitRequest") - proto.RegisterType((*CommitResponse)(nil), "dolt.services.remotesapi.v1alpha1.CommitResponse") - proto.RegisterType((*GetRepoMetadataRequest)(nil), "dolt.services.remotesapi.v1alpha1.GetRepoMetadataRequest") - proto.RegisterType((*GetRepoMetadataResponse)(nil), "dolt.services.remotesapi.v1alpha1.GetRepoMetadataResponse") - proto.RegisterType((*ClientRepoFormat)(nil), "dolt.services.remotesapi.v1alpha1.ClientRepoFormat") - proto.RegisterType((*ListTableFilesRequest)(nil), "dolt.services.remotesapi.v1alpha1.ListTableFilesRequest") - proto.RegisterType((*TableFileInfo)(nil), "dolt.services.remotesapi.v1alpha1.TableFileInfo") - proto.RegisterType((*ListTableFilesResponse)(nil), "dolt.services.remotesapi.v1alpha1.ListTableFilesResponse") - proto.RegisterType((*AddTableFilesRequest)(nil), "dolt.services.remotesapi.v1alpha1.AddTableFilesRequest") - proto.RegisterType((*AddTableFilesResponse)(nil), "dolt.services.remotesapi.v1alpha1.AddTableFilesResponse") +var File_dolt_services_remotesapi_v1alpha1_chunkstore_proto protoreflect.FileDescriptor + +var file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x37, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x49, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6f, 0x72, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6f, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0x6e, 0x0a, 0x10, 0x48, 0x61, 0x73, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, + 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, + 0x22, 0x2b, 0x0a, 0x11, 0x48, 0x61, 0x73, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x61, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x22, 0x38, 0x0a, + 0x0c, 0x48, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, + 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, + 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x67, 0x0a, 0x0c, 0x48, 0x74, 0x74, + 0x70, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x45, 0x0a, 0x06, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x64, 0x6f, + 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, + 0x6f, 0x63, 0x12, 0x4c, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x67, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, + 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, + 0x12, 0x57, 0x0a, 0x0e, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x61, 0x6e, + 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x74, 0x74, + 0x70, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x68, 0x74, 0x74, + 0x70, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x11, 0x48, 0x74, 0x74, 0x70, 0x50, 0x6f, 0x73, + 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x94, 0x01, 0x0a, + 0x09, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x53, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x50, 0x6f, + 0x73, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x68, + 0x74, 0x74, 0x70, 0x50, 0x6f, 0x73, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, + 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x48, 0x61, + 0x73, 0x68, 0x65, 0x73, 0x22, 0x5d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x42, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x52, 0x04, 0x6c, + 0x6f, 0x63, 0x73, 0x22, 0x6c, 0x0a, 0x10, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, + 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, + 0x68, 0x22, 0xed, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, + 0x6f, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, + 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x6f, + 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x2e, + 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x61, + 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x6f, 0x6c, + 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x22, 0x59, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, + 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x04, 0x6c, 0x6f, + 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x73, 0x22, 0x53, 0x0a, 0x0d, + 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, + 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, + 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x0b, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, + 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x0c, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x48, + 0x61, 0x73, 0x68, 0x22, 0x45, 0x0a, 0x0e, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x75, + 0x6e, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, + 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc1, 0x02, 0x0a, 0x0d, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, + 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, + 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x12, 0x5b, + 0x0a, 0x10, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, + 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x75, + 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x68, 0x75, + 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x61, 0x0a, 0x12, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, + 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x10, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x2a, + 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xbf, 0x01, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, + 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7e, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x62, 0x66, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x62, + 0x66, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x62, 0x73, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, + 0x62, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x54, 0x0a, 0x10, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x62, 0x66, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x62, 0x66, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x62, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x62, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x5b, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, + 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, + 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x22, + 0x59, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, + 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6e, + 0x75, 0x6d, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x4c, + 0x69, 0x73, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x58, 0x0a, 0x0f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x64, 0x6f, + 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x9a, 0x02, 0x0a, + 0x14, 0x41, 0x64, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x49, + 0x64, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x5b, 0x0a, 0x10, + 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x75, 0x6e, 0x6b, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x68, 0x75, 0x6e, 0x6b, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x31, 0x0a, 0x15, 0x41, 0x64, 0x64, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x32, 0x84, 0x09, 0x0a, + 0x11, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3a, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, + 0x09, 0x48, 0x61, 0x73, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x12, 0x33, 0x2e, 0x64, 0x6f, 0x6c, + 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x48, + 0x61, 0x73, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x34, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, + 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, + 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x2e, 0x64, + 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6d, 0x0a, 0x06, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x12, 0x30, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, + 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x64, 0x6f, + 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, + 0x0a, 0x04, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2e, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, + 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x6f, 0x6f, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x12, 0x30, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x38, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, + 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x12, 0x37, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x64, 0x6f, 0x6c, 0x74, + 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x64, + 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x42, 0x59, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x69, 0x6e, 0x63, 0x2f, + 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("dolt/services/remotesapi/v1alpha1/chunkstore.proto", fileDescriptor_702c187af9ca94ec) +var ( + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescOnce sync.Once + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescData = file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDesc +) + +func file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescGZIP() []byte { + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescOnce.Do(func() { + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescData = protoimpl.X.CompressGZIP(file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescData) + }) + return file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDescData } -var fileDescriptor_702c187af9ca94ec = []byte{ - // 1235 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5f, 0x6f, 0x1b, 0x45, - 0x10, 0xef, 0xd9, 0xc6, 0x89, 0xc7, 0x7f, 0xea, 0xac, 0x9a, 0xd4, 0x32, 0x42, 0x4d, 0x4e, 0x2a, - 0x0a, 0x94, 0xda, 0x4d, 0x5a, 0xa9, 0x2d, 0xbc, 0x40, 0xd2, 0x36, 0x8e, 0x14, 0x50, 0xd9, 0x14, - 0x4a, 0xa8, 0x90, 0x75, 0x3e, 0xaf, 0xed, 0x13, 0xe7, 0x5b, 0xf7, 0x76, 0x1d, 0xa4, 0x3e, 0x80, - 0x84, 0x40, 0xf0, 0x82, 0x78, 0xe1, 0x89, 0x2f, 0x03, 0x7c, 0x20, 0xbe, 0x03, 0xda, 0xd9, 0x3d, - 0xe7, 0xce, 0x75, 0x95, 0x4d, 0x31, 0xbc, 0x79, 0xc7, 0x3b, 0x33, 0xbf, 0xf9, 0xcd, 0x9f, 0x9b, - 0x3b, 0xd8, 0xed, 0xf3, 0x50, 0xb6, 0x05, 0x8b, 0x4f, 0x03, 0x9f, 0x89, 0x76, 0xcc, 0xc6, 0x5c, - 0x32, 0xe1, 0x4d, 0x82, 0xf6, 0xe9, 0x8e, 0x17, 0x4e, 0x46, 0xde, 0x4e, 0xdb, 0x1f, 0x4d, 0xa3, - 0xaf, 0x85, 0xe4, 0x31, 0x6b, 0x4d, 0x62, 0x2e, 0x39, 0xd9, 0x52, 0x3a, 0xad, 0x44, 0xa7, 0x75, - 0xa6, 0xd3, 0x4a, 0x74, 0xdc, 0xbb, 0x50, 0xa4, 0x6c, 0xc2, 0x0f, 0xfb, 0xa4, 0x0e, 0x79, 0x1e, - 0x0f, 0x1b, 0xce, 0xa6, 0xb3, 0x5d, 0xa2, 0xea, 0x27, 0x79, 0x13, 0x4a, 0x31, 0x9b, 0xf0, 0x6e, - 0xe4, 0x8d, 0x59, 0x23, 0x87, 0xf2, 0x55, 0x25, 0xf8, 0xc4, 0x1b, 0x33, 0x37, 0x82, 0x7a, 0xc7, - 0x13, 0xfb, 0xe8, 0x92, 0xb2, 0xe7, 0x53, 0x26, 0x24, 0xd9, 0x83, 0x15, 0x54, 0x08, 0xfa, 0x68, - 0xa6, 0xbc, 0xfb, 0x4e, 0xeb, 0x5c, 0x04, 0x2d, 0xed, 0x9e, 0x16, 0x63, 0x0d, 0x63, 0x03, 0x8a, - 0x23, 0x4f, 0x8c, 0x98, 0x68, 0xe4, 0x36, 0xf3, 0xdb, 0x15, 0x6a, 0x4e, 0xee, 0x0d, 0x58, 0x4b, - 0xf9, 0x13, 0x13, 0x1e, 0x09, 0xa6, 0x2e, 0x7b, 0x3d, 0xc1, 0x22, 0xd9, 0x70, 0x36, 0xf3, 0xdb, - 0x6f, 0x50, 0x73, 0x72, 0xef, 0x41, 0xa5, 0x23, 0xe5, 0xe4, 0x80, 0x49, 0x54, 0x50, 0xb1, 0x4d, - 0xe3, 0x30, 0x89, 0x6d, 0x1a, 0x87, 0xaf, 0x74, 0xf3, 0x18, 0x80, 0x7a, 0xd1, 0x90, 0x69, 0x3d, - 0x02, 0x05, 0x25, 0x47, 0xc5, 0x0a, 0xc5, 0xdf, 0x4a, 0x93, 0x0f, 0x06, 0x82, 0x49, 0xa4, 0xa4, - 0x40, 0xcd, 0x49, 0xc9, 0x43, 0x16, 0x0d, 0xe5, 0xa8, 0x91, 0xdf, 0x74, 0xb6, 0xab, 0xd4, 0x9c, - 0xdc, 0xe1, 0x0c, 0x0b, 0x1a, 0x5e, 0x80, 0xe5, 0x21, 0x14, 0x63, 0xf5, 0x97, 0xc6, 0x52, 0xde, - 0xbd, 0x69, 0xc3, 0xda, 0x0c, 0x24, 0x35, 0xca, 0xee, 0x9f, 0x0e, 0x94, 0x1f, 0xf0, 0x6f, 0xa2, - 0x90, 0x7b, 0xfd, 0x23, 0xee, 0x93, 0x23, 0x58, 0x1d, 0x49, 0x39, 0xe9, 0x0e, 0x99, 0x34, 0xe9, - 0x68, 0x5b, 0x18, 0x4e, 0xf3, 0xd6, 0xb9, 0x44, 0x57, 0x46, 0xfa, 0x4c, 0x9e, 0x42, 0x2d, 0xb1, - 0xd6, 0x45, 0x87, 0x18, 0xfe, 0x85, 0x6c, 0x22, 0xe6, 0xce, 0x25, 0x5a, 0x19, 0xa5, 0xce, 0x7b, - 0x00, 0xab, 0x21, 0xf7, 0x3d, 0x19, 0xf0, 0xc8, 0xbd, 0x0e, 0x6b, 0xea, 0xee, 0x63, 0x2e, 0xe4, - 0x13, 0xaf, 0x17, 0xb2, 0x47, 0x41, 0xb8, 0x80, 0x30, 0xf7, 0x37, 0x07, 0x4a, 0x9f, 0x4d, 0x92, - 0x38, 0xdf, 0x86, 0xcb, 0x52, 0x5d, 0xee, 0x0e, 0x82, 0x90, 0x75, 0x53, 0xf9, 0xaa, 0xca, 0xc4, - 0x46, 0x47, 0x25, 0xee, 0x18, 0x4a, 0x18, 0xc1, 0x84, 0x0b, 0x69, 0xc0, 0xdf, 0xb1, 0x04, 0x9f, - 0x01, 0xd4, 0xb9, 0x44, 0x91, 0x58, 0x25, 0xcc, 0xa0, 0xff, 0x0e, 0x36, 0x0e, 0x98, 0x4c, 0xa5, - 0x60, 0xa9, 0x8d, 0xb1, 0x05, 0x15, 0x6c, 0xf0, 0x6e, 0xa6, 0x6e, 0xcb, 0x28, 0xeb, 0xe8, 0xe2, - 0xfd, 0x0a, 0xae, 0xbe, 0x04, 0xc0, 0x74, 0xca, 0x1e, 0x14, 0x42, 0xee, 0x0b, 0xec, 0x93, 0xf2, - 0x6e, 0xcb, 0xc2, 0x7d, 0xca, 0x0c, 0x45, 0x5d, 0x37, 0x84, 0xfa, 0x8c, 0x84, 0x07, 0x4c, 0x7a, - 0x41, 0x28, 0x48, 0x0d, 0x72, 0x26, 0xa8, 0x0a, 0xcd, 0x05, 0x7d, 0x72, 0x1d, 0x6a, 0x3e, 0x8f, - 0x24, 0x8b, 0x64, 0xd7, 0x74, 0x83, 0xee, 0x92, 0xaa, 0x91, 0x1e, 0xa1, 0x10, 0x83, 0x31, 0xd7, - 0x30, 0x61, 0x79, 0x34, 0x50, 0x36, 0x32, 0x15, 0x8e, 0xfb, 0xb7, 0x03, 0x57, 0x0e, 0x98, 0x9c, - 0xe5, 0x79, 0xa9, 0x64, 0xb6, 0x60, 0x6d, 0xae, 0x66, 0x12, 0x46, 0xf7, 0x72, 0x0d, 0x87, 0x5e, - 0xce, 0x54, 0x0e, 0x13, 0xc4, 0x03, 0x92, 0xba, 0xdf, 0xd7, 0xc1, 0x37, 0xf2, 0x48, 0xe6, 0x6d, - 0x0b, 0xf7, 0xf3, 0xbc, 0xd1, 0xba, 0x9c, 0x93, 0xb8, 0x27, 0xb0, 0x3e, 0x17, 0xae, 0x49, 0xdd, - 0x87, 0x99, 0xd4, 0xbd, 0x67, 0xe1, 0x6d, 0x66, 0xc4, 0x24, 0xee, 0x18, 0xaa, 0x94, 0xf5, 0x3c, - 0xc1, 0x96, 0x48, 0xa1, 0x5b, 0x87, 0x5a, 0x62, 0x54, 0x03, 0x75, 0x3f, 0x85, 0x32, 0xe5, 0x5c, - 0x2e, 0xd3, 0xc9, 0x0d, 0xa8, 0x68, 0x93, 0x86, 0x0b, 0xf5, 0x48, 0xe2, 0x5c, 0xa6, 0xbb, 0x7c, - 0x55, 0x09, 0xb0, 0x62, 0x1e, 0x42, 0x0d, 0xc7, 0x16, 0x92, 0x7d, 0x18, 0x0d, 0xf8, 0xc2, 0xf9, - 0x7d, 0x0d, 0x74, 0xcf, 0x74, 0x7d, 0x3e, 0x8d, 0xf4, 0x20, 0xa8, 0x52, 0x40, 0xd1, 0xbe, 0x92, - 0xb8, 0x7f, 0xe5, 0xa0, 0xba, 0xcf, 0xc7, 0xe3, 0x60, 0x99, 0x91, 0x90, 0x06, 0xac, 0xf8, 0xd3, - 0x38, 0x66, 0xc6, 0x65, 0x85, 0x26, 0x47, 0x05, 0x32, 0xf4, 0x84, 0x34, 0x3d, 0x80, 0xbf, 0xc9, - 0x33, 0xa8, 0x6b, 0x90, 0xba, 0xea, 0x82, 0x68, 0xc0, 0x1b, 0x05, 0xcc, 0xff, 0x8e, 0x85, 0xeb, - 0x2c, 0x0b, 0xb4, 0xe6, 0x67, 0x59, 0xf1, 0x80, 0xf8, 0x61, 0xa0, 0x7a, 0x0f, 0xa3, 0x1a, 0xf0, - 0x78, 0xec, 0xc9, 0x46, 0x0d, 0x23, 0xb3, 0x29, 0xe6, 0x7d, 0x54, 0x56, 0xf1, 0x3d, 0x42, 0x55, - 0x5a, 0xf7, 0xe7, 0x24, 0xee, 0xbb, 0x50, 0x4b, 0x28, 0x34, 0x99, 0x6b, 0xc0, 0x8a, 0x98, 0xfa, - 0x3e, 0x13, 0x02, 0x39, 0x5c, 0xa5, 0xc9, 0xd1, 0xfd, 0xc3, 0xc1, 0xb9, 0xa9, 0xb4, 0x3f, 0x66, - 0xd2, 0xeb, 0x7b, 0xd2, 0x5b, 0x26, 0xf1, 0xff, 0x43, 0xb4, 0xdf, 0xe2, 0xdc, 0xcd, 0x06, 0x60, - 0xc2, 0xbe, 0x06, 0xe5, 0xa8, 0x37, 0xe8, 0x9e, 0xb2, 0x58, 0x04, 0x3c, 0x32, 0x0f, 0x31, 0x88, - 0x7a, 0x83, 0xcf, 0xb5, 0x44, 0x5f, 0x10, 0xb3, 0x0b, 0xb9, 0xe4, 0x82, 0x48, 0x2e, 0x6c, 0x41, - 0x45, 0xed, 0x74, 0xde, 0x90, 0x75, 0x45, 0xf0, 0x82, 0x61, 0x99, 0x14, 0x68, 0xd9, 0xc8, 0x8e, - 0x83, 0x17, 0xcc, 0x7d, 0x02, 0xf5, 0x79, 0x94, 0xff, 0xde, 0xb1, 0xfb, 0x0c, 0xd6, 0x8f, 0x82, - 0xd4, 0x73, 0x6f, 0x99, 0x03, 0xd8, 0x3d, 0x81, 0xea, 0xcc, 0x30, 0x16, 0xe5, 0x55, 0x58, 0xc1, - 0xd9, 0x6a, 0x8c, 0x96, 0x68, 0x51, 0x1d, 0x0f, 0xfb, 0xe4, 0x2d, 0x80, 0x68, 0x3a, 0xee, 0xea, - 0xe5, 0xd6, 0xb4, 0x6b, 0x29, 0x9a, 0x8e, 0xf5, 0x2a, 0x98, 0x6c, 0x07, 0xf9, 0xb3, 0xed, 0xe0, - 0x57, 0x07, 0x36, 0xe6, 0x81, 0x5b, 0x8c, 0x0f, 0xf2, 0x45, 0x66, 0x8f, 0xc0, 0x96, 0xd3, 0xfb, - 0xd8, 0xad, 0x8b, 0x0c, 0x78, 0xec, 0xb8, 0xb3, 0xcd, 0x43, 0x1d, 0xdd, 0xdf, 0x73, 0x70, 0xe5, - 0xa3, 0x7e, 0xff, 0x3f, 0x61, 0xf2, 0x15, 0xf5, 0x9d, 0x5b, 0x62, 0x7d, 0x2f, 0x9c, 0x46, 0xf9, - 0x25, 0x4d, 0x23, 0x77, 0x07, 0xd6, 0xe7, 0xb8, 0x39, 0x6f, 0x62, 0xec, 0xfe, 0x50, 0x82, 0x35, - 0xb4, 0x7a, 0xac, 0x5e, 0x76, 0x8e, 0xb5, 0x73, 0xf2, 0xb3, 0x03, 0x97, 0xe7, 0xda, 0x90, 0xdc, - 0xb7, 0xc0, 0xb7, 0x78, 0xf6, 0x34, 0xdf, 0x7f, 0x1d, 0x55, 0x03, 0xfd, 0x14, 0x4a, 0xb3, 0x97, - 0x15, 0x62, 0x93, 0x84, 0xf9, 0x57, 0xa9, 0xe6, 0x9d, 0x8b, 0x29, 0x19, 0xbf, 0xbf, 0xe8, 0x9d, - 0x29, 0xb5, 0xba, 0xe1, 0x66, 0x2a, 0x6c, 0x79, 0x58, 0xb0, 0xbb, 0xda, 0xf2, 0xb0, 0x70, 0xeb, - 0xfc, 0xc9, 0x01, 0x92, 0x5e, 0x6a, 0x0c, 0x9a, 0xbb, 0x76, 0x26, 0x5f, 0x5a, 0xfd, 0x9a, 0xf7, - 0x2e, 0xae, 0x68, 0x90, 0x8c, 0xd5, 0x7b, 0xae, 0xda, 0x56, 0xc8, 0x2d, 0xab, 0x16, 0x4b, 0x6d, - 0x4b, 0xcd, 0x9d, 0x0b, 0x68, 0x18, 0x77, 0x43, 0x28, 0xa8, 0xbd, 0x85, 0xd8, 0x2c, 0xda, 0xa9, - 0x9d, 0xa9, 0xd9, 0xb6, 0xbe, 0x7f, 0x16, 0x97, 0x7e, 0xd0, 0x5a, 0xc5, 0x95, 0x59, 0x6b, 0xac, - 0xe2, 0x9a, 0x7b, 0x8a, 0xff, 0xe8, 0x40, 0x2d, 0x3b, 0x5b, 0x89, 0x4d, 0x4e, 0x16, 0x3e, 0x47, - 0x9a, 0xf7, 0x5f, 0x43, 0xd3, 0xe0, 0xf8, 0xde, 0x81, 0x6a, 0x66, 0x6a, 0x58, 0xd5, 0xd4, 0xa2, - 0x19, 0x6c, 0x55, 0x53, 0x0b, 0x07, 0xd4, 0xde, 0xc9, 0x97, 0x4f, 0x87, 0x81, 0x1c, 0x4d, 0x7b, - 0x2d, 0x9f, 0x8f, 0xdb, 0x61, 0xf0, 0x7c, 0x1a, 0xa8, 0x29, 0x70, 0x33, 0x88, 0xfc, 0x36, 0x7e, - 0xad, 0x19, 0xf2, 0xf6, 0x90, 0x45, 0x6d, 0xfc, 0x18, 0xd3, 0x3e, 0xf7, 0xfb, 0xcd, 0x07, 0x67, - 0xb2, 0x5e, 0x11, 0x75, 0x6e, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x4d, 0x30, 0x41, 0xf6, - 0x11, 0x00, 0x00, +var file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes = make([]protoimpl.MessageInfo, 29) +var file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_goTypes = []interface{}{ + (*RepoId)(nil), // 0: dolt.services.remotesapi.v1alpha1.RepoId + (*HasChunksRequest)(nil), // 1: dolt.services.remotesapi.v1alpha1.HasChunksRequest + (*HasChunksResponse)(nil), // 2: dolt.services.remotesapi.v1alpha1.HasChunksResponse + (*HttpGetChunk)(nil), // 3: dolt.services.remotesapi.v1alpha1.HttpGetChunk + (*RangeChunk)(nil), // 4: dolt.services.remotesapi.v1alpha1.RangeChunk + (*HttpGetRange)(nil), // 5: dolt.services.remotesapi.v1alpha1.HttpGetRange + (*DownloadLoc)(nil), // 6: dolt.services.remotesapi.v1alpha1.DownloadLoc + (*HttpPostTableFile)(nil), // 7: dolt.services.remotesapi.v1alpha1.HttpPostTableFile + (*UploadLoc)(nil), // 8: dolt.services.remotesapi.v1alpha1.UploadLoc + (*GetDownloadLocsRequest)(nil), // 9: dolt.services.remotesapi.v1alpha1.GetDownloadLocsRequest + (*GetDownloadLocsResponse)(nil), // 10: dolt.services.remotesapi.v1alpha1.GetDownloadLocsResponse + (*TableFileDetails)(nil), // 11: dolt.services.remotesapi.v1alpha1.TableFileDetails + (*GetUploadLocsRequest)(nil), // 12: dolt.services.remotesapi.v1alpha1.GetUploadLocsRequest + (*GetUploadLocsResponse)(nil), // 13: dolt.services.remotesapi.v1alpha1.GetUploadLocsResponse + (*RebaseRequest)(nil), // 14: dolt.services.remotesapi.v1alpha1.RebaseRequest + (*RebaseResponse)(nil), // 15: dolt.services.remotesapi.v1alpha1.RebaseResponse + (*RootRequest)(nil), // 16: dolt.services.remotesapi.v1alpha1.RootRequest + (*RootResponse)(nil), // 17: dolt.services.remotesapi.v1alpha1.RootResponse + (*ChunkTableInfo)(nil), // 18: dolt.services.remotesapi.v1alpha1.ChunkTableInfo + (*CommitRequest)(nil), // 19: dolt.services.remotesapi.v1alpha1.CommitRequest + (*CommitResponse)(nil), // 20: dolt.services.remotesapi.v1alpha1.CommitResponse + (*GetRepoMetadataRequest)(nil), // 21: dolt.services.remotesapi.v1alpha1.GetRepoMetadataRequest + (*GetRepoMetadataResponse)(nil), // 22: dolt.services.remotesapi.v1alpha1.GetRepoMetadataResponse + (*ClientRepoFormat)(nil), // 23: dolt.services.remotesapi.v1alpha1.ClientRepoFormat + (*ListTableFilesRequest)(nil), // 24: dolt.services.remotesapi.v1alpha1.ListTableFilesRequest + (*TableFileInfo)(nil), // 25: dolt.services.remotesapi.v1alpha1.TableFileInfo + (*ListTableFilesResponse)(nil), // 26: dolt.services.remotesapi.v1alpha1.ListTableFilesResponse + (*AddTableFilesRequest)(nil), // 27: dolt.services.remotesapi.v1alpha1.AddTableFilesRequest + (*AddTableFilesResponse)(nil), // 28: dolt.services.remotesapi.v1alpha1.AddTableFilesResponse +} +var file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_depIdxs = []int32{ + 0, // 0: dolt.services.remotesapi.v1alpha1.HasChunksRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 4, // 1: dolt.services.remotesapi.v1alpha1.HttpGetRange.ranges:type_name -> dolt.services.remotesapi.v1alpha1.RangeChunk + 3, // 2: dolt.services.remotesapi.v1alpha1.DownloadLoc.http_get:type_name -> dolt.services.remotesapi.v1alpha1.HttpGetChunk + 5, // 3: dolt.services.remotesapi.v1alpha1.DownloadLoc.http_get_range:type_name -> dolt.services.remotesapi.v1alpha1.HttpGetRange + 7, // 4: dolt.services.remotesapi.v1alpha1.UploadLoc.http_post:type_name -> dolt.services.remotesapi.v1alpha1.HttpPostTableFile + 0, // 5: dolt.services.remotesapi.v1alpha1.GetDownloadLocsRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 6, // 6: dolt.services.remotesapi.v1alpha1.GetDownloadLocsResponse.locs:type_name -> dolt.services.remotesapi.v1alpha1.DownloadLoc + 0, // 7: dolt.services.remotesapi.v1alpha1.GetUploadLocsRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 11, // 8: dolt.services.remotesapi.v1alpha1.GetUploadLocsRequest.table_file_details:type_name -> dolt.services.remotesapi.v1alpha1.TableFileDetails + 8, // 9: dolt.services.remotesapi.v1alpha1.GetUploadLocsResponse.locs:type_name -> dolt.services.remotesapi.v1alpha1.UploadLoc + 0, // 10: dolt.services.remotesapi.v1alpha1.RebaseRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 0, // 11: dolt.services.remotesapi.v1alpha1.RootRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 0, // 12: dolt.services.remotesapi.v1alpha1.CommitRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 18, // 13: dolt.services.remotesapi.v1alpha1.CommitRequest.chunk_table_info:type_name -> dolt.services.remotesapi.v1alpha1.ChunkTableInfo + 23, // 14: dolt.services.remotesapi.v1alpha1.CommitRequest.client_repo_format:type_name -> dolt.services.remotesapi.v1alpha1.ClientRepoFormat + 0, // 15: dolt.services.remotesapi.v1alpha1.GetRepoMetadataRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 23, // 16: dolt.services.remotesapi.v1alpha1.GetRepoMetadataRequest.client_repo_format:type_name -> dolt.services.remotesapi.v1alpha1.ClientRepoFormat + 0, // 17: dolt.services.remotesapi.v1alpha1.ListTableFilesRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 25, // 18: dolt.services.remotesapi.v1alpha1.ListTableFilesResponse.table_file_info:type_name -> dolt.services.remotesapi.v1alpha1.TableFileInfo + 0, // 19: dolt.services.remotesapi.v1alpha1.AddTableFilesRequest.repo_id:type_name -> dolt.services.remotesapi.v1alpha1.RepoId + 23, // 20: dolt.services.remotesapi.v1alpha1.AddTableFilesRequest.client_repo_format:type_name -> dolt.services.remotesapi.v1alpha1.ClientRepoFormat + 18, // 21: dolt.services.remotesapi.v1alpha1.AddTableFilesRequest.chunk_table_info:type_name -> dolt.services.remotesapi.v1alpha1.ChunkTableInfo + 21, // 22: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetRepoMetadata:input_type -> dolt.services.remotesapi.v1alpha1.GetRepoMetadataRequest + 1, // 23: dolt.services.remotesapi.v1alpha1.ChunkStoreService.HasChunks:input_type -> dolt.services.remotesapi.v1alpha1.HasChunksRequest + 9, // 24: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetDownloadLocations:input_type -> dolt.services.remotesapi.v1alpha1.GetDownloadLocsRequest + 12, // 25: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetUploadLocations:input_type -> dolt.services.remotesapi.v1alpha1.GetUploadLocsRequest + 14, // 26: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Rebase:input_type -> dolt.services.remotesapi.v1alpha1.RebaseRequest + 16, // 27: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Root:input_type -> dolt.services.remotesapi.v1alpha1.RootRequest + 19, // 28: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Commit:input_type -> dolt.services.remotesapi.v1alpha1.CommitRequest + 24, // 29: dolt.services.remotesapi.v1alpha1.ChunkStoreService.ListTableFiles:input_type -> dolt.services.remotesapi.v1alpha1.ListTableFilesRequest + 27, // 30: dolt.services.remotesapi.v1alpha1.ChunkStoreService.AddTableFiles:input_type -> dolt.services.remotesapi.v1alpha1.AddTableFilesRequest + 22, // 31: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetRepoMetadata:output_type -> dolt.services.remotesapi.v1alpha1.GetRepoMetadataResponse + 2, // 32: dolt.services.remotesapi.v1alpha1.ChunkStoreService.HasChunks:output_type -> dolt.services.remotesapi.v1alpha1.HasChunksResponse + 10, // 33: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetDownloadLocations:output_type -> dolt.services.remotesapi.v1alpha1.GetDownloadLocsResponse + 13, // 34: dolt.services.remotesapi.v1alpha1.ChunkStoreService.GetUploadLocations:output_type -> dolt.services.remotesapi.v1alpha1.GetUploadLocsResponse + 15, // 35: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Rebase:output_type -> dolt.services.remotesapi.v1alpha1.RebaseResponse + 17, // 36: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Root:output_type -> dolt.services.remotesapi.v1alpha1.RootResponse + 20, // 37: dolt.services.remotesapi.v1alpha1.ChunkStoreService.Commit:output_type -> dolt.services.remotesapi.v1alpha1.CommitResponse + 26, // 38: dolt.services.remotesapi.v1alpha1.ChunkStoreService.ListTableFiles:output_type -> dolt.services.remotesapi.v1alpha1.ListTableFilesResponse + 28, // 39: dolt.services.remotesapi.v1alpha1.ChunkStoreService.AddTableFiles:output_type -> dolt.services.remotesapi.v1alpha1.AddTableFilesResponse + 31, // [31:40] is the sub-list for method output_type + 22, // [22:31] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// ChunkStoreServiceClient is the client API for ChunkStoreService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ChunkStoreServiceClient interface { - GetRepoMetadata(ctx context.Context, in *GetRepoMetadataRequest, opts ...grpc.CallOption) (*GetRepoMetadataResponse, error) - HasChunks(ctx context.Context, in *HasChunksRequest, opts ...grpc.CallOption) (*HasChunksResponse, error) - // Get the download locations for a list of chunk hashes. - GetDownloadLocations(ctx context.Context, in *GetDownloadLocsRequest, opts ...grpc.CallOption) (*GetDownloadLocsResponse, error) - // Get upload locations for a list of table file hashes. - // NOTE: We upload full table files but download individual chunks. - GetUploadLocations(ctx context.Context, in *GetUploadLocsRequest, opts ...grpc.CallOption) (*GetUploadLocsResponse, error) - Rebase(ctx context.Context, in *RebaseRequest, opts ...grpc.CallOption) (*RebaseResponse, error) - Root(ctx context.Context, in *RootRequest, opts ...grpc.CallOption) (*RootResponse, error) - Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) - ListTableFiles(ctx context.Context, in *ListTableFilesRequest, opts ...grpc.CallOption) (*ListTableFilesResponse, error) - AddTableFiles(ctx context.Context, in *AddTableFilesRequest, opts ...grpc.CallOption) (*AddTableFilesResponse, error) -} - -type chunkStoreServiceClient struct { - cc *grpc.ClientConn -} - -func NewChunkStoreServiceClient(cc *grpc.ClientConn) ChunkStoreServiceClient { - return &chunkStoreServiceClient{cc} -} - -func (c *chunkStoreServiceClient) GetRepoMetadata(ctx context.Context, in *GetRepoMetadataRequest, opts ...grpc.CallOption) (*GetRepoMetadataResponse, error) { - out := new(GetRepoMetadataResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetRepoMetadata", in, out, opts...) - if err != nil { - return nil, err +func init() { file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_init() } +func file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_init() { + if File_dolt_services_remotesapi_v1alpha1_chunkstore_proto != nil { + return } - return out, nil -} - -func (c *chunkStoreServiceClient) HasChunks(ctx context.Context, in *HasChunksRequest, opts ...grpc.CallOption) (*HasChunksResponse, error) { - out := new(HasChunksResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/HasChunks", in, out, opts...) - if err != nil { - return nil, err + if !protoimpl.UnsafeEnabled { + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepoId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasChunksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasChunksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HttpGetChunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RangeChunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HttpGetRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownloadLoc); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HttpPostTableFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadLoc); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDownloadLocsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDownloadLocsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableFileDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUploadLocsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUploadLocsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RebaseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RebaseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RootRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RootResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChunkTableInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepoMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepoMetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientRepoFormat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTableFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableFileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTableFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTableFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTableFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return out, nil -} - -func (c *chunkStoreServiceClient) GetDownloadLocations(ctx context.Context, in *GetDownloadLocsRequest, opts ...grpc.CallOption) (*GetDownloadLocsResponse, error) { - out := new(GetDownloadLocsResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetDownloadLocations", in, out, opts...) - if err != nil { - return nil, err + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*DownloadLoc_HttpGet)(nil), + (*DownloadLoc_HttpGetRange)(nil), } - return out, nil -} - -func (c *chunkStoreServiceClient) GetUploadLocations(ctx context.Context, in *GetUploadLocsRequest, opts ...grpc.CallOption) (*GetUploadLocsResponse, error) { - out := new(GetUploadLocsResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetUploadLocations", in, out, opts...) - if err != nil { - return nil, err + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*UploadLoc_HttpPost)(nil), } - return out, nil -} - -func (c *chunkStoreServiceClient) Rebase(ctx context.Context, in *RebaseRequest, opts ...grpc.CallOption) (*RebaseResponse, error) { - out := new(RebaseResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Rebase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *chunkStoreServiceClient) Root(ctx context.Context, in *RootRequest, opts ...grpc.CallOption) (*RootResponse, error) { - out := new(RootResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Root", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *chunkStoreServiceClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { - out := new(CommitResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Commit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *chunkStoreServiceClient) ListTableFiles(ctx context.Context, in *ListTableFilesRequest, opts ...grpc.CallOption) (*ListTableFilesResponse, error) { - out := new(ListTableFilesResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/ListTableFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *chunkStoreServiceClient) AddTableFiles(ctx context.Context, in *AddTableFilesRequest, opts ...grpc.CallOption) (*AddTableFilesResponse, error) { - out := new(AddTableFilesResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/AddTableFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ChunkStoreServiceServer is the server API for ChunkStoreService service. -type ChunkStoreServiceServer interface { - GetRepoMetadata(context.Context, *GetRepoMetadataRequest) (*GetRepoMetadataResponse, error) - HasChunks(context.Context, *HasChunksRequest) (*HasChunksResponse, error) - // Get the download locations for a list of chunk hashes. - GetDownloadLocations(context.Context, *GetDownloadLocsRequest) (*GetDownloadLocsResponse, error) - // Get upload locations for a list of table file hashes. - // NOTE: We upload full table files but download individual chunks. - GetUploadLocations(context.Context, *GetUploadLocsRequest) (*GetUploadLocsResponse, error) - Rebase(context.Context, *RebaseRequest) (*RebaseResponse, error) - Root(context.Context, *RootRequest) (*RootResponse, error) - Commit(context.Context, *CommitRequest) (*CommitResponse, error) - ListTableFiles(context.Context, *ListTableFilesRequest) (*ListTableFilesResponse, error) - AddTableFiles(context.Context, *AddTableFilesRequest) (*AddTableFilesResponse, error) -} - -// UnimplementedChunkStoreServiceServer can be embedded to have forward compatible implementations. -type UnimplementedChunkStoreServiceServer struct { -} - -func (*UnimplementedChunkStoreServiceServer) GetRepoMetadata(ctx context.Context, req *GetRepoMetadataRequest) (*GetRepoMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRepoMetadata not implemented") -} -func (*UnimplementedChunkStoreServiceServer) HasChunks(ctx context.Context, req *HasChunksRequest) (*HasChunksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HasChunks not implemented") -} -func (*UnimplementedChunkStoreServiceServer) GetDownloadLocations(ctx context.Context, req *GetDownloadLocsRequest) (*GetDownloadLocsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDownloadLocations not implemented") -} -func (*UnimplementedChunkStoreServiceServer) GetUploadLocations(ctx context.Context, req *GetUploadLocsRequest) (*GetUploadLocsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUploadLocations not implemented") -} -func (*UnimplementedChunkStoreServiceServer) Rebase(ctx context.Context, req *RebaseRequest) (*RebaseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rebase not implemented") -} -func (*UnimplementedChunkStoreServiceServer) Root(ctx context.Context, req *RootRequest) (*RootResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Root not implemented") -} -func (*UnimplementedChunkStoreServiceServer) Commit(ctx context.Context, req *CommitRequest) (*CommitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented") -} -func (*UnimplementedChunkStoreServiceServer) ListTableFiles(ctx context.Context, req *ListTableFilesRequest) (*ListTableFilesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListTableFiles not implemented") -} -func (*UnimplementedChunkStoreServiceServer) AddTableFiles(ctx context.Context, req *AddTableFilesRequest) (*AddTableFilesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddTableFiles not implemented") -} - -func RegisterChunkStoreServiceServer(s *grpc.Server, srv ChunkStoreServiceServer) { - s.RegisterService(&_ChunkStoreService_serviceDesc, srv) -} - -func _ChunkStoreService_GetRepoMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRepoMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).GetRepoMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetRepoMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).GetRepoMetadata(ctx, req.(*GetRepoMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_HasChunks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HasChunksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).HasChunks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/HasChunks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).HasChunks(ctx, req.(*HasChunksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_GetDownloadLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDownloadLocsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).GetDownloadLocations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetDownloadLocations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).GetDownloadLocations(ctx, req.(*GetDownloadLocsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_GetUploadLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUploadLocsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).GetUploadLocations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetUploadLocations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).GetUploadLocations(ctx, req.(*GetUploadLocsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_Rebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RebaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).Rebase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Rebase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).Rebase(ctx, req.(*RebaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_Root_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RootRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).Root(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Root", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).Root(ctx, req.(*RootRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).Commit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Commit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).Commit(ctx, req.(*CommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_ListTableFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListTableFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).ListTableFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/ListTableFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).ListTableFiles(ctx, req.(*ListTableFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ChunkStoreService_AddTableFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddTableFilesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ChunkStoreServiceServer).AddTableFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/AddTableFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ChunkStoreServiceServer).AddTableFiles(ctx, req.(*AddTableFilesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ChunkStoreService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dolt.services.remotesapi.v1alpha1.ChunkStoreService", - HandlerType: (*ChunkStoreServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRepoMetadata", - Handler: _ChunkStoreService_GetRepoMetadata_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDesc, + NumEnums: 0, + NumMessages: 29, + NumExtensions: 0, + NumServices: 1, }, - { - MethodName: "HasChunks", - Handler: _ChunkStoreService_HasChunks_Handler, - }, - { - MethodName: "GetDownloadLocations", - Handler: _ChunkStoreService_GetDownloadLocations_Handler, - }, - { - MethodName: "GetUploadLocations", - Handler: _ChunkStoreService_GetUploadLocations_Handler, - }, - { - MethodName: "Rebase", - Handler: _ChunkStoreService_Rebase_Handler, - }, - { - MethodName: "Root", - Handler: _ChunkStoreService_Root_Handler, - }, - { - MethodName: "Commit", - Handler: _ChunkStoreService_Commit_Handler, - }, - { - MethodName: "ListTableFiles", - Handler: _ChunkStoreService_ListTableFiles_Handler, - }, - { - MethodName: "AddTableFiles", - Handler: _ChunkStoreService_AddTableFiles_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dolt/services/remotesapi/v1alpha1/chunkstore.proto", + GoTypes: file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_goTypes, + DependencyIndexes: file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_depIdxs, + MessageInfos: file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_msgTypes, + }.Build() + File_dolt_services_remotesapi_v1alpha1_chunkstore_proto = out.File + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_rawDesc = nil + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_goTypes = nil + file_dolt_services_remotesapi_v1alpha1_chunkstore_proto_depIdxs = nil } diff --git a/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore_grpc.pb.go b/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore_grpc.pb.go new file mode 100644 index 0000000000..faa8c36945 --- /dev/null +++ b/go/gen/proto/dolt/services/remotesapi/v1alpha1/chunkstore_grpc.pb.go @@ -0,0 +1,384 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package remotesapi + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// ChunkStoreServiceClient is the client API for ChunkStoreService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ChunkStoreServiceClient interface { + GetRepoMetadata(ctx context.Context, in *GetRepoMetadataRequest, opts ...grpc.CallOption) (*GetRepoMetadataResponse, error) + HasChunks(ctx context.Context, in *HasChunksRequest, opts ...grpc.CallOption) (*HasChunksResponse, error) + // Get the download locations for a list of chunk hashes. + GetDownloadLocations(ctx context.Context, in *GetDownloadLocsRequest, opts ...grpc.CallOption) (*GetDownloadLocsResponse, error) + // Get upload locations for a list of table file hashes. + // NOTE: We upload full table files but download individual chunks. + GetUploadLocations(ctx context.Context, in *GetUploadLocsRequest, opts ...grpc.CallOption) (*GetUploadLocsResponse, error) + Rebase(ctx context.Context, in *RebaseRequest, opts ...grpc.CallOption) (*RebaseResponse, error) + Root(ctx context.Context, in *RootRequest, opts ...grpc.CallOption) (*RootResponse, error) + Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) + ListTableFiles(ctx context.Context, in *ListTableFilesRequest, opts ...grpc.CallOption) (*ListTableFilesResponse, error) + AddTableFiles(ctx context.Context, in *AddTableFilesRequest, opts ...grpc.CallOption) (*AddTableFilesResponse, error) +} + +type chunkStoreServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewChunkStoreServiceClient(cc grpc.ClientConnInterface) ChunkStoreServiceClient { + return &chunkStoreServiceClient{cc} +} + +func (c *chunkStoreServiceClient) GetRepoMetadata(ctx context.Context, in *GetRepoMetadataRequest, opts ...grpc.CallOption) (*GetRepoMetadataResponse, error) { + out := new(GetRepoMetadataResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetRepoMetadata", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) HasChunks(ctx context.Context, in *HasChunksRequest, opts ...grpc.CallOption) (*HasChunksResponse, error) { + out := new(HasChunksResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/HasChunks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) GetDownloadLocations(ctx context.Context, in *GetDownloadLocsRequest, opts ...grpc.CallOption) (*GetDownloadLocsResponse, error) { + out := new(GetDownloadLocsResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetDownloadLocations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) GetUploadLocations(ctx context.Context, in *GetUploadLocsRequest, opts ...grpc.CallOption) (*GetUploadLocsResponse, error) { + out := new(GetUploadLocsResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetUploadLocations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) Rebase(ctx context.Context, in *RebaseRequest, opts ...grpc.CallOption) (*RebaseResponse, error) { + out := new(RebaseResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Rebase", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) Root(ctx context.Context, in *RootRequest, opts ...grpc.CallOption) (*RootResponse, error) { + out := new(RootResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Root", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { + out := new(CommitResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Commit", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) ListTableFiles(ctx context.Context, in *ListTableFilesRequest, opts ...grpc.CallOption) (*ListTableFilesResponse, error) { + out := new(ListTableFilesResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/ListTableFiles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *chunkStoreServiceClient) AddTableFiles(ctx context.Context, in *AddTableFilesRequest, opts ...grpc.CallOption) (*AddTableFilesResponse, error) { + out := new(AddTableFilesResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/AddTableFiles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ChunkStoreServiceServer is the server API for ChunkStoreService service. +// All implementations must embed UnimplementedChunkStoreServiceServer +// for forward compatibility +type ChunkStoreServiceServer interface { + GetRepoMetadata(context.Context, *GetRepoMetadataRequest) (*GetRepoMetadataResponse, error) + HasChunks(context.Context, *HasChunksRequest) (*HasChunksResponse, error) + // Get the download locations for a list of chunk hashes. + GetDownloadLocations(context.Context, *GetDownloadLocsRequest) (*GetDownloadLocsResponse, error) + // Get upload locations for a list of table file hashes. + // NOTE: We upload full table files but download individual chunks. + GetUploadLocations(context.Context, *GetUploadLocsRequest) (*GetUploadLocsResponse, error) + Rebase(context.Context, *RebaseRequest) (*RebaseResponse, error) + Root(context.Context, *RootRequest) (*RootResponse, error) + Commit(context.Context, *CommitRequest) (*CommitResponse, error) + ListTableFiles(context.Context, *ListTableFilesRequest) (*ListTableFilesResponse, error) + AddTableFiles(context.Context, *AddTableFilesRequest) (*AddTableFilesResponse, error) + mustEmbedUnimplementedChunkStoreServiceServer() +} + +// UnimplementedChunkStoreServiceServer must be embedded to have forward compatible implementations. +type UnimplementedChunkStoreServiceServer struct { +} + +func (*UnimplementedChunkStoreServiceServer) GetRepoMetadata(context.Context, *GetRepoMetadataRequest) (*GetRepoMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRepoMetadata not implemented") +} +func (*UnimplementedChunkStoreServiceServer) HasChunks(context.Context, *HasChunksRequest) (*HasChunksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HasChunks not implemented") +} +func (*UnimplementedChunkStoreServiceServer) GetDownloadLocations(context.Context, *GetDownloadLocsRequest) (*GetDownloadLocsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDownloadLocations not implemented") +} +func (*UnimplementedChunkStoreServiceServer) GetUploadLocations(context.Context, *GetUploadLocsRequest) (*GetUploadLocsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUploadLocations not implemented") +} +func (*UnimplementedChunkStoreServiceServer) Rebase(context.Context, *RebaseRequest) (*RebaseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Rebase not implemented") +} +func (*UnimplementedChunkStoreServiceServer) Root(context.Context, *RootRequest) (*RootResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Root not implemented") +} +func (*UnimplementedChunkStoreServiceServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented") +} +func (*UnimplementedChunkStoreServiceServer) ListTableFiles(context.Context, *ListTableFilesRequest) (*ListTableFilesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListTableFiles not implemented") +} +func (*UnimplementedChunkStoreServiceServer) AddTableFiles(context.Context, *AddTableFilesRequest) (*AddTableFilesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddTableFiles not implemented") +} +func (*UnimplementedChunkStoreServiceServer) mustEmbedUnimplementedChunkStoreServiceServer() {} + +func RegisterChunkStoreServiceServer(s *grpc.Server, srv ChunkStoreServiceServer) { + s.RegisterService(&_ChunkStoreService_serviceDesc, srv) +} + +func _ChunkStoreService_GetRepoMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRepoMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).GetRepoMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetRepoMetadata", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).GetRepoMetadata(ctx, req.(*GetRepoMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_HasChunks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(HasChunksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).HasChunks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/HasChunks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).HasChunks(ctx, req.(*HasChunksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_GetDownloadLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDownloadLocsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).GetDownloadLocations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetDownloadLocations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).GetDownloadLocations(ctx, req.(*GetDownloadLocsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_GetUploadLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUploadLocsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).GetUploadLocations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/GetUploadLocations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).GetUploadLocations(ctx, req.(*GetUploadLocsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_Rebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RebaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).Rebase(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Rebase", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).Rebase(ctx, req.(*RebaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_Root_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RootRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).Root(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Root", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).Root(ctx, req.(*RootRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommitRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).Commit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/Commit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).Commit(ctx, req.(*CommitRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_ListTableFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListTableFilesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).ListTableFiles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/ListTableFiles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).ListTableFiles(ctx, req.(*ListTableFilesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ChunkStoreService_AddTableFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddTableFilesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ChunkStoreServiceServer).AddTableFiles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.ChunkStoreService/AddTableFiles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ChunkStoreServiceServer).AddTableFiles(ctx, req.(*AddTableFilesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ChunkStoreService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "dolt.services.remotesapi.v1alpha1.ChunkStoreService", + HandlerType: (*ChunkStoreServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetRepoMetadata", + Handler: _ChunkStoreService_GetRepoMetadata_Handler, + }, + { + MethodName: "HasChunks", + Handler: _ChunkStoreService_HasChunks_Handler, + }, + { + MethodName: "GetDownloadLocations", + Handler: _ChunkStoreService_GetDownloadLocations_Handler, + }, + { + MethodName: "GetUploadLocations", + Handler: _ChunkStoreService_GetUploadLocations_Handler, + }, + { + MethodName: "Rebase", + Handler: _ChunkStoreService_Rebase_Handler, + }, + { + MethodName: "Root", + Handler: _ChunkStoreService_Root_Handler, + }, + { + MethodName: "Commit", + Handler: _ChunkStoreService_Commit_Handler, + }, + { + MethodName: "ListTableFiles", + Handler: _ChunkStoreService_ListTableFiles_Handler, + }, + { + MethodName: "AddTableFiles", + Handler: _ChunkStoreService_AddTableFiles_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "dolt/services/remotesapi/v1alpha1/chunkstore.proto", +} diff --git a/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials.pb.go b/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials.pb.go index 7c5f6c991e..e18b1aaaf1 100644 --- a/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials.pb.go +++ b/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials.pb.go @@ -1,225 +1,256 @@ +// Copyright 2019 Liquidata, Inc. +// +// Licensed 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.24.0 +// protoc v3.11.2 // source: dolt/services/remotesapi/v1alpha1/credentials.proto package remotesapi import ( - context "context" - fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type WhoAmIRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WhoAmIRequest) Reset() { *m = WhoAmIRequest{} } -func (m *WhoAmIRequest) String() string { return proto.CompactTextString(m) } -func (*WhoAmIRequest) ProtoMessage() {} +func (x *WhoAmIRequest) Reset() { + *x = WhoAmIRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WhoAmIRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WhoAmIRequest) ProtoMessage() {} + +func (x *WhoAmIRequest) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_credentials_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 WhoAmIRequest.ProtoReflect.Descriptor instead. func (*WhoAmIRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24ed1d4c5faa311b, []int{0} + return file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescGZIP(), []int{0} } -func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WhoAmIRequest.Unmarshal(m, b) -} -func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WhoAmIRequest.Marshal(b, m, deterministic) -} -func (m *WhoAmIRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WhoAmIRequest.Merge(m, src) -} -func (m *WhoAmIRequest) XXX_Size() int { - return xxx_messageInfo_WhoAmIRequest.Size(m) -} -func (m *WhoAmIRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WhoAmIRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WhoAmIRequest proto.InternalMessageInfo - type WhoAmIResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Ex: "bheni" Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Ex: "Brian Hendriks" DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Ex: "brian@liquidata.co" - EmailAddress string `protobuf:"bytes,3,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EmailAddress string `protobuf:"bytes,3,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` } -func (m *WhoAmIResponse) Reset() { *m = WhoAmIResponse{} } -func (m *WhoAmIResponse) String() string { return proto.CompactTextString(m) } -func (*WhoAmIResponse) ProtoMessage() {} +func (x *WhoAmIResponse) Reset() { + *x = WhoAmIResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WhoAmIResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WhoAmIResponse) ProtoMessage() {} + +func (x *WhoAmIResponse) ProtoReflect() protoreflect.Message { + mi := &file_dolt_services_remotesapi_v1alpha1_credentials_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 WhoAmIResponse.ProtoReflect.Descriptor instead. func (*WhoAmIResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24ed1d4c5faa311b, []int{1} + return file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescGZIP(), []int{1} } -func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WhoAmIResponse.Unmarshal(m, b) -} -func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WhoAmIResponse.Marshal(b, m, deterministic) -} -func (m *WhoAmIResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WhoAmIResponse.Merge(m, src) -} -func (m *WhoAmIResponse) XXX_Size() int { - return xxx_messageInfo_WhoAmIResponse.Size(m) -} -func (m *WhoAmIResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WhoAmIResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WhoAmIResponse proto.InternalMessageInfo - -func (m *WhoAmIResponse) GetUsername() string { - if m != nil { - return m.Username +func (x *WhoAmIResponse) GetUsername() string { + if x != nil { + return x.Username } return "" } -func (m *WhoAmIResponse) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *WhoAmIResponse) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *WhoAmIResponse) GetEmailAddress() string { - if m != nil { - return m.EmailAddress +func (x *WhoAmIResponse) GetEmailAddress() string { + if x != nil { + return x.EmailAddress } return "" } -func init() { - proto.RegisterType((*WhoAmIRequest)(nil), "dolt.services.remotesapi.v1alpha1.WhoAmIRequest") - proto.RegisterType((*WhoAmIResponse)(nil), "dolt.services.remotesapi.v1alpha1.WhoAmIResponse") +var File_dolt_services_remotesapi_v1alpha1_credentials_proto protoreflect.FileDescriptor + +var file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDesc = []byte{ + 0x0a, 0x33, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x68, 0x6f, 0x41, + 0x6d, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x0e, 0x57, 0x68, 0x6f, + 0x41, 0x6d, 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, + 0x83, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x06, 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, + 0x12, 0x30, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x64, 0x6f, 0x6c, 0x74, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x68, 0x6f, 0x41, 0x6d, 0x49, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x59, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x69, 0x6e, + 0x63, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x6f, 0x6c, 0x74, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x61, 0x70, 0x69, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("dolt/services/remotesapi/v1alpha1/credentials.proto", fileDescriptor_24ed1d4c5faa311b) +var ( + file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescOnce sync.Once + file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescData = file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDesc +) + +func file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescGZIP() []byte { + file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescOnce.Do(func() { + file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescData = protoimpl.X.CompressGZIP(file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescData) + }) + return file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDescData } -var fileDescriptor_24ed1d4c5faa311b = []byte{ - // 261 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xbf, 0x4f, 0xc3, 0x30, - 0x10, 0x85, 0x55, 0x90, 0x2a, 0x30, 0x2d, 0x48, 0x9e, 0xaa, 0x4e, 0xb4, 0x2c, 0x2c, 0xd8, 0x84, - 0x8e, 0x4c, 0x85, 0x89, 0x85, 0xa1, 0x0c, 0x15, 0x2c, 0xd5, 0x35, 0x3e, 0x25, 0x96, 0xfc, 0xab, - 0x3e, 0xa7, 0x12, 0x33, 0xff, 0x38, 0xaa, 0x43, 0x88, 0x98, 0x2a, 0x46, 0x7f, 0x77, 0x9f, 0xf4, - 0xde, 0x99, 0x2d, 0x94, 0x37, 0x49, 0x12, 0xc6, 0xbd, 0x2e, 0x91, 0x64, 0x44, 0xeb, 0x13, 0x12, - 0x04, 0x2d, 0xf7, 0x05, 0x98, 0x50, 0x43, 0x21, 0xcb, 0x88, 0x0a, 0x5d, 0xd2, 0x60, 0x48, 0x84, - 0xe8, 0x93, 0xe7, 0xb3, 0x83, 0x24, 0x3a, 0x49, 0xf4, 0x92, 0xe8, 0xa4, 0xf9, 0x15, 0x1b, 0xaf, - 0x6b, 0xbf, 0xb4, 0x2f, 0x2b, 0xdc, 0x35, 0x48, 0x69, 0x9e, 0xd8, 0x65, 0x07, 0x28, 0x78, 0x47, - 0xc8, 0xa7, 0xec, 0xac, 0x21, 0x8c, 0x0e, 0x2c, 0x4e, 0x06, 0xd7, 0x83, 0xdb, 0xf3, 0xd5, 0xef, - 0x9b, 0xcf, 0xd8, 0x48, 0x69, 0x0a, 0x06, 0x3e, 0x37, 0x79, 0x7e, 0x92, 0xe7, 0x17, 0x3f, 0xec, - 0xf5, 0xb0, 0x72, 0xc3, 0xc6, 0x68, 0x41, 0x9b, 0x0d, 0x28, 0x15, 0x91, 0x68, 0x72, 0x9a, 0x77, - 0x46, 0x19, 0x2e, 0x5b, 0xf6, 0xf0, 0x35, 0x60, 0xfc, 0xb9, 0xcf, 0xff, 0xd6, 0x46, 0xe6, 0x96, - 0x0d, 0xdb, 0x30, 0xfc, 0x5e, 0x1c, 0xed, 0x22, 0xfe, 0x14, 0x99, 0x16, 0xff, 0x30, 0xda, 0xa6, - 0x4f, 0xef, 0x1f, 0xeb, 0x4a, 0xa7, 0xba, 0xd9, 0x8a, 0xd2, 0x5b, 0x69, 0xf4, 0xae, 0xd1, 0x0a, - 0x12, 0xdc, 0x69, 0x57, 0xca, 0x7c, 0xff, 0xca, 0xcb, 0x0a, 0x9d, 0xcc, 0xd7, 0x95, 0x47, 0x7f, - 0xe4, 0xb1, 0x67, 0xdb, 0x61, 0x76, 0x16, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x38, 0x85, 0x41, - 0x95, 0xc8, 0x01, 0x00, 0x00, +var file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_dolt_services_remotesapi_v1alpha1_credentials_proto_goTypes = []interface{}{ + (*WhoAmIRequest)(nil), // 0: dolt.services.remotesapi.v1alpha1.WhoAmIRequest + (*WhoAmIResponse)(nil), // 1: dolt.services.remotesapi.v1alpha1.WhoAmIResponse +} +var file_dolt_services_remotesapi_v1alpha1_credentials_proto_depIdxs = []int32{ + 0, // 0: dolt.services.remotesapi.v1alpha1.CredentialsService.WhoAmI:input_type -> dolt.services.remotesapi.v1alpha1.WhoAmIRequest + 1, // 1: dolt.services.remotesapi.v1alpha1.CredentialsService.WhoAmI:output_type -> dolt.services.remotesapi.v1alpha1.WhoAmIResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// CredentialsServiceClient is the client API for CredentialsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CredentialsServiceClient interface { - WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) -} - -type credentialsServiceClient struct { - cc *grpc.ClientConn -} - -func NewCredentialsServiceClient(cc *grpc.ClientConn) CredentialsServiceClient { - return &credentialsServiceClient{cc} -} - -func (c *credentialsServiceClient) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) { - out := new(WhoAmIResponse) - err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.CredentialsService/WhoAmI", in, out, opts...) - if err != nil { - return nil, err +func init() { file_dolt_services_remotesapi_v1alpha1_credentials_proto_init() } +func file_dolt_services_remotesapi_v1alpha1_credentials_proto_init() { + if File_dolt_services_remotesapi_v1alpha1_credentials_proto != nil { + return } - return out, nil -} - -// CredentialsServiceServer is the server API for CredentialsService service. -type CredentialsServiceServer interface { - WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) -} - -// UnimplementedCredentialsServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCredentialsServiceServer struct { -} - -func (*UnimplementedCredentialsServiceServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WhoAmI not implemented") -} - -func RegisterCredentialsServiceServer(s *grpc.Server, srv CredentialsServiceServer) { - s.RegisterService(&_CredentialsService_serviceDesc, srv) -} - -func _CredentialsService_WhoAmI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WhoAmIRequest) - if err := dec(in); err != nil { - return nil, err + if !protoimpl.UnsafeEnabled { + file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WhoAmIRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WhoAmIResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - if interceptor == nil { - return srv.(CredentialsServiceServer).WhoAmI(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dolt.services.remotesapi.v1alpha1.CredentialsService/WhoAmI", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CredentialsServiceServer).WhoAmI(ctx, req.(*WhoAmIRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _CredentialsService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dolt.services.remotesapi.v1alpha1.CredentialsService", - HandlerType: (*CredentialsServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "WhoAmI", - Handler: _CredentialsService_WhoAmI_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dolt/services/remotesapi/v1alpha1/credentials.proto", + GoTypes: file_dolt_services_remotesapi_v1alpha1_credentials_proto_goTypes, + DependencyIndexes: file_dolt_services_remotesapi_v1alpha1_credentials_proto_depIdxs, + MessageInfos: file_dolt_services_remotesapi_v1alpha1_credentials_proto_msgTypes, + }.Build() + File_dolt_services_remotesapi_v1alpha1_credentials_proto = out.File + file_dolt_services_remotesapi_v1alpha1_credentials_proto_rawDesc = nil + file_dolt_services_remotesapi_v1alpha1_credentials_proto_goTypes = nil + file_dolt_services_remotesapi_v1alpha1_credentials_proto_depIdxs = nil } diff --git a/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials_grpc.pb.go b/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials_grpc.pb.go new file mode 100644 index 0000000000..6de0e2b807 --- /dev/null +++ b/go/gen/proto/dolt/services/remotesapi/v1alpha1/credentials_grpc.pb.go @@ -0,0 +1,90 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package remotesapi + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// CredentialsServiceClient is the client API for CredentialsService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type CredentialsServiceClient interface { + WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) +} + +type credentialsServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewCredentialsServiceClient(cc grpc.ClientConnInterface) CredentialsServiceClient { + return &credentialsServiceClient{cc} +} + +func (c *credentialsServiceClient) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) { + out := new(WhoAmIResponse) + err := c.cc.Invoke(ctx, "/dolt.services.remotesapi.v1alpha1.CredentialsService/WhoAmI", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CredentialsServiceServer is the server API for CredentialsService service. +// All implementations must embed UnimplementedCredentialsServiceServer +// for forward compatibility +type CredentialsServiceServer interface { + WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) + mustEmbedUnimplementedCredentialsServiceServer() +} + +// UnimplementedCredentialsServiceServer must be embedded to have forward compatible implementations. +type UnimplementedCredentialsServiceServer struct { +} + +func (*UnimplementedCredentialsServiceServer) WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WhoAmI not implemented") +} +func (*UnimplementedCredentialsServiceServer) mustEmbedUnimplementedCredentialsServiceServer() {} + +func RegisterCredentialsServiceServer(s *grpc.Server, srv CredentialsServiceServer) { + s.RegisterService(&_CredentialsService_serviceDesc, srv) +} + +func _CredentialsService_WhoAmI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WhoAmIRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CredentialsServiceServer).WhoAmI(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dolt.services.remotesapi.v1alpha1.CredentialsService/WhoAmI", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CredentialsServiceServer).WhoAmI(ctx, req.(*WhoAmIRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CredentialsService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "dolt.services.remotesapi.v1alpha1.CredentialsService", + HandlerType: (*CredentialsServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "WhoAmI", + Handler: _CredentialsService_WhoAmI_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "dolt/services/remotesapi/v1alpha1/credentials.proto", +} diff --git a/go/gen/proto/github.com/liquidata-inc/dolt/go/gen/proto b/go/gen/proto/github.com/liquidata-inc/dolt/go/gen/proto new file mode 120000 index 0000000000..3efed95be5 --- /dev/null +++ b/go/gen/proto/github.com/liquidata-inc/dolt/go/gen/proto @@ -0,0 +1 @@ +../../../../../ \ No newline at end of file diff --git a/go/go.mod b/go/go.mod index 6c9ef2a324..4822fd1392 100644 --- a/go/go.mod +++ b/go/go.mod @@ -85,6 +85,7 @@ require ( golang.org/x/tools v0.0.0-20200622150058-fcc5b64fe1f1 // indirect google.golang.org/api v0.28.0 google.golang.org/grpc v1.29.1 + google.golang.org/protobuf v1.24.0 gopkg.in/square/go-jose.v2 v2.5.1 gopkg.in/src-d/go-errors.v1 v1.0.0 gopkg.in/yaml.v2 v2.3.0 diff --git a/go/utils/remotesrv/grpc.go b/go/utils/remotesrv/grpc.go index 240c7a365e..84c66e2fd8 100644 --- a/go/utils/remotesrv/grpc.go +++ b/go/utils/remotesrv/grpc.go @@ -36,13 +36,14 @@ type RemoteChunkStore struct { HttpHost string csCache *DBCache bucket string + remotesapi.UnimplementedChunkStoreServiceServer } func NewHttpFSBackedChunkStore(httpHost string, csCache *DBCache) *RemoteChunkStore { return &RemoteChunkStore{ - httpHost, - csCache, - "", + HttpHost: httpHost, + csCache: csCache, + bucket: "", } } diff --git a/proto/Makefile b/proto/Makefile index 0cd86fbf0a..eb7aff1ede 100644 --- a/proto/Makefile +++ b/proto/Makefile @@ -5,9 +5,10 @@ THIRD_PARTY_ROOT := ./third_party GOOGLEAPIS := $(THIRD_PARTY_ROOT)/googleapis PROTOBUF := $(THIRD_PARTY_ROOT)/protobuf/src -PROTOC_GEN_GO := third_party/golang-protobuf/._protoc-gen-go +PROTOC_GEN_GO := third_party/protobuf-go/._protoc-gen-go +PROTOC_GEN_GO_GRPC := third_party/grpc-go/cmd/protoc-gen-go-grpc/._protoc-gen-go-grpc PROTOC := $(THIRD_PARTY_ROOT)/protobuf/bazel-bin/protoc -PROTOC_FLAGS = --plugin=protoc-gen-go=$(PROTOC_GEN_GO) -I . -I $(GOOGLEAPIS) -I $(PROTOBUF) +PROTOC_FLAGS = --plugin=protoc-gen-go=$(PROTOC_GEN_GO) --plugin=protoc-gen-go-grpc=$(PROTOC_GEN_GO_GRPC) -I . -I $(GOOGLEAPIS) -I $(PROTOBUF) pbgo_out := ../go/gen/proto @@ -21,17 +22,24 @@ REMOTESAPI_protos := \ dolt/services/remotesapi/v1alpha1/credentials.proto REMOTESAPI_pbgo_pkg_path := dolt/services/remotesapi/v1alpha1 +nonservice_protos := \ + dolt/services/eventsapi/v1alpha1/event_constants.proto + PBGO_pkgs := \ CLIENTEVENTS \ REMOTESAPI \ - EVENTSAPI \ - EVENTSAPI2 + EVENTSAPI all: +$(PROTOC_GEN_GO_GRPC): + @echo "ERROR: Could not find $(PROTOC_GEN_GO_GRPC)" + @echo "ERROR: Run "'`'"go build -o ._protoc-gen-go-grpc ."'`'" in third_party/grpc-go/cmd/protoc-gen-go-grpc to build protoc-gen-go-grpc." + @exit 1 + $(PROTOC_GEN_GO): @echo "ERROR: Could not find $(PROTOC_GEN_GO)" - @echo "ERROR: Run "'`'"go build -o ._protoc-gen-go ./protoc-gen-go"'`'" in third_party/golang-protobuf to build protoc-gen-go." + @echo "ERROR: Run "'`'"go build -o ._protoc-gen-go ./cmd/protoc-gen-go"'`'" in third_party/protobuf-go to build protoc-gen-go." @exit 1 $(PROTOC): @@ -45,21 +53,23 @@ clean: @rm -f $(ALL_OUTPUTS) define PROTOC_template # 1=proto, 2=outputs, 3=flags -$(2) : $(1) $(PROTOC) $(PROTOC_GEN_GO) +$(2) : $(1) $(PROTOC) $(PROTOC_GEN_GO) $(PROTOC_GEN_GO_GRPC) @$$(PROTOC) $$(PROTOC_FLAGS) $(3) $(1) ALL_OUTPUTS += $(2) all: $(2) endef define PBGO_output # 1=proto -$(patsubst %.proto,%.pb.go,$(1)) +$(patsubst %.proto,%.pb.go,$(1)) \ +$(if $(findstring $(1),$(nonservice_protos)),,$(patsubst %.proto,%_grpc.pb.go,$(1))) endef define PBGO_template # 1=proto, 2=output pkg path, 3=output base $(call PROTOC_template,\ $(1),\ $(addprefix $(3)/$(2)/,$(notdir $(call PBGO_output,$(1)))),\ - --go_out=plugins=grpc$(comma)paths=source_relative:$(3)) + --go_out=paths=source_relative:$(3) \ + --go-grpc_out=$(3)) endef $(foreach p,$(PBGO_pkgs),\ diff --git a/proto/third_party/grpc-go b/proto/third_party/grpc-go new file mode 160000 index 0000000000..1f47ba4663 --- /dev/null +++ b/proto/third_party/grpc-go @@ -0,0 +1 @@ +Subproject commit 1f47ba4663831f2a9c28a62a7de3ff8bc45078f0 diff --git a/proto/third_party/protobuf-go b/proto/third_party/protobuf-go new file mode 160000 index 0000000000..5c3dd7024a --- /dev/null +++ b/proto/third_party/protobuf-go @@ -0,0 +1 @@ +Subproject commit 5c3dd7024aed895adfe053f26b5a479e991cbca9