13982 lines
434 KiB
Go
13982 lines
434 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: waymaker_streams.proto
|
|
|
|
package waymaker_streams
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type OnDropPolicy int32
|
|
|
|
const (
|
|
OnDropPolicy_ON_DROP_HALT OnDropPolicy = 0
|
|
OnDropPolicy_ON_DROP_SKIP_TO_FIRST_AVAILABLE OnDropPolicy = 1
|
|
)
|
|
|
|
// Enum value maps for OnDropPolicy.
|
|
var (
|
|
OnDropPolicy_name = map[int32]string{
|
|
0: "ON_DROP_HALT",
|
|
1: "ON_DROP_SKIP_TO_FIRST_AVAILABLE",
|
|
}
|
|
OnDropPolicy_value = map[string]int32{
|
|
"ON_DROP_HALT": 0,
|
|
"ON_DROP_SKIP_TO_FIRST_AVAILABLE": 1,
|
|
}
|
|
)
|
|
|
|
func (x OnDropPolicy) Enum() *OnDropPolicy {
|
|
p := new(OnDropPolicy)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OnDropPolicy) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OnDropPolicy) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waymaker_streams_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (OnDropPolicy) Type() protoreflect.EnumType {
|
|
return &file_waymaker_streams_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x OnDropPolicy) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OnDropPolicy.Descriptor instead.
|
|
func (OnDropPolicy) EnumDescriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type DeliveryPolicyType int32
|
|
|
|
const (
|
|
DeliveryPolicyType_DELIVERY_ALL DeliveryPolicyType = 0
|
|
DeliveryPolicyType_DELIVERY_LAST DeliveryPolicyType = 1
|
|
DeliveryPolicyType_DELIVERY_BY_START_SEQ DeliveryPolicyType = 2
|
|
DeliveryPolicyType_DELIVERY_BY_START_TIME DeliveryPolicyType = 3
|
|
)
|
|
|
|
// Enum value maps for DeliveryPolicyType.
|
|
var (
|
|
DeliveryPolicyType_name = map[int32]string{
|
|
0: "DELIVERY_ALL",
|
|
1: "DELIVERY_LAST",
|
|
2: "DELIVERY_BY_START_SEQ",
|
|
3: "DELIVERY_BY_START_TIME",
|
|
}
|
|
DeliveryPolicyType_value = map[string]int32{
|
|
"DELIVERY_ALL": 0,
|
|
"DELIVERY_LAST": 1,
|
|
"DELIVERY_BY_START_SEQ": 2,
|
|
"DELIVERY_BY_START_TIME": 3,
|
|
}
|
|
)
|
|
|
|
func (x DeliveryPolicyType) Enum() *DeliveryPolicyType {
|
|
p := new(DeliveryPolicyType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DeliveryPolicyType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DeliveryPolicyType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waymaker_streams_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (DeliveryPolicyType) Type() protoreflect.EnumType {
|
|
return &file_waymaker_streams_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x DeliveryPolicyType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DeliveryPolicyType.Descriptor instead.
|
|
func (DeliveryPolicyType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// Identifies which kind of state change happened. The full
|
|
// WatchEvent carries one detail oneof matching this type.
|
|
type WatchEventType int32
|
|
|
|
const (
|
|
WatchEventType_WATCH_UNKNOWN WatchEventType = 0
|
|
WatchEventType_WATCH_STREAM_CREATED WatchEventType = 1
|
|
WatchEventType_WATCH_STREAM_DELETED WatchEventType = 2
|
|
WatchEventType_WATCH_STREAM_UPDATED WatchEventType = 3
|
|
WatchEventType_WATCH_CONSUMER_CREATED WatchEventType = 4
|
|
WatchEventType_WATCH_CONSUMER_DELETED WatchEventType = 5
|
|
// Phase 3 — emitted on every apply of StreamAuthorityClaim or
|
|
// ClearStreamAuthority. `claimant_node_id == 0` in the detail
|
|
// distinguishes a clear from a set (since 0 isn't a valid node
|
|
// id).
|
|
WatchEventType_WATCH_STREAM_AUTHORITY_CHANGED WatchEventType = 6
|
|
)
|
|
|
|
// Enum value maps for WatchEventType.
|
|
var (
|
|
WatchEventType_name = map[int32]string{
|
|
0: "WATCH_UNKNOWN",
|
|
1: "WATCH_STREAM_CREATED",
|
|
2: "WATCH_STREAM_DELETED",
|
|
3: "WATCH_STREAM_UPDATED",
|
|
4: "WATCH_CONSUMER_CREATED",
|
|
5: "WATCH_CONSUMER_DELETED",
|
|
6: "WATCH_STREAM_AUTHORITY_CHANGED",
|
|
}
|
|
WatchEventType_value = map[string]int32{
|
|
"WATCH_UNKNOWN": 0,
|
|
"WATCH_STREAM_CREATED": 1,
|
|
"WATCH_STREAM_DELETED": 2,
|
|
"WATCH_STREAM_UPDATED": 3,
|
|
"WATCH_CONSUMER_CREATED": 4,
|
|
"WATCH_CONSUMER_DELETED": 5,
|
|
"WATCH_STREAM_AUTHORITY_CHANGED": 6,
|
|
}
|
|
)
|
|
|
|
func (x WatchEventType) Enum() *WatchEventType {
|
|
p := new(WatchEventType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WatchEventType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WatchEventType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_waymaker_streams_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (WatchEventType) Type() protoreflect.EnumType {
|
|
return &file_waymaker_streams_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x WatchEventType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WatchEventType.Descriptor instead.
|
|
func (WatchEventType) EnumDescriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
// `Limits` retention with three optional bounds. Any bound that's
|
|
// unset (`*` field omitted) means "no limit on that dimension".
|
|
type LimitsRetention struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MaxAgeMs *uint64 `protobuf:"varint,1,opt,name=max_age_ms,json=maxAgeMs,proto3,oneof" json:"max_age_ms,omitempty"`
|
|
MaxMsgs *uint64 `protobuf:"varint,2,opt,name=max_msgs,json=maxMsgs,proto3,oneof" json:"max_msgs,omitempty"`
|
|
MaxBytes *uint64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3,oneof" json:"max_bytes,omitempty"`
|
|
// `false` = block-aligned approximate pruning (default). `true` =
|
|
// per-message exact pruning. See STREAMS_SPEC.md §6.
|
|
StrictLimits bool `protobuf:"varint,4,opt,name=strict_limits,json=strictLimits,proto3" json:"strict_limits,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LimitsRetention) Reset() {
|
|
*x = LimitsRetention{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LimitsRetention) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LimitsRetention) ProtoMessage() {}
|
|
|
|
func (x *LimitsRetention) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LimitsRetention.ProtoReflect.Descriptor instead.
|
|
func (*LimitsRetention) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LimitsRetention) GetMaxAgeMs() uint64 {
|
|
if x != nil && x.MaxAgeMs != nil {
|
|
return *x.MaxAgeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LimitsRetention) GetMaxMsgs() uint64 {
|
|
if x != nil && x.MaxMsgs != nil {
|
|
return *x.MaxMsgs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LimitsRetention) GetMaxBytes() uint64 {
|
|
if x != nil && x.MaxBytes != nil {
|
|
return *x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LimitsRetention) GetStrictLimits() bool {
|
|
if x != nil {
|
|
return x.StrictLimits
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WorkQueueRetention struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WorkQueueRetention) Reset() {
|
|
*x = WorkQueueRetention{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WorkQueueRetention) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkQueueRetention) ProtoMessage() {}
|
|
|
|
func (x *WorkQueueRetention) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkQueueRetention.ProtoReflect.Descriptor instead.
|
|
func (*WorkQueueRetention) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// `Interest` retention: drop a block once every consumer's
|
|
// `ack_floor` has advanced past its `last_seq`. With zero
|
|
// consumers, every block is eligible. Block-aligned (not
|
|
// per-message) so retention sweeps stay cheap.
|
|
type InterestRetention struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InterestRetention) Reset() {
|
|
*x = InterestRetention{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InterestRetention) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InterestRetention) ProtoMessage() {}
|
|
|
|
func (x *InterestRetention) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InterestRetention.ProtoReflect.Descriptor instead.
|
|
func (*InterestRetention) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type Retention struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Policy:
|
|
//
|
|
// *Retention_Limits
|
|
// *Retention_WorkQueue
|
|
// *Retention_Interest
|
|
Policy isRetention_Policy `protobuf_oneof:"policy"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Retention) Reset() {
|
|
*x = Retention{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Retention) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Retention) ProtoMessage() {}
|
|
|
|
func (x *Retention) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Retention.ProtoReflect.Descriptor instead.
|
|
func (*Retention) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Retention) GetPolicy() isRetention_Policy {
|
|
if x != nil {
|
|
return x.Policy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Retention) GetLimits() *LimitsRetention {
|
|
if x != nil {
|
|
if x, ok := x.Policy.(*Retention_Limits); ok {
|
|
return x.Limits
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Retention) GetWorkQueue() *WorkQueueRetention {
|
|
if x != nil {
|
|
if x, ok := x.Policy.(*Retention_WorkQueue); ok {
|
|
return x.WorkQueue
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Retention) GetInterest() *InterestRetention {
|
|
if x != nil {
|
|
if x, ok := x.Policy.(*Retention_Interest); ok {
|
|
return x.Interest
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRetention_Policy interface {
|
|
isRetention_Policy()
|
|
}
|
|
|
|
type Retention_Limits struct {
|
|
Limits *LimitsRetention `protobuf:"bytes,1,opt,name=limits,proto3,oneof"`
|
|
}
|
|
|
|
type Retention_WorkQueue struct {
|
|
WorkQueue *WorkQueueRetention `protobuf:"bytes,2,opt,name=work_queue,json=workQueue,proto3,oneof"`
|
|
}
|
|
|
|
type Retention_Interest struct {
|
|
Interest *InterestRetention `protobuf:"bytes,3,opt,name=interest,proto3,oneof"`
|
|
}
|
|
|
|
func (*Retention_Limits) isRetention_Policy() {}
|
|
|
|
func (*Retention_WorkQueue) isRetention_Policy() {}
|
|
|
|
func (*Retention_Interest) isRetention_Policy() {}
|
|
|
|
type StreamConfigPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Subject patterns this stream accepts. Empty Vec = no filter.
|
|
SubjectsFilter []string `protobuf:"bytes,2,rep,name=subjects_filter,json=subjectsFilter,proto3" json:"subjects_filter,omitempty"`
|
|
Retention *Retention `protobuf:"bytes,3,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
// Messages per block; 0 = server default (currently 100_000).
|
|
BlockSize uint64 `protobuf:"varint,4,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
|
|
// Optional per-message size cap; 0 = no cap.
|
|
MaxMsgBytes uint64 `protobuf:"varint,5,opt,name=max_msg_bytes,json=maxMsgBytes,proto3" json:"max_msg_bytes,omitempty"`
|
|
// If true, the stream is stored entirely in memory — no redb
|
|
// file is created. State survives node failover via the
|
|
// existing replication path but a full-cluster restart loses
|
|
// it. Matches the NATS JetStream `memory` storage mode.
|
|
// Immutable after create.
|
|
Ephemeral bool `protobuf:"varint,6,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
// Cross-stream sources — this stream pulls messages from each
|
|
// listed source stream as a tail subscriber and appends them
|
|
// locally with provenance headers (`waymaker-source-stream`,
|
|
// `waymaker-source-seq`). See `SOURCES_DESIGN.md`. Slice 1
|
|
// accepts at most one entry; the wire is `repeated` for forward
|
|
// compatibility with slice 2 (multi-source fan-in).
|
|
Sources []*StreamSourceConfigPb `protobuf:"bytes,7,rep,name=sources,proto3" json:"sources,omitempty"`
|
|
// Per-subject revision cap. `0` (default) = unbounded — history
|
|
// bounded only by stream-level retention. When N > 0, after a
|
|
// successful publish, older messages at that subject beyond the
|
|
// N most recent are dropped via per-message pruning. Mirrors
|
|
// NATS JetStream's MaxMsgsPerSubject. Backs KV's max_revisions.
|
|
MaxMsgsPerSubject uint64 `protobuf:"varint,8,opt,name=max_msgs_per_subject,json=maxMsgsPerSubject,proto3" json:"max_msgs_per_subject,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamConfigPb) Reset() {
|
|
*x = StreamConfigPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamConfigPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamConfigPb) ProtoMessage() {}
|
|
|
|
func (x *StreamConfigPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamConfigPb.ProtoReflect.Descriptor instead.
|
|
func (*StreamConfigPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetSubjectsFilter() []string {
|
|
if x != nil {
|
|
return x.SubjectsFilter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetRetention() *Retention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetBlockSize() uint64 {
|
|
if x != nil {
|
|
return x.BlockSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetMaxMsgBytes() uint64 {
|
|
if x != nil {
|
|
return x.MaxMsgBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetEphemeral() bool {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetSources() []*StreamSourceConfigPb {
|
|
if x != nil {
|
|
return x.Sources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamConfigPb) GetMaxMsgsPerSubject() uint64 {
|
|
if x != nil {
|
|
return x.MaxMsgsPerSubject
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// One source feeding a sourcing stream. Slice 1 honours only
|
|
// `source_stream`; the remaining fields land in slice 2/3.
|
|
type StreamSourceConfigPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SourceStream string `protobuf:"bytes,1,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"`
|
|
// Optional NATS-style filter; empty = pull every subject.
|
|
// Honoured since slice 2B.
|
|
FilterSubject string `protobuf:"bytes,2,opt,name=filter_subject,json=filterSubject,proto3" json:"filter_subject,omitempty"`
|
|
// Start position. 0/0 = pull from beginning (slice 1 default).
|
|
// start_seq honoured since 2C. start_time_ms reserved (rejected).
|
|
StartSeq uint64 `protobuf:"varint,3,opt,name=start_seq,json=startSeq,proto3" json:"start_seq,omitempty"`
|
|
StartTimeMs int64 `protobuf:"varint,4,opt,name=start_time_ms,json=startTimeMs,proto3" json:"start_time_ms,omitempty"`
|
|
// Optional subject rewrite. Slice 3.
|
|
SubjectTransform *SubjectTransformPb `protobuf:"bytes,5,opt,name=subject_transform,json=subjectTransform,proto3" json:"subject_transform,omitempty"`
|
|
// Slice 2F: cap on the initial backfill window. When > 0 AND
|
|
// there's no persisted state for this (sourcing, source), the
|
|
// tail seeds its watermark at max(0, source.last_seq -
|
|
// max_initial_backfill) instead of pulling from seq 1. Once
|
|
// there's persisted state (i.e. after the first batch), this
|
|
// knob is ignored — the tail resumes from the persisted seq.
|
|
// Use 0 (default) for "unbounded" (slice 1 behaviour).
|
|
MaxInitialBackfill uint64 `protobuf:"varint,6,opt,name=max_initial_backfill,json=maxInitialBackfill,proto3" json:"max_initial_backfill,omitempty"`
|
|
// Slice 3: behaviour when the source's retention sweep drops
|
|
// messages past our last_sourced_seq (we've fallen behind and
|
|
// the source no longer has the messages we'd next pull).
|
|
// - ON_DROP_HALT (default, 0): tail surfaces a persistent
|
|
// error and stops advancing — operator must intervene.
|
|
// - ON_DROP_SKIP_TO_FIRST_AVAILABLE (1): tail jumps its
|
|
// watermark to source.first_seq - 1 and resumes, with
|
|
// a warn event surfaced via last_error for one cycle so
|
|
// operators can alert on it.
|
|
OnDrop OnDropPolicy `protobuf:"varint,7,opt,name=on_drop,json=onDrop,proto3,enum=waymaker.streams.OnDropPolicy" json:"on_drop,omitempty"`
|
|
// Slice 3: optional dead-letter stream. When the tail records
|
|
// an error (subject_transform mismatch, append_failed,
|
|
// on_drop=halt firing), publish a JSON record describing the
|
|
// event to this stream so operators can triage without
|
|
// scraping logs. Empty (default) = no DLQ.
|
|
DlqStream string `protobuf:"bytes,8,opt,name=dlq_stream,json=dlqStream,proto3" json:"dlq_stream,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) Reset() {
|
|
*x = StreamSourceConfigPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamSourceConfigPb) ProtoMessage() {}
|
|
|
|
func (x *StreamSourceConfigPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamSourceConfigPb.ProtoReflect.Descriptor instead.
|
|
func (*StreamSourceConfigPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetSourceStream() string {
|
|
if x != nil {
|
|
return x.SourceStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetFilterSubject() string {
|
|
if x != nil {
|
|
return x.FilterSubject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetStartSeq() uint64 {
|
|
if x != nil {
|
|
return x.StartSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetStartTimeMs() int64 {
|
|
if x != nil {
|
|
return x.StartTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetSubjectTransform() *SubjectTransformPb {
|
|
if x != nil {
|
|
return x.SubjectTransform
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetMaxInitialBackfill() uint64 {
|
|
if x != nil {
|
|
return x.MaxInitialBackfill
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetOnDrop() OnDropPolicy {
|
|
if x != nil {
|
|
return x.OnDrop
|
|
}
|
|
return OnDropPolicy_ON_DROP_HALT
|
|
}
|
|
|
|
func (x *StreamSourceConfigPb) GetDlqStream() string {
|
|
if x != nil {
|
|
return x.DlqStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubjectTransformPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// NATS-style: e.g. "events.>" with destination "audit.{{wildcard(1)}}".
|
|
SourcePattern string `protobuf:"bytes,1,opt,name=source_pattern,json=sourcePattern,proto3" json:"source_pattern,omitempty"`
|
|
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubjectTransformPb) Reset() {
|
|
*x = SubjectTransformPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubjectTransformPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubjectTransformPb) ProtoMessage() {}
|
|
|
|
func (x *SubjectTransformPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubjectTransformPb.ProtoReflect.Descriptor instead.
|
|
func (*SubjectTransformPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SubjectTransformPb) GetSourcePattern() string {
|
|
if x != nil {
|
|
return x.SourcePattern
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubjectTransformPb) GetDestination() string {
|
|
if x != nil {
|
|
return x.Destination
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StreamStatsPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
LastSeq uint64 `protobuf:"varint,1,opt,name=last_seq,json=lastSeq,proto3" json:"last_seq,omitempty"`
|
|
MsgCount uint64 `protobuf:"varint,2,opt,name=msg_count,json=msgCount,proto3" json:"msg_count,omitempty"`
|
|
Bytes uint64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
BlockCount uint64 `protobuf:"varint,4,opt,name=block_count,json=blockCount,proto3" json:"block_count,omitempty"`
|
|
// 0 if there are no blocks (empty stream).
|
|
FirstBlock uint64 `protobuf:"varint,5,opt,name=first_block,json=firstBlock,proto3" json:"first_block,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamStatsPb) Reset() {
|
|
*x = StreamStatsPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamStatsPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamStatsPb) ProtoMessage() {}
|
|
|
|
func (x *StreamStatsPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamStatsPb.ProtoReflect.Descriptor instead.
|
|
func (*StreamStatsPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *StreamStatsPb) GetLastSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamStatsPb) GetMsgCount() uint64 {
|
|
if x != nil {
|
|
return x.MsgCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamStatsPb) GetBytes() uint64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamStatsPb) GetBlockCount() uint64 {
|
|
if x != nil {
|
|
return x.BlockCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamStatsPb) GetFirstBlock() uint64 {
|
|
if x != nil {
|
|
return x.FirstBlock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MessageHeader struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MessageHeader) Reset() {
|
|
*x = MessageHeader{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MessageHeader) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MessageHeader) ProtoMessage() {}
|
|
|
|
func (x *MessageHeader) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MessageHeader.ProtoReflect.Descriptor instead.
|
|
func (*MessageHeader) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MessageHeader) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessageHeader) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MessagePb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
TsMs int64 `protobuf:"varint,3,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
Headers []*MessageHeader `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
// Delivery attempt count assigned by the consumer at fetch time.
|
|
// Populated only for Fetch responses; 0 otherwise.
|
|
DeliverCount uint32 `protobuf:"varint,6,opt,name=deliver_count,json=deliverCount,proto3" json:"deliver_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MessagePb) Reset() {
|
|
*x = MessagePb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MessagePb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MessagePb) ProtoMessage() {}
|
|
|
|
func (x *MessagePb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MessagePb.ProtoReflect.Descriptor instead.
|
|
func (*MessagePb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *MessagePb) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessagePb) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MessagePb) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MessagePb) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MessagePb) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MessagePb) GetDeliverCount() uint32 {
|
|
if x != nil {
|
|
return x.DeliverCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeliveryPolicyPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type DeliveryPolicyType `protobuf:"varint,1,opt,name=type,proto3,enum=waymaker.streams.DeliveryPolicyType" json:"type,omitempty"`
|
|
// Used only when type == DELIVERY_BY_START_SEQ.
|
|
StartSeq uint64 `protobuf:"varint,2,opt,name=start_seq,json=startSeq,proto3" json:"start_seq,omitempty"`
|
|
// Used only when type == DELIVERY_BY_START_TIME. Wall-clock ms.
|
|
StartTimeMs int64 `protobuf:"varint,3,opt,name=start_time_ms,json=startTimeMs,proto3" json:"start_time_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeliveryPolicyPb) Reset() {
|
|
*x = DeliveryPolicyPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeliveryPolicyPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeliveryPolicyPb) ProtoMessage() {}
|
|
|
|
func (x *DeliveryPolicyPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeliveryPolicyPb.ProtoReflect.Descriptor instead.
|
|
func (*DeliveryPolicyPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DeliveryPolicyPb) GetType() DeliveryPolicyType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return DeliveryPolicyType_DELIVERY_ALL
|
|
}
|
|
|
|
func (x *DeliveryPolicyPb) GetStartSeq() uint64 {
|
|
if x != nil {
|
|
return x.StartSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeliveryPolicyPb) GetStartTimeMs() int64 {
|
|
if x != nil {
|
|
return x.StartTimeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConsumerConfigPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Empty = no filter.
|
|
FilterSubject string `protobuf:"bytes,2,opt,name=filter_subject,json=filterSubject,proto3" json:"filter_subject,omitempty"`
|
|
DeliveryPolicy *DeliveryPolicyPb `protobuf:"bytes,3,opt,name=delivery_policy,json=deliveryPolicy,proto3" json:"delivery_policy,omitempty"`
|
|
// 0 = server default (30s).
|
|
AckWaitMs uint64 `protobuf:"varint,4,opt,name=ack_wait_ms,json=ackWaitMs,proto3" json:"ack_wait_ms,omitempty"`
|
|
// 0 = server default (5).
|
|
MaxDeliver uint32 `protobuf:"varint,5,opt,name=max_deliver,json=maxDeliver,proto3" json:"max_deliver,omitempty"`
|
|
// Empty = no queue group.
|
|
DeliverGroup string `protobuf:"bytes,6,opt,name=deliver_group,json=deliverGroup,proto3" json:"deliver_group,omitempty"`
|
|
// Phase 2 dead-letter routing. When non-empty, every message
|
|
// this consumer drops after `max_deliver` attempts is republished
|
|
// into the same stream under this subject. Original metadata is
|
|
// preserved as `x-waymaker-dlq-*` headers. Empty = silent drop.
|
|
// The stream's `subjects_filter` must accept this subject —
|
|
// operators typically reserve a pattern like `dlq.>` and include
|
|
// it in the stream's filter.
|
|
DeadLetterSubject string `protobuf:"bytes,7,opt,name=dead_letter_subject,json=deadLetterSubject,proto3" json:"dead_letter_subject,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) Reset() {
|
|
*x = ConsumerConfigPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConsumerConfigPb) ProtoMessage() {}
|
|
|
|
func (x *ConsumerConfigPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConsumerConfigPb.ProtoReflect.Descriptor instead.
|
|
func (*ConsumerConfigPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetFilterSubject() string {
|
|
if x != nil {
|
|
return x.FilterSubject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetDeliveryPolicy() *DeliveryPolicyPb {
|
|
if x != nil {
|
|
return x.DeliveryPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetAckWaitMs() uint64 {
|
|
if x != nil {
|
|
return x.AckWaitMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetMaxDeliver() uint32 {
|
|
if x != nil {
|
|
return x.MaxDeliver
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetDeliverGroup() string {
|
|
if x != nil {
|
|
return x.DeliverGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConsumerConfigPb) GetDeadLetterSubject() string {
|
|
if x != nil {
|
|
return x.DeadLetterSubject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConsumerStatePb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Config *ConsumerConfigPb `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
AckFloor uint64 `protobuf:"varint,2,opt,name=ack_floor,json=ackFloor,proto3" json:"ack_floor,omitempty"`
|
|
LastDelivered uint64 `protobuf:"varint,3,opt,name=last_delivered,json=lastDelivered,proto3" json:"last_delivered,omitempty"`
|
|
CreatedAtMs int64 `protobuf:"varint,4,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
|
RedeliveredDropped uint64 `protobuf:"varint,5,opt,name=redelivered_dropped,json=redeliveredDropped,proto3" json:"redelivered_dropped,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConsumerStatePb) Reset() {
|
|
*x = ConsumerStatePb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConsumerStatePb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConsumerStatePb) ProtoMessage() {}
|
|
|
|
func (x *ConsumerStatePb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConsumerStatePb.ProtoReflect.Descriptor instead.
|
|
func (*ConsumerStatePb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ConsumerStatePb) GetConfig() *ConsumerConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConsumerStatePb) GetAckFloor() uint64 {
|
|
if x != nil {
|
|
return x.AckFloor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStatePb) GetLastDelivered() uint64 {
|
|
if x != nil {
|
|
return x.LastDelivered
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStatePb) GetCreatedAtMs() int64 {
|
|
if x != nil {
|
|
return x.CreatedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStatePb) GetRedeliveredDropped() uint64 {
|
|
if x != nil {
|
|
return x.RedeliveredDropped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Config *StreamConfigPb `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateStreamRequest) Reset() {
|
|
*x = CreateStreamRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CreateStreamRequest) GetConfig() *StreamConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateStreamResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "already_exists" | "invalid_config" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateStreamResponse) Reset() {
|
|
*x = CreateStreamResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateStreamResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateStreamResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateStreamResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateStreamResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateStreamResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *CreateStreamResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateStreamResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateStreamResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteStreamRequest) Reset() {
|
|
*x = DeleteStreamRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *DeleteStreamRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteStreamResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteStreamResponse) Reset() {
|
|
*x = DeleteStreamResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteStreamResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteStreamResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteStreamResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteStreamResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteStreamResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *DeleteStreamResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteStreamResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteStreamResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetStreamInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStreamInfoRequest) Reset() {
|
|
*x = GetStreamInfoRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStreamInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStreamInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStreamInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStreamInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStreamInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetStreamInfoRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetStreamInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Config *StreamConfigPb `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
|
|
Stats *StreamStatsPb `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
// Phase 3 — if a `stream_authority` override is active for this
|
|
// stream, the routing claimant + the fence epoch at which it was
|
|
// committed. Unset when the stream routes via the ring's hash
|
|
// owner. Useful for operators auditing "why is this stream on
|
|
// node N when the ring says M?".
|
|
AuthorityOverride *StreamAuthorityOverride `protobuf:"bytes,6,opt,name=authority_override,json=authorityOverride,proto3,oneof" json:"authority_override,omitempty"`
|
|
// The ring's hash owner for this stream (ignoring any override).
|
|
// When `authority_override` is set and `claimant_node_id !=
|
|
// ring_owner_node_id`, the override is actively redirecting
|
|
// routing. 0 = the response node couldn't compute the ring owner
|
|
// (e.g. mid-membership-transition).
|
|
RingOwnerNodeId uint64 `protobuf:"varint,7,opt,name=ring_owner_node_id,json=ringOwnerNodeId,proto3" json:"ring_owner_node_id,omitempty"`
|
|
// Phase 3 — `true` when an operator has pinned this stream
|
|
// (auto-GC will not retire its override even when redundant).
|
|
Pinned bool `protobuf:"varint,8,opt,name=pinned,proto3" json:"pinned,omitempty"`
|
|
// Per-source tail state. Populated when this stream has
|
|
// `sources` set in its config and the request lands on the
|
|
// sourcing primary. Empty otherwise.
|
|
SourcesStatus []*SourceStatusPb `protobuf:"bytes,9,rep,name=sources_status,json=sourcesStatus,proto3" json:"sources_status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) Reset() {
|
|
*x = GetStreamInfoResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStreamInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStreamInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStreamInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStreamInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetConfig() *StreamConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetStats() *StreamStatsPb {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetAuthorityOverride() *StreamAuthorityOverride {
|
|
if x != nil {
|
|
return x.AuthorityOverride
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetRingOwnerNodeId() uint64 {
|
|
if x != nil {
|
|
return x.RingOwnerNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetPinned() bool {
|
|
if x != nil {
|
|
return x.Pinned
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetStreamInfoResponse) GetSourcesStatus() []*SourceStatusPb {
|
|
if x != nil {
|
|
return x.SourcesStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SourceStatusPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SourceStream string `protobuf:"bytes,1,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"`
|
|
// Last seq successfully appended to the sourcing stream.
|
|
LastSourcedSeq uint64 `protobuf:"varint,2,opt,name=last_sourced_seq,json=lastSourcedSeq,proto3" json:"last_sourced_seq,omitempty"`
|
|
// Total messages pulled since the tail task started.
|
|
PulledTotal uint64 `protobuf:"varint,3,opt,name=pulled_total,json=pulledTotal,proto3" json:"pulled_total,omitempty"`
|
|
// Most recent error message; empty when healthy.
|
|
LastError string `protobuf:"bytes,4,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
|
|
LastErrorTsMs int64 `protobuf:"varint,5,opt,name=last_error_ts_ms,json=lastErrorTsMs,proto3" json:"last_error_ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SourceStatusPb) Reset() {
|
|
*x = SourceStatusPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SourceStatusPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SourceStatusPb) ProtoMessage() {}
|
|
|
|
func (x *SourceStatusPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SourceStatusPb.ProtoReflect.Descriptor instead.
|
|
func (*SourceStatusPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *SourceStatusPb) GetSourceStream() string {
|
|
if x != nil {
|
|
return x.SourceStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SourceStatusPb) GetLastSourcedSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastSourcedSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SourceStatusPb) GetPulledTotal() uint64 {
|
|
if x != nil {
|
|
return x.PulledTotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SourceStatusPb) GetLastError() string {
|
|
if x != nil {
|
|
return x.LastError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SourceStatusPb) GetLastErrorTsMs() int64 {
|
|
if x != nil {
|
|
return x.LastErrorTsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StreamAuthorityOverride struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClaimantNodeId uint64 `protobuf:"varint,1,opt,name=claimant_node_id,json=claimantNodeId,proto3" json:"claimant_node_id,omitempty"`
|
|
FenceEpoch uint64 `protobuf:"varint,2,opt,name=fence_epoch,json=fenceEpoch,proto3" json:"fence_epoch,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamAuthorityOverride) Reset() {
|
|
*x = StreamAuthorityOverride{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamAuthorityOverride) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamAuthorityOverride) ProtoMessage() {}
|
|
|
|
func (x *StreamAuthorityOverride) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamAuthorityOverride.ProtoReflect.Descriptor instead.
|
|
func (*StreamAuthorityOverride) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *StreamAuthorityOverride) GetClaimantNodeId() uint64 {
|
|
if x != nil {
|
|
return x.ClaimantNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StreamAuthorityOverride) GetFenceEpoch() uint64 {
|
|
if x != nil {
|
|
return x.FenceEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ClearStreamAuthorityRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityRequest) Reset() {
|
|
*x = ClearStreamAuthorityRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearStreamAuthorityRequest) ProtoMessage() {}
|
|
|
|
func (x *ClearStreamAuthorityRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClearStreamAuthorityRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClearStreamAuthorityRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ClearStreamAuthorityResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_leader" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityResponse) Reset() {
|
|
*x = ClearStreamAuthorityResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClearStreamAuthorityResponse) ProtoMessage() {}
|
|
|
|
func (x *ClearStreamAuthorityResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClearStreamAuthorityResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClearStreamAuthorityResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClearStreamAuthorityResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListStreamAuthorityOverridesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesRequest) Reset() {
|
|
*x = ListStreamAuthorityOverridesRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStreamAuthorityOverridesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListStreamAuthorityOverridesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStreamAuthorityOverridesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListStreamAuthorityOverridesRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type ListStreamAuthorityOverridesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*AuthorityOverrideEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) Reset() {
|
|
*x = ListStreamAuthorityOverridesResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStreamAuthorityOverridesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStreamAuthorityOverridesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListStreamAuthorityOverridesResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListStreamAuthorityOverridesResponse) GetEntries() []*AuthorityOverrideEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AuthorityOverrideEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
ClaimantNodeId uint64 `protobuf:"varint,2,opt,name=claimant_node_id,json=claimantNodeId,proto3" json:"claimant_node_id,omitempty"`
|
|
FenceEpoch uint64 `protobuf:"varint,3,opt,name=fence_epoch,json=fenceEpoch,proto3" json:"fence_epoch,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorityOverrideEntry) Reset() {
|
|
*x = AuthorityOverrideEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorityOverrideEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorityOverrideEntry) ProtoMessage() {}
|
|
|
|
func (x *AuthorityOverrideEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorityOverrideEntry.ProtoReflect.Descriptor instead.
|
|
func (*AuthorityOverrideEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *AuthorityOverrideEntry) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityOverrideEntry) GetClaimantNodeId() uint64 {
|
|
if x != nil {
|
|
return x.ClaimantNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityOverrideEntry) GetFenceEpoch() uint64 {
|
|
if x != nil {
|
|
return x.FenceEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetStreamPinnedRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Pinned bool `protobuf:"varint,2,opt,name=pinned,proto3" json:"pinned,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetStreamPinnedRequest) Reset() {
|
|
*x = SetStreamPinnedRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetStreamPinnedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetStreamPinnedRequest) ProtoMessage() {}
|
|
|
|
func (x *SetStreamPinnedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetStreamPinnedRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetStreamPinnedRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *SetStreamPinnedRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetStreamPinnedRequest) GetPinned() bool {
|
|
if x != nil {
|
|
return x.Pinned
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetStreamPinnedResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_leader" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetStreamPinnedResponse) Reset() {
|
|
*x = SetStreamPinnedResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetStreamPinnedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetStreamPinnedResponse) ProtoMessage() {}
|
|
|
|
func (x *SetStreamPinnedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetStreamPinnedResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetStreamPinnedResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *SetStreamPinnedResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetStreamPinnedResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetStreamPinnedResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListStreamsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStreamsRequest) Reset() {
|
|
*x = ListStreamsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStreamsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStreamsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStreamsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListStreamsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
type ListStreamsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListStreamsResponse) Reset() {
|
|
*x = ListStreamsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListStreamsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListStreamsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListStreamsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListStreamsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ListStreamsResponse) GetNames() []string {
|
|
if x != nil {
|
|
return x.Names
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetStreamSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStreamSourcesRequest) Reset() {
|
|
*x = GetStreamSourcesRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStreamSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStreamSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStreamSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStreamSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStreamSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
type GetStreamSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*GetStreamSourcesEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) Reset() {
|
|
*x = GetStreamSourcesResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStreamSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStreamSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStreamSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStreamSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamSourcesResponse) GetEntries() []*GetStreamSourcesEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetStreamSourcesEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SourcingStream string `protobuf:"bytes,1,opt,name=sourcing_stream,json=sourcingStream,proto3" json:"sourcing_stream,omitempty"`
|
|
SourceStream string `protobuf:"bytes,2,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"`
|
|
LastSourcedSeq uint64 `protobuf:"varint,3,opt,name=last_sourced_seq,json=lastSourcedSeq,proto3" json:"last_sourced_seq,omitempty"`
|
|
PulledTotal uint64 `protobuf:"varint,4,opt,name=pulled_total,json=pulledTotal,proto3" json:"pulled_total,omitempty"`
|
|
LastError string `protobuf:"bytes,5,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
|
|
LastErrorTsMs int64 `protobuf:"varint,6,opt,name=last_error_ts_ms,json=lastErrorTsMs,proto3" json:"last_error_ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) Reset() {
|
|
*x = GetStreamSourcesEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStreamSourcesEntry) ProtoMessage() {}
|
|
|
|
func (x *GetStreamSourcesEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStreamSourcesEntry.ProtoReflect.Descriptor instead.
|
|
func (*GetStreamSourcesEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetSourcingStream() string {
|
|
if x != nil {
|
|
return x.SourcingStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetSourceStream() string {
|
|
if x != nil {
|
|
return x.SourceStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetLastSourcedSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastSourcedSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetPulledTotal() uint64 {
|
|
if x != nil {
|
|
return x.PulledTotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetLastError() string {
|
|
if x != nil {
|
|
return x.LastError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStreamSourcesEntry) GetLastErrorTsMs() int64 {
|
|
if x != nil {
|
|
return x.LastErrorTsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Partial-update of the mutable subset of a stream's config. Fields
|
|
// that are present are applied; absent fields leave the existing
|
|
// on-disk value unchanged. Setting a Limits bound's optional to 0 is
|
|
// a valid way to *clear* that bound (equivalent to "no limit"); to
|
|
// leave it unchanged, omit the field. Immutable fields (name,
|
|
// subjects_filter, block_size, retention policy type) are not in
|
|
// this message — changing them requires a delete + recreate.
|
|
type UpdateStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
MaxAgeMs *uint64 `protobuf:"varint,2,opt,name=max_age_ms,json=maxAgeMs,proto3,oneof" json:"max_age_ms,omitempty"`
|
|
MaxMsgs *uint64 `protobuf:"varint,3,opt,name=max_msgs,json=maxMsgs,proto3,oneof" json:"max_msgs,omitempty"`
|
|
MaxBytes *uint64 `protobuf:"varint,4,opt,name=max_bytes,json=maxBytes,proto3,oneof" json:"max_bytes,omitempty"`
|
|
MaxMsgBytes *uint64 `protobuf:"varint,5,opt,name=max_msg_bytes,json=maxMsgBytes,proto3,oneof" json:"max_msg_bytes,omitempty"`
|
|
StrictLimits *bool `protobuf:"varint,6,opt,name=strict_limits,json=strictLimits,proto3,oneof" json:"strict_limits,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) Reset() {
|
|
*x = UpdateStreamRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetMaxAgeMs() uint64 {
|
|
if x != nil && x.MaxAgeMs != nil {
|
|
return *x.MaxAgeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetMaxMsgs() uint64 {
|
|
if x != nil && x.MaxMsgs != nil {
|
|
return *x.MaxMsgs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetMaxBytes() uint64 {
|
|
if x != nil && x.MaxBytes != nil {
|
|
return *x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetMaxMsgBytes() uint64 {
|
|
if x != nil && x.MaxMsgBytes != nil {
|
|
return *x.MaxMsgBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateStreamRequest) GetStrictLimits() bool {
|
|
if x != nil && x.StrictLimits != nil {
|
|
return *x.StrictLimits
|
|
}
|
|
return false
|
|
}
|
|
|
|
type UpdateStreamResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "invalid_config" | "immutable_field" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Effective config after the update — what the next GetStreamInfo
|
|
// would return. Useful for clients that want to confirm what
|
|
// landed without a follow-up round trip.
|
|
Config *StreamConfigPb `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
|
|
// Number of messages the primary pruned to bring stats under the
|
|
// new bounds. 0 = no prune (raise-only update, or already under).
|
|
// For drift monitoring.
|
|
Pruned uint64 `protobuf:"varint,5,opt,name=pruned,proto3" json:"pruned,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) Reset() {
|
|
*x = UpdateStreamResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateStreamResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateStreamResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateStreamResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateStreamResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) GetConfig() *StreamConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateStreamResponse) GetPruned() uint64 {
|
|
if x != nil {
|
|
return x.Pruned
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublishRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
Headers []*MessageHeader `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
// 0 = server uses wall clock.
|
|
TsMs int64 `protobuf:"varint,5,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
// Optimistic-concurrency hint. When set, the server only
|
|
// commits the publish if the latest seq at `subject` matches
|
|
// `expected_last_seq` (use 0 to require "subject has never been
|
|
// published to"). On mismatch the response carries
|
|
// `result_code="wrong_revision"` and `seq` = the current actual
|
|
// last seq at the subject. Absent / unset = no check.
|
|
ExpectedLastSeq *uint64 `protobuf:"varint,6,opt,name=expected_last_seq,json=expectedLastSeq,proto3,oneof" json:"expected_last_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishRequest) Reset() {
|
|
*x = PublishRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishRequest) ProtoMessage() {}
|
|
|
|
func (x *PublishRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *PublishRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishRequest) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishRequest) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PublishRequest) GetExpectedLastSeq() uint64 {
|
|
if x != nil && x.ExpectedLastSeq != nil {
|
|
return *x.ExpectedLastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublishResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "subject_rejected" | "oversize" | "wrong_revision" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Seq uint64 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishResponse) Reset() {
|
|
*x = PublishResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishResponse) ProtoMessage() {}
|
|
|
|
func (x *PublishResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *PublishResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PublishResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishResponse) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FetchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
BatchSize uint32 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchRequest) Reset() {
|
|
*x = FetchRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchRequest) ProtoMessage() {}
|
|
|
|
func (x *FetchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
|
|
func (*FetchRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *FetchRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchRequest) GetBatchSize() uint32 {
|
|
if x != nil {
|
|
return x.BatchSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FetchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "no_such_consumer" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Messages []*MessagePb `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchResponse) Reset() {
|
|
*x = FetchResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchResponse) ProtoMessage() {}
|
|
|
|
func (x *FetchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchResponse.ProtoReflect.Descriptor instead.
|
|
func (*FetchResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *FetchResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FetchResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchResponse) GetMessages() []*MessagePb {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AckRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AckRequest) Reset() {
|
|
*x = AckRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AckRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AckRequest) ProtoMessage() {}
|
|
|
|
func (x *AckRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AckRequest.ProtoReflect.Descriptor instead.
|
|
func (*AckRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *AckRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AckRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AckRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AckResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "no_such_consumer" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AckResponse) Reset() {
|
|
*x = AckResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AckResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AckResponse) ProtoMessage() {}
|
|
|
|
func (x *AckResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AckResponse.ProtoReflect.Descriptor instead.
|
|
func (*AckResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *AckResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AckResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AckResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NakRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
// Wall-clock ms to defer redelivery. 0 = eligible immediately.
|
|
DelayMs uint64 `protobuf:"varint,4,opt,name=delay_ms,json=delayMs,proto3" json:"delay_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NakRequest) Reset() {
|
|
*x = NakRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NakRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NakRequest) ProtoMessage() {}
|
|
|
|
func (x *NakRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NakRequest.ProtoReflect.Descriptor instead.
|
|
func (*NakRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *NakRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NakRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NakRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NakRequest) GetDelayMs() uint64 {
|
|
if x != nil {
|
|
return x.DelayMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NakResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NakResponse) Reset() {
|
|
*x = NakResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NakResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NakResponse) ProtoMessage() {}
|
|
|
|
func (x *NakResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NakResponse.ProtoReflect.Descriptor instead.
|
|
func (*NakResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *NakResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NakResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NakResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TermRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TermRequest) Reset() {
|
|
*x = TermRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TermRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TermRequest) ProtoMessage() {}
|
|
|
|
func (x *TermRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TermRequest.ProtoReflect.Descriptor instead.
|
|
func (*TermRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *TermRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TermRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TermRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TermResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TermResponse) Reset() {
|
|
*x = TermResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TermResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TermResponse) ProtoMessage() {}
|
|
|
|
func (x *TermResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TermResponse.ProtoReflect.Descriptor instead.
|
|
func (*TermResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *TermResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *TermResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TermResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type InProgressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
Seq uint64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InProgressRequest) Reset() {
|
|
*x = InProgressRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InProgressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InProgressRequest) ProtoMessage() {}
|
|
|
|
func (x *InProgressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InProgressRequest.ProtoReflect.Descriptor instead.
|
|
func (*InProgressRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *InProgressRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InProgressRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InProgressRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InProgressResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InProgressResponse) Reset() {
|
|
*x = InProgressResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InProgressResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InProgressResponse) ProtoMessage() {}
|
|
|
|
func (x *InProgressResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InProgressResponse.ProtoReflect.Descriptor instead.
|
|
func (*InProgressResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *InProgressResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *InProgressResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InProgressResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscribeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
// How many messages per server-side fetch. Smaller batches
|
|
// trade throughput for finer-grained per-message latency. 0
|
|
// means use the server default (16).
|
|
BatchSize uint32 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
|
|
// If true, the server tears down the subscription after the
|
|
// first fetch returns 0 messages (after the initial backlog
|
|
// drains). Useful for one-shot replays. Default false — keep
|
|
// the stream open indefinitely and re-fetch on new appends.
|
|
StopWhenEmpty bool `protobuf:"varint,4,opt,name=stop_when_empty,json=stopWhenEmpty,proto3" json:"stop_when_empty,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeRequest) Reset() {
|
|
*x = SubscribeRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetBatchSize() uint32 {
|
|
if x != nil {
|
|
return x.BatchSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscribeRequest) GetStopWhenEmpty() bool {
|
|
if x != nil {
|
|
return x.StopWhenEmpty
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Server-streamed events on a Subscribe stream. Currently one
|
|
// variant — a delivered message — with a tail end-of-stream
|
|
// signal if the client requested `stop_when_empty`.
|
|
type SubscribeEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Event:
|
|
//
|
|
// *SubscribeEvent_Message
|
|
// *SubscribeEvent_Stopped
|
|
Event isSubscribeEvent_Event `protobuf_oneof:"event"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeEvent) Reset() {
|
|
*x = SubscribeEvent{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeEvent) ProtoMessage() {}
|
|
|
|
func (x *SubscribeEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeEvent.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeEvent) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *SubscribeEvent) GetEvent() isSubscribeEvent_Event {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeEvent) GetMessage() *MessagePb {
|
|
if x != nil {
|
|
if x, ok := x.Event.(*SubscribeEvent_Message); ok {
|
|
return x.Message
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeEvent) GetStopped() *SubscribeStopped {
|
|
if x != nil {
|
|
if x, ok := x.Event.(*SubscribeEvent_Stopped); ok {
|
|
return x.Stopped
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscribeEvent_Event interface {
|
|
isSubscribeEvent_Event()
|
|
}
|
|
|
|
type SubscribeEvent_Message struct {
|
|
Message *MessagePb `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeEvent_Stopped struct {
|
|
Stopped *SubscribeStopped `protobuf:"bytes,2,opt,name=stopped,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscribeEvent_Message) isSubscribeEvent_Event() {}
|
|
|
|
func (*SubscribeEvent_Stopped) isSubscribeEvent_Event() {}
|
|
|
|
type SubscribeStopped struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeStopped) Reset() {
|
|
*x = SubscribeStopped{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeStopped) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeStopped) ProtoMessage() {}
|
|
|
|
func (x *SubscribeStopped) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeStopped.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeStopped) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *SubscribeStopped) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateConsumerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Config *ConsumerConfigPb `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateConsumerRequest) Reset() {
|
|
*x = CreateConsumerRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateConsumerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateConsumerRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateConsumerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateConsumerRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateConsumerRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *CreateConsumerRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateConsumerRequest) GetConfig() *ConsumerConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateConsumerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "already_exists" | "invalid_config" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateConsumerResponse) Reset() {
|
|
*x = CreateConsumerResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateConsumerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateConsumerResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateConsumerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateConsumerResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateConsumerResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *CreateConsumerResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateConsumerResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateConsumerResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteConsumerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteConsumerRequest) Reset() {
|
|
*x = DeleteConsumerRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteConsumerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteConsumerRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteConsumerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteConsumerRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteConsumerRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *DeleteConsumerRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteConsumerRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteConsumerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "no_such_consumer" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteConsumerResponse) Reset() {
|
|
*x = DeleteConsumerResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteConsumerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteConsumerResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteConsumerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteConsumerResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteConsumerResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *DeleteConsumerResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteConsumerResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteConsumerResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListConsumersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListConsumersRequest) Reset() {
|
|
*x = ListConsumersRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListConsumersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListConsumersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListConsumersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListConsumersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListConsumersRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *ListConsumersRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListConsumersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Consumers []*ConsumerStatePb `protobuf:"bytes,4,rep,name=consumers,proto3" json:"consumers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListConsumersResponse) Reset() {
|
|
*x = ListConsumersResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListConsumersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListConsumersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListConsumersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListConsumersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListConsumersResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *ListConsumersResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListConsumersResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListConsumersResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListConsumersResponse) GetConsumers() []*ConsumerStatePb {
|
|
if x != nil {
|
|
return x.Consumers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetConsumerInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConsumerInfoRequest) Reset() {
|
|
*x = GetConsumerInfoRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConsumerInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConsumerInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetConsumerInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConsumerInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetConsumerInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *GetConsumerInfoRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConsumerInfoRequest) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetConsumerInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "no_such_consumer"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Consumer *ConsumerStatePb `protobuf:"bytes,4,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) Reset() {
|
|
*x = GetConsumerInfoResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetConsumerInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetConsumerInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetConsumerInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetConsumerInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetConsumerInfoResponse) GetConsumer() *ConsumerStatePb {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TransferStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransferStreamRequest) Reset() {
|
|
*x = TransferStreamRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransferStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransferStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *TransferStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransferStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*TransferStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *TransferStreamRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// One chunk of redb bytes plus end-of-stream signalling. The body is
|
|
// either `data` (a chunk of raw bytes — order-preserving via gRPC's
|
|
// stream ordering) or `summary` (the final marker carrying totals so
|
|
// the receiver can sanity-check what it got). Implementations should
|
|
// stream multiple `data` chunks followed by exactly one `summary`.
|
|
type TransferStreamChunk struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Body:
|
|
//
|
|
// *TransferStreamChunk_Data
|
|
// *TransferStreamChunk_Summary
|
|
Body isTransferStreamChunk_Body `protobuf_oneof:"body"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransferStreamChunk) Reset() {
|
|
*x = TransferStreamChunk{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransferStreamChunk) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransferStreamChunk) ProtoMessage() {}
|
|
|
|
func (x *TransferStreamChunk) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransferStreamChunk.ProtoReflect.Descriptor instead.
|
|
func (*TransferStreamChunk) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *TransferStreamChunk) GetBody() isTransferStreamChunk_Body {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TransferStreamChunk) GetData() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Body.(*TransferStreamChunk_Data); ok {
|
|
return x.Data
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TransferStreamChunk) GetSummary() *TransferStreamSummary {
|
|
if x != nil {
|
|
if x, ok := x.Body.(*TransferStreamChunk_Summary); ok {
|
|
return x.Summary
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isTransferStreamChunk_Body interface {
|
|
isTransferStreamChunk_Body()
|
|
}
|
|
|
|
type TransferStreamChunk_Data struct {
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
|
|
}
|
|
|
|
type TransferStreamChunk_Summary struct {
|
|
Summary *TransferStreamSummary `protobuf:"bytes,2,opt,name=summary,proto3,oneof"`
|
|
}
|
|
|
|
func (*TransferStreamChunk_Data) isTransferStreamChunk_Body() {}
|
|
|
|
func (*TransferStreamChunk_Summary) isTransferStreamChunk_Body() {}
|
|
|
|
type TransferStreamSummary struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalBytes uint64 `protobuf:"varint,1,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
// Last seq seen by the source at the moment of transfer — the
|
|
// receiver re-opens the file and verifies its stats match, surfacing
|
|
// any transfer corruption as a load failure.
|
|
StreamLastSeq uint64 `protobuf:"varint,2,opt,name=stream_last_seq,json=streamLastSeq,proto3" json:"stream_last_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransferStreamSummary) Reset() {
|
|
*x = TransferStreamSummary{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransferStreamSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransferStreamSummary) ProtoMessage() {}
|
|
|
|
func (x *TransferStreamSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransferStreamSummary.ProtoReflect.Descriptor instead.
|
|
func (*TransferStreamSummary) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *TransferStreamSummary) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TransferStreamSummary) GetStreamLastSeq() uint64 {
|
|
if x != nil {
|
|
return x.StreamLastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MigrateStreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Stream to acquire.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Node ID currently holding the data. The receiver opens a
|
|
// `TransferStream` against this node via the existing proxy channel
|
|
// pool. Must be a current cluster member.
|
|
SourceNodeId uint64 `protobuf:"varint,2,opt,name=source_node_id,json=sourceNodeId,proto3" json:"source_node_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MigrateStreamRequest) Reset() {
|
|
*x = MigrateStreamRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MigrateStreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MigrateStreamRequest) ProtoMessage() {}
|
|
|
|
func (x *MigrateStreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MigrateStreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*MigrateStreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *MigrateStreamRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MigrateStreamRequest) GetSourceNodeId() uint64 {
|
|
if x != nil {
|
|
return x.SourceNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MigrateStreamResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "source_busy" | "source_unreachable" | "already_exists" | "transfer_corrupted" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
TotalBytes uint64 `protobuf:"varint,4,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
StreamLastSeq uint64 `protobuf:"varint,5,opt,name=stream_last_seq,json=streamLastSeq,proto3" json:"stream_last_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) Reset() {
|
|
*x = MigrateStreamResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MigrateStreamResponse) ProtoMessage() {}
|
|
|
|
func (x *MigrateStreamResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MigrateStreamResponse.ProtoReflect.Descriptor instead.
|
|
func (*MigrateStreamResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MigrateStreamResponse) GetStreamLastSeq() uint64 {
|
|
if x != nil {
|
|
return x.StreamLastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetClusterStreamStatsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// When set, also include per-stream stats (msg_count, bytes,
|
|
// last_seq) for every stream on every node. Without this the
|
|
// response carries only per-node aggregates — much smaller, and
|
|
// sufficient for skew-based planning.
|
|
IncludePerStream bool `protobuf:"varint,1,opt,name=include_per_stream,json=includePerStream,proto3" json:"include_per_stream,omitempty"`
|
|
// Internal flag set on the fan-out sub-calls. When `true`, the
|
|
// receiving node skips fanning out to peers and reports only its
|
|
// own local registry. The orchestrator's outermost call leaves
|
|
// this `false` so a single round-trip from an operator pulls the
|
|
// whole cluster's view. Mirrors the lock proxy's `iteration` cap.
|
|
LocalOnly bool `protobuf:"varint,2,opt,name=local_only,json=localOnly,proto3" json:"local_only,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsRequest) Reset() {
|
|
*x = GetClusterStreamStatsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetClusterStreamStatsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetClusterStreamStatsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetClusterStreamStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetClusterStreamStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsRequest) GetIncludePerStream() bool {
|
|
if x != nil {
|
|
return x.IncludePerStream
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsRequest) GetLocalOnly() bool {
|
|
if x != nil {
|
|
return x.LocalOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
// One stream's stats as seen by its primary node.
|
|
type PerStreamStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
OwnerNodeId uint64 `protobuf:"varint,2,opt,name=owner_node_id,json=ownerNodeId,proto3" json:"owner_node_id,omitempty"`
|
|
MsgCount uint64 `protobuf:"varint,3,opt,name=msg_count,json=msgCount,proto3" json:"msg_count,omitempty"`
|
|
Bytes uint64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
LastSeq uint64 `protobuf:"varint,5,opt,name=last_seq,json=lastSeq,proto3" json:"last_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PerStreamStats) Reset() {
|
|
*x = PerStreamStats{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PerStreamStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PerStreamStats) ProtoMessage() {}
|
|
|
|
func (x *PerStreamStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PerStreamStats.ProtoReflect.Descriptor instead.
|
|
func (*PerStreamStats) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *PerStreamStats) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PerStreamStats) GetOwnerNodeId() uint64 {
|
|
if x != nil {
|
|
return x.OwnerNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerStreamStats) GetMsgCount() uint64 {
|
|
if x != nil {
|
|
return x.MsgCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerStreamStats) GetBytes() uint64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerStreamStats) GetLastSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Per-node summary. Bytes/msg counts are summed across the node's
|
|
// local streams.
|
|
type PerNodeSummary struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
|
StreamCount uint64 `protobuf:"varint,2,opt,name=stream_count,json=streamCount,proto3" json:"stream_count,omitempty"`
|
|
TotalMsgCount uint64 `protobuf:"varint,3,opt,name=total_msg_count,json=totalMsgCount,proto3" json:"total_msg_count,omitempty"`
|
|
TotalBytes uint64 `protobuf:"varint,4,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
// "ok" if the node responded; "unreachable" / "node_standby" /
|
|
// "internal" otherwise. The aggregator still emits a row per
|
|
// member node so the operator can see which nodes failed to report.
|
|
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PerNodeSummary) Reset() {
|
|
*x = PerNodeSummary{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PerNodeSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PerNodeSummary) ProtoMessage() {}
|
|
|
|
func (x *PerNodeSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PerNodeSummary.ProtoReflect.Descriptor instead.
|
|
func (*PerNodeSummary) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *PerNodeSummary) GetNodeId() uint64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerNodeSummary) GetStreamCount() uint64 {
|
|
if x != nil {
|
|
return x.StreamCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerNodeSummary) GetTotalMsgCount() uint64 {
|
|
if x != nil {
|
|
return x.TotalMsgCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerNodeSummary) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PerNodeSummary) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetClusterStreamStatsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_leader" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Nodes []*PerNodeSummary `protobuf:"bytes,4,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
// Populated when the request set `include_per_stream`.
|
|
Streams []*PerStreamStats `protobuf:"bytes,5,rep,name=streams,proto3" json:"streams,omitempty"`
|
|
// Cluster-wide totals + skew. `skew_count` = max stream_count -
|
|
// min stream_count across responding nodes. `skew_bytes` is the
|
|
// same in bytes. Both are 0 for a perfectly-balanced cluster.
|
|
TotalStreamCount uint64 `protobuf:"varint,6,opt,name=total_stream_count,json=totalStreamCount,proto3" json:"total_stream_count,omitempty"`
|
|
TotalMsgCount uint64 `protobuf:"varint,7,opt,name=total_msg_count,json=totalMsgCount,proto3" json:"total_msg_count,omitempty"`
|
|
TotalBytes uint64 `protobuf:"varint,8,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
SkewCount uint64 `protobuf:"varint,9,opt,name=skew_count,json=skewCount,proto3" json:"skew_count,omitempty"`
|
|
SkewBytes uint64 `protobuf:"varint,10,opt,name=skew_bytes,json=skewBytes,proto3" json:"skew_bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) Reset() {
|
|
*x = GetClusterStreamStatsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetClusterStreamStatsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetClusterStreamStatsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetClusterStreamStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetClusterStreamStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetNodes() []*PerNodeSummary {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetStreams() []*PerStreamStats {
|
|
if x != nil {
|
|
return x.Streams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetTotalStreamCount() uint64 {
|
|
if x != nil {
|
|
return x.TotalStreamCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetTotalMsgCount() uint64 {
|
|
if x != nil {
|
|
return x.TotalMsgCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetSkewCount() uint64 {
|
|
if x != nil {
|
|
return x.SkewCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetClusterStreamStatsResponse) GetSkewBytes() uint64 {
|
|
if x != nil {
|
|
return x.SkewBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RebalancePlanEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
TargetNodeId uint64 `protobuf:"varint,2,opt,name=target_node_id,json=targetNodeId,proto3" json:"target_node_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RebalancePlanEntry) Reset() {
|
|
*x = RebalancePlanEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RebalancePlanEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RebalancePlanEntry) ProtoMessage() {}
|
|
|
|
func (x *RebalancePlanEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RebalancePlanEntry.ProtoReflect.Descriptor instead.
|
|
func (*RebalancePlanEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *RebalancePlanEntry) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RebalancePlanEntry) GetTargetNodeId() uint64 {
|
|
if x != nil {
|
|
return x.TargetNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RebalanceStreamsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plan []*RebalancePlanEntry `protobuf:"bytes,1,rep,name=plan,proto3" json:"plan,omitempty"`
|
|
// Per-step `MigrateStream` timeout, in milliseconds. 0 = server
|
|
// default (currently 30s).
|
|
PerStepTimeoutMs uint64 `protobuf:"varint,2,opt,name=per_step_timeout_ms,json=perStepTimeoutMs,proto3" json:"per_step_timeout_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RebalanceStreamsRequest) Reset() {
|
|
*x = RebalanceStreamsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RebalanceStreamsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RebalanceStreamsRequest) ProtoMessage() {}
|
|
|
|
func (x *RebalanceStreamsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RebalanceStreamsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RebalanceStreamsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *RebalanceStreamsRequest) GetPlan() []*RebalancePlanEntry {
|
|
if x != nil {
|
|
return x.Plan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RebalanceStreamsRequest) GetPerStepTimeoutMs() uint64 {
|
|
if x != nil {
|
|
return x.PerStepTimeoutMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RebalanceStepOutcome struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
TargetNodeId uint64 `protobuf:"varint,2,opt,name=target_node_id,json=targetNodeId,proto3" json:"target_node_id,omitempty"`
|
|
Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,4,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // mirrors MigrateStream codes + "skipped_same_node" / "no_source"
|
|
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) Reset() {
|
|
*x = RebalanceStepOutcome{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RebalanceStepOutcome) ProtoMessage() {}
|
|
|
|
func (x *RebalanceStepOutcome) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RebalanceStepOutcome.ProtoReflect.Descriptor instead.
|
|
func (*RebalanceStepOutcome) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) GetTargetNodeId() uint64 {
|
|
if x != nil {
|
|
return x.TargetNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RebalanceStepOutcome) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RebalanceStreamsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // true iff every step succeeded
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "partial" | "no_plan" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Steps []*RebalanceStepOutcome `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) Reset() {
|
|
*x = RebalanceStreamsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RebalanceStreamsResponse) ProtoMessage() {}
|
|
|
|
func (x *RebalanceStreamsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[70]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RebalanceStreamsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RebalanceStreamsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RebalanceStreamsResponse) GetSteps() []*RebalanceStepOutcome {
|
|
if x != nil {
|
|
return x.Steps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WatchStreamsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WatchStreamsRequest) Reset() {
|
|
*x = WatchStreamsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WatchStreamsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WatchStreamsRequest) ProtoMessage() {}
|
|
|
|
func (x *WatchStreamsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[71]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WatchStreamsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WatchStreamsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
type StreamWatchDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamWatchDetail) Reset() {
|
|
*x = StreamWatchDetail{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamWatchDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamWatchDetail) ProtoMessage() {}
|
|
|
|
func (x *StreamWatchDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[72]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamWatchDetail.ProtoReflect.Descriptor instead.
|
|
func (*StreamWatchDetail) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *StreamWatchDetail) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConsumerWatchDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConsumerWatchDetail) Reset() {
|
|
*x = ConsumerWatchDetail{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConsumerWatchDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConsumerWatchDetail) ProtoMessage() {}
|
|
|
|
func (x *ConsumerWatchDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[73]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConsumerWatchDetail.ProtoReflect.Descriptor instead.
|
|
func (*ConsumerWatchDetail) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
func (x *ConsumerWatchDetail) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConsumerWatchDetail) GetConsumer() string {
|
|
if x != nil {
|
|
return x.Consumer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Detail carried on WATCH_STREAM_AUTHORITY_CHANGED events.
|
|
// `claimant_node_id == 0` + `fence_epoch == 0` means the override
|
|
// was cleared (routing reverts to the ring's hash owner);
|
|
// otherwise the override is now `(claimant, fence_epoch)`.
|
|
type AuthorityWatchDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
ClaimantNodeId uint64 `protobuf:"varint,2,opt,name=claimant_node_id,json=claimantNodeId,proto3" json:"claimant_node_id,omitempty"`
|
|
FenceEpoch uint64 `protobuf:"varint,3,opt,name=fence_epoch,json=fenceEpoch,proto3" json:"fence_epoch,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorityWatchDetail) Reset() {
|
|
*x = AuthorityWatchDetail{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorityWatchDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorityWatchDetail) ProtoMessage() {}
|
|
|
|
func (x *AuthorityWatchDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[74]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorityWatchDetail.ProtoReflect.Descriptor instead.
|
|
func (*AuthorityWatchDetail) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *AuthorityWatchDetail) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityWatchDetail) GetClaimantNodeId() uint64 {
|
|
if x != nil {
|
|
return x.ClaimantNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityWatchDetail) GetFenceEpoch() uint64 {
|
|
if x != nil {
|
|
return x.FenceEpoch
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadLatestAtSubjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectRequest) Reset() {
|
|
*x = ReadLatestAtSubjectRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadLatestAtSubjectRequest) ProtoMessage() {}
|
|
|
|
func (x *ReadLatestAtSubjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[75]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadLatestAtSubjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadLatestAtSubjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReadLatestAtSubjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Unset when no message has ever been published at this
|
|
// subject. Use the presence of `latest` to distinguish
|
|
// "subject is empty" from "no such stream" (the latter is in
|
|
// result_code).
|
|
Latest *MessagePb `protobuf:"bytes,4,opt,name=latest,proto3,oneof" json:"latest,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) Reset() {
|
|
*x = ReadLatestAtSubjectResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadLatestAtSubjectResponse) ProtoMessage() {}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[76]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadLatestAtSubjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadLatestAtSubjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadLatestAtSubjectResponse) GetLatest() *MessagePb {
|
|
if x != nil {
|
|
return x.Latest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListSubjectsByPrefixRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
// Empty prefix matches every subject in the stream.
|
|
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixRequest) Reset() {
|
|
*x = ListSubjectsByPrefixRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSubjectsByPrefixRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSubjectsByPrefixRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[77]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSubjectsByPrefixRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSubjectsByPrefixRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixRequest) GetPrefix() string {
|
|
if x != nil {
|
|
return x.Prefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListSubjectsByPrefixResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Subjects []string `protobuf:"bytes,4,rep,name=subjects,proto3" json:"subjects,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) Reset() {
|
|
*x = ListSubjectsByPrefixResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSubjectsByPrefixResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[78]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSubjectsByPrefixResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSubjectsByPrefixResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListSubjectsByPrefixResponse) GetSubjects() []string {
|
|
if x != nil {
|
|
return x.Subjects
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScanExactAtSubjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
// Start scanning at seq >= `from_seq`. 0 = scan from the
|
|
// beginning of the stream.
|
|
FromSeq uint64 `protobuf:"varint,3,opt,name=from_seq,json=fromSeq,proto3" json:"from_seq,omitempty"`
|
|
// Cap on returned messages. 0 = server default (1000).
|
|
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) Reset() {
|
|
*x = ScanExactAtSubjectRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScanExactAtSubjectRequest) ProtoMessage() {}
|
|
|
|
func (x *ScanExactAtSubjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[79]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScanExactAtSubjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*ScanExactAtSubjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) GetFromSeq() uint64 {
|
|
if x != nil {
|
|
return x.FromSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectRequest) GetLimit() uint64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ScanExactAtSubjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Messages at the subject, in seq order. Empty if the subject
|
|
// has never been published to, or if the limit returned no
|
|
// results in the requested range.
|
|
Messages []*MessagePb `protobuf:"bytes,4,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) Reset() {
|
|
*x = ScanExactAtSubjectResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScanExactAtSubjectResponse) ProtoMessage() {}
|
|
|
|
func (x *ScanExactAtSubjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[80]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScanExactAtSubjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*ScanExactAtSubjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ScanExactAtSubjectResponse) GetMessages() []*MessagePb {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WatchEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type WatchEventType `protobuf:"varint,1,opt,name=type,proto3,enum=waymaker.streams.WatchEventType" json:"type,omitempty"`
|
|
// Server wall-clock at emit time (ms since epoch). Useful for
|
|
// ordering across nodes when a client multiplexes watchers.
|
|
TsMs int64 `protobuf:"varint,2,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
// The watching node's id. For cluster-wide watch built on top of
|
|
// per-node streams, the client can deduplicate by (node_id, ts_ms,
|
|
// type, detail).
|
|
NodeId uint64 `protobuf:"varint,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
|
// Types that are valid to be assigned to Detail:
|
|
//
|
|
// *WatchEvent_Stream
|
|
// *WatchEvent_Consumer
|
|
// *WatchEvent_Authority
|
|
Detail isWatchEvent_Detail `protobuf_oneof:"detail"`
|
|
// Set when this watcher fell behind the server's broadcast buffer
|
|
// and missed events. The receiver should treat this as an
|
|
// explicit "you missed N events" signal — typically by re-listing
|
|
// the cluster to catch back up. After this event, the stream
|
|
// continues with fresh events; client need not reconnect.
|
|
LaggedCount uint64 `protobuf:"varint,6,opt,name=lagged_count,json=laggedCount,proto3" json:"lagged_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WatchEvent) Reset() {
|
|
*x = WatchEvent{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WatchEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WatchEvent) ProtoMessage() {}
|
|
|
|
func (x *WatchEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[81]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WatchEvent.ProtoReflect.Descriptor instead.
|
|
func (*WatchEvent) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *WatchEvent) GetType() WatchEventType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return WatchEventType_WATCH_UNKNOWN
|
|
}
|
|
|
|
func (x *WatchEvent) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WatchEvent) GetNodeId() uint64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WatchEvent) GetDetail() isWatchEvent_Detail {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WatchEvent) GetStream() *StreamWatchDetail {
|
|
if x != nil {
|
|
if x, ok := x.Detail.(*WatchEvent_Stream); ok {
|
|
return x.Stream
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WatchEvent) GetConsumer() *ConsumerWatchDetail {
|
|
if x != nil {
|
|
if x, ok := x.Detail.(*WatchEvent_Consumer); ok {
|
|
return x.Consumer
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WatchEvent) GetAuthority() *AuthorityWatchDetail {
|
|
if x != nil {
|
|
if x, ok := x.Detail.(*WatchEvent_Authority); ok {
|
|
return x.Authority
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WatchEvent) GetLaggedCount() uint64 {
|
|
if x != nil {
|
|
return x.LaggedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isWatchEvent_Detail interface {
|
|
isWatchEvent_Detail()
|
|
}
|
|
|
|
type WatchEvent_Stream struct {
|
|
Stream *StreamWatchDetail `protobuf:"bytes,4,opt,name=stream,proto3,oneof"`
|
|
}
|
|
|
|
type WatchEvent_Consumer struct {
|
|
Consumer *ConsumerWatchDetail `protobuf:"bytes,5,opt,name=consumer,proto3,oneof"`
|
|
}
|
|
|
|
type WatchEvent_Authority struct {
|
|
Authority *AuthorityWatchDetail `protobuf:"bytes,7,opt,name=authority,proto3,oneof"`
|
|
}
|
|
|
|
func (*WatchEvent_Stream) isWatchEvent_Detail() {}
|
|
|
|
func (*WatchEvent_Consumer) isWatchEvent_Detail() {}
|
|
|
|
func (*WatchEvent_Authority) isWatchEvent_Detail() {}
|
|
|
|
// One pending-delivery entry shipped with a replication snapshot.
|
|
type PendingDeliveryPb struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
DeliveredAtMs int64 `protobuf:"varint,2,opt,name=delivered_at_ms,json=deliveredAtMs,proto3" json:"delivered_at_ms,omitempty"`
|
|
DeliverCount uint32 `protobuf:"varint,3,opt,name=deliver_count,json=deliverCount,proto3" json:"deliver_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PendingDeliveryPb) Reset() {
|
|
*x = PendingDeliveryPb{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PendingDeliveryPb) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingDeliveryPb) ProtoMessage() {}
|
|
|
|
func (x *PendingDeliveryPb) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[82]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PendingDeliveryPb.ProtoReflect.Descriptor instead.
|
|
func (*PendingDeliveryPb) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *PendingDeliveryPb) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingDeliveryPb) GetDeliveredAtMs() int64 {
|
|
if x != nil {
|
|
return x.DeliveredAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingDeliveryPb) GetDeliverCount() uint32 {
|
|
if x != nil {
|
|
return x.DeliverCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Full snapshot of one consumer's state at the moment the primary
|
|
// committed a fetch/ack/create. Includes the immutable config (so a
|
|
// secondary that has never seen this consumer can reconstruct it
|
|
// from this message alone), the floor/last_delivered counters, the
|
|
// active pending set, the create-time wall-clock, and the running
|
|
// `redelivered_dropped` total.
|
|
type ConsumerStateSnapshot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Config *ConsumerConfigPb `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
|
|
AckFloor uint64 `protobuf:"varint,3,opt,name=ack_floor,json=ackFloor,proto3" json:"ack_floor,omitempty"`
|
|
LastDelivered uint64 `protobuf:"varint,4,opt,name=last_delivered,json=lastDelivered,proto3" json:"last_delivered,omitempty"`
|
|
CreatedAtMs int64 `protobuf:"varint,5,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
|
RedeliveredDropped uint64 `protobuf:"varint,6,opt,name=redelivered_dropped,json=redeliveredDropped,proto3" json:"redelivered_dropped,omitempty"`
|
|
Pending []*PendingDeliveryPb `protobuf:"bytes,7,rep,name=pending,proto3" json:"pending,omitempty"`
|
|
// Whether this snapshot represents a deleted consumer — secondaries
|
|
// remove the (stream, consumer) entry from their replica store
|
|
// rather than overwriting it.
|
|
Tombstone bool `protobuf:"varint,8,opt,name=tombstone,proto3" json:"tombstone,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) Reset() {
|
|
*x = ConsumerStateSnapshot{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConsumerStateSnapshot) ProtoMessage() {}
|
|
|
|
func (x *ConsumerStateSnapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[83]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConsumerStateSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ConsumerStateSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetConfig() *ConsumerConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetAckFloor() uint64 {
|
|
if x != nil {
|
|
return x.AckFloor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetLastDelivered() uint64 {
|
|
if x != nil {
|
|
return x.LastDelivered
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetCreatedAtMs() int64 {
|
|
if x != nil {
|
|
return x.CreatedAtMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetRedeliveredDropped() uint64 {
|
|
if x != nil {
|
|
return x.RedeliveredDropped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetPending() []*PendingDeliveryPb {
|
|
if x != nil {
|
|
return x.Pending
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConsumerStateSnapshot) GetTombstone() bool {
|
|
if x != nil {
|
|
return x.Tombstone
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ReplicateConsumerStateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *ConsumerStateSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateRequest) Reset() {
|
|
*x = ReplicateConsumerStateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateConsumerStateRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateConsumerStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[84]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateConsumerStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateConsumerStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateRequest) GetSnapshot() *ConsumerStateSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReplicateConsumerStateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateResponse) Reset() {
|
|
*x = ReplicateConsumerStateResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateConsumerStateResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateConsumerStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[85]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateConsumerStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateConsumerStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateConsumerStateResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// One snapshot of a source-tail's persisted progress, pushed from
|
|
// the primary to each secondary after each successful batch.
|
|
// `tombstone=true` signals "remove this entry" — sent when the
|
|
// sourcing stream is deleted so secondaries don't keep stale rows
|
|
// they might adopt later.
|
|
type SourceTailStateSnapshot struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SourcingStream string `protobuf:"bytes,1,opt,name=sourcing_stream,json=sourcingStream,proto3" json:"sourcing_stream,omitempty"`
|
|
SourceStream string `protobuf:"bytes,2,opt,name=source_stream,json=sourceStream,proto3" json:"source_stream,omitempty"`
|
|
LastSourcedSeq uint64 `protobuf:"varint,3,opt,name=last_sourced_seq,json=lastSourcedSeq,proto3" json:"last_sourced_seq,omitempty"`
|
|
PulledTotal uint64 `protobuf:"varint,4,opt,name=pulled_total,json=pulledTotal,proto3" json:"pulled_total,omitempty"`
|
|
UpdatedTsMs int64 `protobuf:"varint,5,opt,name=updated_ts_ms,json=updatedTsMs,proto3" json:"updated_ts_ms,omitempty"`
|
|
Tombstone bool `protobuf:"varint,6,opt,name=tombstone,proto3" json:"tombstone,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) Reset() {
|
|
*x = SourceTailStateSnapshot{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SourceTailStateSnapshot) ProtoMessage() {}
|
|
|
|
func (x *SourceTailStateSnapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[86]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SourceTailStateSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*SourceTailStateSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetSourcingStream() string {
|
|
if x != nil {
|
|
return x.SourcingStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetSourceStream() string {
|
|
if x != nil {
|
|
return x.SourceStream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetLastSourcedSeq() uint64 {
|
|
if x != nil {
|
|
return x.LastSourcedSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetPulledTotal() uint64 {
|
|
if x != nil {
|
|
return x.PulledTotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetUpdatedTsMs() int64 {
|
|
if x != nil {
|
|
return x.UpdatedTsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SourceTailStateSnapshot) GetTombstone() bool {
|
|
if x != nil {
|
|
return x.Tombstone
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ReplicateSourceTailStateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *SourceTailStateSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateRequest) Reset() {
|
|
*x = ReplicateSourceTailStateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateSourceTailStateRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateSourceTailStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[87]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateSourceTailStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateSourceTailStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateRequest) GetSnapshot() *SourceTailStateSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReplicateSourceTailStateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) Reset() {
|
|
*x = ReplicateSourceTailStateResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateSourceTailStateResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[88]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateSourceTailStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateSourceTailStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateSourceTailStateResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplicateStreamCreateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Same shape as CreateStreamRequest's config — the secondary
|
|
// opens an identical stream in its replica registry so subsequent
|
|
// ReplicateMessage calls land in a config-matched file.
|
|
Config *StreamConfigPb `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateRequest) Reset() {
|
|
*x = ReplicateStreamCreateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamCreateRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamCreateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[89]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamCreateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamCreateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateRequest) GetConfig() *StreamConfigPb {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReplicateStreamCreateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "already_exists" | "invalid_config" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateResponse) Reset() {
|
|
*x = ReplicateStreamCreateResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamCreateResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamCreateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[90]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamCreateResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamCreateResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateStreamCreateResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplicateMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
// The seq the primary assigned. The secondary applies the message
|
|
// at this exact seq via `apply_replicated_append` (idempotent on
|
|
// replay, errors on out-of-order or divergence).
|
|
Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
Headers []*MessageHeader `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
TsMs int64 `protobuf:"varint,6,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) Reset() {
|
|
*x = ReplicateMessageRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[91]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReplicateMessageRequest) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReplicateMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "out_of_order" | "divergence" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Receiver's last_seq AFTER applying — primary uses this to detect
|
|
// when a secondary has fallen behind and needs a `MigrateStream`
|
|
// re-seed.
|
|
ReceiverLastSeq uint64 `protobuf:"varint,4,opt,name=receiver_last_seq,json=receiverLastSeq,proto3" json:"receiver_last_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) Reset() {
|
|
*x = ReplicateMessageResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[92]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateMessageResponse) GetReceiverLastSeq() uint64 {
|
|
if x != nil {
|
|
return x.ReceiverLastSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReplicateStreamDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteRequest) Reset() {
|
|
*x = ReplicateStreamDeleteRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[93]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplicateStreamDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) Reset() {
|
|
*x = ReplicateStreamDeleteResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[94]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateStreamDeleteResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplicateTruncateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
// Drop every message with seq < first_seq. Also raises the
|
|
// receiver's `last_seq` to at least `first_seq - 1` so a lagging
|
|
// secondary aligns with the primary's expected-next-seq for
|
|
// subsequent replication pushes.
|
|
FirstSeq uint64 `protobuf:"varint,2,opt,name=first_seq,json=firstSeq,proto3" json:"first_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateTruncateRequest) Reset() {
|
|
*x = ReplicateTruncateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateTruncateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateTruncateRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateTruncateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[95]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateTruncateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateTruncateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
func (x *ReplicateTruncateRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateTruncateRequest) GetFirstSeq() uint64 {
|
|
if x != nil {
|
|
return x.FirstSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReplicateTruncateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Number of messages the secondary actually dropped (0 on a no-op
|
|
// / idempotent re-call). For drift monitoring.
|
|
Dropped uint64 `protobuf:"varint,4,opt,name=dropped,proto3" json:"dropped,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) Reset() {
|
|
*x = ReplicateTruncateResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateTruncateResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateTruncateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[96]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateTruncateResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateTruncateResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateTruncateResponse) GetDropped() uint64 {
|
|
if x != nil {
|
|
return x.Dropped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Mirror of UpdateStreamRequest sent from the primary to each
|
|
// secondary after a successful UpdateStream. Same partial-update
|
|
// semantics: absent fields leave the secondary's on-disk value
|
|
// unchanged. The accompanying prune (if any) is replicated via the
|
|
// existing ReplicateTruncate path — this message carries only the
|
|
// config change.
|
|
type ReplicateStreamUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
MaxAgeMs *uint64 `protobuf:"varint,2,opt,name=max_age_ms,json=maxAgeMs,proto3,oneof" json:"max_age_ms,omitempty"`
|
|
MaxMsgs *uint64 `protobuf:"varint,3,opt,name=max_msgs,json=maxMsgs,proto3,oneof" json:"max_msgs,omitempty"`
|
|
MaxBytes *uint64 `protobuf:"varint,4,opt,name=max_bytes,json=maxBytes,proto3,oneof" json:"max_bytes,omitempty"`
|
|
MaxMsgBytes *uint64 `protobuf:"varint,5,opt,name=max_msg_bytes,json=maxMsgBytes,proto3,oneof" json:"max_msg_bytes,omitempty"`
|
|
StrictLimits *bool `protobuf:"varint,6,opt,name=strict_limits,json=strictLimits,proto3,oneof" json:"strict_limits,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) Reset() {
|
|
*x = ReplicateStreamUpdateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[97]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetMaxAgeMs() uint64 {
|
|
if x != nil && x.MaxAgeMs != nil {
|
|
return *x.MaxAgeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetMaxMsgs() uint64 {
|
|
if x != nil && x.MaxMsgs != nil {
|
|
return *x.MaxMsgs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetMaxBytes() uint64 {
|
|
if x != nil && x.MaxBytes != nil {
|
|
return *x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetMaxMsgBytes() uint64 {
|
|
if x != nil && x.MaxMsgBytes != nil {
|
|
return *x.MaxMsgBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateRequest) GetStrictLimits() bool {
|
|
if x != nil && x.StrictLimits != nil {
|
|
return *x.StrictLimits
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ReplicateStreamUpdateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) Reset() {
|
|
*x = ReplicateStreamUpdateResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateStreamUpdateResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[98]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateStreamUpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateStreamUpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateStreamUpdateResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReplicateWorkQueueAckRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stream string `protobuf:"bytes,1,opt,name=stream,proto3" json:"stream,omitempty"`
|
|
Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckRequest) Reset() {
|
|
*x = ReplicateWorkQueueAckRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateWorkQueueAckRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplicateWorkQueueAckRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[99]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateWorkQueueAckRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateWorkQueueAckRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckRequest) GetStream() string {
|
|
if x != nil {
|
|
return x.Stream
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckRequest) GetSeq() uint64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReplicateWorkQueueAckResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_stream" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Whether the secondary's replica had the seq present before the
|
|
// delete (the operation is idempotent, so `false` here is normal
|
|
// for a retry / late-arriving call).
|
|
WasPresent bool `protobuf:"varint,4,opt,name=was_present,json=wasPresent,proto3" json:"was_present,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) Reset() {
|
|
*x = ReplicateWorkQueueAckResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplicateWorkQueueAckResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[100]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplicateWorkQueueAckResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplicateWorkQueueAckResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplicateWorkQueueAckResponse) GetWasPresent() bool {
|
|
if x != nil {
|
|
return x.WasPresent
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Metadata about a stored object. Sent back on Get/Info/List; the
|
|
// server reconstructs this from the `objm.<name>` message body
|
|
// (JSON-encoded) plus the message seq. Treat this message as a
|
|
// blob description, not a payload — payload is fetched via
|
|
// GetObject.
|
|
type ObjectInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Object name (the part after the bucket prefix).
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Total payload bytes across all chunks (after assembly).
|
|
TotalBytes uint64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
// Bytes per chunk (last chunk may be smaller). 0 for empty
|
|
// objects.
|
|
ChunkSize uint64 `protobuf:"varint,3,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
|
|
// Number of `objc.<name>.<i>` messages required to reconstitute
|
|
// the payload. 0 for empty objects.
|
|
ChunkCount uint64 `protobuf:"varint,4,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"`
|
|
// SHA-256 of the assembled payload, hex-encoded. Set by the
|
|
// server; verified by Get.
|
|
Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
// Server wall-clock at metadata-publish time (ms since epoch).
|
|
TsMs int64 `protobuf:"varint,6,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
// Opaque headers the client attached at Put time. Preserved
|
|
// verbatim on Get.
|
|
Headers []*MessageHeader `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
// The metadata message's seq number — doubles as the object
|
|
// revision id. A second Put with the same name bumps it.
|
|
MetadataSeq uint64 `protobuf:"varint,8,opt,name=metadata_seq,json=metadataSeq,proto3" json:"metadata_seq,omitempty"`
|
|
// Phase 5 — `true` when the object was Put with `dedupe=true`.
|
|
// Chunks are stored at `obj_chunk.<sha256_hex>` (shared across
|
|
// objects in the bucket); `false` for legacy `objc.<name>.<idx>`.
|
|
Deduped bool `protobuf:"varint,9,opt,name=deduped,proto3" json:"deduped,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ObjectInfo) Reset() {
|
|
*x = ObjectInfo{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectInfo) ProtoMessage() {}
|
|
|
|
func (x *ObjectInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[101]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ObjectInfo.ProtoReflect.Descriptor instead.
|
|
func (*ObjectInfo) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
func (x *ObjectInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectInfo) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectInfo) GetChunkSize() uint64 {
|
|
if x != nil {
|
|
return x.ChunkSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectInfo) GetChunkCount() uint64 {
|
|
if x != nil {
|
|
return x.ChunkCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectInfo) GetSha256() string {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectInfo) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectInfo) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ObjectInfo) GetMetadataSeq() uint64 {
|
|
if x != nil {
|
|
return x.MetadataSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectInfo) GetDeduped() bool {
|
|
if x != nil {
|
|
return x.Deduped
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PutObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
// Bytes per chunk. 0 = server default (1 MiB).
|
|
ChunkSize uint64 `protobuf:"varint,4,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
|
|
// Optional headers — preserved verbatim in the metadata blob.
|
|
Headers []*MessageHeader `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
// Optional pre-computed SHA-256 hex; the server verifies after
|
|
// chunking + before publishing metadata. Empty = the server
|
|
// computes its own hash from the payload.
|
|
Sha256 string `protobuf:"bytes,6,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
// Phase 5 cross-object dedupe. When set, each chunk is hashed
|
|
// and stored at the content-addressed subject `obj_chunk.<hex>`;
|
|
// identical content across objects shares storage. Metadata
|
|
// records the chunk hashes in order so Get can re-assemble.
|
|
// See `waymaker-streams/DEDUPE_DESIGN.md`.
|
|
Dedupe bool `protobuf:"varint,7,opt,name=dedupe,proto3" json:"dedupe,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutObjectRequest) Reset() {
|
|
*x = PutObjectRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *PutObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[102]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*PutObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetChunkSize() uint64 {
|
|
if x != nil {
|
|
return x.ChunkSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetSha256() string {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectRequest) GetDedupe() bool {
|
|
if x != nil {
|
|
return x.Dedupe
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PutObjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal" | "sha_mismatch"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Info *ObjectInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutObjectResponse) Reset() {
|
|
*x = PutObjectResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[103]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutObjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutObjectResponse) ProtoMessage() {}
|
|
|
|
func (x *PutObjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[103]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutObjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*PutObjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
func (x *PutObjectResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PutObjectResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectResponse) GetInfo() *ObjectInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Streaming Put — first frame sets `start`; subsequent frames
|
|
// carry `data`. Each non-empty `data` becomes one chunk message
|
|
// in seq order. Last frame sets `finish=true` so the server
|
|
// commits metadata; closing the stream without `finish=true`
|
|
// leaves the upload aborted (orphan chunks).
|
|
type PutObjectStreamFrame struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Start *PutObjectStart `protobuf:"bytes,1,opt,name=start,proto3,oneof" json:"start,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Finish bool `protobuf:"varint,3,opt,name=finish,proto3" json:"finish,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutObjectStreamFrame) Reset() {
|
|
*x = PutObjectStreamFrame{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[104]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutObjectStreamFrame) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutObjectStreamFrame) ProtoMessage() {}
|
|
|
|
func (x *PutObjectStreamFrame) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[104]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutObjectStreamFrame.ProtoReflect.Descriptor instead.
|
|
func (*PutObjectStreamFrame) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
func (x *PutObjectStreamFrame) GetStart() *PutObjectStart {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutObjectStreamFrame) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutObjectStreamFrame) GetFinish() bool {
|
|
if x != nil {
|
|
return x.Finish
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PutObjectStart struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Bytes per chunk. 0 = server default. Note: with streaming Put
|
|
// the client controls chunk boundaries by frame size — this
|
|
// field is purely metadata-recorded, not used to re-chunk.
|
|
ChunkSize uint64 `protobuf:"varint,3,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
|
|
Headers []*MessageHeader `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
// Optional SHA-256 hex. Server verifies against the running
|
|
// hash before committing metadata; mismatch aborts the Put
|
|
// (chunks already published become orphan; GC reclaims them).
|
|
Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
// Phase 5 cross-object dedupe. When set, each chunk is hashed
|
|
// and stored at the content-addressed subject `obj_chunk.<hex>`;
|
|
// identical content across objects shares storage. See
|
|
// `waymaker-streams/DEDUPE_DESIGN.md`.
|
|
Dedupe bool `protobuf:"varint,6,opt,name=dedupe,proto3" json:"dedupe,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PutObjectStart) Reset() {
|
|
*x = PutObjectStart{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[105]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PutObjectStart) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PutObjectStart) ProtoMessage() {}
|
|
|
|
func (x *PutObjectStart) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[105]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PutObjectStart.ProtoReflect.Descriptor instead.
|
|
func (*PutObjectStart) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
func (x *PutObjectStart) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectStart) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectStart) GetChunkSize() uint64 {
|
|
if x != nil {
|
|
return x.ChunkSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PutObjectStart) GetHeaders() []*MessageHeader {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PutObjectStart) GetSha256() string {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PutObjectStart) GetDedupe() bool {
|
|
if x != nil {
|
|
return x.Dedupe
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectRequest) Reset() {
|
|
*x = GetObjectRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[106]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[106]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
func (x *GetObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetObjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "no_such_object" | "incomplete" | "internal" | "sha_mismatch"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Info *ObjectInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
|
|
Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectResponse) Reset() {
|
|
*x = GetObjectResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[107]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectResponse) ProtoMessage() {}
|
|
|
|
func (x *GetObjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[107]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
func (x *GetObjectResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetObjectResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectResponse) GetInfo() *ObjectInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetObjectResponse) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Streaming Get — first frame carries `info` (metadata only, no
|
|
// data); subsequent frames carry `data` (one per chunk).
|
|
// Final frame sets `done=true`. The server stops streaming on
|
|
// the first error; in particular `sha_mismatch` is sent as a
|
|
// gRPC Status (Aborted), not as a result_code in a frame.
|
|
type GetObjectStreamFrame struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Info *ObjectInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof" json:"info,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectStreamFrame) Reset() {
|
|
*x = GetObjectStreamFrame{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[108]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectStreamFrame) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectStreamFrame) ProtoMessage() {}
|
|
|
|
func (x *GetObjectStreamFrame) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[108]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectStreamFrame.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectStreamFrame) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{108}
|
|
}
|
|
|
|
func (x *GetObjectStreamFrame) GetInfo() *ObjectInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetObjectStreamFrame) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetObjectStreamFrame) GetDone() bool {
|
|
if x != nil {
|
|
return x.Done
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteObjectRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) Reset() {
|
|
*x = DeleteObjectRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteObjectRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[109]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteObjectRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteObjectRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteObjectResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Tombstone metadata seq, useful for client confirmations.
|
|
TombstoneSeq uint64 `protobuf:"varint,4,opt,name=tombstone_seq,json=tombstoneSeq,proto3" json:"tombstone_seq,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) Reset() {
|
|
*x = DeleteObjectResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteObjectResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteObjectResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[110]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteObjectResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteObjectResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteObjectResponse) GetTombstoneSeq() uint64 {
|
|
if x != nil {
|
|
return x.TombstoneSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetObjectInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectInfoRequest) Reset() {
|
|
*x = GetObjectInfoRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetObjectInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[111]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *GetObjectInfoRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectInfoRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetObjectInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "no_such_object" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Unset when the object name has no live metadata (never put,
|
|
// or tombstoned).
|
|
Info *ObjectInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
|
|
// True if the latest metadata is a tombstone (logical delete).
|
|
Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) Reset() {
|
|
*x = GetObjectInfoResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetObjectInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[112]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) GetInfo() *ObjectInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetObjectInfoResponse) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListObjectsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
// Optional name prefix filter (no leading `objm.` — pass just
|
|
// the object-name prefix).
|
|
NamePrefix string `protobuf:"bytes,2,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
|
|
// Include tombstoned entries? Default false.
|
|
IncludeDeleted bool `protobuf:"varint,3,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectsRequest) Reset() {
|
|
*x = ListObjectsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[113]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetNamePrefix() string {
|
|
if x != nil {
|
|
return x.NamePrefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsRequest) GetIncludeDeleted() bool {
|
|
if x != nil {
|
|
return x.IncludeDeleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListObjectsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*ObjectListEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectsResponse) Reset() {
|
|
*x = ListObjectsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[114]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
func (x *ListObjectsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListObjectsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectsResponse) GetEntries() []*ObjectListEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ObjectListEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
TotalBytes uint64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ObjectListEntry) Reset() {
|
|
*x = ObjectListEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectListEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectListEntry) ProtoMessage() {}
|
|
|
|
func (x *ObjectListEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[115]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ObjectListEntry.ProtoReflect.Descriptor instead.
|
|
func (*ObjectListEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
func (x *ObjectListEntry) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectListEntry) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectListEntry) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListObjectRevisionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Start scanning at metadata seq >= `from_seq`. 0 = beginning.
|
|
FromSeq uint64 `protobuf:"varint,3,opt,name=from_seq,json=fromSeq,proto3" json:"from_seq,omitempty"`
|
|
// Cap on returned revisions. 0 = server default (100).
|
|
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) Reset() {
|
|
*x = ListObjectRevisionsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[116]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectRevisionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListObjectRevisionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[116]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListObjectRevisionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectRevisionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) GetFromSeq() uint64 {
|
|
if x != nil {
|
|
return x.FromSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListObjectRevisionsRequest) GetLimit() uint64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListObjectRevisionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Revisions []*ObjectRevisionEntry `protobuf:"bytes,4,rep,name=revisions,proto3" json:"revisions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) Reset() {
|
|
*x = ListObjectRevisionsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[117]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListObjectRevisionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListObjectRevisionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[117]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListObjectRevisionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListObjectRevisionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListObjectRevisionsResponse) GetRevisions() []*ObjectRevisionEntry {
|
|
if x != nil {
|
|
return x.Revisions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetObjectRangeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
// Bytes to return. 0 = whole tail (`total_bytes - offset`).
|
|
Len uint64 `protobuf:"varint,4,opt,name=len,proto3" json:"len,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) Reset() {
|
|
*x = GetObjectRangeRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[118]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectRangeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetObjectRangeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[118]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectRangeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectRangeRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) GetOffset() uint64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetObjectRangeRequest) GetLen() uint64 {
|
|
if x != nil {
|
|
return x.Len
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetObjectRangeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "no_such_object" | "incomplete" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// The full object's info (size, hash, etc.). Useful for the
|
|
// client to know the total size when paginating.
|
|
Info *ObjectInfo `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
|
|
// Bytes [offset, offset + actual_len). `actual_len` may be less
|
|
// than the requested `len` when the range extends past the
|
|
// object's end.
|
|
ActualOffset uint64 `protobuf:"varint,5,opt,name=actual_offset,json=actualOffset,proto3" json:"actual_offset,omitempty"`
|
|
Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) Reset() {
|
|
*x = GetObjectRangeResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[119]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetObjectRangeResponse) ProtoMessage() {}
|
|
|
|
func (x *GetObjectRangeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[119]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetObjectRangeResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetObjectRangeResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetInfo() *ObjectInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetActualOffset() uint64 {
|
|
if x != nil {
|
|
return x.ActualOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetObjectRangeResponse) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ObjectRevisionEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Metadata message seq — doubles as the revision id.
|
|
MetadataSeq uint64 `protobuf:"varint,1,opt,name=metadata_seq,json=metadataSeq,proto3" json:"metadata_seq,omitempty"`
|
|
// Always present, including for tombstones (where `deleted=true`
|
|
// and the other fields fall back to 0/empty).
|
|
Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
TotalBytes uint64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
|
|
ChunkCount uint64 `protobuf:"varint,4,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"`
|
|
Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
|
|
TsMs int64 `protobuf:"varint,6,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) Reset() {
|
|
*x = ObjectRevisionEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[120]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ObjectRevisionEntry) ProtoMessage() {}
|
|
|
|
func (x *ObjectRevisionEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[120]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ObjectRevisionEntry.ProtoReflect.Descriptor instead.
|
|
func (*ObjectRevisionEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetMetadataSeq() uint64 {
|
|
if x != nil {
|
|
return x.MetadataSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetTotalBytes() uint64 {
|
|
if x != nil {
|
|
return x.TotalBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetChunkCount() uint64 {
|
|
if x != nil {
|
|
return x.ChunkCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetSha256() string {
|
|
if x != nil {
|
|
return x.Sha256
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ObjectRevisionEntry) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvCreateBucketRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // 0 = unbounded
|
|
MaxValueSize uint64 `protobuf:"varint,3,opt,name=max_value_size,json=maxValueSize,proto3" json:"max_value_size,omitempty"` // 0 = no per-value cap
|
|
// Bucket-level TTL (ms). 0 = no time-based eviction.
|
|
// Bucket-level TTL is independent of per-key TTL set via KvPut.
|
|
MaxAgeMs uint64 `protobuf:"varint,4,opt,name=max_age_ms,json=maxAgeMs,proto3" json:"max_age_ms,omitempty"`
|
|
Ephemeral bool `protobuf:"varint,5,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) Reset() {
|
|
*x = KvCreateBucketRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[121]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvCreateBucketRequest) ProtoMessage() {}
|
|
|
|
func (x *KvCreateBucketRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[121]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvCreateBucketRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvCreateBucketRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) GetMaxBytes() uint64 {
|
|
if x != nil {
|
|
return x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) GetMaxValueSize() uint64 {
|
|
if x != nil {
|
|
return x.MaxValueSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) GetMaxAgeMs() uint64 {
|
|
if x != nil {
|
|
return x.MaxAgeMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvCreateBucketRequest) GetEphemeral() bool {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return false
|
|
}
|
|
|
|
type KvCreateBucketResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "already_exists" | "invalid_config" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvCreateBucketResponse) Reset() {
|
|
*x = KvCreateBucketResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[122]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvCreateBucketResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvCreateBucketResponse) ProtoMessage() {}
|
|
|
|
func (x *KvCreateBucketResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[122]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvCreateBucketResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvCreateBucketResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
func (x *KvCreateBucketResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvCreateBucketResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvCreateBucketResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvDeleteBucketRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvDeleteBucketRequest) Reset() {
|
|
*x = KvDeleteBucketRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[123]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvDeleteBucketRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvDeleteBucketRequest) ProtoMessage() {}
|
|
|
|
func (x *KvDeleteBucketRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[123]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvDeleteBucketRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvDeleteBucketRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
func (x *KvDeleteBucketRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvDeleteBucketResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvDeleteBucketResponse) Reset() {
|
|
*x = KvDeleteBucketResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[124]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvDeleteBucketResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvDeleteBucketResponse) ProtoMessage() {}
|
|
|
|
func (x *KvDeleteBucketResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[124]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvDeleteBucketResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvDeleteBucketResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
func (x *KvDeleteBucketResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvDeleteBucketResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvDeleteBucketResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvPutRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
// Per-key TTL in milliseconds. 0 = no TTL.
|
|
TtlMs uint64 `protobuf:"varint,4,opt,name=ttl_ms,json=ttlMs,proto3" json:"ttl_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvPutRequest) Reset() {
|
|
*x = KvPutRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[125]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvPutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvPutRequest) ProtoMessage() {}
|
|
|
|
func (x *KvPutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[125]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvPutRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvPutRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
func (x *KvPutRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvPutRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvPutRequest) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvPutRequest) GetTtlMs() uint64 {
|
|
if x != nil {
|
|
return x.TtlMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvCreateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
TtlMs uint64 `protobuf:"varint,4,opt,name=ttl_ms,json=ttlMs,proto3" json:"ttl_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvCreateRequest) Reset() {
|
|
*x = KvCreateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[126]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvCreateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvCreateRequest) ProtoMessage() {}
|
|
|
|
func (x *KvCreateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[126]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvCreateRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvCreateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
func (x *KvCreateRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvCreateRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvCreateRequest) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvCreateRequest) GetTtlMs() uint64 {
|
|
if x != nil {
|
|
return x.TtlMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
// The revision the caller believes is current. Server returns
|
|
// wrong_revision if mismatch.
|
|
ExpectedRevision uint64 `protobuf:"varint,4,opt,name=expected_revision,json=expectedRevision,proto3" json:"expected_revision,omitempty"`
|
|
TtlMs uint64 `protobuf:"varint,5,opt,name=ttl_ms,json=ttlMs,proto3" json:"ttl_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvUpdateRequest) Reset() {
|
|
*x = KvUpdateRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[127]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *KvUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[127]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *KvUpdateRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvUpdateRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvUpdateRequest) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvUpdateRequest) GetExpectedRevision() uint64 {
|
|
if x != nil {
|
|
return x.ExpectedRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvUpdateRequest) GetTtlMs() uint64 {
|
|
if x != nil {
|
|
return x.TtlMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvPutResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
// "ok" | "no_such_bucket" | "wrong_revision" | "invalid_key" | "internal"
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Assigned revision (stream sequence) of the newly-written
|
|
// value. On wrong_revision, this is the *current* server-side
|
|
// revision the caller can retry against.
|
|
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvPutResponse) Reset() {
|
|
*x = KvPutResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[128]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvPutResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvPutResponse) ProtoMessage() {}
|
|
|
|
func (x *KvPutResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[128]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvPutResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvPutResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
func (x *KvPutResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvPutResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvPutResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvPutResponse) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvGetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvGetRequest) Reset() {
|
|
*x = KvGetRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[129]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvGetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvGetRequest) ProtoMessage() {}
|
|
|
|
func (x *KvGetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[129]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvGetRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvGetRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
func (x *KvGetRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvGetRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvGetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Unset when the key has no value or is tombstoned.
|
|
Entry *KvEntry `protobuf:"bytes,4,opt,name=entry,proto3,oneof" json:"entry,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvGetResponse) Reset() {
|
|
*x = KvGetResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[130]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvGetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvGetResponse) ProtoMessage() {}
|
|
|
|
func (x *KvGetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[130]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvGetResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvGetResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
func (x *KvGetResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvGetResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvGetResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvGetResponse) GetEntry() *KvEntry {
|
|
if x != nil {
|
|
return x.Entry
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KvEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
TsMs int64 `protobuf:"varint,3,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvEntry) Reset() {
|
|
*x = KvEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[131]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvEntry) ProtoMessage() {}
|
|
|
|
func (x *KvEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[131]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvEntry.ProtoReflect.Descriptor instead.
|
|
func (*KvEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *KvEntry) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvEntry) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvEntry) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvDeleteRequest) Reset() {
|
|
*x = KvDeleteRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[132]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *KvDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[132]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
func (x *KvDeleteRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvDeleteRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"` // "ok" | "no_such_bucket" | "internal"
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvDeleteResponse) Reset() {
|
|
*x = KvDeleteResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[133]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *KvDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[133]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
func (x *KvDeleteResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvDeleteResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvDeleteResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvDeleteResponse) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvKeysRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvKeysRequest) Reset() {
|
|
*x = KvKeysRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[134]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvKeysRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvKeysRequest) ProtoMessage() {}
|
|
|
|
func (x *KvKeysRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[134]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvKeysRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvKeysRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
func (x *KvKeysRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvKeysResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*KvKeyEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvKeysResponse) Reset() {
|
|
*x = KvKeysResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[135]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvKeysResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvKeysResponse) ProtoMessage() {}
|
|
|
|
func (x *KvKeysResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[135]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvKeysResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvKeysResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{135}
|
|
}
|
|
|
|
func (x *KvKeysResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvKeysResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvKeysResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvKeysResponse) GetEntries() []*KvKeyEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KvKeyEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
// True if the latest message at this key is a tombstone.
|
|
Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvKeyEntry) Reset() {
|
|
*x = KvKeyEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[136]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvKeyEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvKeyEntry) ProtoMessage() {}
|
|
|
|
func (x *KvKeyEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[136]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvKeyEntry.ProtoReflect.Descriptor instead.
|
|
func (*KvKeyEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{136}
|
|
}
|
|
|
|
func (x *KvKeyEntry) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvKeyEntry) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvKeyEntry) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type KvHistoryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
FromRevision uint64 `protobuf:"varint,3,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` // 0 = from beginning
|
|
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // 0 = server default
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvHistoryRequest) Reset() {
|
|
*x = KvHistoryRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[137]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvHistoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvHistoryRequest) ProtoMessage() {}
|
|
|
|
func (x *KvHistoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[137]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvHistoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvHistoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{137}
|
|
}
|
|
|
|
func (x *KvHistoryRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvHistoryRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvHistoryRequest) GetFromRevision() uint64 {
|
|
if x != nil {
|
|
return x.FromRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvHistoryRequest) GetLimit() uint64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvHistoryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*KvHistoryEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvHistoryResponse) Reset() {
|
|
*x = KvHistoryResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[138]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvHistoryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvHistoryResponse) ProtoMessage() {}
|
|
|
|
func (x *KvHistoryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[138]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvHistoryResponse.ProtoReflect.Descriptor instead.
|
|
func (*KvHistoryResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{138}
|
|
}
|
|
|
|
func (x *KvHistoryResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *KvHistoryResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvHistoryResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvHistoryResponse) GetEntries() []*KvHistoryEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KvHistoryEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
TsMs int64 `protobuf:"varint,3,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvHistoryEntry) Reset() {
|
|
*x = KvHistoryEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[139]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvHistoryEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvHistoryEntry) ProtoMessage() {}
|
|
|
|
func (x *KvHistoryEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[139]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvHistoryEntry.ProtoReflect.Descriptor instead.
|
|
func (*KvHistoryEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{139}
|
|
}
|
|
|
|
func (x *KvHistoryEntry) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvHistoryEntry) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvHistoryEntry) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvHistoryEntry) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type KvTouchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
TtlMs uint64 `protobuf:"varint,3,opt,name=ttl_ms,json=ttlMs,proto3" json:"ttl_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvTouchRequest) Reset() {
|
|
*x = KvTouchRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvTouchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvTouchRequest) ProtoMessage() {}
|
|
|
|
func (x *KvTouchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[140]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvTouchRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvTouchRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
func (x *KvTouchRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvTouchRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvTouchRequest) GetTtlMs() uint64 {
|
|
if x != nil {
|
|
return x.TtlMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvWatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
// Empty = watch every key in the bucket. Non-empty = watch only
|
|
// this key.
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvWatchRequest) Reset() {
|
|
*x = KvWatchRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvWatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvWatchRequest) ProtoMessage() {}
|
|
|
|
func (x *KvWatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[141]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvWatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*KvWatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
func (x *KvWatchRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvWatchRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type KvWatchEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Event:
|
|
//
|
|
// *KvWatchEvent_Put
|
|
// *KvWatchEvent_Delete
|
|
Event isKvWatchEvent_Event `protobuf_oneof:"event"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvWatchEvent) Reset() {
|
|
*x = KvWatchEvent{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvWatchEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvWatchEvent) ProtoMessage() {}
|
|
|
|
func (x *KvWatchEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[142]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvWatchEvent.ProtoReflect.Descriptor instead.
|
|
func (*KvWatchEvent) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
func (x *KvWatchEvent) GetEvent() isKvWatchEvent_Event {
|
|
if x != nil {
|
|
return x.Event
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvWatchEvent) GetPut() *KvPutEvent {
|
|
if x != nil {
|
|
if x, ok := x.Event.(*KvWatchEvent_Put); ok {
|
|
return x.Put
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvWatchEvent) GetDelete() *KvDeleteEvent {
|
|
if x != nil {
|
|
if x, ok := x.Event.(*KvWatchEvent_Delete); ok {
|
|
return x.Delete
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isKvWatchEvent_Event interface {
|
|
isKvWatchEvent_Event()
|
|
}
|
|
|
|
type KvWatchEvent_Put struct {
|
|
Put *KvPutEvent `protobuf:"bytes,1,opt,name=put,proto3,oneof"`
|
|
}
|
|
|
|
type KvWatchEvent_Delete struct {
|
|
Delete *KvDeleteEvent `protobuf:"bytes,2,opt,name=delete,proto3,oneof"`
|
|
}
|
|
|
|
func (*KvWatchEvent_Put) isKvWatchEvent_Event() {}
|
|
|
|
func (*KvWatchEvent_Delete) isKvWatchEvent_Event() {}
|
|
|
|
type KvPutEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Revision uint64 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
TsMs int64 `protobuf:"varint,4,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvPutEvent) Reset() {
|
|
*x = KvPutEvent{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvPutEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvPutEvent) ProtoMessage() {}
|
|
|
|
func (x *KvPutEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[143]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvPutEvent.ProtoReflect.Descriptor instead.
|
|
func (*KvPutEvent) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *KvPutEvent) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvPutEvent) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KvPutEvent) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvPutEvent) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KvDeleteEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
TsMs int64 `protobuf:"varint,3,opt,name=ts_ms,json=tsMs,proto3" json:"ts_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KvDeleteEvent) Reset() {
|
|
*x = KvDeleteEvent{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KvDeleteEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KvDeleteEvent) ProtoMessage() {}
|
|
|
|
func (x *KvDeleteEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[144]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use KvDeleteEvent.ProtoReflect.Descriptor instead.
|
|
func (*KvDeleteEvent) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
func (x *KvDeleteEvent) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KvDeleteEvent) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KvDeleteEvent) GetTsMs() int64 {
|
|
if x != nil {
|
|
return x.TsMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateHashStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHashStoreRequest) Reset() {
|
|
*x = CreateHashStoreRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHashStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHashStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHashStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[145]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateHashStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHashStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
func (x *CreateHashStoreRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHashStoreRequest) GetMaxBytes() uint64 {
|
|
if x != nil {
|
|
return x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateHashStoreRequest) GetEphemeral() bool {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CreateHashStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHashStoreResponse) Reset() {
|
|
*x = CreateHashStoreResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHashStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHashStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHashStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[146]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateHashStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHashStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
func (x *CreateHashStoreResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateHashStoreResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHashStoreResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteHashStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHashStoreRequest) Reset() {
|
|
*x = DeleteHashStoreRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHashStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHashStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteHashStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[147]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteHashStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHashStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
func (x *DeleteHashStoreRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteHashStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHashStoreResponse) Reset() {
|
|
*x = DeleteHashStoreResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHashStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHashStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteHashStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[148]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteHashStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHashStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
func (x *DeleteHashStoreResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteHashStoreResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteHashStoreResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
|
|
Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashSetRequest) Reset() {
|
|
*x = HashSetRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashSetRequest) ProtoMessage() {}
|
|
|
|
func (x *HashSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[149]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
func (x *HashSetRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashSetRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashSetRequest) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashSetRequest) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HashSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashSetResponse) Reset() {
|
|
*x = HashSetResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[150]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashSetResponse) ProtoMessage() {}
|
|
|
|
func (x *HashSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[150]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{150}
|
|
}
|
|
|
|
func (x *HashSetResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashSetResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashSetResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashSetResponse) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HashGetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashGetRequest) Reset() {
|
|
*x = HashGetRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[151]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashGetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashGetRequest) ProtoMessage() {}
|
|
|
|
func (x *HashGetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[151]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashGetRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashGetRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{151}
|
|
}
|
|
|
|
func (x *HashGetRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetRequest) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashGetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Unset when the field has no value or is tombstoned.
|
|
Value []byte `protobuf:"bytes,4,opt,name=value,proto3,oneof" json:"value,omitempty"`
|
|
Revision uint64 `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashGetResponse) Reset() {
|
|
*x = HashGetResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[152]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashGetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashGetResponse) ProtoMessage() {}
|
|
|
|
func (x *HashGetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[152]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashGetResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashGetResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{152}
|
|
}
|
|
|
|
func (x *HashGetResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashGetResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetResponse) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HashGetResponse) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HashExistsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashExistsRequest) Reset() {
|
|
*x = HashExistsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[153]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashExistsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashExistsRequest) ProtoMessage() {}
|
|
|
|
func (x *HashExistsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[153]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashExistsRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashExistsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{153}
|
|
}
|
|
|
|
func (x *HashExistsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashExistsRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashExistsRequest) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashExistsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Exists bool `protobuf:"varint,4,opt,name=exists,proto3" json:"exists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashExistsResponse) Reset() {
|
|
*x = HashExistsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[154]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashExistsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashExistsResponse) ProtoMessage() {}
|
|
|
|
func (x *HashExistsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[154]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashExistsResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashExistsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{154}
|
|
}
|
|
|
|
func (x *HashExistsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashExistsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashExistsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashExistsResponse) GetExists() bool {
|
|
if x != nil {
|
|
return x.Exists
|
|
}
|
|
return false
|
|
}
|
|
|
|
type HashDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashDeleteRequest) Reset() {
|
|
*x = HashDeleteRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[155]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *HashDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[155]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{155}
|
|
}
|
|
|
|
func (x *HashDeleteRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashDeleteRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashDeleteRequest) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashDeleteResponse) Reset() {
|
|
*x = HashDeleteResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[156]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *HashDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[156]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{156}
|
|
}
|
|
|
|
func (x *HashDeleteResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashDeleteResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashDeleteResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashGetAllRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashGetAllRequest) Reset() {
|
|
*x = HashGetAllRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[157]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashGetAllRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashGetAllRequest) ProtoMessage() {}
|
|
|
|
func (x *HashGetAllRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[157]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashGetAllRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashGetAllRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{157}
|
|
}
|
|
|
|
func (x *HashGetAllRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetAllRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashGetAllResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Entries []*HashFieldEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashGetAllResponse) Reset() {
|
|
*x = HashGetAllResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[158]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashGetAllResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashGetAllResponse) ProtoMessage() {}
|
|
|
|
func (x *HashGetAllResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[158]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashGetAllResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashGetAllResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{158}
|
|
}
|
|
|
|
func (x *HashGetAllResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashGetAllResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetAllResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashGetAllResponse) GetEntries() []*HashFieldEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HashFieldEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Revision uint64 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashFieldEntry) Reset() {
|
|
*x = HashFieldEntry{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[159]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashFieldEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashFieldEntry) ProtoMessage() {}
|
|
|
|
func (x *HashFieldEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[159]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashFieldEntry.ProtoReflect.Descriptor instead.
|
|
func (*HashFieldEntry) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{159}
|
|
}
|
|
|
|
func (x *HashFieldEntry) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashFieldEntry) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HashFieldEntry) GetRevision() uint64 {
|
|
if x != nil {
|
|
return x.Revision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HashFieldsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashFieldsRequest) Reset() {
|
|
*x = HashFieldsRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[160]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashFieldsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashFieldsRequest) ProtoMessage() {}
|
|
|
|
func (x *HashFieldsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[160]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashFieldsRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashFieldsRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{160}
|
|
}
|
|
|
|
func (x *HashFieldsRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashFieldsRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashFieldsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Fields []string `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashFieldsResponse) Reset() {
|
|
*x = HashFieldsResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[161]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashFieldsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashFieldsResponse) ProtoMessage() {}
|
|
|
|
func (x *HashFieldsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[161]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashFieldsResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashFieldsResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{161}
|
|
}
|
|
|
|
func (x *HashFieldsResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashFieldsResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashFieldsResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashFieldsResponse) GetFields() []string {
|
|
if x != nil {
|
|
return x.Fields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HashLenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
HashKey string `protobuf:"bytes,2,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashLenRequest) Reset() {
|
|
*x = HashLenRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[162]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashLenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashLenRequest) ProtoMessage() {}
|
|
|
|
func (x *HashLenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[162]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashLenRequest.ProtoReflect.Descriptor instead.
|
|
func (*HashLenRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{162}
|
|
}
|
|
|
|
func (x *HashLenRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashLenRequest) GetHashKey() string {
|
|
if x != nil {
|
|
return x.HashKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HashLenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HashLenResponse) Reset() {
|
|
*x = HashLenResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[163]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HashLenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HashLenResponse) ProtoMessage() {}
|
|
|
|
func (x *HashLenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[163]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HashLenResponse.ProtoReflect.Descriptor instead.
|
|
func (*HashLenResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{163}
|
|
}
|
|
|
|
func (x *HashLenResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HashLenResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashLenResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HashLenResponse) GetCount() uint64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateSetStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSetStoreRequest) Reset() {
|
|
*x = CreateSetStoreRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[164]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSetStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSetStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateSetStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[164]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSetStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateSetStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{164}
|
|
}
|
|
|
|
func (x *CreateSetStoreRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSetStoreRequest) GetMaxBytes() uint64 {
|
|
if x != nil {
|
|
return x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateSetStoreRequest) GetEphemeral() bool {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CreateSetStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateSetStoreResponse) Reset() {
|
|
*x = CreateSetStoreResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[165]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateSetStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSetStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateSetStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[165]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSetStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateSetStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{165}
|
|
}
|
|
|
|
func (x *CreateSetStoreResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateSetStoreResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSetStoreResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteSetStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteSetStoreRequest) Reset() {
|
|
*x = DeleteSetStoreRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[166]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteSetStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSetStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteSetStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[166]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSetStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSetStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{166}
|
|
}
|
|
|
|
func (x *DeleteSetStoreRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteSetStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteSetStoreResponse) Reset() {
|
|
*x = DeleteSetStoreResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[167]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteSetStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSetStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteSetStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[167]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSetStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSetStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{167}
|
|
}
|
|
|
|
func (x *DeleteSetStoreResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteSetStoreResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteSetStoreResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetAddRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
SetKey string `protobuf:"bytes,2,opt,name=set_key,json=setKey,proto3" json:"set_key,omitempty"`
|
|
Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetAddRequest) Reset() {
|
|
*x = SetAddRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[168]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetAddRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetAddRequest) ProtoMessage() {}
|
|
|
|
func (x *SetAddRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[168]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetAddRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetAddRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{168}
|
|
}
|
|
|
|
func (x *SetAddRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetAddRequest) GetSetKey() string {
|
|
if x != nil {
|
|
return x.SetKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetAddRequest) GetMember() string {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetAddResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetAddResponse) Reset() {
|
|
*x = SetAddResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[169]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetAddResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetAddResponse) ProtoMessage() {}
|
|
|
|
func (x *SetAddResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[169]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetAddResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetAddResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{169}
|
|
}
|
|
|
|
func (x *SetAddResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetAddResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetAddResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetRemoveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
SetKey string `protobuf:"bytes,2,opt,name=set_key,json=setKey,proto3" json:"set_key,omitempty"`
|
|
Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRemoveRequest) Reset() {
|
|
*x = SetRemoveRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[170]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRemoveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRemoveRequest) ProtoMessage() {}
|
|
|
|
func (x *SetRemoveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[170]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetRemoveRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetRemoveRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{170}
|
|
}
|
|
|
|
func (x *SetRemoveRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRemoveRequest) GetSetKey() string {
|
|
if x != nil {
|
|
return x.SetKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRemoveRequest) GetMember() string {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetRemoveResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetRemoveResponse) Reset() {
|
|
*x = SetRemoveResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[171]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetRemoveResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetRemoveResponse) ProtoMessage() {}
|
|
|
|
func (x *SetRemoveResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[171]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetRemoveResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetRemoveResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{171}
|
|
}
|
|
|
|
func (x *SetRemoveResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetRemoveResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetRemoveResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetIsMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
SetKey string `protobuf:"bytes,2,opt,name=set_key,json=setKey,proto3" json:"set_key,omitempty"`
|
|
Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetIsMemberRequest) Reset() {
|
|
*x = SetIsMemberRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[172]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetIsMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetIsMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *SetIsMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[172]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetIsMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetIsMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{172}
|
|
}
|
|
|
|
func (x *SetIsMemberRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetIsMemberRequest) GetSetKey() string {
|
|
if x != nil {
|
|
return x.SetKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetIsMemberRequest) GetMember() string {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetIsMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
IsMember bool `protobuf:"varint,4,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) Reset() {
|
|
*x = SetIsMemberResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[173]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetIsMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *SetIsMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[173]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetIsMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetIsMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{173}
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetIsMemberResponse) GetIsMember() bool {
|
|
if x != nil {
|
|
return x.IsMember
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetMembersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
SetKey string `protobuf:"bytes,2,opt,name=set_key,json=setKey,proto3" json:"set_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMembersRequest) Reset() {
|
|
*x = SetMembersRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[174]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMembersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMembersRequest) ProtoMessage() {}
|
|
|
|
func (x *SetMembersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[174]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetMembersRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetMembersRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{174}
|
|
}
|
|
|
|
func (x *SetMembersRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMembersRequest) GetSetKey() string {
|
|
if x != nil {
|
|
return x.SetKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetMembersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetMembersResponse) Reset() {
|
|
*x = SetMembersResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[175]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetMembersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetMembersResponse) ProtoMessage() {}
|
|
|
|
func (x *SetMembersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[175]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetMembersResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetMembersResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{175}
|
|
}
|
|
|
|
func (x *SetMembersResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetMembersResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMembersResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetMembersResponse) GetMembers() []string {
|
|
if x != nil {
|
|
return x.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetLenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
SetKey string `protobuf:"bytes,2,opt,name=set_key,json=setKey,proto3" json:"set_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetLenRequest) Reset() {
|
|
*x = SetLenRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[176]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetLenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLenRequest) ProtoMessage() {}
|
|
|
|
func (x *SetLenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[176]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLenRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetLenRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{176}
|
|
}
|
|
|
|
func (x *SetLenRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLenRequest) GetSetKey() string {
|
|
if x != nil {
|
|
return x.SetKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SetLenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetLenResponse) Reset() {
|
|
*x = SetLenResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[177]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetLenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetLenResponse) ProtoMessage() {}
|
|
|
|
func (x *SetLenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[177]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetLenResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetLenResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{177}
|
|
}
|
|
|
|
func (x *SetLenResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetLenResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLenResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetLenResponse) GetCount() uint64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateQueueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
MaxMessages uint64 `protobuf:"varint,3,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"`
|
|
Ephemeral bool `protobuf:"varint,4,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateQueueRequest) Reset() {
|
|
*x = CreateQueueRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[178]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateQueueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateQueueRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateQueueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[178]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateQueueRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateQueueRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{178}
|
|
}
|
|
|
|
func (x *CreateQueueRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateQueueRequest) GetMaxBytes() uint64 {
|
|
if x != nil {
|
|
return x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateQueueRequest) GetMaxMessages() uint64 {
|
|
if x != nil {
|
|
return x.MaxMessages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateQueueRequest) GetEphemeral() bool {
|
|
if x != nil {
|
|
return x.Ephemeral
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CreateQueueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateQueueResponse) Reset() {
|
|
*x = CreateQueueResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[179]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateQueueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateQueueResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateQueueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[179]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateQueueResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateQueueResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{179}
|
|
}
|
|
|
|
func (x *CreateQueueResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateQueueResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateQueueResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteQueueRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteQueueRequest) Reset() {
|
|
*x = DeleteQueueRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[180]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteQueueRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteQueueRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteQueueRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[180]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteQueueRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteQueueRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{180}
|
|
}
|
|
|
|
func (x *DeleteQueueRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteQueueResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteQueueResponse) Reset() {
|
|
*x = DeleteQueueResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[181]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteQueueResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteQueueResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteQueueResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[181]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteQueueResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteQueueResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{181}
|
|
}
|
|
|
|
func (x *DeleteQueueResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteQueueResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteQueueResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueuePushRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueuePushRequest) Reset() {
|
|
*x = QueuePushRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[182]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueuePushRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueuePushRequest) ProtoMessage() {}
|
|
|
|
func (x *QueuePushRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[182]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueuePushRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueuePushRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{182}
|
|
}
|
|
|
|
func (x *QueuePushRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueuePushRequest) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueuePushResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueuePushResponse) Reset() {
|
|
*x = QueuePushResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[183]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueuePushResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueuePushResponse) ProtoMessage() {}
|
|
|
|
func (x *QueuePushResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[183]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueuePushResponse.ProtoReflect.Descriptor instead.
|
|
func (*QueuePushResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{183}
|
|
}
|
|
|
|
func (x *QueuePushResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QueuePushResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueuePushResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueuePushResponse) GetSequence() uint64 {
|
|
if x != nil {
|
|
return x.Sequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QueuePopRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueuePopRequest) Reset() {
|
|
*x = QueuePopRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[184]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueuePopRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueuePopRequest) ProtoMessage() {}
|
|
|
|
func (x *QueuePopRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[184]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueuePopRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueuePopRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{184}
|
|
}
|
|
|
|
func (x *QueuePopRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueuePopResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
// Unset when the queue is empty.
|
|
Value []byte `protobuf:"bytes,4,opt,name=value,proto3,oneof" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueuePopResponse) Reset() {
|
|
*x = QueuePopResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[185]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueuePopResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueuePopResponse) ProtoMessage() {}
|
|
|
|
func (x *QueuePopResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[185]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueuePopResponse.ProtoReflect.Descriptor instead.
|
|
func (*QueuePopResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{185}
|
|
}
|
|
|
|
func (x *QueuePopResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QueuePopResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueuePopResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueuePopResponse) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueueRangeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
FromSequence uint64 `protobuf:"varint,2,opt,name=from_sequence,json=fromSequence,proto3" json:"from_sequence,omitempty"`
|
|
Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueueRangeRequest) Reset() {
|
|
*x = QueueRangeRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[186]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueueRangeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueueRangeRequest) ProtoMessage() {}
|
|
|
|
func (x *QueueRangeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[186]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueueRangeRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueueRangeRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{186}
|
|
}
|
|
|
|
func (x *QueueRangeRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueueRangeRequest) GetFromSequence() uint64 {
|
|
if x != nil {
|
|
return x.FromSequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueueRangeRequest) GetLimit() uint64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QueueRangeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Values [][]byte `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueueRangeResponse) Reset() {
|
|
*x = QueueRangeResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[187]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueueRangeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueueRangeResponse) ProtoMessage() {}
|
|
|
|
func (x *QueueRangeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[187]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueueRangeResponse.ProtoReflect.Descriptor instead.
|
|
func (*QueueRangeResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{187}
|
|
}
|
|
|
|
func (x *QueueRangeResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QueueRangeResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueueRangeResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueueRangeResponse) GetValues() [][]byte {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueueLenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueueLenRequest) Reset() {
|
|
*x = QueueLenRequest{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[188]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueueLenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueueLenRequest) ProtoMessage() {}
|
|
|
|
func (x *QueueLenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[188]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueueLenRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueueLenRequest) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{188}
|
|
}
|
|
|
|
func (x *QueueLenRequest) GetBucket() string {
|
|
if x != nil {
|
|
return x.Bucket
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueueLenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
ResultCode string `protobuf:"bytes,2,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueueLenResponse) Reset() {
|
|
*x = QueueLenResponse{}
|
|
mi := &file_waymaker_streams_proto_msgTypes[189]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueueLenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueueLenResponse) ProtoMessage() {}
|
|
|
|
func (x *QueueLenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_waymaker_streams_proto_msgTypes[189]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueueLenResponse.ProtoReflect.Descriptor instead.
|
|
func (*QueueLenResponse) Descriptor() ([]byte, []int) {
|
|
return file_waymaker_streams_proto_rawDescGZIP(), []int{189}
|
|
}
|
|
|
|
func (x *QueueLenResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QueueLenResponse) GetResultCode() string {
|
|
if x != nil {
|
|
return x.ResultCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueueLenResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueueLenResponse) GetCount() uint64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_waymaker_streams_proto protoreflect.FileDescriptor
|
|
|
|
const file_waymaker_streams_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x16waymaker_streams.proto\x12\x10waymaker.streams\"\xc5\x01\n" +
|
|
"\x0fLimitsRetention\x12!\n" +
|
|
"\n" +
|
|
"max_age_ms\x18\x01 \x01(\x04H\x00R\bmaxAgeMs\x88\x01\x01\x12\x1e\n" +
|
|
"\bmax_msgs\x18\x02 \x01(\x04H\x01R\amaxMsgs\x88\x01\x01\x12 \n" +
|
|
"\tmax_bytes\x18\x03 \x01(\x04H\x02R\bmaxBytes\x88\x01\x01\x12#\n" +
|
|
"\rstrict_limits\x18\x04 \x01(\bR\fstrictLimitsB\r\n" +
|
|
"\v_max_age_msB\v\n" +
|
|
"\t_max_msgsB\f\n" +
|
|
"\n" +
|
|
"_max_bytes\"\x14\n" +
|
|
"\x12WorkQueueRetention\"\x13\n" +
|
|
"\x11InterestRetention\"\xdc\x01\n" +
|
|
"\tRetention\x12;\n" +
|
|
"\x06limits\x18\x01 \x01(\v2!.waymaker.streams.LimitsRetentionH\x00R\x06limits\x12E\n" +
|
|
"\n" +
|
|
"work_queue\x18\x02 \x01(\v2$.waymaker.streams.WorkQueueRetentionH\x00R\tworkQueue\x12A\n" +
|
|
"\binterest\x18\x03 \x01(\v2#.waymaker.streams.InterestRetentionH\x00R\binterestB\b\n" +
|
|
"\x06policy\"\xdc\x02\n" +
|
|
"\x0eStreamConfigPb\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12'\n" +
|
|
"\x0fsubjects_filter\x18\x02 \x03(\tR\x0esubjectsFilter\x129\n" +
|
|
"\tretention\x18\x03 \x01(\v2\x1b.waymaker.streams.RetentionR\tretention\x12\x1d\n" +
|
|
"\n" +
|
|
"block_size\x18\x04 \x01(\x04R\tblockSize\x12\"\n" +
|
|
"\rmax_msg_bytes\x18\x05 \x01(\x04R\vmaxMsgBytes\x12\x1c\n" +
|
|
"\tephemeral\x18\x06 \x01(\bR\tephemeral\x12@\n" +
|
|
"\asources\x18\a \x03(\v2&.waymaker.streams.StreamSourceConfigPbR\asources\x12/\n" +
|
|
"\x14max_msgs_per_subject\x18\b \x01(\x04R\x11maxMsgsPerSubject\"\x80\x03\n" +
|
|
"\x14StreamSourceConfigPb\x12#\n" +
|
|
"\rsource_stream\x18\x01 \x01(\tR\fsourceStream\x12%\n" +
|
|
"\x0efilter_subject\x18\x02 \x01(\tR\rfilterSubject\x12\x1b\n" +
|
|
"\tstart_seq\x18\x03 \x01(\x04R\bstartSeq\x12\"\n" +
|
|
"\rstart_time_ms\x18\x04 \x01(\x03R\vstartTimeMs\x12Q\n" +
|
|
"\x11subject_transform\x18\x05 \x01(\v2$.waymaker.streams.SubjectTransformPbR\x10subjectTransform\x120\n" +
|
|
"\x14max_initial_backfill\x18\x06 \x01(\x04R\x12maxInitialBackfill\x127\n" +
|
|
"\aon_drop\x18\a \x01(\x0e2\x1e.waymaker.streams.OnDropPolicyR\x06onDrop\x12\x1d\n" +
|
|
"\n" +
|
|
"dlq_stream\x18\b \x01(\tR\tdlqStream\"]\n" +
|
|
"\x12SubjectTransformPb\x12%\n" +
|
|
"\x0esource_pattern\x18\x01 \x01(\tR\rsourcePattern\x12 \n" +
|
|
"\vdestination\x18\x02 \x01(\tR\vdestination\"\x9f\x01\n" +
|
|
"\rStreamStatsPb\x12\x19\n" +
|
|
"\blast_seq\x18\x01 \x01(\x04R\alastSeq\x12\x1b\n" +
|
|
"\tmsg_count\x18\x02 \x01(\x04R\bmsgCount\x12\x14\n" +
|
|
"\x05bytes\x18\x03 \x01(\x04R\x05bytes\x12\x1f\n" +
|
|
"\vblock_count\x18\x04 \x01(\x04R\n" +
|
|
"blockCount\x12\x1f\n" +
|
|
"\vfirst_block\x18\x05 \x01(\x04R\n" +
|
|
"firstBlock\"7\n" +
|
|
"\rMessageHeader\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value\"\xc6\x01\n" +
|
|
"\tMessagePb\x12\x10\n" +
|
|
"\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\x12\x13\n" +
|
|
"\x05ts_ms\x18\x03 \x01(\x03R\x04tsMs\x129\n" +
|
|
"\aheaders\x18\x04 \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12\x18\n" +
|
|
"\apayload\x18\x05 \x01(\fR\apayload\x12#\n" +
|
|
"\rdeliver_count\x18\x06 \x01(\rR\fdeliverCount\"\x8d\x01\n" +
|
|
"\x10DeliveryPolicyPb\x128\n" +
|
|
"\x04type\x18\x01 \x01(\x0e2$.waymaker.streams.DeliveryPolicyTypeR\x04type\x12\x1b\n" +
|
|
"\tstart_seq\x18\x02 \x01(\x04R\bstartSeq\x12\"\n" +
|
|
"\rstart_time_ms\x18\x03 \x01(\x03R\vstartTimeMs\"\xb0\x02\n" +
|
|
"\x10ConsumerConfigPb\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12%\n" +
|
|
"\x0efilter_subject\x18\x02 \x01(\tR\rfilterSubject\x12K\n" +
|
|
"\x0fdelivery_policy\x18\x03 \x01(\v2\".waymaker.streams.DeliveryPolicyPbR\x0edeliveryPolicy\x12\x1e\n" +
|
|
"\vack_wait_ms\x18\x04 \x01(\x04R\tackWaitMs\x12\x1f\n" +
|
|
"\vmax_deliver\x18\x05 \x01(\rR\n" +
|
|
"maxDeliver\x12#\n" +
|
|
"\rdeliver_group\x18\x06 \x01(\tR\fdeliverGroup\x12.\n" +
|
|
"\x13dead_letter_subject\x18\a \x01(\tR\x11deadLetterSubject\"\xe6\x01\n" +
|
|
"\x0fConsumerStatePb\x12:\n" +
|
|
"\x06config\x18\x01 \x01(\v2\".waymaker.streams.ConsumerConfigPbR\x06config\x12\x1b\n" +
|
|
"\tack_floor\x18\x02 \x01(\x04R\backFloor\x12%\n" +
|
|
"\x0elast_delivered\x18\x03 \x01(\x04R\rlastDelivered\x12\"\n" +
|
|
"\rcreated_at_ms\x18\x04 \x01(\x03R\vcreatedAtMs\x12/\n" +
|
|
"\x13redelivered_dropped\x18\x05 \x01(\x04R\x12redeliveredDropped\"O\n" +
|
|
"\x13CreateStreamRequest\x128\n" +
|
|
"\x06config\x18\x01 \x01(\v2 .waymaker.streams.StreamConfigPbR\x06config\"k\n" +
|
|
"\x14CreateStreamResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\")\n" +
|
|
"\x13DeleteStreamRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"k\n" +
|
|
"\x14DeleteStreamResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"*\n" +
|
|
"\x14GetStreamInfoRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"\xe1\x03\n" +
|
|
"\x15GetStreamInfoResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x128\n" +
|
|
"\x06config\x18\x04 \x01(\v2 .waymaker.streams.StreamConfigPbR\x06config\x125\n" +
|
|
"\x05stats\x18\x05 \x01(\v2\x1f.waymaker.streams.StreamStatsPbR\x05stats\x12]\n" +
|
|
"\x12authority_override\x18\x06 \x01(\v2).waymaker.streams.StreamAuthorityOverrideH\x00R\x11authorityOverride\x88\x01\x01\x12+\n" +
|
|
"\x12ring_owner_node_id\x18\a \x01(\x04R\x0fringOwnerNodeId\x12\x16\n" +
|
|
"\x06pinned\x18\b \x01(\bR\x06pinned\x12G\n" +
|
|
"\x0esources_status\x18\t \x03(\v2 .waymaker.streams.SourceStatusPbR\rsourcesStatusB\x15\n" +
|
|
"\x13_authority_override\"\xca\x01\n" +
|
|
"\x0eSourceStatusPb\x12#\n" +
|
|
"\rsource_stream\x18\x01 \x01(\tR\fsourceStream\x12(\n" +
|
|
"\x10last_sourced_seq\x18\x02 \x01(\x04R\x0elastSourcedSeq\x12!\n" +
|
|
"\fpulled_total\x18\x03 \x01(\x04R\vpulledTotal\x12\x1d\n" +
|
|
"\n" +
|
|
"last_error\x18\x04 \x01(\tR\tlastError\x12'\n" +
|
|
"\x10last_error_ts_ms\x18\x05 \x01(\x03R\rlastErrorTsMs\"d\n" +
|
|
"\x17StreamAuthorityOverride\x12(\n" +
|
|
"\x10claimant_node_id\x18\x01 \x01(\x04R\x0eclaimantNodeId\x12\x1f\n" +
|
|
"\vfence_epoch\x18\x02 \x01(\x04R\n" +
|
|
"fenceEpoch\"5\n" +
|
|
"\x1bClearStreamAuthorityRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\"s\n" +
|
|
"\x1cClearStreamAuthorityResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"%\n" +
|
|
"#ListStreamAuthorityOverridesRequest\"\xbf\x01\n" +
|
|
"$ListStreamAuthorityOverridesResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12B\n" +
|
|
"\aentries\x18\x04 \x03(\v2(.waymaker.streams.AuthorityOverrideEntryR\aentries\"{\n" +
|
|
"\x16AuthorityOverrideEntry\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12(\n" +
|
|
"\x10claimant_node_id\x18\x02 \x01(\x04R\x0eclaimantNodeId\x12\x1f\n" +
|
|
"\vfence_epoch\x18\x03 \x01(\x04R\n" +
|
|
"fenceEpoch\"H\n" +
|
|
"\x16SetStreamPinnedRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x16\n" +
|
|
"\x06pinned\x18\x02 \x01(\bR\x06pinned\"n\n" +
|
|
"\x17SetStreamPinnedResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\x14\n" +
|
|
"\x12ListStreamsRequest\"+\n" +
|
|
"\x13ListStreamsResponse\x12\x14\n" +
|
|
"\x05names\x18\x01 \x03(\tR\x05names\"\x19\n" +
|
|
"\x17GetStreamSourcesRequest\"\xb2\x01\n" +
|
|
"\x18GetStreamSourcesResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12A\n" +
|
|
"\aentries\x18\x04 \x03(\v2'.waymaker.streams.GetStreamSourcesEntryR\aentries\"\xfa\x01\n" +
|
|
"\x15GetStreamSourcesEntry\x12'\n" +
|
|
"\x0fsourcing_stream\x18\x01 \x01(\tR\x0esourcingStream\x12#\n" +
|
|
"\rsource_stream\x18\x02 \x01(\tR\fsourceStream\x12(\n" +
|
|
"\x10last_sourced_seq\x18\x03 \x01(\x04R\x0elastSourcedSeq\x12!\n" +
|
|
"\fpulled_total\x18\x04 \x01(\x04R\vpulledTotal\x12\x1d\n" +
|
|
"\n" +
|
|
"last_error\x18\x05 \x01(\tR\tlastError\x12'\n" +
|
|
"\x10last_error_ts_ms\x18\x06 \x01(\x03R\rlastErrorTsMs\"\xaf\x02\n" +
|
|
"\x13UpdateStreamRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
|
|
"\n" +
|
|
"max_age_ms\x18\x02 \x01(\x04H\x00R\bmaxAgeMs\x88\x01\x01\x12\x1e\n" +
|
|
"\bmax_msgs\x18\x03 \x01(\x04H\x01R\amaxMsgs\x88\x01\x01\x12 \n" +
|
|
"\tmax_bytes\x18\x04 \x01(\x04H\x02R\bmaxBytes\x88\x01\x01\x12'\n" +
|
|
"\rmax_msg_bytes\x18\x05 \x01(\x04H\x03R\vmaxMsgBytes\x88\x01\x01\x12(\n" +
|
|
"\rstrict_limits\x18\x06 \x01(\bH\x04R\fstrictLimits\x88\x01\x01B\r\n" +
|
|
"\v_max_age_msB\v\n" +
|
|
"\t_max_msgsB\f\n" +
|
|
"\n" +
|
|
"_max_bytesB\x10\n" +
|
|
"\x0e_max_msg_bytesB\x10\n" +
|
|
"\x0e_strict_limits\"\xbd\x01\n" +
|
|
"\x14UpdateStreamResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x128\n" +
|
|
"\x06config\x18\x04 \x01(\v2 .waymaker.streams.StreamConfigPbR\x06config\x12\x16\n" +
|
|
"\x06pruned\x18\x05 \x01(\x04R\x06pruned\"\xf3\x01\n" +
|
|
"\x0ePublishRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\x12\x18\n" +
|
|
"\apayload\x18\x03 \x01(\fR\apayload\x129\n" +
|
|
"\aheaders\x18\x04 \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12\x13\n" +
|
|
"\x05ts_ms\x18\x05 \x01(\x03R\x04tsMs\x12/\n" +
|
|
"\x11expected_last_seq\x18\x06 \x01(\x04H\x00R\x0fexpectedLastSeq\x88\x01\x01B\x14\n" +
|
|
"\x12_expected_last_seq\"x\n" +
|
|
"\x0fPublishResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x10\n" +
|
|
"\x03seq\x18\x04 \x01(\x04R\x03seq\"a\n" +
|
|
"\fFetchRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x1d\n" +
|
|
"\n" +
|
|
"batch_size\x18\x03 \x01(\rR\tbatchSize\"\x9d\x01\n" +
|
|
"\rFetchResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x127\n" +
|
|
"\bmessages\x18\x04 \x03(\v2\x1b.waymaker.streams.MessagePbR\bmessages\"R\n" +
|
|
"\n" +
|
|
"AckRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x10\n" +
|
|
"\x03seq\x18\x03 \x01(\x04R\x03seq\"b\n" +
|
|
"\vAckResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"m\n" +
|
|
"\n" +
|
|
"NakRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x10\n" +
|
|
"\x03seq\x18\x03 \x01(\x04R\x03seq\x12\x19\n" +
|
|
"\bdelay_ms\x18\x04 \x01(\x04R\adelayMs\"b\n" +
|
|
"\vNakResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"S\n" +
|
|
"\vTermRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x10\n" +
|
|
"\x03seq\x18\x03 \x01(\x04R\x03seq\"c\n" +
|
|
"\fTermResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"Y\n" +
|
|
"\x11InProgressRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x10\n" +
|
|
"\x03seq\x18\x03 \x01(\x04R\x03seq\"i\n" +
|
|
"\x12InProgressResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\x8d\x01\n" +
|
|
"\x10SubscribeRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\x12\x1d\n" +
|
|
"\n" +
|
|
"batch_size\x18\x03 \x01(\rR\tbatchSize\x12&\n" +
|
|
"\x0fstop_when_empty\x18\x04 \x01(\bR\rstopWhenEmpty\"\x92\x01\n" +
|
|
"\x0eSubscribeEvent\x127\n" +
|
|
"\amessage\x18\x01 \x01(\v2\x1b.waymaker.streams.MessagePbH\x00R\amessage\x12>\n" +
|
|
"\astopped\x18\x02 \x01(\v2\".waymaker.streams.SubscribeStoppedH\x00R\astoppedB\a\n" +
|
|
"\x05event\"*\n" +
|
|
"\x10SubscribeStopped\x12\x16\n" +
|
|
"\x06reason\x18\x01 \x01(\tR\x06reason\"k\n" +
|
|
"\x15CreateConsumerRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12:\n" +
|
|
"\x06config\x18\x02 \x01(\v2\".waymaker.streams.ConsumerConfigPbR\x06config\"m\n" +
|
|
"\x16CreateConsumerResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"K\n" +
|
|
"\x15DeleteConsumerRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\"m\n" +
|
|
"\x16DeleteConsumerResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\".\n" +
|
|
"\x14ListConsumersRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\"\xad\x01\n" +
|
|
"\x15ListConsumersResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12?\n" +
|
|
"\tconsumers\x18\x04 \x03(\v2!.waymaker.streams.ConsumerStatePbR\tconsumers\"L\n" +
|
|
"\x16GetConsumerInfoRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\"\xad\x01\n" +
|
|
"\x17GetConsumerInfoResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12=\n" +
|
|
"\bconsumer\x18\x04 \x01(\v2!.waymaker.streams.ConsumerStatePbR\bconsumer\"+\n" +
|
|
"\x15TransferStreamRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"x\n" +
|
|
"\x13TransferStreamChunk\x12\x14\n" +
|
|
"\x04data\x18\x01 \x01(\fH\x00R\x04data\x12C\n" +
|
|
"\asummary\x18\x02 \x01(\v2'.waymaker.streams.TransferStreamSummaryH\x00R\asummaryB\x06\n" +
|
|
"\x04body\"`\n" +
|
|
"\x15TransferStreamSummary\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x01 \x01(\x04R\n" +
|
|
"totalBytes\x12&\n" +
|
|
"\x0fstream_last_seq\x18\x02 \x01(\x04R\rstreamLastSeq\"P\n" +
|
|
"\x14MigrateStreamRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
|
|
"\x0esource_node_id\x18\x02 \x01(\x04R\fsourceNodeId\"\xb5\x01\n" +
|
|
"\x15MigrateStreamResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x04 \x01(\x04R\n" +
|
|
"totalBytes\x12&\n" +
|
|
"\x0fstream_last_seq\x18\x05 \x01(\x04R\rstreamLastSeq\"k\n" +
|
|
"\x1cGetClusterStreamStatsRequest\x12,\n" +
|
|
"\x12include_per_stream\x18\x01 \x01(\bR\x10includePerStream\x12\x1d\n" +
|
|
"\n" +
|
|
"local_only\x18\x02 \x01(\bR\tlocalOnly\"\x96\x01\n" +
|
|
"\x0ePerStreamStats\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\"\n" +
|
|
"\rowner_node_id\x18\x02 \x01(\x04R\vownerNodeId\x12\x1b\n" +
|
|
"\tmsg_count\x18\x03 \x01(\x04R\bmsgCount\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\x04R\x05bytes\x12\x19\n" +
|
|
"\blast_seq\x18\x05 \x01(\x04R\alastSeq\"\xad\x01\n" +
|
|
"\x0ePerNodeSummary\x12\x17\n" +
|
|
"\anode_id\x18\x01 \x01(\x04R\x06nodeId\x12!\n" +
|
|
"\fstream_count\x18\x02 \x01(\x04R\vstreamCount\x12&\n" +
|
|
"\x0ftotal_msg_count\x18\x03 \x01(\x04R\rtotalMsgCount\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x04 \x01(\x04R\n" +
|
|
"totalBytes\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\tR\x06status\"\x9d\x03\n" +
|
|
"\x1dGetClusterStreamStatsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x126\n" +
|
|
"\x05nodes\x18\x04 \x03(\v2 .waymaker.streams.PerNodeSummaryR\x05nodes\x12:\n" +
|
|
"\astreams\x18\x05 \x03(\v2 .waymaker.streams.PerStreamStatsR\astreams\x12,\n" +
|
|
"\x12total_stream_count\x18\x06 \x01(\x04R\x10totalStreamCount\x12&\n" +
|
|
"\x0ftotal_msg_count\x18\a \x01(\x04R\rtotalMsgCount\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\b \x01(\x04R\n" +
|
|
"totalBytes\x12\x1d\n" +
|
|
"\n" +
|
|
"skew_count\x18\t \x01(\x04R\tskewCount\x12\x1d\n" +
|
|
"\n" +
|
|
"skew_bytes\x18\n" +
|
|
" \x01(\x04R\tskewBytes\"N\n" +
|
|
"\x12RebalancePlanEntry\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
|
|
"\x0etarget_node_id\x18\x02 \x01(\x04R\ftargetNodeId\"\x82\x01\n" +
|
|
"\x17RebalanceStreamsRequest\x128\n" +
|
|
"\x04plan\x18\x01 \x03(\v2$.waymaker.streams.RebalancePlanEntryR\x04plan\x12-\n" +
|
|
"\x13per_step_timeout_ms\x18\x02 \x01(\x04R\x10perStepTimeoutMs\"\xa5\x01\n" +
|
|
"\x14RebalanceStepOutcome\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
|
|
"\x0etarget_node_id\x18\x02 \x01(\x04R\ftargetNodeId\x12\x18\n" +
|
|
"\asuccess\x18\x03 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x04 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x05 \x01(\tR\amessage\"\xad\x01\n" +
|
|
"\x18RebalanceStreamsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12<\n" +
|
|
"\x05steps\x18\x04 \x03(\v2&.waymaker.streams.RebalanceStepOutcomeR\x05steps\"\x15\n" +
|
|
"\x13WatchStreamsRequest\"'\n" +
|
|
"\x11StreamWatchDetail\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"I\n" +
|
|
"\x13ConsumerWatchDetail\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1a\n" +
|
|
"\bconsumer\x18\x02 \x01(\tR\bconsumer\"y\n" +
|
|
"\x14AuthorityWatchDetail\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12(\n" +
|
|
"\x10claimant_node_id\x18\x02 \x01(\x04R\x0eclaimantNodeId\x12\x1f\n" +
|
|
"\vfence_epoch\x18\x03 \x01(\x04R\n" +
|
|
"fenceEpoch\"N\n" +
|
|
"\x1aReadLatestAtSubjectRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\"\xb7\x01\n" +
|
|
"\x1bReadLatestAtSubjectResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x128\n" +
|
|
"\x06latest\x18\x04 \x01(\v2\x1b.waymaker.streams.MessagePbH\x00R\x06latest\x88\x01\x01B\t\n" +
|
|
"\a_latest\"M\n" +
|
|
"\x1bListSubjectsByPrefixRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x16\n" +
|
|
"\x06prefix\x18\x02 \x01(\tR\x06prefix\"\x8f\x01\n" +
|
|
"\x1cListSubjectsByPrefixResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1a\n" +
|
|
"\bsubjects\x18\x04 \x03(\tR\bsubjects\"~\n" +
|
|
"\x19ScanExactAtSubjectRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\x12\x19\n" +
|
|
"\bfrom_seq\x18\x03 \x01(\x04R\afromSeq\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x04R\x05limit\"\xaa\x01\n" +
|
|
"\x1aScanExactAtSubjectResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x127\n" +
|
|
"\bmessages\x18\x04 \x03(\v2\x1b.waymaker.streams.MessagePbR\bmessages\"\xe9\x02\n" +
|
|
"\n" +
|
|
"WatchEvent\x124\n" +
|
|
"\x04type\x18\x01 \x01(\x0e2 .waymaker.streams.WatchEventTypeR\x04type\x12\x13\n" +
|
|
"\x05ts_ms\x18\x02 \x01(\x03R\x04tsMs\x12\x17\n" +
|
|
"\anode_id\x18\x03 \x01(\x04R\x06nodeId\x12=\n" +
|
|
"\x06stream\x18\x04 \x01(\v2#.waymaker.streams.StreamWatchDetailH\x00R\x06stream\x12C\n" +
|
|
"\bconsumer\x18\x05 \x01(\v2%.waymaker.streams.ConsumerWatchDetailH\x00R\bconsumer\x12F\n" +
|
|
"\tauthority\x18\a \x01(\v2&.waymaker.streams.AuthorityWatchDetailH\x00R\tauthority\x12!\n" +
|
|
"\flagged_count\x18\x06 \x01(\x04R\vlaggedCountB\b\n" +
|
|
"\x06detail\"r\n" +
|
|
"\x11PendingDeliveryPb\x12\x10\n" +
|
|
"\x03seq\x18\x01 \x01(\x04R\x03seq\x12&\n" +
|
|
"\x0fdelivered_at_ms\x18\x02 \x01(\x03R\rdeliveredAtMs\x12#\n" +
|
|
"\rdeliver_count\x18\x03 \x01(\rR\fdeliverCount\"\xe1\x02\n" +
|
|
"\x15ConsumerStateSnapshot\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12:\n" +
|
|
"\x06config\x18\x02 \x01(\v2\".waymaker.streams.ConsumerConfigPbR\x06config\x12\x1b\n" +
|
|
"\tack_floor\x18\x03 \x01(\x04R\backFloor\x12%\n" +
|
|
"\x0elast_delivered\x18\x04 \x01(\x04R\rlastDelivered\x12\"\n" +
|
|
"\rcreated_at_ms\x18\x05 \x01(\x03R\vcreatedAtMs\x12/\n" +
|
|
"\x13redelivered_dropped\x18\x06 \x01(\x04R\x12redeliveredDropped\x12=\n" +
|
|
"\apending\x18\a \x03(\v2#.waymaker.streams.PendingDeliveryPbR\apending\x12\x1c\n" +
|
|
"\ttombstone\x18\b \x01(\bR\ttombstone\"d\n" +
|
|
"\x1dReplicateConsumerStateRequest\x12C\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2'.waymaker.streams.ConsumerStateSnapshotR\bsnapshot\"u\n" +
|
|
"\x1eReplicateConsumerStateResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\xf6\x01\n" +
|
|
"\x17SourceTailStateSnapshot\x12'\n" +
|
|
"\x0fsourcing_stream\x18\x01 \x01(\tR\x0esourcingStream\x12#\n" +
|
|
"\rsource_stream\x18\x02 \x01(\tR\fsourceStream\x12(\n" +
|
|
"\x10last_sourced_seq\x18\x03 \x01(\x04R\x0elastSourcedSeq\x12!\n" +
|
|
"\fpulled_total\x18\x04 \x01(\x04R\vpulledTotal\x12\"\n" +
|
|
"\rupdated_ts_ms\x18\x05 \x01(\x03R\vupdatedTsMs\x12\x1c\n" +
|
|
"\ttombstone\x18\x06 \x01(\bR\ttombstone\"h\n" +
|
|
"\x1fReplicateSourceTailStateRequest\x12E\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2).waymaker.streams.SourceTailStateSnapshotR\bsnapshot\"w\n" +
|
|
" ReplicateSourceTailStateResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"X\n" +
|
|
"\x1cReplicateStreamCreateRequest\x128\n" +
|
|
"\x06config\x18\x01 \x01(\v2 .waymaker.streams.StreamConfigPbR\x06config\"t\n" +
|
|
"\x1dReplicateStreamCreateResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\xc7\x01\n" +
|
|
"\x17ReplicateMessageRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x10\n" +
|
|
"\x03seq\x18\x02 \x01(\x04R\x03seq\x12\x18\n" +
|
|
"\asubject\x18\x03 \x01(\tR\asubject\x12\x18\n" +
|
|
"\apayload\x18\x04 \x01(\fR\apayload\x129\n" +
|
|
"\aheaders\x18\x05 \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12\x13\n" +
|
|
"\x05ts_ms\x18\x06 \x01(\x03R\x04tsMs\"\x9b\x01\n" +
|
|
"\x18ReplicateMessageResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12*\n" +
|
|
"\x11receiver_last_seq\x18\x04 \x01(\x04R\x0freceiverLastSeq\"2\n" +
|
|
"\x1cReplicateStreamDeleteRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"t\n" +
|
|
"\x1dReplicateStreamDeleteResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"O\n" +
|
|
"\x18ReplicateTruncateRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x1b\n" +
|
|
"\tfirst_seq\x18\x02 \x01(\x04R\bfirstSeq\"\x8a\x01\n" +
|
|
"\x19ReplicateTruncateResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
|
|
"\adropped\x18\x04 \x01(\x04R\adropped\"\xb8\x02\n" +
|
|
"\x1cReplicateStreamUpdateRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
|
|
"\n" +
|
|
"max_age_ms\x18\x02 \x01(\x04H\x00R\bmaxAgeMs\x88\x01\x01\x12\x1e\n" +
|
|
"\bmax_msgs\x18\x03 \x01(\x04H\x01R\amaxMsgs\x88\x01\x01\x12 \n" +
|
|
"\tmax_bytes\x18\x04 \x01(\x04H\x02R\bmaxBytes\x88\x01\x01\x12'\n" +
|
|
"\rmax_msg_bytes\x18\x05 \x01(\x04H\x03R\vmaxMsgBytes\x88\x01\x01\x12(\n" +
|
|
"\rstrict_limits\x18\x06 \x01(\bH\x04R\fstrictLimits\x88\x01\x01B\r\n" +
|
|
"\v_max_age_msB\v\n" +
|
|
"\t_max_msgsB\f\n" +
|
|
"\n" +
|
|
"_max_bytesB\x10\n" +
|
|
"\x0e_max_msg_bytesB\x10\n" +
|
|
"\x0e_strict_limits\"t\n" +
|
|
"\x1dReplicateStreamUpdateResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"H\n" +
|
|
"\x1cReplicateWorkQueueAckRequest\x12\x16\n" +
|
|
"\x06stream\x18\x01 \x01(\tR\x06stream\x12\x10\n" +
|
|
"\x03seq\x18\x02 \x01(\x04R\x03seq\"\x95\x01\n" +
|
|
"\x1dReplicateWorkQueueAckResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1f\n" +
|
|
"\vwas_present\x18\x04 \x01(\bR\n" +
|
|
"wasPresent\"\xa6\x02\n" +
|
|
"\n" +
|
|
"ObjectInfo\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x02 \x01(\x04R\n" +
|
|
"totalBytes\x12\x1d\n" +
|
|
"\n" +
|
|
"chunk_size\x18\x03 \x01(\x04R\tchunkSize\x12\x1f\n" +
|
|
"\vchunk_count\x18\x04 \x01(\x04R\n" +
|
|
"chunkCount\x12\x16\n" +
|
|
"\x06sha256\x18\x05 \x01(\tR\x06sha256\x12\x13\n" +
|
|
"\x05ts_ms\x18\x06 \x01(\x03R\x04tsMs\x129\n" +
|
|
"\aheaders\x18\a \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12!\n" +
|
|
"\fmetadata_seq\x18\b \x01(\x04R\vmetadataSeq\x12\x18\n" +
|
|
"\adeduped\x18\t \x01(\bR\adeduped\"\xe2\x01\n" +
|
|
"\x10PutObjectRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" +
|
|
"\apayload\x18\x03 \x01(\fR\apayload\x12\x1d\n" +
|
|
"\n" +
|
|
"chunk_size\x18\x04 \x01(\x04R\tchunkSize\x129\n" +
|
|
"\aheaders\x18\x05 \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12\x16\n" +
|
|
"\x06sha256\x18\x06 \x01(\tR\x06sha256\x12\x16\n" +
|
|
"\x06dedupe\x18\a \x01(\bR\x06dedupe\"\x9a\x01\n" +
|
|
"\x11PutObjectResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x120\n" +
|
|
"\x04info\x18\x04 \x01(\v2\x1c.waymaker.streams.ObjectInfoR\x04info\"\x89\x01\n" +
|
|
"\x14PutObjectStreamFrame\x12;\n" +
|
|
"\x05start\x18\x01 \x01(\v2 .waymaker.streams.PutObjectStartH\x00R\x05start\x88\x01\x01\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\fR\x04data\x12\x16\n" +
|
|
"\x06finish\x18\x03 \x01(\bR\x06finishB\b\n" +
|
|
"\x06_start\"\xc6\x01\n" +
|
|
"\x0ePutObjectStart\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"chunk_size\x18\x03 \x01(\x04R\tchunkSize\x129\n" +
|
|
"\aheaders\x18\x04 \x03(\v2\x1f.waymaker.streams.MessageHeaderR\aheaders\x12\x16\n" +
|
|
"\x06sha256\x18\x05 \x01(\tR\x06sha256\x12\x16\n" +
|
|
"\x06dedupe\x18\x06 \x01(\bR\x06dedupe\">\n" +
|
|
"\x10GetObjectRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\xb4\x01\n" +
|
|
"\x11GetObjectResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x120\n" +
|
|
"\x04info\x18\x04 \x01(\v2\x1c.waymaker.streams.ObjectInfoR\x04info\x12\x18\n" +
|
|
"\apayload\x18\x05 \x01(\fR\apayload\"~\n" +
|
|
"\x14GetObjectStreamFrame\x125\n" +
|
|
"\x04info\x18\x01 \x01(\v2\x1c.waymaker.streams.ObjectInfoH\x00R\x04info\x88\x01\x01\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\fR\x04data\x12\x12\n" +
|
|
"\x04done\x18\x03 \x01(\bR\x04doneB\a\n" +
|
|
"\x05_info\"A\n" +
|
|
"\x13DeleteObjectRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\x90\x01\n" +
|
|
"\x14DeleteObjectResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12#\n" +
|
|
"\rtombstone_seq\x18\x04 \x01(\x04R\ftombstoneSeq\"B\n" +
|
|
"\x14GetObjectInfoRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\xc6\x01\n" +
|
|
"\x15GetObjectInfoResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x125\n" +
|
|
"\x04info\x18\x04 \x01(\v2\x1c.waymaker.streams.ObjectInfoH\x00R\x04info\x88\x01\x01\x12\x18\n" +
|
|
"\adeleted\x18\x05 \x01(\bR\adeletedB\a\n" +
|
|
"\x05_info\"v\n" +
|
|
"\x12ListObjectsRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x1f\n" +
|
|
"\vname_prefix\x18\x02 \x01(\tR\n" +
|
|
"namePrefix\x12'\n" +
|
|
"\x0finclude_deleted\x18\x03 \x01(\bR\x0eincludeDeleted\"\xa7\x01\n" +
|
|
"\x13ListObjectsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12;\n" +
|
|
"\aentries\x18\x04 \x03(\v2!.waymaker.streams.ObjectListEntryR\aentries\"`\n" +
|
|
"\x0fObjectListEntry\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x02 \x01(\x04R\n" +
|
|
"totalBytes\x12\x18\n" +
|
|
"\adeleted\x18\x03 \x01(\bR\adeleted\"y\n" +
|
|
"\x1aListObjectRevisionsRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x19\n" +
|
|
"\bfrom_seq\x18\x03 \x01(\x04R\afromSeq\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x04R\x05limit\"\xb7\x01\n" +
|
|
"\x1bListObjectRevisionsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12C\n" +
|
|
"\trevisions\x18\x04 \x03(\v2%.waymaker.streams.ObjectRevisionEntryR\trevisions\"m\n" +
|
|
"\x15GetObjectRangeRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x04R\x06offset\x12\x10\n" +
|
|
"\x03len\x18\x04 \x01(\x04R\x03len\"\xde\x01\n" +
|
|
"\x16GetObjectRangeResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x120\n" +
|
|
"\x04info\x18\x04 \x01(\v2\x1c.waymaker.streams.ObjectInfoR\x04info\x12#\n" +
|
|
"\ractual_offset\x18\x05 \x01(\x04R\factualOffset\x12\x18\n" +
|
|
"\apayload\x18\x06 \x01(\fR\apayload\"\xc1\x01\n" +
|
|
"\x13ObjectRevisionEntry\x12!\n" +
|
|
"\fmetadata_seq\x18\x01 \x01(\x04R\vmetadataSeq\x12\x18\n" +
|
|
"\adeleted\x18\x02 \x01(\bR\adeleted\x12\x1f\n" +
|
|
"\vtotal_bytes\x18\x03 \x01(\x04R\n" +
|
|
"totalBytes\x12\x1f\n" +
|
|
"\vchunk_count\x18\x04 \x01(\x04R\n" +
|
|
"chunkCount\x12\x16\n" +
|
|
"\x06sha256\x18\x05 \x01(\tR\x06sha256\x12\x13\n" +
|
|
"\x05ts_ms\x18\x06 \x01(\x03R\x04tsMs\"\xae\x01\n" +
|
|
"\x15KvCreateBucketRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x1b\n" +
|
|
"\tmax_bytes\x18\x02 \x01(\x04R\bmaxBytes\x12$\n" +
|
|
"\x0emax_value_size\x18\x03 \x01(\x04R\fmaxValueSize\x12\x1c\n" +
|
|
"\n" +
|
|
"max_age_ms\x18\x04 \x01(\x04R\bmaxAgeMs\x12\x1c\n" +
|
|
"\tephemeral\x18\x05 \x01(\bR\tephemeral\"m\n" +
|
|
"\x16KvCreateBucketResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"/\n" +
|
|
"\x15KvDeleteBucketRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\"m\n" +
|
|
"\x16KvDeleteBucketResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"e\n" +
|
|
"\fKvPutRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\fR\x05value\x12\x15\n" +
|
|
"\x06ttl_ms\x18\x04 \x01(\x04R\x05ttlMs\"h\n" +
|
|
"\x0fKvCreateRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\fR\x05value\x12\x15\n" +
|
|
"\x06ttl_ms\x18\x04 \x01(\x04R\x05ttlMs\"\x95\x01\n" +
|
|
"\x0fKvUpdateRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\fR\x05value\x12+\n" +
|
|
"\x11expected_revision\x18\x04 \x01(\x04R\x10expectedRevision\x12\x15\n" +
|
|
"\x06ttl_ms\x18\x05 \x01(\x04R\x05ttlMs\"\x80\x01\n" +
|
|
"\rKvPutResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1a\n" +
|
|
"\brevision\x18\x04 \x01(\x04R\brevision\"8\n" +
|
|
"\fKvGetRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\"\xa4\x01\n" +
|
|
"\rKvGetResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x124\n" +
|
|
"\x05entry\x18\x04 \x01(\v2\x19.waymaker.streams.KvEntryH\x00R\x05entry\x88\x01\x01B\b\n" +
|
|
"\x06_entry\"P\n" +
|
|
"\aKvEntry\x12\x14\n" +
|
|
"\x05value\x18\x01 \x01(\fR\x05value\x12\x1a\n" +
|
|
"\brevision\x18\x02 \x01(\x04R\brevision\x12\x13\n" +
|
|
"\x05ts_ms\x18\x03 \x01(\x03R\x04tsMs\";\n" +
|
|
"\x0fKvDeleteRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\"\x83\x01\n" +
|
|
"\x10KvDeleteResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1a\n" +
|
|
"\brevision\x18\x04 \x01(\x04R\brevision\"'\n" +
|
|
"\rKvKeysRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\"\x9d\x01\n" +
|
|
"\x0eKvKeysResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x126\n" +
|
|
"\aentries\x18\x04 \x03(\v2\x1c.waymaker.streams.KvKeyEntryR\aentries\"T\n" +
|
|
"\n" +
|
|
"KvKeyEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x1a\n" +
|
|
"\brevision\x18\x02 \x01(\x04R\brevision\x12\x18\n" +
|
|
"\adeleted\x18\x03 \x01(\bR\adeleted\"w\n" +
|
|
"\x10KvHistoryRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12#\n" +
|
|
"\rfrom_revision\x18\x03 \x01(\x04R\ffromRevision\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x04R\x05limit\"\xa4\x01\n" +
|
|
"\x11KvHistoryResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12:\n" +
|
|
"\aentries\x18\x04 \x03(\v2 .waymaker.streams.KvHistoryEntryR\aentries\"q\n" +
|
|
"\x0eKvHistoryEntry\x12\x14\n" +
|
|
"\x05value\x18\x01 \x01(\fR\x05value\x12\x1a\n" +
|
|
"\brevision\x18\x02 \x01(\x04R\brevision\x12\x13\n" +
|
|
"\x05ts_ms\x18\x03 \x01(\x03R\x04tsMs\x12\x18\n" +
|
|
"\adeleted\x18\x04 \x01(\bR\adeleted\"Q\n" +
|
|
"\x0eKvTouchRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x15\n" +
|
|
"\x06ttl_ms\x18\x03 \x01(\x04R\x05ttlMs\":\n" +
|
|
"\x0eKvWatchRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\"\x84\x01\n" +
|
|
"\fKvWatchEvent\x120\n" +
|
|
"\x03put\x18\x01 \x01(\v2\x1c.waymaker.streams.KvPutEventH\x00R\x03put\x129\n" +
|
|
"\x06delete\x18\x02 \x01(\v2\x1f.waymaker.streams.KvDeleteEventH\x00R\x06deleteB\a\n" +
|
|
"\x05event\"e\n" +
|
|
"\n" +
|
|
"KvPutEvent\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\fR\x05value\x12\x1a\n" +
|
|
"\brevision\x18\x03 \x01(\x04R\brevision\x12\x13\n" +
|
|
"\x05ts_ms\x18\x04 \x01(\x03R\x04tsMs\"R\n" +
|
|
"\rKvDeleteEvent\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x1a\n" +
|
|
"\brevision\x18\x02 \x01(\x04R\brevision\x12\x13\n" +
|
|
"\x05ts_ms\x18\x03 \x01(\x03R\x04tsMs\"g\n" +
|
|
"\x16CreateHashStoreRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tmax_bytes\x18\x02 \x01(\x04R\bmaxBytes\x12\x1c\n" +
|
|
"\tephemeral\x18\x03 \x01(\bR\tephemeral\"n\n" +
|
|
"\x17CreateHashStoreResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\",\n" +
|
|
"\x16DeleteHashStoreRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"n\n" +
|
|
"\x17DeleteHashStoreResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"o\n" +
|
|
"\x0eHashSetRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\x12\x14\n" +
|
|
"\x05field\x18\x03 \x01(\tR\x05field\x12\x14\n" +
|
|
"\x05value\x18\x04 \x01(\fR\x05value\"\x82\x01\n" +
|
|
"\x0fHashSetResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1a\n" +
|
|
"\brevision\x18\x04 \x01(\x04R\brevision\"Y\n" +
|
|
"\x0eHashGetRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\x12\x14\n" +
|
|
"\x05field\x18\x03 \x01(\tR\x05field\"\xa7\x01\n" +
|
|
"\x0fHashGetResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x19\n" +
|
|
"\x05value\x18\x04 \x01(\fH\x00R\x05value\x88\x01\x01\x12\x1a\n" +
|
|
"\brevision\x18\x05 \x01(\x04R\brevisionB\b\n" +
|
|
"\x06_value\"\\\n" +
|
|
"\x11HashExistsRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\x12\x14\n" +
|
|
"\x05field\x18\x03 \x01(\tR\x05field\"\x81\x01\n" +
|
|
"\x12HashExistsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06exists\x18\x04 \x01(\bR\x06exists\"\\\n" +
|
|
"\x11HashDeleteRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\x12\x14\n" +
|
|
"\x05field\x18\x03 \x01(\tR\x05field\"i\n" +
|
|
"\x12HashDeleteResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"F\n" +
|
|
"\x11HashGetAllRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\"\xa5\x01\n" +
|
|
"\x12HashGetAllResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12:\n" +
|
|
"\aentries\x18\x04 \x03(\v2 .waymaker.streams.HashFieldEntryR\aentries\"X\n" +
|
|
"\x0eHashFieldEntry\x12\x14\n" +
|
|
"\x05field\x18\x01 \x01(\tR\x05field\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\fR\x05value\x12\x1a\n" +
|
|
"\brevision\x18\x03 \x01(\x04R\brevision\"F\n" +
|
|
"\x11HashFieldsRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\"\x81\x01\n" +
|
|
"\x12HashFieldsResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06fields\x18\x04 \x03(\tR\x06fields\"C\n" +
|
|
"\x0eHashLenRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x19\n" +
|
|
"\bhash_key\x18\x02 \x01(\tR\ahashKey\"|\n" +
|
|
"\x0fHashLenResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x14\n" +
|
|
"\x05count\x18\x04 \x01(\x04R\x05count\"f\n" +
|
|
"\x15CreateSetStoreRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tmax_bytes\x18\x02 \x01(\x04R\bmaxBytes\x12\x1c\n" +
|
|
"\tephemeral\x18\x03 \x01(\bR\tephemeral\"m\n" +
|
|
"\x16CreateSetStoreResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"+\n" +
|
|
"\x15DeleteSetStoreRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"m\n" +
|
|
"\x16DeleteSetStoreResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"X\n" +
|
|
"\rSetAddRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x17\n" +
|
|
"\aset_key\x18\x02 \x01(\tR\x06setKey\x12\x16\n" +
|
|
"\x06member\x18\x03 \x01(\tR\x06member\"e\n" +
|
|
"\x0eSetAddResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"[\n" +
|
|
"\x10SetRemoveRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x17\n" +
|
|
"\aset_key\x18\x02 \x01(\tR\x06setKey\x12\x16\n" +
|
|
"\x06member\x18\x03 \x01(\tR\x06member\"h\n" +
|
|
"\x11SetRemoveResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"]\n" +
|
|
"\x12SetIsMemberRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x17\n" +
|
|
"\aset_key\x18\x02 \x01(\tR\x06setKey\x12\x16\n" +
|
|
"\x06member\x18\x03 \x01(\tR\x06member\"\x87\x01\n" +
|
|
"\x13SetIsMemberResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1b\n" +
|
|
"\tis_member\x18\x04 \x01(\bR\bisMember\"D\n" +
|
|
"\x11SetMembersRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x17\n" +
|
|
"\aset_key\x18\x02 \x01(\tR\x06setKey\"\x83\x01\n" +
|
|
"\x12SetMembersResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
|
|
"\amembers\x18\x04 \x03(\tR\amembers\"@\n" +
|
|
"\rSetLenRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x17\n" +
|
|
"\aset_key\x18\x02 \x01(\tR\x06setKey\"{\n" +
|
|
"\x0eSetLenResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x14\n" +
|
|
"\x05count\x18\x04 \x01(\x04R\x05count\"\x86\x01\n" +
|
|
"\x12CreateQueueRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tmax_bytes\x18\x02 \x01(\x04R\bmaxBytes\x12!\n" +
|
|
"\fmax_messages\x18\x03 \x01(\x04R\vmaxMessages\x12\x1c\n" +
|
|
"\tephemeral\x18\x04 \x01(\bR\tephemeral\"j\n" +
|
|
"\x13CreateQueueResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"(\n" +
|
|
"\x12DeleteQueueRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"j\n" +
|
|
"\x13DeleteQueueResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"@\n" +
|
|
"\x10QueuePushRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\fR\x05value\"\x84\x01\n" +
|
|
"\x11QueuePushResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x1a\n" +
|
|
"\bsequence\x18\x04 \x01(\x04R\bsequence\")\n" +
|
|
"\x0fQueuePopRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\"\x8c\x01\n" +
|
|
"\x10QueuePopResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x19\n" +
|
|
"\x05value\x18\x04 \x01(\fH\x00R\x05value\x88\x01\x01B\b\n" +
|
|
"\x06_value\"f\n" +
|
|
"\x11QueueRangeRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\x12#\n" +
|
|
"\rfrom_sequence\x18\x02 \x01(\x04R\ffromSequence\x12\x14\n" +
|
|
"\x05limit\x18\x03 \x01(\x04R\x05limit\"\x81\x01\n" +
|
|
"\x12QueueRangeResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06values\x18\x04 \x03(\fR\x06values\")\n" +
|
|
"\x0fQueueLenRequest\x12\x16\n" +
|
|
"\x06bucket\x18\x01 \x01(\tR\x06bucket\"}\n" +
|
|
"\x10QueueLenResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x1f\n" +
|
|
"\vresult_code\x18\x02 \x01(\tR\n" +
|
|
"resultCode\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x14\n" +
|
|
"\x05count\x18\x04 \x01(\x04R\x05count*E\n" +
|
|
"\fOnDropPolicy\x12\x10\n" +
|
|
"\fON_DROP_HALT\x10\x00\x12#\n" +
|
|
"\x1fON_DROP_SKIP_TO_FIRST_AVAILABLE\x10\x01*p\n" +
|
|
"\x12DeliveryPolicyType\x12\x10\n" +
|
|
"\fDELIVERY_ALL\x10\x00\x12\x11\n" +
|
|
"\rDELIVERY_LAST\x10\x01\x12\x19\n" +
|
|
"\x15DELIVERY_BY_START_SEQ\x10\x02\x12\x1a\n" +
|
|
"\x16DELIVERY_BY_START_TIME\x10\x03*\xcd\x01\n" +
|
|
"\x0eWatchEventType\x12\x11\n" +
|
|
"\rWATCH_UNKNOWN\x10\x00\x12\x18\n" +
|
|
"\x14WATCH_STREAM_CREATED\x10\x01\x12\x18\n" +
|
|
"\x14WATCH_STREAM_DELETED\x10\x02\x12\x18\n" +
|
|
"\x14WATCH_STREAM_UPDATED\x10\x03\x12\x1a\n" +
|
|
"\x16WATCH_CONSUMER_CREATED\x10\x04\x12\x1a\n" +
|
|
"\x16WATCH_CONSUMER_DELETED\x10\x05\x12\"\n" +
|
|
"\x1eWATCH_STREAM_AUTHORITY_CHANGED\x10\x062\xfd#\n" +
|
|
"\x16WaymakerStreamsService\x12]\n" +
|
|
"\fCreateStream\x12%.waymaker.streams.CreateStreamRequest\x1a&.waymaker.streams.CreateStreamResponse\x12]\n" +
|
|
"\fDeleteStream\x12%.waymaker.streams.DeleteStreamRequest\x1a&.waymaker.streams.DeleteStreamResponse\x12`\n" +
|
|
"\rGetStreamInfo\x12&.waymaker.streams.GetStreamInfoRequest\x1a'.waymaker.streams.GetStreamInfoResponse\x12Z\n" +
|
|
"\vListStreams\x12$.waymaker.streams.ListStreamsRequest\x1a%.waymaker.streams.ListStreamsResponse\x12i\n" +
|
|
"\x10GetStreamSources\x12).waymaker.streams.GetStreamSourcesRequest\x1a*.waymaker.streams.GetStreamSourcesResponse\x12]\n" +
|
|
"\fUpdateStream\x12%.waymaker.streams.UpdateStreamRequest\x1a&.waymaker.streams.UpdateStreamResponse\x12N\n" +
|
|
"\aPublish\x12 .waymaker.streams.PublishRequest\x1a!.waymaker.streams.PublishResponse\x12H\n" +
|
|
"\x05Fetch\x12\x1e.waymaker.streams.FetchRequest\x1a\x1f.waymaker.streams.FetchResponse\x12B\n" +
|
|
"\x03Ack\x12\x1c.waymaker.streams.AckRequest\x1a\x1d.waymaker.streams.AckResponse\x12B\n" +
|
|
"\x03Nak\x12\x1c.waymaker.streams.NakRequest\x1a\x1d.waymaker.streams.NakResponse\x12E\n" +
|
|
"\x04Term\x12\x1d.waymaker.streams.TermRequest\x1a\x1e.waymaker.streams.TermResponse\x12W\n" +
|
|
"\n" +
|
|
"InProgress\x12#.waymaker.streams.InProgressRequest\x1a$.waymaker.streams.InProgressResponse\x12S\n" +
|
|
"\tSubscribe\x12\".waymaker.streams.SubscribeRequest\x1a .waymaker.streams.SubscribeEvent0\x01\x12c\n" +
|
|
"\x0eCreateConsumer\x12'.waymaker.streams.CreateConsumerRequest\x1a(.waymaker.streams.CreateConsumerResponse\x12c\n" +
|
|
"\x0eDeleteConsumer\x12'.waymaker.streams.DeleteConsumerRequest\x1a(.waymaker.streams.DeleteConsumerResponse\x12`\n" +
|
|
"\rListConsumers\x12&.waymaker.streams.ListConsumersRequest\x1a'.waymaker.streams.ListConsumersResponse\x12f\n" +
|
|
"\x0fGetConsumerInfo\x12(.waymaker.streams.GetConsumerInfoRequest\x1a).waymaker.streams.GetConsumerInfoResponse\x12b\n" +
|
|
"\x0eTransferStream\x12'.waymaker.streams.TransferStreamRequest\x1a%.waymaker.streams.TransferStreamChunk0\x01\x12`\n" +
|
|
"\rMigrateStream\x12&.waymaker.streams.MigrateStreamRequest\x1a'.waymaker.streams.MigrateStreamResponse\x12x\n" +
|
|
"\x15GetClusterStreamStats\x12..waymaker.streams.GetClusterStreamStatsRequest\x1a/.waymaker.streams.GetClusterStreamStatsResponse\x12U\n" +
|
|
"\fWatchStreams\x12%.waymaker.streams.WatchStreamsRequest\x1a\x1c.waymaker.streams.WatchEvent0\x01\x12r\n" +
|
|
"\x13ReadLatestAtSubject\x12,.waymaker.streams.ReadLatestAtSubjectRequest\x1a-.waymaker.streams.ReadLatestAtSubjectResponse\x12u\n" +
|
|
"\x14ListSubjectsByPrefix\x12-.waymaker.streams.ListSubjectsByPrefixRequest\x1a..waymaker.streams.ListSubjectsByPrefixResponse\x12o\n" +
|
|
"\x12ScanExactAtSubject\x12+.waymaker.streams.ScanExactAtSubjectRequest\x1a,.waymaker.streams.ScanExactAtSubjectResponse\x12u\n" +
|
|
"\x14ClearStreamAuthority\x12-.waymaker.streams.ClearStreamAuthorityRequest\x1a..waymaker.streams.ClearStreamAuthorityResponse\x12\x8d\x01\n" +
|
|
"\x1cListStreamAuthorityOverrides\x125.waymaker.streams.ListStreamAuthorityOverridesRequest\x1a6.waymaker.streams.ListStreamAuthorityOverridesResponse\x12f\n" +
|
|
"\x0fSetStreamPinned\x12(.waymaker.streams.SetStreamPinnedRequest\x1a).waymaker.streams.SetStreamPinnedResponse\x12T\n" +
|
|
"\tPutObject\x12\".waymaker.streams.PutObjectRequest\x1a#.waymaker.streams.PutObjectResponse\x12T\n" +
|
|
"\tGetObject\x12\".waymaker.streams.GetObjectRequest\x1a#.waymaker.streams.GetObjectResponse\x12]\n" +
|
|
"\fDeleteObject\x12%.waymaker.streams.DeleteObjectRequest\x1a&.waymaker.streams.DeleteObjectResponse\x12`\n" +
|
|
"\rGetObjectInfo\x12&.waymaker.streams.GetObjectInfoRequest\x1a'.waymaker.streams.GetObjectInfoResponse\x12Z\n" +
|
|
"\vListObjects\x12$.waymaker.streams.ListObjectsRequest\x1a%.waymaker.streams.ListObjectsResponse\x12`\n" +
|
|
"\x0fPutObjectStream\x12&.waymaker.streams.PutObjectStreamFrame\x1a#.waymaker.streams.PutObjectResponse(\x01\x12_\n" +
|
|
"\x0fGetObjectStream\x12\".waymaker.streams.GetObjectRequest\x1a&.waymaker.streams.GetObjectStreamFrame0\x01\x12r\n" +
|
|
"\x13ListObjectRevisions\x12,.waymaker.streams.ListObjectRevisionsRequest\x1a-.waymaker.streams.ListObjectRevisionsResponse\x12c\n" +
|
|
"\x0eGetObjectRange\x12'.waymaker.streams.GetObjectRangeRequest\x1a(.waymaker.streams.GetObjectRangeResponse\x12i\n" +
|
|
"\x10RebalanceStreams\x12).waymaker.streams.RebalanceStreamsRequest\x1a*.waymaker.streams.RebalanceStreamsResponse\x12{\n" +
|
|
"\x16ReplicateConsumerState\x12/.waymaker.streams.ReplicateConsumerStateRequest\x1a0.waymaker.streams.ReplicateConsumerStateResponse\x12\x81\x01\n" +
|
|
"\x18ReplicateSourceTailState\x121.waymaker.streams.ReplicateSourceTailStateRequest\x1a2.waymaker.streams.ReplicateSourceTailStateResponse\x12x\n" +
|
|
"\x15ReplicateStreamCreate\x12..waymaker.streams.ReplicateStreamCreateRequest\x1a/.waymaker.streams.ReplicateStreamCreateResponse\x12i\n" +
|
|
"\x10ReplicateMessage\x12).waymaker.streams.ReplicateMessageRequest\x1a*.waymaker.streams.ReplicateMessageResponse\x12x\n" +
|
|
"\x15ReplicateStreamDelete\x12..waymaker.streams.ReplicateStreamDeleteRequest\x1a/.waymaker.streams.ReplicateStreamDeleteResponse\x12l\n" +
|
|
"\x11ReplicateTruncate\x12*.waymaker.streams.ReplicateTruncateRequest\x1a+.waymaker.streams.ReplicateTruncateResponse\x12x\n" +
|
|
"\x15ReplicateStreamUpdate\x12..waymaker.streams.ReplicateStreamUpdateRequest\x1a/.waymaker.streams.ReplicateStreamUpdateResponse\x12x\n" +
|
|
"\x15ReplicateWorkQueueAck\x12..waymaker.streams.ReplicateWorkQueueAckRequest\x1a/.waymaker.streams.ReplicateWorkQueueAckResponseB\x18Z\x16/apis/waymaker_streamsb\x06proto3"
|
|
|
|
var (
|
|
file_waymaker_streams_proto_rawDescOnce sync.Once
|
|
file_waymaker_streams_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_waymaker_streams_proto_rawDescGZIP() []byte {
|
|
file_waymaker_streams_proto_rawDescOnce.Do(func() {
|
|
file_waymaker_streams_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waymaker_streams_proto_rawDesc), len(file_waymaker_streams_proto_rawDesc)))
|
|
})
|
|
return file_waymaker_streams_proto_rawDescData
|
|
}
|
|
|
|
var file_waymaker_streams_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
|
var file_waymaker_streams_proto_msgTypes = make([]protoimpl.MessageInfo, 190)
|
|
var file_waymaker_streams_proto_goTypes = []any{
|
|
(OnDropPolicy)(0), // 0: waymaker.streams.OnDropPolicy
|
|
(DeliveryPolicyType)(0), // 1: waymaker.streams.DeliveryPolicyType
|
|
(WatchEventType)(0), // 2: waymaker.streams.WatchEventType
|
|
(*LimitsRetention)(nil), // 3: waymaker.streams.LimitsRetention
|
|
(*WorkQueueRetention)(nil), // 4: waymaker.streams.WorkQueueRetention
|
|
(*InterestRetention)(nil), // 5: waymaker.streams.InterestRetention
|
|
(*Retention)(nil), // 6: waymaker.streams.Retention
|
|
(*StreamConfigPb)(nil), // 7: waymaker.streams.StreamConfigPb
|
|
(*StreamSourceConfigPb)(nil), // 8: waymaker.streams.StreamSourceConfigPb
|
|
(*SubjectTransformPb)(nil), // 9: waymaker.streams.SubjectTransformPb
|
|
(*StreamStatsPb)(nil), // 10: waymaker.streams.StreamStatsPb
|
|
(*MessageHeader)(nil), // 11: waymaker.streams.MessageHeader
|
|
(*MessagePb)(nil), // 12: waymaker.streams.MessagePb
|
|
(*DeliveryPolicyPb)(nil), // 13: waymaker.streams.DeliveryPolicyPb
|
|
(*ConsumerConfigPb)(nil), // 14: waymaker.streams.ConsumerConfigPb
|
|
(*ConsumerStatePb)(nil), // 15: waymaker.streams.ConsumerStatePb
|
|
(*CreateStreamRequest)(nil), // 16: waymaker.streams.CreateStreamRequest
|
|
(*CreateStreamResponse)(nil), // 17: waymaker.streams.CreateStreamResponse
|
|
(*DeleteStreamRequest)(nil), // 18: waymaker.streams.DeleteStreamRequest
|
|
(*DeleteStreamResponse)(nil), // 19: waymaker.streams.DeleteStreamResponse
|
|
(*GetStreamInfoRequest)(nil), // 20: waymaker.streams.GetStreamInfoRequest
|
|
(*GetStreamInfoResponse)(nil), // 21: waymaker.streams.GetStreamInfoResponse
|
|
(*SourceStatusPb)(nil), // 22: waymaker.streams.SourceStatusPb
|
|
(*StreamAuthorityOverride)(nil), // 23: waymaker.streams.StreamAuthorityOverride
|
|
(*ClearStreamAuthorityRequest)(nil), // 24: waymaker.streams.ClearStreamAuthorityRequest
|
|
(*ClearStreamAuthorityResponse)(nil), // 25: waymaker.streams.ClearStreamAuthorityResponse
|
|
(*ListStreamAuthorityOverridesRequest)(nil), // 26: waymaker.streams.ListStreamAuthorityOverridesRequest
|
|
(*ListStreamAuthorityOverridesResponse)(nil), // 27: waymaker.streams.ListStreamAuthorityOverridesResponse
|
|
(*AuthorityOverrideEntry)(nil), // 28: waymaker.streams.AuthorityOverrideEntry
|
|
(*SetStreamPinnedRequest)(nil), // 29: waymaker.streams.SetStreamPinnedRequest
|
|
(*SetStreamPinnedResponse)(nil), // 30: waymaker.streams.SetStreamPinnedResponse
|
|
(*ListStreamsRequest)(nil), // 31: waymaker.streams.ListStreamsRequest
|
|
(*ListStreamsResponse)(nil), // 32: waymaker.streams.ListStreamsResponse
|
|
(*GetStreamSourcesRequest)(nil), // 33: waymaker.streams.GetStreamSourcesRequest
|
|
(*GetStreamSourcesResponse)(nil), // 34: waymaker.streams.GetStreamSourcesResponse
|
|
(*GetStreamSourcesEntry)(nil), // 35: waymaker.streams.GetStreamSourcesEntry
|
|
(*UpdateStreamRequest)(nil), // 36: waymaker.streams.UpdateStreamRequest
|
|
(*UpdateStreamResponse)(nil), // 37: waymaker.streams.UpdateStreamResponse
|
|
(*PublishRequest)(nil), // 38: waymaker.streams.PublishRequest
|
|
(*PublishResponse)(nil), // 39: waymaker.streams.PublishResponse
|
|
(*FetchRequest)(nil), // 40: waymaker.streams.FetchRequest
|
|
(*FetchResponse)(nil), // 41: waymaker.streams.FetchResponse
|
|
(*AckRequest)(nil), // 42: waymaker.streams.AckRequest
|
|
(*AckResponse)(nil), // 43: waymaker.streams.AckResponse
|
|
(*NakRequest)(nil), // 44: waymaker.streams.NakRequest
|
|
(*NakResponse)(nil), // 45: waymaker.streams.NakResponse
|
|
(*TermRequest)(nil), // 46: waymaker.streams.TermRequest
|
|
(*TermResponse)(nil), // 47: waymaker.streams.TermResponse
|
|
(*InProgressRequest)(nil), // 48: waymaker.streams.InProgressRequest
|
|
(*InProgressResponse)(nil), // 49: waymaker.streams.InProgressResponse
|
|
(*SubscribeRequest)(nil), // 50: waymaker.streams.SubscribeRequest
|
|
(*SubscribeEvent)(nil), // 51: waymaker.streams.SubscribeEvent
|
|
(*SubscribeStopped)(nil), // 52: waymaker.streams.SubscribeStopped
|
|
(*CreateConsumerRequest)(nil), // 53: waymaker.streams.CreateConsumerRequest
|
|
(*CreateConsumerResponse)(nil), // 54: waymaker.streams.CreateConsumerResponse
|
|
(*DeleteConsumerRequest)(nil), // 55: waymaker.streams.DeleteConsumerRequest
|
|
(*DeleteConsumerResponse)(nil), // 56: waymaker.streams.DeleteConsumerResponse
|
|
(*ListConsumersRequest)(nil), // 57: waymaker.streams.ListConsumersRequest
|
|
(*ListConsumersResponse)(nil), // 58: waymaker.streams.ListConsumersResponse
|
|
(*GetConsumerInfoRequest)(nil), // 59: waymaker.streams.GetConsumerInfoRequest
|
|
(*GetConsumerInfoResponse)(nil), // 60: waymaker.streams.GetConsumerInfoResponse
|
|
(*TransferStreamRequest)(nil), // 61: waymaker.streams.TransferStreamRequest
|
|
(*TransferStreamChunk)(nil), // 62: waymaker.streams.TransferStreamChunk
|
|
(*TransferStreamSummary)(nil), // 63: waymaker.streams.TransferStreamSummary
|
|
(*MigrateStreamRequest)(nil), // 64: waymaker.streams.MigrateStreamRequest
|
|
(*MigrateStreamResponse)(nil), // 65: waymaker.streams.MigrateStreamResponse
|
|
(*GetClusterStreamStatsRequest)(nil), // 66: waymaker.streams.GetClusterStreamStatsRequest
|
|
(*PerStreamStats)(nil), // 67: waymaker.streams.PerStreamStats
|
|
(*PerNodeSummary)(nil), // 68: waymaker.streams.PerNodeSummary
|
|
(*GetClusterStreamStatsResponse)(nil), // 69: waymaker.streams.GetClusterStreamStatsResponse
|
|
(*RebalancePlanEntry)(nil), // 70: waymaker.streams.RebalancePlanEntry
|
|
(*RebalanceStreamsRequest)(nil), // 71: waymaker.streams.RebalanceStreamsRequest
|
|
(*RebalanceStepOutcome)(nil), // 72: waymaker.streams.RebalanceStepOutcome
|
|
(*RebalanceStreamsResponse)(nil), // 73: waymaker.streams.RebalanceStreamsResponse
|
|
(*WatchStreamsRequest)(nil), // 74: waymaker.streams.WatchStreamsRequest
|
|
(*StreamWatchDetail)(nil), // 75: waymaker.streams.StreamWatchDetail
|
|
(*ConsumerWatchDetail)(nil), // 76: waymaker.streams.ConsumerWatchDetail
|
|
(*AuthorityWatchDetail)(nil), // 77: waymaker.streams.AuthorityWatchDetail
|
|
(*ReadLatestAtSubjectRequest)(nil), // 78: waymaker.streams.ReadLatestAtSubjectRequest
|
|
(*ReadLatestAtSubjectResponse)(nil), // 79: waymaker.streams.ReadLatestAtSubjectResponse
|
|
(*ListSubjectsByPrefixRequest)(nil), // 80: waymaker.streams.ListSubjectsByPrefixRequest
|
|
(*ListSubjectsByPrefixResponse)(nil), // 81: waymaker.streams.ListSubjectsByPrefixResponse
|
|
(*ScanExactAtSubjectRequest)(nil), // 82: waymaker.streams.ScanExactAtSubjectRequest
|
|
(*ScanExactAtSubjectResponse)(nil), // 83: waymaker.streams.ScanExactAtSubjectResponse
|
|
(*WatchEvent)(nil), // 84: waymaker.streams.WatchEvent
|
|
(*PendingDeliveryPb)(nil), // 85: waymaker.streams.PendingDeliveryPb
|
|
(*ConsumerStateSnapshot)(nil), // 86: waymaker.streams.ConsumerStateSnapshot
|
|
(*ReplicateConsumerStateRequest)(nil), // 87: waymaker.streams.ReplicateConsumerStateRequest
|
|
(*ReplicateConsumerStateResponse)(nil), // 88: waymaker.streams.ReplicateConsumerStateResponse
|
|
(*SourceTailStateSnapshot)(nil), // 89: waymaker.streams.SourceTailStateSnapshot
|
|
(*ReplicateSourceTailStateRequest)(nil), // 90: waymaker.streams.ReplicateSourceTailStateRequest
|
|
(*ReplicateSourceTailStateResponse)(nil), // 91: waymaker.streams.ReplicateSourceTailStateResponse
|
|
(*ReplicateStreamCreateRequest)(nil), // 92: waymaker.streams.ReplicateStreamCreateRequest
|
|
(*ReplicateStreamCreateResponse)(nil), // 93: waymaker.streams.ReplicateStreamCreateResponse
|
|
(*ReplicateMessageRequest)(nil), // 94: waymaker.streams.ReplicateMessageRequest
|
|
(*ReplicateMessageResponse)(nil), // 95: waymaker.streams.ReplicateMessageResponse
|
|
(*ReplicateStreamDeleteRequest)(nil), // 96: waymaker.streams.ReplicateStreamDeleteRequest
|
|
(*ReplicateStreamDeleteResponse)(nil), // 97: waymaker.streams.ReplicateStreamDeleteResponse
|
|
(*ReplicateTruncateRequest)(nil), // 98: waymaker.streams.ReplicateTruncateRequest
|
|
(*ReplicateTruncateResponse)(nil), // 99: waymaker.streams.ReplicateTruncateResponse
|
|
(*ReplicateStreamUpdateRequest)(nil), // 100: waymaker.streams.ReplicateStreamUpdateRequest
|
|
(*ReplicateStreamUpdateResponse)(nil), // 101: waymaker.streams.ReplicateStreamUpdateResponse
|
|
(*ReplicateWorkQueueAckRequest)(nil), // 102: waymaker.streams.ReplicateWorkQueueAckRequest
|
|
(*ReplicateWorkQueueAckResponse)(nil), // 103: waymaker.streams.ReplicateWorkQueueAckResponse
|
|
(*ObjectInfo)(nil), // 104: waymaker.streams.ObjectInfo
|
|
(*PutObjectRequest)(nil), // 105: waymaker.streams.PutObjectRequest
|
|
(*PutObjectResponse)(nil), // 106: waymaker.streams.PutObjectResponse
|
|
(*PutObjectStreamFrame)(nil), // 107: waymaker.streams.PutObjectStreamFrame
|
|
(*PutObjectStart)(nil), // 108: waymaker.streams.PutObjectStart
|
|
(*GetObjectRequest)(nil), // 109: waymaker.streams.GetObjectRequest
|
|
(*GetObjectResponse)(nil), // 110: waymaker.streams.GetObjectResponse
|
|
(*GetObjectStreamFrame)(nil), // 111: waymaker.streams.GetObjectStreamFrame
|
|
(*DeleteObjectRequest)(nil), // 112: waymaker.streams.DeleteObjectRequest
|
|
(*DeleteObjectResponse)(nil), // 113: waymaker.streams.DeleteObjectResponse
|
|
(*GetObjectInfoRequest)(nil), // 114: waymaker.streams.GetObjectInfoRequest
|
|
(*GetObjectInfoResponse)(nil), // 115: waymaker.streams.GetObjectInfoResponse
|
|
(*ListObjectsRequest)(nil), // 116: waymaker.streams.ListObjectsRequest
|
|
(*ListObjectsResponse)(nil), // 117: waymaker.streams.ListObjectsResponse
|
|
(*ObjectListEntry)(nil), // 118: waymaker.streams.ObjectListEntry
|
|
(*ListObjectRevisionsRequest)(nil), // 119: waymaker.streams.ListObjectRevisionsRequest
|
|
(*ListObjectRevisionsResponse)(nil), // 120: waymaker.streams.ListObjectRevisionsResponse
|
|
(*GetObjectRangeRequest)(nil), // 121: waymaker.streams.GetObjectRangeRequest
|
|
(*GetObjectRangeResponse)(nil), // 122: waymaker.streams.GetObjectRangeResponse
|
|
(*ObjectRevisionEntry)(nil), // 123: waymaker.streams.ObjectRevisionEntry
|
|
(*KvCreateBucketRequest)(nil), // 124: waymaker.streams.KvCreateBucketRequest
|
|
(*KvCreateBucketResponse)(nil), // 125: waymaker.streams.KvCreateBucketResponse
|
|
(*KvDeleteBucketRequest)(nil), // 126: waymaker.streams.KvDeleteBucketRequest
|
|
(*KvDeleteBucketResponse)(nil), // 127: waymaker.streams.KvDeleteBucketResponse
|
|
(*KvPutRequest)(nil), // 128: waymaker.streams.KvPutRequest
|
|
(*KvCreateRequest)(nil), // 129: waymaker.streams.KvCreateRequest
|
|
(*KvUpdateRequest)(nil), // 130: waymaker.streams.KvUpdateRequest
|
|
(*KvPutResponse)(nil), // 131: waymaker.streams.KvPutResponse
|
|
(*KvGetRequest)(nil), // 132: waymaker.streams.KvGetRequest
|
|
(*KvGetResponse)(nil), // 133: waymaker.streams.KvGetResponse
|
|
(*KvEntry)(nil), // 134: waymaker.streams.KvEntry
|
|
(*KvDeleteRequest)(nil), // 135: waymaker.streams.KvDeleteRequest
|
|
(*KvDeleteResponse)(nil), // 136: waymaker.streams.KvDeleteResponse
|
|
(*KvKeysRequest)(nil), // 137: waymaker.streams.KvKeysRequest
|
|
(*KvKeysResponse)(nil), // 138: waymaker.streams.KvKeysResponse
|
|
(*KvKeyEntry)(nil), // 139: waymaker.streams.KvKeyEntry
|
|
(*KvHistoryRequest)(nil), // 140: waymaker.streams.KvHistoryRequest
|
|
(*KvHistoryResponse)(nil), // 141: waymaker.streams.KvHistoryResponse
|
|
(*KvHistoryEntry)(nil), // 142: waymaker.streams.KvHistoryEntry
|
|
(*KvTouchRequest)(nil), // 143: waymaker.streams.KvTouchRequest
|
|
(*KvWatchRequest)(nil), // 144: waymaker.streams.KvWatchRequest
|
|
(*KvWatchEvent)(nil), // 145: waymaker.streams.KvWatchEvent
|
|
(*KvPutEvent)(nil), // 146: waymaker.streams.KvPutEvent
|
|
(*KvDeleteEvent)(nil), // 147: waymaker.streams.KvDeleteEvent
|
|
(*CreateHashStoreRequest)(nil), // 148: waymaker.streams.CreateHashStoreRequest
|
|
(*CreateHashStoreResponse)(nil), // 149: waymaker.streams.CreateHashStoreResponse
|
|
(*DeleteHashStoreRequest)(nil), // 150: waymaker.streams.DeleteHashStoreRequest
|
|
(*DeleteHashStoreResponse)(nil), // 151: waymaker.streams.DeleteHashStoreResponse
|
|
(*HashSetRequest)(nil), // 152: waymaker.streams.HashSetRequest
|
|
(*HashSetResponse)(nil), // 153: waymaker.streams.HashSetResponse
|
|
(*HashGetRequest)(nil), // 154: waymaker.streams.HashGetRequest
|
|
(*HashGetResponse)(nil), // 155: waymaker.streams.HashGetResponse
|
|
(*HashExistsRequest)(nil), // 156: waymaker.streams.HashExistsRequest
|
|
(*HashExistsResponse)(nil), // 157: waymaker.streams.HashExistsResponse
|
|
(*HashDeleteRequest)(nil), // 158: waymaker.streams.HashDeleteRequest
|
|
(*HashDeleteResponse)(nil), // 159: waymaker.streams.HashDeleteResponse
|
|
(*HashGetAllRequest)(nil), // 160: waymaker.streams.HashGetAllRequest
|
|
(*HashGetAllResponse)(nil), // 161: waymaker.streams.HashGetAllResponse
|
|
(*HashFieldEntry)(nil), // 162: waymaker.streams.HashFieldEntry
|
|
(*HashFieldsRequest)(nil), // 163: waymaker.streams.HashFieldsRequest
|
|
(*HashFieldsResponse)(nil), // 164: waymaker.streams.HashFieldsResponse
|
|
(*HashLenRequest)(nil), // 165: waymaker.streams.HashLenRequest
|
|
(*HashLenResponse)(nil), // 166: waymaker.streams.HashLenResponse
|
|
(*CreateSetStoreRequest)(nil), // 167: waymaker.streams.CreateSetStoreRequest
|
|
(*CreateSetStoreResponse)(nil), // 168: waymaker.streams.CreateSetStoreResponse
|
|
(*DeleteSetStoreRequest)(nil), // 169: waymaker.streams.DeleteSetStoreRequest
|
|
(*DeleteSetStoreResponse)(nil), // 170: waymaker.streams.DeleteSetStoreResponse
|
|
(*SetAddRequest)(nil), // 171: waymaker.streams.SetAddRequest
|
|
(*SetAddResponse)(nil), // 172: waymaker.streams.SetAddResponse
|
|
(*SetRemoveRequest)(nil), // 173: waymaker.streams.SetRemoveRequest
|
|
(*SetRemoveResponse)(nil), // 174: waymaker.streams.SetRemoveResponse
|
|
(*SetIsMemberRequest)(nil), // 175: waymaker.streams.SetIsMemberRequest
|
|
(*SetIsMemberResponse)(nil), // 176: waymaker.streams.SetIsMemberResponse
|
|
(*SetMembersRequest)(nil), // 177: waymaker.streams.SetMembersRequest
|
|
(*SetMembersResponse)(nil), // 178: waymaker.streams.SetMembersResponse
|
|
(*SetLenRequest)(nil), // 179: waymaker.streams.SetLenRequest
|
|
(*SetLenResponse)(nil), // 180: waymaker.streams.SetLenResponse
|
|
(*CreateQueueRequest)(nil), // 181: waymaker.streams.CreateQueueRequest
|
|
(*CreateQueueResponse)(nil), // 182: waymaker.streams.CreateQueueResponse
|
|
(*DeleteQueueRequest)(nil), // 183: waymaker.streams.DeleteQueueRequest
|
|
(*DeleteQueueResponse)(nil), // 184: waymaker.streams.DeleteQueueResponse
|
|
(*QueuePushRequest)(nil), // 185: waymaker.streams.QueuePushRequest
|
|
(*QueuePushResponse)(nil), // 186: waymaker.streams.QueuePushResponse
|
|
(*QueuePopRequest)(nil), // 187: waymaker.streams.QueuePopRequest
|
|
(*QueuePopResponse)(nil), // 188: waymaker.streams.QueuePopResponse
|
|
(*QueueRangeRequest)(nil), // 189: waymaker.streams.QueueRangeRequest
|
|
(*QueueRangeResponse)(nil), // 190: waymaker.streams.QueueRangeResponse
|
|
(*QueueLenRequest)(nil), // 191: waymaker.streams.QueueLenRequest
|
|
(*QueueLenResponse)(nil), // 192: waymaker.streams.QueueLenResponse
|
|
}
|
|
var file_waymaker_streams_proto_depIdxs = []int32{
|
|
3, // 0: waymaker.streams.Retention.limits:type_name -> waymaker.streams.LimitsRetention
|
|
4, // 1: waymaker.streams.Retention.work_queue:type_name -> waymaker.streams.WorkQueueRetention
|
|
5, // 2: waymaker.streams.Retention.interest:type_name -> waymaker.streams.InterestRetention
|
|
6, // 3: waymaker.streams.StreamConfigPb.retention:type_name -> waymaker.streams.Retention
|
|
8, // 4: waymaker.streams.StreamConfigPb.sources:type_name -> waymaker.streams.StreamSourceConfigPb
|
|
9, // 5: waymaker.streams.StreamSourceConfigPb.subject_transform:type_name -> waymaker.streams.SubjectTransformPb
|
|
0, // 6: waymaker.streams.StreamSourceConfigPb.on_drop:type_name -> waymaker.streams.OnDropPolicy
|
|
11, // 7: waymaker.streams.MessagePb.headers:type_name -> waymaker.streams.MessageHeader
|
|
1, // 8: waymaker.streams.DeliveryPolicyPb.type:type_name -> waymaker.streams.DeliveryPolicyType
|
|
13, // 9: waymaker.streams.ConsumerConfigPb.delivery_policy:type_name -> waymaker.streams.DeliveryPolicyPb
|
|
14, // 10: waymaker.streams.ConsumerStatePb.config:type_name -> waymaker.streams.ConsumerConfigPb
|
|
7, // 11: waymaker.streams.CreateStreamRequest.config:type_name -> waymaker.streams.StreamConfigPb
|
|
7, // 12: waymaker.streams.GetStreamInfoResponse.config:type_name -> waymaker.streams.StreamConfigPb
|
|
10, // 13: waymaker.streams.GetStreamInfoResponse.stats:type_name -> waymaker.streams.StreamStatsPb
|
|
23, // 14: waymaker.streams.GetStreamInfoResponse.authority_override:type_name -> waymaker.streams.StreamAuthorityOverride
|
|
22, // 15: waymaker.streams.GetStreamInfoResponse.sources_status:type_name -> waymaker.streams.SourceStatusPb
|
|
28, // 16: waymaker.streams.ListStreamAuthorityOverridesResponse.entries:type_name -> waymaker.streams.AuthorityOverrideEntry
|
|
35, // 17: waymaker.streams.GetStreamSourcesResponse.entries:type_name -> waymaker.streams.GetStreamSourcesEntry
|
|
7, // 18: waymaker.streams.UpdateStreamResponse.config:type_name -> waymaker.streams.StreamConfigPb
|
|
11, // 19: waymaker.streams.PublishRequest.headers:type_name -> waymaker.streams.MessageHeader
|
|
12, // 20: waymaker.streams.FetchResponse.messages:type_name -> waymaker.streams.MessagePb
|
|
12, // 21: waymaker.streams.SubscribeEvent.message:type_name -> waymaker.streams.MessagePb
|
|
52, // 22: waymaker.streams.SubscribeEvent.stopped:type_name -> waymaker.streams.SubscribeStopped
|
|
14, // 23: waymaker.streams.CreateConsumerRequest.config:type_name -> waymaker.streams.ConsumerConfigPb
|
|
15, // 24: waymaker.streams.ListConsumersResponse.consumers:type_name -> waymaker.streams.ConsumerStatePb
|
|
15, // 25: waymaker.streams.GetConsumerInfoResponse.consumer:type_name -> waymaker.streams.ConsumerStatePb
|
|
63, // 26: waymaker.streams.TransferStreamChunk.summary:type_name -> waymaker.streams.TransferStreamSummary
|
|
68, // 27: waymaker.streams.GetClusterStreamStatsResponse.nodes:type_name -> waymaker.streams.PerNodeSummary
|
|
67, // 28: waymaker.streams.GetClusterStreamStatsResponse.streams:type_name -> waymaker.streams.PerStreamStats
|
|
70, // 29: waymaker.streams.RebalanceStreamsRequest.plan:type_name -> waymaker.streams.RebalancePlanEntry
|
|
72, // 30: waymaker.streams.RebalanceStreamsResponse.steps:type_name -> waymaker.streams.RebalanceStepOutcome
|
|
12, // 31: waymaker.streams.ReadLatestAtSubjectResponse.latest:type_name -> waymaker.streams.MessagePb
|
|
12, // 32: waymaker.streams.ScanExactAtSubjectResponse.messages:type_name -> waymaker.streams.MessagePb
|
|
2, // 33: waymaker.streams.WatchEvent.type:type_name -> waymaker.streams.WatchEventType
|
|
75, // 34: waymaker.streams.WatchEvent.stream:type_name -> waymaker.streams.StreamWatchDetail
|
|
76, // 35: waymaker.streams.WatchEvent.consumer:type_name -> waymaker.streams.ConsumerWatchDetail
|
|
77, // 36: waymaker.streams.WatchEvent.authority:type_name -> waymaker.streams.AuthorityWatchDetail
|
|
14, // 37: waymaker.streams.ConsumerStateSnapshot.config:type_name -> waymaker.streams.ConsumerConfigPb
|
|
85, // 38: waymaker.streams.ConsumerStateSnapshot.pending:type_name -> waymaker.streams.PendingDeliveryPb
|
|
86, // 39: waymaker.streams.ReplicateConsumerStateRequest.snapshot:type_name -> waymaker.streams.ConsumerStateSnapshot
|
|
89, // 40: waymaker.streams.ReplicateSourceTailStateRequest.snapshot:type_name -> waymaker.streams.SourceTailStateSnapshot
|
|
7, // 41: waymaker.streams.ReplicateStreamCreateRequest.config:type_name -> waymaker.streams.StreamConfigPb
|
|
11, // 42: waymaker.streams.ReplicateMessageRequest.headers:type_name -> waymaker.streams.MessageHeader
|
|
11, // 43: waymaker.streams.ObjectInfo.headers:type_name -> waymaker.streams.MessageHeader
|
|
11, // 44: waymaker.streams.PutObjectRequest.headers:type_name -> waymaker.streams.MessageHeader
|
|
104, // 45: waymaker.streams.PutObjectResponse.info:type_name -> waymaker.streams.ObjectInfo
|
|
108, // 46: waymaker.streams.PutObjectStreamFrame.start:type_name -> waymaker.streams.PutObjectStart
|
|
11, // 47: waymaker.streams.PutObjectStart.headers:type_name -> waymaker.streams.MessageHeader
|
|
104, // 48: waymaker.streams.GetObjectResponse.info:type_name -> waymaker.streams.ObjectInfo
|
|
104, // 49: waymaker.streams.GetObjectStreamFrame.info:type_name -> waymaker.streams.ObjectInfo
|
|
104, // 50: waymaker.streams.GetObjectInfoResponse.info:type_name -> waymaker.streams.ObjectInfo
|
|
118, // 51: waymaker.streams.ListObjectsResponse.entries:type_name -> waymaker.streams.ObjectListEntry
|
|
123, // 52: waymaker.streams.ListObjectRevisionsResponse.revisions:type_name -> waymaker.streams.ObjectRevisionEntry
|
|
104, // 53: waymaker.streams.GetObjectRangeResponse.info:type_name -> waymaker.streams.ObjectInfo
|
|
134, // 54: waymaker.streams.KvGetResponse.entry:type_name -> waymaker.streams.KvEntry
|
|
139, // 55: waymaker.streams.KvKeysResponse.entries:type_name -> waymaker.streams.KvKeyEntry
|
|
142, // 56: waymaker.streams.KvHistoryResponse.entries:type_name -> waymaker.streams.KvHistoryEntry
|
|
146, // 57: waymaker.streams.KvWatchEvent.put:type_name -> waymaker.streams.KvPutEvent
|
|
147, // 58: waymaker.streams.KvWatchEvent.delete:type_name -> waymaker.streams.KvDeleteEvent
|
|
162, // 59: waymaker.streams.HashGetAllResponse.entries:type_name -> waymaker.streams.HashFieldEntry
|
|
16, // 60: waymaker.streams.WaymakerStreamsService.CreateStream:input_type -> waymaker.streams.CreateStreamRequest
|
|
18, // 61: waymaker.streams.WaymakerStreamsService.DeleteStream:input_type -> waymaker.streams.DeleteStreamRequest
|
|
20, // 62: waymaker.streams.WaymakerStreamsService.GetStreamInfo:input_type -> waymaker.streams.GetStreamInfoRequest
|
|
31, // 63: waymaker.streams.WaymakerStreamsService.ListStreams:input_type -> waymaker.streams.ListStreamsRequest
|
|
33, // 64: waymaker.streams.WaymakerStreamsService.GetStreamSources:input_type -> waymaker.streams.GetStreamSourcesRequest
|
|
36, // 65: waymaker.streams.WaymakerStreamsService.UpdateStream:input_type -> waymaker.streams.UpdateStreamRequest
|
|
38, // 66: waymaker.streams.WaymakerStreamsService.Publish:input_type -> waymaker.streams.PublishRequest
|
|
40, // 67: waymaker.streams.WaymakerStreamsService.Fetch:input_type -> waymaker.streams.FetchRequest
|
|
42, // 68: waymaker.streams.WaymakerStreamsService.Ack:input_type -> waymaker.streams.AckRequest
|
|
44, // 69: waymaker.streams.WaymakerStreamsService.Nak:input_type -> waymaker.streams.NakRequest
|
|
46, // 70: waymaker.streams.WaymakerStreamsService.Term:input_type -> waymaker.streams.TermRequest
|
|
48, // 71: waymaker.streams.WaymakerStreamsService.InProgress:input_type -> waymaker.streams.InProgressRequest
|
|
50, // 72: waymaker.streams.WaymakerStreamsService.Subscribe:input_type -> waymaker.streams.SubscribeRequest
|
|
53, // 73: waymaker.streams.WaymakerStreamsService.CreateConsumer:input_type -> waymaker.streams.CreateConsumerRequest
|
|
55, // 74: waymaker.streams.WaymakerStreamsService.DeleteConsumer:input_type -> waymaker.streams.DeleteConsumerRequest
|
|
57, // 75: waymaker.streams.WaymakerStreamsService.ListConsumers:input_type -> waymaker.streams.ListConsumersRequest
|
|
59, // 76: waymaker.streams.WaymakerStreamsService.GetConsumerInfo:input_type -> waymaker.streams.GetConsumerInfoRequest
|
|
61, // 77: waymaker.streams.WaymakerStreamsService.TransferStream:input_type -> waymaker.streams.TransferStreamRequest
|
|
64, // 78: waymaker.streams.WaymakerStreamsService.MigrateStream:input_type -> waymaker.streams.MigrateStreamRequest
|
|
66, // 79: waymaker.streams.WaymakerStreamsService.GetClusterStreamStats:input_type -> waymaker.streams.GetClusterStreamStatsRequest
|
|
74, // 80: waymaker.streams.WaymakerStreamsService.WatchStreams:input_type -> waymaker.streams.WatchStreamsRequest
|
|
78, // 81: waymaker.streams.WaymakerStreamsService.ReadLatestAtSubject:input_type -> waymaker.streams.ReadLatestAtSubjectRequest
|
|
80, // 82: waymaker.streams.WaymakerStreamsService.ListSubjectsByPrefix:input_type -> waymaker.streams.ListSubjectsByPrefixRequest
|
|
82, // 83: waymaker.streams.WaymakerStreamsService.ScanExactAtSubject:input_type -> waymaker.streams.ScanExactAtSubjectRequest
|
|
24, // 84: waymaker.streams.WaymakerStreamsService.ClearStreamAuthority:input_type -> waymaker.streams.ClearStreamAuthorityRequest
|
|
26, // 85: waymaker.streams.WaymakerStreamsService.ListStreamAuthorityOverrides:input_type -> waymaker.streams.ListStreamAuthorityOverridesRequest
|
|
29, // 86: waymaker.streams.WaymakerStreamsService.SetStreamPinned:input_type -> waymaker.streams.SetStreamPinnedRequest
|
|
105, // 87: waymaker.streams.WaymakerStreamsService.PutObject:input_type -> waymaker.streams.PutObjectRequest
|
|
109, // 88: waymaker.streams.WaymakerStreamsService.GetObject:input_type -> waymaker.streams.GetObjectRequest
|
|
112, // 89: waymaker.streams.WaymakerStreamsService.DeleteObject:input_type -> waymaker.streams.DeleteObjectRequest
|
|
114, // 90: waymaker.streams.WaymakerStreamsService.GetObjectInfo:input_type -> waymaker.streams.GetObjectInfoRequest
|
|
116, // 91: waymaker.streams.WaymakerStreamsService.ListObjects:input_type -> waymaker.streams.ListObjectsRequest
|
|
107, // 92: waymaker.streams.WaymakerStreamsService.PutObjectStream:input_type -> waymaker.streams.PutObjectStreamFrame
|
|
109, // 93: waymaker.streams.WaymakerStreamsService.GetObjectStream:input_type -> waymaker.streams.GetObjectRequest
|
|
119, // 94: waymaker.streams.WaymakerStreamsService.ListObjectRevisions:input_type -> waymaker.streams.ListObjectRevisionsRequest
|
|
121, // 95: waymaker.streams.WaymakerStreamsService.GetObjectRange:input_type -> waymaker.streams.GetObjectRangeRequest
|
|
71, // 96: waymaker.streams.WaymakerStreamsService.RebalanceStreams:input_type -> waymaker.streams.RebalanceStreamsRequest
|
|
87, // 97: waymaker.streams.WaymakerStreamsService.ReplicateConsumerState:input_type -> waymaker.streams.ReplicateConsumerStateRequest
|
|
90, // 98: waymaker.streams.WaymakerStreamsService.ReplicateSourceTailState:input_type -> waymaker.streams.ReplicateSourceTailStateRequest
|
|
92, // 99: waymaker.streams.WaymakerStreamsService.ReplicateStreamCreate:input_type -> waymaker.streams.ReplicateStreamCreateRequest
|
|
94, // 100: waymaker.streams.WaymakerStreamsService.ReplicateMessage:input_type -> waymaker.streams.ReplicateMessageRequest
|
|
96, // 101: waymaker.streams.WaymakerStreamsService.ReplicateStreamDelete:input_type -> waymaker.streams.ReplicateStreamDeleteRequest
|
|
98, // 102: waymaker.streams.WaymakerStreamsService.ReplicateTruncate:input_type -> waymaker.streams.ReplicateTruncateRequest
|
|
100, // 103: waymaker.streams.WaymakerStreamsService.ReplicateStreamUpdate:input_type -> waymaker.streams.ReplicateStreamUpdateRequest
|
|
102, // 104: waymaker.streams.WaymakerStreamsService.ReplicateWorkQueueAck:input_type -> waymaker.streams.ReplicateWorkQueueAckRequest
|
|
17, // 105: waymaker.streams.WaymakerStreamsService.CreateStream:output_type -> waymaker.streams.CreateStreamResponse
|
|
19, // 106: waymaker.streams.WaymakerStreamsService.DeleteStream:output_type -> waymaker.streams.DeleteStreamResponse
|
|
21, // 107: waymaker.streams.WaymakerStreamsService.GetStreamInfo:output_type -> waymaker.streams.GetStreamInfoResponse
|
|
32, // 108: waymaker.streams.WaymakerStreamsService.ListStreams:output_type -> waymaker.streams.ListStreamsResponse
|
|
34, // 109: waymaker.streams.WaymakerStreamsService.GetStreamSources:output_type -> waymaker.streams.GetStreamSourcesResponse
|
|
37, // 110: waymaker.streams.WaymakerStreamsService.UpdateStream:output_type -> waymaker.streams.UpdateStreamResponse
|
|
39, // 111: waymaker.streams.WaymakerStreamsService.Publish:output_type -> waymaker.streams.PublishResponse
|
|
41, // 112: waymaker.streams.WaymakerStreamsService.Fetch:output_type -> waymaker.streams.FetchResponse
|
|
43, // 113: waymaker.streams.WaymakerStreamsService.Ack:output_type -> waymaker.streams.AckResponse
|
|
45, // 114: waymaker.streams.WaymakerStreamsService.Nak:output_type -> waymaker.streams.NakResponse
|
|
47, // 115: waymaker.streams.WaymakerStreamsService.Term:output_type -> waymaker.streams.TermResponse
|
|
49, // 116: waymaker.streams.WaymakerStreamsService.InProgress:output_type -> waymaker.streams.InProgressResponse
|
|
51, // 117: waymaker.streams.WaymakerStreamsService.Subscribe:output_type -> waymaker.streams.SubscribeEvent
|
|
54, // 118: waymaker.streams.WaymakerStreamsService.CreateConsumer:output_type -> waymaker.streams.CreateConsumerResponse
|
|
56, // 119: waymaker.streams.WaymakerStreamsService.DeleteConsumer:output_type -> waymaker.streams.DeleteConsumerResponse
|
|
58, // 120: waymaker.streams.WaymakerStreamsService.ListConsumers:output_type -> waymaker.streams.ListConsumersResponse
|
|
60, // 121: waymaker.streams.WaymakerStreamsService.GetConsumerInfo:output_type -> waymaker.streams.GetConsumerInfoResponse
|
|
62, // 122: waymaker.streams.WaymakerStreamsService.TransferStream:output_type -> waymaker.streams.TransferStreamChunk
|
|
65, // 123: waymaker.streams.WaymakerStreamsService.MigrateStream:output_type -> waymaker.streams.MigrateStreamResponse
|
|
69, // 124: waymaker.streams.WaymakerStreamsService.GetClusterStreamStats:output_type -> waymaker.streams.GetClusterStreamStatsResponse
|
|
84, // 125: waymaker.streams.WaymakerStreamsService.WatchStreams:output_type -> waymaker.streams.WatchEvent
|
|
79, // 126: waymaker.streams.WaymakerStreamsService.ReadLatestAtSubject:output_type -> waymaker.streams.ReadLatestAtSubjectResponse
|
|
81, // 127: waymaker.streams.WaymakerStreamsService.ListSubjectsByPrefix:output_type -> waymaker.streams.ListSubjectsByPrefixResponse
|
|
83, // 128: waymaker.streams.WaymakerStreamsService.ScanExactAtSubject:output_type -> waymaker.streams.ScanExactAtSubjectResponse
|
|
25, // 129: waymaker.streams.WaymakerStreamsService.ClearStreamAuthority:output_type -> waymaker.streams.ClearStreamAuthorityResponse
|
|
27, // 130: waymaker.streams.WaymakerStreamsService.ListStreamAuthorityOverrides:output_type -> waymaker.streams.ListStreamAuthorityOverridesResponse
|
|
30, // 131: waymaker.streams.WaymakerStreamsService.SetStreamPinned:output_type -> waymaker.streams.SetStreamPinnedResponse
|
|
106, // 132: waymaker.streams.WaymakerStreamsService.PutObject:output_type -> waymaker.streams.PutObjectResponse
|
|
110, // 133: waymaker.streams.WaymakerStreamsService.GetObject:output_type -> waymaker.streams.GetObjectResponse
|
|
113, // 134: waymaker.streams.WaymakerStreamsService.DeleteObject:output_type -> waymaker.streams.DeleteObjectResponse
|
|
115, // 135: waymaker.streams.WaymakerStreamsService.GetObjectInfo:output_type -> waymaker.streams.GetObjectInfoResponse
|
|
117, // 136: waymaker.streams.WaymakerStreamsService.ListObjects:output_type -> waymaker.streams.ListObjectsResponse
|
|
106, // 137: waymaker.streams.WaymakerStreamsService.PutObjectStream:output_type -> waymaker.streams.PutObjectResponse
|
|
111, // 138: waymaker.streams.WaymakerStreamsService.GetObjectStream:output_type -> waymaker.streams.GetObjectStreamFrame
|
|
120, // 139: waymaker.streams.WaymakerStreamsService.ListObjectRevisions:output_type -> waymaker.streams.ListObjectRevisionsResponse
|
|
122, // 140: waymaker.streams.WaymakerStreamsService.GetObjectRange:output_type -> waymaker.streams.GetObjectRangeResponse
|
|
73, // 141: waymaker.streams.WaymakerStreamsService.RebalanceStreams:output_type -> waymaker.streams.RebalanceStreamsResponse
|
|
88, // 142: waymaker.streams.WaymakerStreamsService.ReplicateConsumerState:output_type -> waymaker.streams.ReplicateConsumerStateResponse
|
|
91, // 143: waymaker.streams.WaymakerStreamsService.ReplicateSourceTailState:output_type -> waymaker.streams.ReplicateSourceTailStateResponse
|
|
93, // 144: waymaker.streams.WaymakerStreamsService.ReplicateStreamCreate:output_type -> waymaker.streams.ReplicateStreamCreateResponse
|
|
95, // 145: waymaker.streams.WaymakerStreamsService.ReplicateMessage:output_type -> waymaker.streams.ReplicateMessageResponse
|
|
97, // 146: waymaker.streams.WaymakerStreamsService.ReplicateStreamDelete:output_type -> waymaker.streams.ReplicateStreamDeleteResponse
|
|
99, // 147: waymaker.streams.WaymakerStreamsService.ReplicateTruncate:output_type -> waymaker.streams.ReplicateTruncateResponse
|
|
101, // 148: waymaker.streams.WaymakerStreamsService.ReplicateStreamUpdate:output_type -> waymaker.streams.ReplicateStreamUpdateResponse
|
|
103, // 149: waymaker.streams.WaymakerStreamsService.ReplicateWorkQueueAck:output_type -> waymaker.streams.ReplicateWorkQueueAckResponse
|
|
105, // [105:150] is the sub-list for method output_type
|
|
60, // [60:105] is the sub-list for method input_type
|
|
60, // [60:60] is the sub-list for extension type_name
|
|
60, // [60:60] is the sub-list for extension extendee
|
|
0, // [0:60] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_waymaker_streams_proto_init() }
|
|
func file_waymaker_streams_proto_init() {
|
|
if File_waymaker_streams_proto != nil {
|
|
return
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[0].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*Retention_Limits)(nil),
|
|
(*Retention_WorkQueue)(nil),
|
|
(*Retention_Interest)(nil),
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[18].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[33].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[35].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[48].OneofWrappers = []any{
|
|
(*SubscribeEvent_Message)(nil),
|
|
(*SubscribeEvent_Stopped)(nil),
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[59].OneofWrappers = []any{
|
|
(*TransferStreamChunk_Data)(nil),
|
|
(*TransferStreamChunk_Summary)(nil),
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[76].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[81].OneofWrappers = []any{
|
|
(*WatchEvent_Stream)(nil),
|
|
(*WatchEvent_Consumer)(nil),
|
|
(*WatchEvent_Authority)(nil),
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[97].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[104].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[108].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[112].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[130].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[142].OneofWrappers = []any{
|
|
(*KvWatchEvent_Put)(nil),
|
|
(*KvWatchEvent_Delete)(nil),
|
|
}
|
|
file_waymaker_streams_proto_msgTypes[152].OneofWrappers = []any{}
|
|
file_waymaker_streams_proto_msgTypes[185].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_waymaker_streams_proto_rawDesc), len(file_waymaker_streams_proto_rawDesc)),
|
|
NumEnums: 3,
|
|
NumMessages: 190,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_waymaker_streams_proto_goTypes,
|
|
DependencyIndexes: file_waymaker_streams_proto_depIdxs,
|
|
EnumInfos: file_waymaker_streams_proto_enumTypes,
|
|
MessageInfos: file_waymaker_streams_proto_msgTypes,
|
|
}.Build()
|
|
File_waymaker_streams_proto = out.File
|
|
file_waymaker_streams_proto_goTypes = nil
|
|
file_waymaker_streams_proto_depIdxs = nil
|
|
}
|