Documentation ¶
Index ¶
- Constants
- Variables
- type BootstrapProducerRequestPB
- func (*BootstrapProducerRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapProducerRequestPB) GetTableIds() []string
- func (m *BootstrapProducerRequestPB) MarshalJSON() ([]byte, error)
- func (*BootstrapProducerRequestPB) ProtoMessage()
- func (x *BootstrapProducerRequestPB) ProtoReflect() protoreflect.Message
- func (x *BootstrapProducerRequestPB) Reset()
- func (x *BootstrapProducerRequestPB) String() string
- func (m *BootstrapProducerRequestPB) UnmarshalJSON(b []byte) error
- type BootstrapProducerResponsePB
- func (*BootstrapProducerResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *BootstrapProducerResponsePB) GetCdcBootstrapIds() [][]byte
- func (x *BootstrapProducerResponsePB) GetError() *CDCErrorPB
- func (m *BootstrapProducerResponsePB) MarshalJSON() ([]byte, error)
- func (*BootstrapProducerResponsePB) ProtoMessage()
- func (x *BootstrapProducerResponsePB) ProtoReflect() protoreflect.Message
- func (x *BootstrapProducerResponsePB) Reset()
- func (x *BootstrapProducerResponsePB) String() string
- func (m *BootstrapProducerResponsePB) UnmarshalJSON(b []byte) error
- type CDCCheckpointPB
- func (*CDCCheckpointPB) Descriptor() ([]byte, []int)deprecated
- func (x *CDCCheckpointPB) GetOpId() *util.OpIdPB
- func (m *CDCCheckpointPB) MarshalJSON() ([]byte, error)
- func (*CDCCheckpointPB) ProtoMessage()
- func (x *CDCCheckpointPB) ProtoReflect() protoreflect.Message
- func (x *CDCCheckpointPB) Reset()
- func (x *CDCCheckpointPB) String() string
- func (m *CDCCheckpointPB) UnmarshalJSON(b []byte) error
- type CDCErrorPB
- func (*CDCErrorPB) Descriptor() ([]byte, []int)deprecated
- func (x *CDCErrorPB) GetCode() CDCErrorPB_Code
- func (x *CDCErrorPB) GetStatus() *common.AppStatusPB
- func (m *CDCErrorPB) MarshalJSON() ([]byte, error)
- func (*CDCErrorPB) ProtoMessage()
- func (x *CDCErrorPB) ProtoReflect() protoreflect.Message
- func (x *CDCErrorPB) Reset()
- func (x *CDCErrorPB) String() string
- func (m *CDCErrorPB) UnmarshalJSON(b []byte) error
- type CDCErrorPB_Code
- func (CDCErrorPB_Code) Descriptor() protoreflect.EnumDescriptor
- func (x CDCErrorPB_Code) Enum() *CDCErrorPB_Code
- func (CDCErrorPB_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x CDCErrorPB_Code) Number() protoreflect.EnumNumber
- func (x CDCErrorPB_Code) String() string
- func (CDCErrorPB_Code) Type() protoreflect.EnumType
- func (x *CDCErrorPB_Code) UnmarshalJSON(b []byte) errordeprecated
- type CDCRecordFormat
- func (CDCRecordFormat) Descriptor() protoreflect.EnumDescriptor
- func (x CDCRecordFormat) Enum() *CDCRecordFormat
- func (CDCRecordFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x CDCRecordFormat) Number() protoreflect.EnumNumber
- func (x CDCRecordFormat) String() string
- func (CDCRecordFormat) Type() protoreflect.EnumType
- func (x *CDCRecordFormat) UnmarshalJSON(b []byte) errordeprecated
- type CDCRecordPB
- func (*CDCRecordPB) Descriptor() ([]byte, []int)deprecated
- func (x *CDCRecordPB) GetAfter() []*KeyValuePairPB
- func (x *CDCRecordPB) GetBefore() []*KeyValuePairPB
- func (x *CDCRecordPB) GetChanges() []*KeyValuePairPB
- func (x *CDCRecordPB) GetKey() []*KeyValuePairPB
- func (x *CDCRecordPB) GetOperation() CDCRecordPB_OperationType
- func (x *CDCRecordPB) GetPartition() *common.PartitionPB
- func (x *CDCRecordPB) GetTime() uint64
- func (x *CDCRecordPB) GetTransactionState() *tserver.TransactionStatePB
- func (m *CDCRecordPB) MarshalJSON() ([]byte, error)
- func (*CDCRecordPB) ProtoMessage()
- func (x *CDCRecordPB) ProtoReflect() protoreflect.Message
- func (x *CDCRecordPB) Reset()
- func (x *CDCRecordPB) String() string
- func (m *CDCRecordPB) UnmarshalJSON(b []byte) error
- type CDCRecordPB_OperationType
- func (CDCRecordPB_OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x CDCRecordPB_OperationType) Enum() *CDCRecordPB_OperationType
- func (CDCRecordPB_OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CDCRecordPB_OperationType) Number() protoreflect.EnumNumber
- func (x CDCRecordPB_OperationType) String() string
- func (CDCRecordPB_OperationType) Type() protoreflect.EnumType
- func (x *CDCRecordPB_OperationType) UnmarshalJSON(b []byte) errordeprecated
- type CDCRecordType
- func (CDCRecordType) Descriptor() protoreflect.EnumDescriptor
- func (x CDCRecordType) Enum() *CDCRecordType
- func (CDCRecordType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CDCRecordType) Number() protoreflect.EnumNumber
- func (x CDCRecordType) String() string
- func (CDCRecordType) Type() protoreflect.EnumType
- func (x *CDCRecordType) UnmarshalJSON(b []byte) errordeprecated
- type CDCService
- type CDCServiceImpl
- func (s *CDCServiceImpl) BootstrapProducer(request *BootstrapProducerRequestPB) (*BootstrapProducerResponsePB, error)
- func (s *CDCServiceImpl) CreateCDCStream(request *CreateCDCStreamRequestPB) (*CreateCDCStreamResponsePB, error)
- func (s *CDCServiceImpl) DeleteCDCStream(request *DeleteCDCStreamRequestPB) (*DeleteCDCStreamResponsePB, error)
- func (s *CDCServiceImpl) GetChanges(request *GetChangesRequestPB) (*GetChangesResponsePB, error)
- func (s *CDCServiceImpl) GetCheckpoint(request *GetCheckpointRequestPB) (*GetCheckpointResponsePB, error)
- func (s *CDCServiceImpl) GetLatestEntryOpId(request *GetLatestEntryOpIdRequestPB) (*GetLatestEntryOpIdResponsePB, error)
- func (s *CDCServiceImpl) ListTablets(request *ListTabletsRequestPB) (*ListTabletsResponsePB, error)
- func (s *CDCServiceImpl) UpdateCdcReplicatedIndex(request *UpdateCdcReplicatedIndexRequestPB) (*UpdateCdcReplicatedIndexResponsePB, error)
- type CDCTabletPB
- func (*CDCTabletPB) Descriptor() ([]byte, []int)deprecated
- func (x *CDCTabletPB) GetTabletId() []byte
- func (x *CDCTabletPB) GetTservers() []*CDCTabletPB_ReplicaPB
- func (m *CDCTabletPB) MarshalJSON() ([]byte, error)
- func (*CDCTabletPB) ProtoMessage()
- func (x *CDCTabletPB) ProtoReflect() protoreflect.Message
- func (x *CDCTabletPB) Reset()
- func (x *CDCTabletPB) String() string
- func (m *CDCTabletPB) UnmarshalJSON(b []byte) error
- type CDCTabletPB_ReplicaPB
- func (*CDCTabletPB_ReplicaPB) Descriptor() ([]byte, []int)deprecated
- func (x *CDCTabletPB_ReplicaPB) GetBroadcastAddresses() []*common.HostPortPB
- func (*CDCTabletPB_ReplicaPB) ProtoMessage()
- func (x *CDCTabletPB_ReplicaPB) ProtoReflect() protoreflect.Message
- func (x *CDCTabletPB_ReplicaPB) Reset()
- func (x *CDCTabletPB_ReplicaPB) String() string
- type ConsumerRegistryPB
- func (*ConsumerRegistryPB) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerRegistryPB) GetProducerMap() map[string]*ProducerEntryPB
- func (m *ConsumerRegistryPB) MarshalJSON() ([]byte, error)
- func (*ConsumerRegistryPB) ProtoMessage()
- func (x *ConsumerRegistryPB) ProtoReflect() protoreflect.Message
- func (x *ConsumerRegistryPB) Reset()
- func (x *ConsumerRegistryPB) String() string
- func (m *ConsumerRegistryPB) UnmarshalJSON(b []byte) error
- type CreateCDCStreamRequestPB
- func (*CreateCDCStreamRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCDCStreamRequestPB) GetRecordFormat() CDCRecordFormat
- func (x *CreateCDCStreamRequestPB) GetRecordType() CDCRecordType
- func (x *CreateCDCStreamRequestPB) GetTableId() string
- func (m *CreateCDCStreamRequestPB) MarshalJSON() ([]byte, error)
- func (*CreateCDCStreamRequestPB) ProtoMessage()
- func (x *CreateCDCStreamRequestPB) ProtoReflect() protoreflect.Message
- func (x *CreateCDCStreamRequestPB) Reset()
- func (x *CreateCDCStreamRequestPB) String() string
- func (m *CreateCDCStreamRequestPB) UnmarshalJSON(b []byte) error
- type CreateCDCStreamResponsePB
- func (*CreateCDCStreamResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCDCStreamResponsePB) GetError() *CDCErrorPB
- func (x *CreateCDCStreamResponsePB) GetStreamId() []byte
- func (m *CreateCDCStreamResponsePB) MarshalJSON() ([]byte, error)
- func (*CreateCDCStreamResponsePB) ProtoMessage()
- func (x *CreateCDCStreamResponsePB) ProtoReflect() protoreflect.Message
- func (x *CreateCDCStreamResponsePB) Reset()
- func (x *CreateCDCStreamResponsePB) String() string
- func (m *CreateCDCStreamResponsePB) UnmarshalJSON(b []byte) error
- type DeleteCDCStreamRequestPB
- func (*DeleteCDCStreamRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCDCStreamRequestPB) GetStreamId() [][]byte
- func (m *DeleteCDCStreamRequestPB) MarshalJSON() ([]byte, error)
- func (*DeleteCDCStreamRequestPB) ProtoMessage()
- func (x *DeleteCDCStreamRequestPB) ProtoReflect() protoreflect.Message
- func (x *DeleteCDCStreamRequestPB) Reset()
- func (x *DeleteCDCStreamRequestPB) String() string
- func (m *DeleteCDCStreamRequestPB) UnmarshalJSON(b []byte) error
- type DeleteCDCStreamResponsePB
- func (*DeleteCDCStreamResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCDCStreamResponsePB) GetError() *CDCErrorPB
- func (m *DeleteCDCStreamResponsePB) MarshalJSON() ([]byte, error)
- func (*DeleteCDCStreamResponsePB) ProtoMessage()
- func (x *DeleteCDCStreamResponsePB) ProtoReflect() protoreflect.Message
- func (x *DeleteCDCStreamResponsePB) Reset()
- func (x *DeleteCDCStreamResponsePB) String() string
- func (m *DeleteCDCStreamResponsePB) UnmarshalJSON(b []byte) error
- type GetChangesRequestPB
- func (*GetChangesRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangesRequestPB) GetFromCheckpoint() *CDCCheckpointPB
- func (x *GetChangesRequestPB) GetMaxRecords() uint32
- func (x *GetChangesRequestPB) GetServeAsProxy() bool
- func (x *GetChangesRequestPB) GetStreamId() []byte
- func (x *GetChangesRequestPB) GetTabletId() []byte
- func (m *GetChangesRequestPB) MarshalJSON() ([]byte, error)
- func (*GetChangesRequestPB) ProtoMessage()
- func (x *GetChangesRequestPB) ProtoReflect() protoreflect.Message
- func (x *GetChangesRequestPB) Reset()
- func (x *GetChangesRequestPB) String() string
- func (m *GetChangesRequestPB) UnmarshalJSON(b []byte) error
- type GetChangesResponsePB
- func (*GetChangesResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangesResponsePB) GetCheckpoint() *CDCCheckpointPB
- func (x *GetChangesResponsePB) GetError() *CDCErrorPB
- func (x *GetChangesResponsePB) GetRecordFormat() CDCRecordFormat
- func (x *GetChangesResponsePB) GetRecordType() CDCRecordType
- func (x *GetChangesResponsePB) GetRecords() []*CDCRecordPB
- func (x *GetChangesResponsePB) GetTserver() []*common.HostPortPB
- func (m *GetChangesResponsePB) MarshalJSON() ([]byte, error)
- func (*GetChangesResponsePB) ProtoMessage()
- func (x *GetChangesResponsePB) ProtoReflect() protoreflect.Message
- func (x *GetChangesResponsePB) Reset()
- func (x *GetChangesResponsePB) String() string
- func (m *GetChangesResponsePB) UnmarshalJSON(b []byte) error
- type GetCheckpointRequestPB
- func (*GetCheckpointRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *GetCheckpointRequestPB) GetStreamId() []byte
- func (x *GetCheckpointRequestPB) GetTabletId() []byte
- func (m *GetCheckpointRequestPB) MarshalJSON() ([]byte, error)
- func (*GetCheckpointRequestPB) ProtoMessage()
- func (x *GetCheckpointRequestPB) ProtoReflect() protoreflect.Message
- func (x *GetCheckpointRequestPB) Reset()
- func (x *GetCheckpointRequestPB) String() string
- func (m *GetCheckpointRequestPB) UnmarshalJSON(b []byte) error
- type GetCheckpointResponsePB
- func (*GetCheckpointResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *GetCheckpointResponsePB) GetCheckpoint() *CDCCheckpointPB
- func (x *GetCheckpointResponsePB) GetError() *CDCErrorPB
- func (m *GetCheckpointResponsePB) MarshalJSON() ([]byte, error)
- func (*GetCheckpointResponsePB) ProtoMessage()
- func (x *GetCheckpointResponsePB) ProtoReflect() protoreflect.Message
- func (x *GetCheckpointResponsePB) Reset()
- func (x *GetCheckpointResponsePB) String() string
- func (m *GetCheckpointResponsePB) UnmarshalJSON(b []byte) error
- type GetLatestEntryOpIdRequestPB
- func (*GetLatestEntryOpIdRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestEntryOpIdRequestPB) GetTabletId() []byte
- func (m *GetLatestEntryOpIdRequestPB) MarshalJSON() ([]byte, error)
- func (*GetLatestEntryOpIdRequestPB) ProtoMessage()
- func (x *GetLatestEntryOpIdRequestPB) ProtoReflect() protoreflect.Message
- func (x *GetLatestEntryOpIdRequestPB) Reset()
- func (x *GetLatestEntryOpIdRequestPB) String() string
- func (m *GetLatestEntryOpIdRequestPB) UnmarshalJSON(b []byte) error
- type GetLatestEntryOpIdResponsePB
- func (*GetLatestEntryOpIdResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestEntryOpIdResponsePB) GetError() *CDCErrorPB
- func (x *GetLatestEntryOpIdResponsePB) GetOpId() *util.OpIdPB
- func (m *GetLatestEntryOpIdResponsePB) MarshalJSON() ([]byte, error)
- func (*GetLatestEntryOpIdResponsePB) ProtoMessage()
- func (x *GetLatestEntryOpIdResponsePB) ProtoReflect() protoreflect.Message
- func (x *GetLatestEntryOpIdResponsePB) Reset()
- func (x *GetLatestEntryOpIdResponsePB) String() string
- func (m *GetLatestEntryOpIdResponsePB) UnmarshalJSON(b []byte) error
- type KeyValuePairPB
- func (*KeyValuePairPB) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValuePairPB) GetKey() []byte
- func (x *KeyValuePairPB) GetValue() *common.QLValuePB
- func (m *KeyValuePairPB) MarshalJSON() ([]byte, error)
- func (*KeyValuePairPB) ProtoMessage()
- func (x *KeyValuePairPB) ProtoReflect() protoreflect.Message
- func (x *KeyValuePairPB) Reset()
- func (x *KeyValuePairPB) String() string
- func (m *KeyValuePairPB) UnmarshalJSON(b []byte) error
- type ListTabletsRequestPB
- func (*ListTabletsRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *ListTabletsRequestPB) GetLocalOnly() bool
- func (x *ListTabletsRequestPB) GetStreamId() string
- func (m *ListTabletsRequestPB) MarshalJSON() ([]byte, error)
- func (*ListTabletsRequestPB) ProtoMessage()
- func (x *ListTabletsRequestPB) ProtoReflect() protoreflect.Message
- func (x *ListTabletsRequestPB) Reset()
- func (x *ListTabletsRequestPB) String() string
- func (m *ListTabletsRequestPB) UnmarshalJSON(b []byte) error
- type ListTabletsResponsePB
- func (*ListTabletsResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *ListTabletsResponsePB) GetError() *CDCErrorPB
- func (x *ListTabletsResponsePB) GetTablets() []*CDCTabletPB
- func (m *ListTabletsResponsePB) MarshalJSON() ([]byte, error)
- func (*ListTabletsResponsePB) ProtoMessage()
- func (x *ListTabletsResponsePB) ProtoReflect() protoreflect.Message
- func (x *ListTabletsResponsePB) Reset()
- func (x *ListTabletsResponsePB) String() string
- func (m *ListTabletsResponsePB) UnmarshalJSON(b []byte) error
- type ProducerEntryPB
- func (*ProducerEntryPB) Descriptor() ([]byte, []int)deprecated
- func (x *ProducerEntryPB) GetDisableStream() bool
- func (x *ProducerEntryPB) GetMasterAddrs() []*common.HostPortPB
- func (x *ProducerEntryPB) GetStreamMap() map[string]*StreamEntryPB
- func (x *ProducerEntryPB) GetTserverAddrs() []*common.HostPortPB
- func (m *ProducerEntryPB) MarshalJSON() ([]byte, error)
- func (*ProducerEntryPB) ProtoMessage()
- func (x *ProducerEntryPB) ProtoReflect() protoreflect.Message
- func (x *ProducerEntryPB) Reset()
- func (x *ProducerEntryPB) String() string
- func (m *ProducerEntryPB) UnmarshalJSON(b []byte) error
- type ProducerTabletListPB
- func (*ProducerTabletListPB) Descriptor() ([]byte, []int)deprecated
- func (x *ProducerTabletListPB) GetTablets() []string
- func (m *ProducerTabletListPB) MarshalJSON() ([]byte, error)
- func (*ProducerTabletListPB) ProtoMessage()
- func (x *ProducerTabletListPB) ProtoReflect() protoreflect.Message
- func (x *ProducerTabletListPB) Reset()
- func (x *ProducerTabletListPB) String() string
- func (m *ProducerTabletListPB) UnmarshalJSON(b []byte) error
- type StreamEntryPB
- func (*StreamEntryPB) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEntryPB) GetConsumerProducerTabletMap() map[string]*ProducerTabletListPB
- func (x *StreamEntryPB) GetConsumerTableId() string
- func (x *StreamEntryPB) GetProducerTableId() string
- func (x *StreamEntryPB) GetSameNumProducerConsumerTablets() bool
- func (m *StreamEntryPB) MarshalJSON() ([]byte, error)
- func (*StreamEntryPB) ProtoMessage()
- func (x *StreamEntryPB) ProtoReflect() protoreflect.Message
- func (x *StreamEntryPB) Reset()
- func (x *StreamEntryPB) String() string
- func (m *StreamEntryPB) UnmarshalJSON(b []byte) error
- type UpdateCdcReplicatedIndexRequestPB
- func (*UpdateCdcReplicatedIndexRequestPB) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCdcReplicatedIndexRequestPB) GetReplicatedIndex() int64
- func (x *UpdateCdcReplicatedIndexRequestPB) GetTabletId() []byte
- func (m *UpdateCdcReplicatedIndexRequestPB) MarshalJSON() ([]byte, error)
- func (*UpdateCdcReplicatedIndexRequestPB) ProtoMessage()
- func (x *UpdateCdcReplicatedIndexRequestPB) ProtoReflect() protoreflect.Message
- func (x *UpdateCdcReplicatedIndexRequestPB) Reset()
- func (x *UpdateCdcReplicatedIndexRequestPB) String() string
- func (m *UpdateCdcReplicatedIndexRequestPB) UnmarshalJSON(b []byte) error
- type UpdateCdcReplicatedIndexResponsePB
- func (*UpdateCdcReplicatedIndexResponsePB) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCdcReplicatedIndexResponsePB) GetError() *CDCErrorPB
- func (m *UpdateCdcReplicatedIndexResponsePB) MarshalJSON() ([]byte, error)
- func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage()
- func (x *UpdateCdcReplicatedIndexResponsePB) ProtoReflect() protoreflect.Message
- func (x *UpdateCdcReplicatedIndexResponsePB) Reset()
- func (x *UpdateCdcReplicatedIndexResponsePB) String() string
- func (m *UpdateCdcReplicatedIndexResponsePB) UnmarshalJSON(b []byte) error
Constants ¶
const ( Default_CreateCDCStreamRequestPB_RecordType = CDCRecordType_CHANGE Default_CreateCDCStreamRequestPB_RecordFormat = CDCRecordFormat_JSON )
Default values for CreateCDCStreamRequestPB fields.
const (
Default_CDCErrorPB_Code = CDCErrorPB_UNKNOWN_ERROR
)
Default values for CDCErrorPB fields.
const (
Default_GetChangesRequestPB_ServeAsProxy = bool(true)
)
Default values for GetChangesRequestPB fields.
const (
Default_GetChangesResponsePB_RecordType = CDCRecordType_CHANGE
)
Default values for GetChangesResponsePB fields.
const (
Default_ListTabletsRequestPB_LocalOnly = bool(false)
)
Default values for ListTabletsRequestPB fields.
Variables ¶
var ( CDCRecordType_name = map[int32]string{ 1: "CHANGE", 2: "AFTER", 3: "ALL", } CDCRecordType_value = map[string]int32{ "CHANGE": 1, "AFTER": 2, "ALL": 3, } )
Enum value maps for CDCRecordType.
var ( CDCRecordFormat_name = map[int32]string{ 1: "JSON", 2: "WAL", } CDCRecordFormat_value = map[string]int32{ "JSON": 1, "WAL": 2, } )
Enum value maps for CDCRecordFormat.
var ( CDCErrorPB_Code_name = map[int32]string{ 1: "UNKNOWN_ERROR", 2: "TABLET_NOT_FOUND", 3: "TABLE_NOT_FOUND", 4: "SUBSCRIBER_NOT_FOUND", 5: "CHECKPOINT_TOO_OLD", 6: "TABLET_NOT_RUNNING", 7: "NOT_LEADER", 11: "LEADER_NOT_READY", 8: "NOT_RUNNING", 9: "INTERNAL_ERROR", 10: "INVALID_REQUEST", } CDCErrorPB_Code_value = map[string]int32{ "UNKNOWN_ERROR": 1, "TABLET_NOT_FOUND": 2, "TABLE_NOT_FOUND": 3, "SUBSCRIBER_NOT_FOUND": 4, "CHECKPOINT_TOO_OLD": 5, "TABLET_NOT_RUNNING": 6, "NOT_LEADER": 7, "LEADER_NOT_READY": 11, "NOT_RUNNING": 8, "INTERNAL_ERROR": 9, "INVALID_REQUEST": 10, } )
Enum value maps for CDCErrorPB_Code.
var ( CDCRecordPB_OperationType_name = map[int32]string{ 1: "WRITE", 2: "DELETE", 3: "APPLY", } CDCRecordPB_OperationType_value = map[string]int32{ "WRITE": 1, "DELETE": 2, "APPLY": 3, } )
Enum value maps for CDCRecordPB_OperationType.
var File_yb_cdc_cdc_consumer_proto protoreflect.FileDescriptor
var File_yb_cdc_cdc_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BootstrapProducerRequestPB ¶
type BootstrapProducerRequestPB struct { TableIds []string `protobuf:"bytes,1,rep,name=table_ids,json=tableIds" json:"table_ids,omitempty"` // contains filtered or unexported fields }
func (*BootstrapProducerRequestPB) Descriptor
deprecated
func (*BootstrapProducerRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapProducerRequestPB.ProtoReflect.Descriptor instead.
func (*BootstrapProducerRequestPB) GetTableIds ¶
func (x *BootstrapProducerRequestPB) GetTableIds() []string
func (*BootstrapProducerRequestPB) MarshalJSON ¶
func (m *BootstrapProducerRequestPB) MarshalJSON() ([]byte, error)
func (*BootstrapProducerRequestPB) ProtoMessage ¶
func (*BootstrapProducerRequestPB) ProtoMessage()
func (*BootstrapProducerRequestPB) ProtoReflect ¶
func (x *BootstrapProducerRequestPB) ProtoReflect() protoreflect.Message
func (*BootstrapProducerRequestPB) Reset ¶
func (x *BootstrapProducerRequestPB) Reset()
func (*BootstrapProducerRequestPB) String ¶
func (x *BootstrapProducerRequestPB) String() string
func (*BootstrapProducerRequestPB) UnmarshalJSON ¶
func (m *BootstrapProducerRequestPB) UnmarshalJSON(b []byte) error
type BootstrapProducerResponsePB ¶
type BootstrapProducerResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` CdcBootstrapIds [][]byte `protobuf:"bytes,2,rep,name=cdc_bootstrap_ids,json=cdcBootstrapIds" json:"cdc_bootstrap_ids,omitempty"` // contains filtered or unexported fields }
func (*BootstrapProducerResponsePB) Descriptor
deprecated
func (*BootstrapProducerResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use BootstrapProducerResponsePB.ProtoReflect.Descriptor instead.
func (*BootstrapProducerResponsePB) GetCdcBootstrapIds ¶
func (x *BootstrapProducerResponsePB) GetCdcBootstrapIds() [][]byte
func (*BootstrapProducerResponsePB) GetError ¶
func (x *BootstrapProducerResponsePB) GetError() *CDCErrorPB
func (*BootstrapProducerResponsePB) MarshalJSON ¶
func (m *BootstrapProducerResponsePB) MarshalJSON() ([]byte, error)
func (*BootstrapProducerResponsePB) ProtoMessage ¶
func (*BootstrapProducerResponsePB) ProtoMessage()
func (*BootstrapProducerResponsePB) ProtoReflect ¶
func (x *BootstrapProducerResponsePB) ProtoReflect() protoreflect.Message
func (*BootstrapProducerResponsePB) Reset ¶
func (x *BootstrapProducerResponsePB) Reset()
func (*BootstrapProducerResponsePB) String ¶
func (x *BootstrapProducerResponsePB) String() string
func (*BootstrapProducerResponsePB) UnmarshalJSON ¶
func (m *BootstrapProducerResponsePB) UnmarshalJSON(b []byte) error
type CDCCheckpointPB ¶
type CDCCheckpointPB struct { OpId *util.OpIdPB `protobuf:"bytes,1,opt,name=op_id,json=opId" json:"op_id,omitempty"` // contains filtered or unexported fields }
func (*CDCCheckpointPB) Descriptor
deprecated
func (*CDCCheckpointPB) Descriptor() ([]byte, []int)
Deprecated: Use CDCCheckpointPB.ProtoReflect.Descriptor instead.
func (*CDCCheckpointPB) GetOpId ¶
func (x *CDCCheckpointPB) GetOpId() *util.OpIdPB
func (*CDCCheckpointPB) MarshalJSON ¶
func (m *CDCCheckpointPB) MarshalJSON() ([]byte, error)
func (*CDCCheckpointPB) ProtoMessage ¶
func (*CDCCheckpointPB) ProtoMessage()
func (*CDCCheckpointPB) ProtoReflect ¶
func (x *CDCCheckpointPB) ProtoReflect() protoreflect.Message
func (*CDCCheckpointPB) Reset ¶
func (x *CDCCheckpointPB) Reset()
func (*CDCCheckpointPB) String ¶
func (x *CDCCheckpointPB) String() string
func (*CDCCheckpointPB) UnmarshalJSON ¶
func (m *CDCCheckpointPB) UnmarshalJSON(b []byte) error
type CDCErrorPB ¶
type CDCErrorPB struct { // The error code. Code *CDCErrorPB_Code `protobuf:"varint,1,opt,name=code,enum=yb.cdc.CDCErrorPB_Code,def=1" json:"code,omitempty"` // The Status object for the error. This will include a textual // message that may be more useful to present in log messages, etc, // though its error code is less specific. Status *common.AppStatusPB `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CDCErrorPB) Descriptor
deprecated
func (*CDCErrorPB) Descriptor() ([]byte, []int)
Deprecated: Use CDCErrorPB.ProtoReflect.Descriptor instead.
func (*CDCErrorPB) GetCode ¶
func (x *CDCErrorPB) GetCode() CDCErrorPB_Code
func (*CDCErrorPB) GetStatus ¶
func (x *CDCErrorPB) GetStatus() *common.AppStatusPB
func (*CDCErrorPB) MarshalJSON ¶
func (m *CDCErrorPB) MarshalJSON() ([]byte, error)
func (*CDCErrorPB) ProtoMessage ¶
func (*CDCErrorPB) ProtoMessage()
func (*CDCErrorPB) ProtoReflect ¶
func (x *CDCErrorPB) ProtoReflect() protoreflect.Message
func (*CDCErrorPB) Reset ¶
func (x *CDCErrorPB) Reset()
func (*CDCErrorPB) String ¶
func (x *CDCErrorPB) String() string
func (*CDCErrorPB) UnmarshalJSON ¶
func (m *CDCErrorPB) UnmarshalJSON(b []byte) error
type CDCErrorPB_Code ¶
type CDCErrorPB_Code int32
const ( // An error which has no more specific error code. // The code and message in 'status' may reveal more details. // // RPCs should avoid returning this, since callers will not be // able to easily parse the error. CDCErrorPB_UNKNOWN_ERROR CDCErrorPB_Code = 1 CDCErrorPB_TABLET_NOT_FOUND CDCErrorPB_Code = 2 CDCErrorPB_TABLE_NOT_FOUND CDCErrorPB_Code = 3 CDCErrorPB_SUBSCRIBER_NOT_FOUND CDCErrorPB_Code = 4 CDCErrorPB_CHECKPOINT_TOO_OLD CDCErrorPB_Code = 5 CDCErrorPB_TABLET_NOT_RUNNING CDCErrorPB_Code = 6 CDCErrorPB_NOT_LEADER CDCErrorPB_Code = 7 // deprecated. use TABLET_NOT_FOUND CDCErrorPB_LEADER_NOT_READY CDCErrorPB_Code = 11 CDCErrorPB_NOT_RUNNING CDCErrorPB_Code = 8 CDCErrorPB_INTERNAL_ERROR CDCErrorPB_Code = 9 CDCErrorPB_INVALID_REQUEST CDCErrorPB_Code = 10 )
func (CDCErrorPB_Code) Descriptor ¶
func (CDCErrorPB_Code) Descriptor() protoreflect.EnumDescriptor
func (CDCErrorPB_Code) Enum ¶
func (x CDCErrorPB_Code) Enum() *CDCErrorPB_Code
func (CDCErrorPB_Code) EnumDescriptor
deprecated
func (CDCErrorPB_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use CDCErrorPB_Code.Descriptor instead.
func (CDCErrorPB_Code) Number ¶
func (x CDCErrorPB_Code) Number() protoreflect.EnumNumber
func (CDCErrorPB_Code) String ¶
func (x CDCErrorPB_Code) String() string
func (CDCErrorPB_Code) Type ¶
func (CDCErrorPB_Code) Type() protoreflect.EnumType
func (*CDCErrorPB_Code) UnmarshalJSON
deprecated
func (x *CDCErrorPB_Code) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CDCRecordFormat ¶
type CDCRecordFormat int32
const ( CDCRecordFormat_JSON CDCRecordFormat = 1 CDCRecordFormat_WAL CDCRecordFormat = 2 // Used for 2DC. )
func (CDCRecordFormat) Descriptor ¶
func (CDCRecordFormat) Descriptor() protoreflect.EnumDescriptor
func (CDCRecordFormat) Enum ¶
func (x CDCRecordFormat) Enum() *CDCRecordFormat
func (CDCRecordFormat) EnumDescriptor
deprecated
func (CDCRecordFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use CDCRecordFormat.Descriptor instead.
func (CDCRecordFormat) Number ¶
func (x CDCRecordFormat) Number() protoreflect.EnumNumber
func (CDCRecordFormat) String ¶
func (x CDCRecordFormat) String() string
func (CDCRecordFormat) Type ¶
func (CDCRecordFormat) Type() protoreflect.EnumType
func (*CDCRecordFormat) UnmarshalJSON
deprecated
func (x *CDCRecordFormat) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CDCRecordPB ¶
type CDCRecordPB struct { Time *uint64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"` Operation *CDCRecordPB_OperationType `protobuf:"varint,2,opt,name=operation,enum=yb.cdc.CDCRecordPB_OperationType" json:"operation,omitempty"` // Primary key of the record that changed Key []*KeyValuePairPB `protobuf:"bytes,3,rep,name=key" json:"key,omitempty"` // Key-value pairs (column_name : value) of changes / before record / after record Changes []*KeyValuePairPB `protobuf:"bytes,4,rep,name=changes" json:"changes,omitempty"` Before []*KeyValuePairPB `protobuf:"bytes,5,rep,name=before" json:"before,omitempty"` // NOT CURRENTLY USED After []*KeyValuePairPB `protobuf:"bytes,6,rep,name=after" json:"after,omitempty"` // NOT CURRENTLY USED TransactionState *tserver.TransactionStatePB `protobuf:"bytes,7,opt,name=transaction_state,json=transactionState" json:"transaction_state,omitempty"` // If transaction_state.status is APPLYING, then partitions will contain the partition for the // tablet being polled. Partition *common.PartitionPB `protobuf:"bytes,9,opt,name=partition" json:"partition,omitempty"` // contains filtered or unexported fields }
func (*CDCRecordPB) Descriptor
deprecated
func (*CDCRecordPB) Descriptor() ([]byte, []int)
Deprecated: Use CDCRecordPB.ProtoReflect.Descriptor instead.
func (*CDCRecordPB) GetAfter ¶
func (x *CDCRecordPB) GetAfter() []*KeyValuePairPB
func (*CDCRecordPB) GetBefore ¶
func (x *CDCRecordPB) GetBefore() []*KeyValuePairPB
func (*CDCRecordPB) GetChanges ¶
func (x *CDCRecordPB) GetChanges() []*KeyValuePairPB
func (*CDCRecordPB) GetKey ¶
func (x *CDCRecordPB) GetKey() []*KeyValuePairPB
func (*CDCRecordPB) GetOperation ¶
func (x *CDCRecordPB) GetOperation() CDCRecordPB_OperationType
func (*CDCRecordPB) GetPartition ¶
func (x *CDCRecordPB) GetPartition() *common.PartitionPB
func (*CDCRecordPB) GetTime ¶
func (x *CDCRecordPB) GetTime() uint64
func (*CDCRecordPB) GetTransactionState ¶
func (x *CDCRecordPB) GetTransactionState() *tserver.TransactionStatePB
func (*CDCRecordPB) MarshalJSON ¶
func (m *CDCRecordPB) MarshalJSON() ([]byte, error)
func (*CDCRecordPB) ProtoMessage ¶
func (*CDCRecordPB) ProtoMessage()
func (*CDCRecordPB) ProtoReflect ¶
func (x *CDCRecordPB) ProtoReflect() protoreflect.Message
func (*CDCRecordPB) Reset ¶
func (x *CDCRecordPB) Reset()
func (*CDCRecordPB) String ¶
func (x *CDCRecordPB) String() string
func (*CDCRecordPB) UnmarshalJSON ¶
func (m *CDCRecordPB) UnmarshalJSON(b []byte) error
type CDCRecordPB_OperationType ¶
type CDCRecordPB_OperationType int32
const ( CDCRecordPB_WRITE CDCRecordPB_OperationType = 1 CDCRecordPB_DELETE CDCRecordPB_OperationType = 2 CDCRecordPB_APPLY CDCRecordPB_OperationType = 3 )
func (CDCRecordPB_OperationType) Descriptor ¶
func (CDCRecordPB_OperationType) Descriptor() protoreflect.EnumDescriptor
func (CDCRecordPB_OperationType) Enum ¶
func (x CDCRecordPB_OperationType) Enum() *CDCRecordPB_OperationType
func (CDCRecordPB_OperationType) EnumDescriptor
deprecated
func (CDCRecordPB_OperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CDCRecordPB_OperationType.Descriptor instead.
func (CDCRecordPB_OperationType) Number ¶
func (x CDCRecordPB_OperationType) Number() protoreflect.EnumNumber
func (CDCRecordPB_OperationType) String ¶
func (x CDCRecordPB_OperationType) String() string
func (CDCRecordPB_OperationType) Type ¶
func (CDCRecordPB_OperationType) Type() protoreflect.EnumType
func (*CDCRecordPB_OperationType) UnmarshalJSON
deprecated
func (x *CDCRecordPB_OperationType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CDCRecordType ¶
type CDCRecordType int32
const ( CDCRecordType_CHANGE CDCRecordType = 1 CDCRecordType_AFTER CDCRecordType = 2 CDCRecordType_ALL CDCRecordType = 3 )
func (CDCRecordType) Descriptor ¶
func (CDCRecordType) Descriptor() protoreflect.EnumDescriptor
func (CDCRecordType) Enum ¶
func (x CDCRecordType) Enum() *CDCRecordType
func (CDCRecordType) EnumDescriptor
deprecated
func (CDCRecordType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CDCRecordType.Descriptor instead.
func (CDCRecordType) Number ¶
func (x CDCRecordType) Number() protoreflect.EnumNumber
func (CDCRecordType) String ¶
func (x CDCRecordType) String() string
func (CDCRecordType) Type ¶
func (CDCRecordType) Type() protoreflect.EnumType
func (*CDCRecordType) UnmarshalJSON
deprecated
func (x *CDCRecordType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CDCService ¶
type CDCService interface { CreateCDCStream(request *CreateCDCStreamRequestPB) (*CreateCDCStreamResponsePB, error) DeleteCDCStream(request *DeleteCDCStreamRequestPB) (*DeleteCDCStreamResponsePB, error) ListTablets(request *ListTabletsRequestPB) (*ListTabletsResponsePB, error) GetChanges(request *GetChangesRequestPB) (*GetChangesResponsePB, error) GetCheckpoint(request *GetCheckpointRequestPB) (*GetCheckpointResponsePB, error) UpdateCdcReplicatedIndex(request *UpdateCdcReplicatedIndexRequestPB) (*UpdateCdcReplicatedIndexResponsePB, error) BootstrapProducer(request *BootstrapProducerRequestPB) (*BootstrapProducerResponsePB, error) GetLatestEntryOpId(request *GetLatestEntryOpIdRequestPB) (*GetLatestEntryOpIdResponsePB, error) }
service: yb.cdc.CDCService service: CDCService
type CDCServiceImpl ¶
func (*CDCServiceImpl) BootstrapProducer ¶
func (s *CDCServiceImpl) BootstrapProducer(request *BootstrapProducerRequestPB) (*BootstrapProducerResponsePB, error)
func (*CDCServiceImpl) CreateCDCStream ¶
func (s *CDCServiceImpl) CreateCDCStream(request *CreateCDCStreamRequestPB) (*CreateCDCStreamResponsePB, error)
func (*CDCServiceImpl) DeleteCDCStream ¶
func (s *CDCServiceImpl) DeleteCDCStream(request *DeleteCDCStreamRequestPB) (*DeleteCDCStreamResponsePB, error)
func (*CDCServiceImpl) GetChanges ¶
func (s *CDCServiceImpl) GetChanges(request *GetChangesRequestPB) (*GetChangesResponsePB, error)
func (*CDCServiceImpl) GetCheckpoint ¶
func (s *CDCServiceImpl) GetCheckpoint(request *GetCheckpointRequestPB) (*GetCheckpointResponsePB, error)
func (*CDCServiceImpl) GetLatestEntryOpId ¶
func (s *CDCServiceImpl) GetLatestEntryOpId(request *GetLatestEntryOpIdRequestPB) (*GetLatestEntryOpIdResponsePB, error)
func (*CDCServiceImpl) ListTablets ¶
func (s *CDCServiceImpl) ListTablets(request *ListTabletsRequestPB) (*ListTabletsResponsePB, error)
func (*CDCServiceImpl) UpdateCdcReplicatedIndex ¶
func (s *CDCServiceImpl) UpdateCdcReplicatedIndex(request *UpdateCdcReplicatedIndexRequestPB) (*UpdateCdcReplicatedIndexResponsePB, error)
type CDCTabletPB ¶
type CDCTabletPB struct { TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"` // Tservers holding data for the tablet. Tservers []*CDCTabletPB_ReplicaPB `protobuf:"bytes,2,rep,name=tservers" json:"tservers,omitempty"` // contains filtered or unexported fields }
func (*CDCTabletPB) Descriptor
deprecated
func (*CDCTabletPB) Descriptor() ([]byte, []int)
Deprecated: Use CDCTabletPB.ProtoReflect.Descriptor instead.
func (*CDCTabletPB) GetTabletId ¶
func (x *CDCTabletPB) GetTabletId() []byte
func (*CDCTabletPB) GetTservers ¶
func (x *CDCTabletPB) GetTservers() []*CDCTabletPB_ReplicaPB
func (*CDCTabletPB) MarshalJSON ¶
func (m *CDCTabletPB) MarshalJSON() ([]byte, error)
func (*CDCTabletPB) ProtoMessage ¶
func (*CDCTabletPB) ProtoMessage()
func (*CDCTabletPB) ProtoReflect ¶
func (x *CDCTabletPB) ProtoReflect() protoreflect.Message
func (*CDCTabletPB) Reset ¶
func (x *CDCTabletPB) Reset()
func (*CDCTabletPB) String ¶
func (x *CDCTabletPB) String() string
func (*CDCTabletPB) UnmarshalJSON ¶
func (m *CDCTabletPB) UnmarshalJSON(b []byte) error
type CDCTabletPB_ReplicaPB ¶
type CDCTabletPB_ReplicaPB struct { BroadcastAddresses []*common.HostPortPB `protobuf:"bytes,1,rep,name=broadcast_addresses,json=broadcastAddresses" json:"broadcast_addresses,omitempty"` // Don't use private_rpc_addresses since we're cross-universe // contains filtered or unexported fields }
func (*CDCTabletPB_ReplicaPB) Descriptor
deprecated
func (*CDCTabletPB_ReplicaPB) Descriptor() ([]byte, []int)
Deprecated: Use CDCTabletPB_ReplicaPB.ProtoReflect.Descriptor instead.
func (*CDCTabletPB_ReplicaPB) GetBroadcastAddresses ¶
func (x *CDCTabletPB_ReplicaPB) GetBroadcastAddresses() []*common.HostPortPB
func (*CDCTabletPB_ReplicaPB) ProtoMessage ¶
func (*CDCTabletPB_ReplicaPB) ProtoMessage()
func (*CDCTabletPB_ReplicaPB) ProtoReflect ¶
func (x *CDCTabletPB_ReplicaPB) ProtoReflect() protoreflect.Message
func (*CDCTabletPB_ReplicaPB) Reset ¶
func (x *CDCTabletPB_ReplicaPB) Reset()
func (*CDCTabletPB_ReplicaPB) String ¶
func (x *CDCTabletPB_ReplicaPB) String() string
type ConsumerRegistryPB ¶
type ConsumerRegistryPB struct { // Map from producer universe uuid to metadata for that producer. ProducerMap map[string]*ProducerEntryPB `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConsumerRegistryPB) Descriptor
deprecated
func (*ConsumerRegistryPB) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerRegistryPB.ProtoReflect.Descriptor instead.
func (*ConsumerRegistryPB) GetProducerMap ¶
func (x *ConsumerRegistryPB) GetProducerMap() map[string]*ProducerEntryPB
func (*ConsumerRegistryPB) MarshalJSON ¶
func (m *ConsumerRegistryPB) MarshalJSON() ([]byte, error)
func (*ConsumerRegistryPB) ProtoMessage ¶
func (*ConsumerRegistryPB) ProtoMessage()
func (*ConsumerRegistryPB) ProtoReflect ¶
func (x *ConsumerRegistryPB) ProtoReflect() protoreflect.Message
func (*ConsumerRegistryPB) Reset ¶
func (x *ConsumerRegistryPB) Reset()
func (*ConsumerRegistryPB) String ¶
func (x *ConsumerRegistryPB) String() string
func (*ConsumerRegistryPB) UnmarshalJSON ¶
func (m *ConsumerRegistryPB) UnmarshalJSON(b []byte) error
type CreateCDCStreamRequestPB ¶
type CreateCDCStreamRequestPB struct { // Table to set up CDC on. TableId *string `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"` RecordType *CDCRecordType `protobuf:"varint,2,opt,name=record_type,json=recordType,enum=yb.cdc.CDCRecordType,def=1" json:"record_type,omitempty"` RecordFormat *CDCRecordFormat `protobuf:"varint,3,opt,name=record_format,json=recordFormat,enum=yb.cdc.CDCRecordFormat,def=1" json:"record_format,omitempty"` // contains filtered or unexported fields }
func (*CreateCDCStreamRequestPB) Descriptor
deprecated
func (*CreateCDCStreamRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use CreateCDCStreamRequestPB.ProtoReflect.Descriptor instead.
func (*CreateCDCStreamRequestPB) GetRecordFormat ¶
func (x *CreateCDCStreamRequestPB) GetRecordFormat() CDCRecordFormat
func (*CreateCDCStreamRequestPB) GetRecordType ¶
func (x *CreateCDCStreamRequestPB) GetRecordType() CDCRecordType
func (*CreateCDCStreamRequestPB) GetTableId ¶
func (x *CreateCDCStreamRequestPB) GetTableId() string
func (*CreateCDCStreamRequestPB) MarshalJSON ¶
func (m *CreateCDCStreamRequestPB) MarshalJSON() ([]byte, error)
func (*CreateCDCStreamRequestPB) ProtoMessage ¶
func (*CreateCDCStreamRequestPB) ProtoMessage()
func (*CreateCDCStreamRequestPB) ProtoReflect ¶
func (x *CreateCDCStreamRequestPB) ProtoReflect() protoreflect.Message
func (*CreateCDCStreamRequestPB) Reset ¶
func (x *CreateCDCStreamRequestPB) Reset()
func (*CreateCDCStreamRequestPB) String ¶
func (x *CreateCDCStreamRequestPB) String() string
func (*CreateCDCStreamRequestPB) UnmarshalJSON ¶
func (m *CreateCDCStreamRequestPB) UnmarshalJSON(b []byte) error
type CreateCDCStreamResponsePB ¶
type CreateCDCStreamResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` StreamId []byte `protobuf:"bytes,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCDCStreamResponsePB) Descriptor
deprecated
func (*CreateCDCStreamResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use CreateCDCStreamResponsePB.ProtoReflect.Descriptor instead.
func (*CreateCDCStreamResponsePB) GetError ¶
func (x *CreateCDCStreamResponsePB) GetError() *CDCErrorPB
func (*CreateCDCStreamResponsePB) GetStreamId ¶
func (x *CreateCDCStreamResponsePB) GetStreamId() []byte
func (*CreateCDCStreamResponsePB) MarshalJSON ¶
func (m *CreateCDCStreamResponsePB) MarshalJSON() ([]byte, error)
func (*CreateCDCStreamResponsePB) ProtoMessage ¶
func (*CreateCDCStreamResponsePB) ProtoMessage()
func (*CreateCDCStreamResponsePB) ProtoReflect ¶
func (x *CreateCDCStreamResponsePB) ProtoReflect() protoreflect.Message
func (*CreateCDCStreamResponsePB) Reset ¶
func (x *CreateCDCStreamResponsePB) Reset()
func (*CreateCDCStreamResponsePB) String ¶
func (x *CreateCDCStreamResponsePB) String() string
func (*CreateCDCStreamResponsePB) UnmarshalJSON ¶
func (m *CreateCDCStreamResponsePB) UnmarshalJSON(b []byte) error
type DeleteCDCStreamRequestPB ¶
type DeleteCDCStreamRequestPB struct { StreamId [][]byte `protobuf:"bytes,1,rep,name=stream_id,json=streamId" json:"stream_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCDCStreamRequestPB) Descriptor
deprecated
func (*DeleteCDCStreamRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCDCStreamRequestPB.ProtoReflect.Descriptor instead.
func (*DeleteCDCStreamRequestPB) GetStreamId ¶
func (x *DeleteCDCStreamRequestPB) GetStreamId() [][]byte
func (*DeleteCDCStreamRequestPB) MarshalJSON ¶
func (m *DeleteCDCStreamRequestPB) MarshalJSON() ([]byte, error)
func (*DeleteCDCStreamRequestPB) ProtoMessage ¶
func (*DeleteCDCStreamRequestPB) ProtoMessage()
func (*DeleteCDCStreamRequestPB) ProtoReflect ¶
func (x *DeleteCDCStreamRequestPB) ProtoReflect() protoreflect.Message
func (*DeleteCDCStreamRequestPB) Reset ¶
func (x *DeleteCDCStreamRequestPB) Reset()
func (*DeleteCDCStreamRequestPB) String ¶
func (x *DeleteCDCStreamRequestPB) String() string
func (*DeleteCDCStreamRequestPB) UnmarshalJSON ¶
func (m *DeleteCDCStreamRequestPB) UnmarshalJSON(b []byte) error
type DeleteCDCStreamResponsePB ¶
type DeleteCDCStreamResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeleteCDCStreamResponsePB) Descriptor
deprecated
func (*DeleteCDCStreamResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCDCStreamResponsePB.ProtoReflect.Descriptor instead.
func (*DeleteCDCStreamResponsePB) GetError ¶
func (x *DeleteCDCStreamResponsePB) GetError() *CDCErrorPB
func (*DeleteCDCStreamResponsePB) MarshalJSON ¶
func (m *DeleteCDCStreamResponsePB) MarshalJSON() ([]byte, error)
func (*DeleteCDCStreamResponsePB) ProtoMessage ¶
func (*DeleteCDCStreamResponsePB) ProtoMessage()
func (*DeleteCDCStreamResponsePB) ProtoReflect ¶
func (x *DeleteCDCStreamResponsePB) ProtoReflect() protoreflect.Message
func (*DeleteCDCStreamResponsePB) Reset ¶
func (x *DeleteCDCStreamResponsePB) Reset()
func (*DeleteCDCStreamResponsePB) String ¶
func (x *DeleteCDCStreamResponsePB) String() string
func (*DeleteCDCStreamResponsePB) UnmarshalJSON ¶
func (m *DeleteCDCStreamResponsePB) UnmarshalJSON(b []byte) error
type GetChangesRequestPB ¶
type GetChangesRequestPB struct { StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` // Tablet to get the changes for. TabletId []byte `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"` // Checkpoint to start reading from (exclusive). // Start reading from the first record after this checkpoint. FromCheckpoint *CDCCheckpointPB `protobuf:"bytes,3,opt,name=from_checkpoint,json=fromCheckpoint" json:"from_checkpoint,omitempty"` // Maximum records to read. MaxRecords *uint32 `protobuf:"varint,4,opt,name=max_records,json=maxRecords" json:"max_records,omitempty"` // Whether the caller knows the tablet address or needs to use us as a proxy. ServeAsProxy *bool `protobuf:"varint,5,opt,name=serve_as_proxy,json=serveAsProxy,def=1" json:"serve_as_proxy,omitempty"` // contains filtered or unexported fields }
func (*GetChangesRequestPB) Descriptor
deprecated
func (*GetChangesRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use GetChangesRequestPB.ProtoReflect.Descriptor instead.
func (*GetChangesRequestPB) GetFromCheckpoint ¶
func (x *GetChangesRequestPB) GetFromCheckpoint() *CDCCheckpointPB
func (*GetChangesRequestPB) GetMaxRecords ¶
func (x *GetChangesRequestPB) GetMaxRecords() uint32
func (*GetChangesRequestPB) GetServeAsProxy ¶
func (x *GetChangesRequestPB) GetServeAsProxy() bool
func (*GetChangesRequestPB) GetStreamId ¶
func (x *GetChangesRequestPB) GetStreamId() []byte
func (*GetChangesRequestPB) GetTabletId ¶
func (x *GetChangesRequestPB) GetTabletId() []byte
func (*GetChangesRequestPB) MarshalJSON ¶
func (m *GetChangesRequestPB) MarshalJSON() ([]byte, error)
func (*GetChangesRequestPB) ProtoMessage ¶
func (*GetChangesRequestPB) ProtoMessage()
func (*GetChangesRequestPB) ProtoReflect ¶
func (x *GetChangesRequestPB) ProtoReflect() protoreflect.Message
func (*GetChangesRequestPB) Reset ¶
func (x *GetChangesRequestPB) Reset()
func (*GetChangesRequestPB) String ¶
func (x *GetChangesRequestPB) String() string
func (*GetChangesRequestPB) UnmarshalJSON ¶
func (m *GetChangesRequestPB) UnmarshalJSON(b []byte) error
type GetChangesResponsePB ¶
type GetChangesResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` RecordType *CDCRecordType `protobuf:"varint,2,opt,name=record_type,json=recordType,enum=yb.cdc.CDCRecordType,def=1" json:"record_type,omitempty"` RecordFormat *CDCRecordFormat `protobuf:"varint,3,opt,name=record_format,json=recordFormat,enum=yb.cdc.CDCRecordFormat" json:"record_format,omitempty"` Records []*CDCRecordPB `protobuf:"bytes,4,rep,name=records" json:"records,omitempty"` // Checkpoint that consumers can send back in GetChanges RPC // to mark CDC records until this checkpoint as committed. Checkpoint *CDCCheckpointPB `protobuf:"bytes,5,opt,name=checkpoint" json:"checkpoint,omitempty"` // In case the tablet is no longer hosted on this tserver, provide the list of tservers holding // data for the tablet. Tserver []*common.HostPortPB `protobuf:"bytes,6,rep,name=tserver" json:"tserver,omitempty"` // contains filtered or unexported fields }
func (*GetChangesResponsePB) Descriptor
deprecated
func (*GetChangesResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use GetChangesResponsePB.ProtoReflect.Descriptor instead.
func (*GetChangesResponsePB) GetCheckpoint ¶
func (x *GetChangesResponsePB) GetCheckpoint() *CDCCheckpointPB
func (*GetChangesResponsePB) GetError ¶
func (x *GetChangesResponsePB) GetError() *CDCErrorPB
func (*GetChangesResponsePB) GetRecordFormat ¶
func (x *GetChangesResponsePB) GetRecordFormat() CDCRecordFormat
func (*GetChangesResponsePB) GetRecordType ¶
func (x *GetChangesResponsePB) GetRecordType() CDCRecordType
func (*GetChangesResponsePB) GetRecords ¶
func (x *GetChangesResponsePB) GetRecords() []*CDCRecordPB
func (*GetChangesResponsePB) GetTserver ¶
func (x *GetChangesResponsePB) GetTserver() []*common.HostPortPB
func (*GetChangesResponsePB) MarshalJSON ¶
func (m *GetChangesResponsePB) MarshalJSON() ([]byte, error)
func (*GetChangesResponsePB) ProtoMessage ¶
func (*GetChangesResponsePB) ProtoMessage()
func (*GetChangesResponsePB) ProtoReflect ¶
func (x *GetChangesResponsePB) ProtoReflect() protoreflect.Message
func (*GetChangesResponsePB) Reset ¶
func (x *GetChangesResponsePB) Reset()
func (*GetChangesResponsePB) String ¶
func (x *GetChangesResponsePB) String() string
func (*GetChangesResponsePB) UnmarshalJSON ¶
func (m *GetChangesResponsePB) UnmarshalJSON(b []byte) error
type GetCheckpointRequestPB ¶
type GetCheckpointRequestPB struct { StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` TabletId []byte `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"` // contains filtered or unexported fields }
func (*GetCheckpointRequestPB) Descriptor
deprecated
func (*GetCheckpointRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use GetCheckpointRequestPB.ProtoReflect.Descriptor instead.
func (*GetCheckpointRequestPB) GetStreamId ¶
func (x *GetCheckpointRequestPB) GetStreamId() []byte
func (*GetCheckpointRequestPB) GetTabletId ¶
func (x *GetCheckpointRequestPB) GetTabletId() []byte
func (*GetCheckpointRequestPB) MarshalJSON ¶
func (m *GetCheckpointRequestPB) MarshalJSON() ([]byte, error)
func (*GetCheckpointRequestPB) ProtoMessage ¶
func (*GetCheckpointRequestPB) ProtoMessage()
func (*GetCheckpointRequestPB) ProtoReflect ¶
func (x *GetCheckpointRequestPB) ProtoReflect() protoreflect.Message
func (*GetCheckpointRequestPB) Reset ¶
func (x *GetCheckpointRequestPB) Reset()
func (*GetCheckpointRequestPB) String ¶
func (x *GetCheckpointRequestPB) String() string
func (*GetCheckpointRequestPB) UnmarshalJSON ¶
func (m *GetCheckpointRequestPB) UnmarshalJSON(b []byte) error
type GetCheckpointResponsePB ¶
type GetCheckpointResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Checkpoint *CDCCheckpointPB `protobuf:"bytes,2,opt,name=checkpoint" json:"checkpoint,omitempty"` // contains filtered or unexported fields }
func (*GetCheckpointResponsePB) Descriptor
deprecated
func (*GetCheckpointResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use GetCheckpointResponsePB.ProtoReflect.Descriptor instead.
func (*GetCheckpointResponsePB) GetCheckpoint ¶
func (x *GetCheckpointResponsePB) GetCheckpoint() *CDCCheckpointPB
func (*GetCheckpointResponsePB) GetError ¶
func (x *GetCheckpointResponsePB) GetError() *CDCErrorPB
func (*GetCheckpointResponsePB) MarshalJSON ¶
func (m *GetCheckpointResponsePB) MarshalJSON() ([]byte, error)
func (*GetCheckpointResponsePB) ProtoMessage ¶
func (*GetCheckpointResponsePB) ProtoMessage()
func (*GetCheckpointResponsePB) ProtoReflect ¶
func (x *GetCheckpointResponsePB) ProtoReflect() protoreflect.Message
func (*GetCheckpointResponsePB) Reset ¶
func (x *GetCheckpointResponsePB) Reset()
func (*GetCheckpointResponsePB) String ¶
func (x *GetCheckpointResponsePB) String() string
func (*GetCheckpointResponsePB) UnmarshalJSON ¶
func (m *GetCheckpointResponsePB) UnmarshalJSON(b []byte) error
type GetLatestEntryOpIdRequestPB ¶
type GetLatestEntryOpIdRequestPB struct { TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"` // contains filtered or unexported fields }
func (*GetLatestEntryOpIdRequestPB) Descriptor
deprecated
func (*GetLatestEntryOpIdRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestEntryOpIdRequestPB.ProtoReflect.Descriptor instead.
func (*GetLatestEntryOpIdRequestPB) GetTabletId ¶
func (x *GetLatestEntryOpIdRequestPB) GetTabletId() []byte
func (*GetLatestEntryOpIdRequestPB) MarshalJSON ¶
func (m *GetLatestEntryOpIdRequestPB) MarshalJSON() ([]byte, error)
func (*GetLatestEntryOpIdRequestPB) ProtoMessage ¶
func (*GetLatestEntryOpIdRequestPB) ProtoMessage()
func (*GetLatestEntryOpIdRequestPB) ProtoReflect ¶
func (x *GetLatestEntryOpIdRequestPB) ProtoReflect() protoreflect.Message
func (*GetLatestEntryOpIdRequestPB) Reset ¶
func (x *GetLatestEntryOpIdRequestPB) Reset()
func (*GetLatestEntryOpIdRequestPB) String ¶
func (x *GetLatestEntryOpIdRequestPB) String() string
func (*GetLatestEntryOpIdRequestPB) UnmarshalJSON ¶
func (m *GetLatestEntryOpIdRequestPB) UnmarshalJSON(b []byte) error
type GetLatestEntryOpIdResponsePB ¶
type GetLatestEntryOpIdResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` OpId *util.OpIdPB `protobuf:"bytes,2,opt,name=op_id,json=opId" json:"op_id,omitempty"` // contains filtered or unexported fields }
func (*GetLatestEntryOpIdResponsePB) Descriptor
deprecated
func (*GetLatestEntryOpIdResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestEntryOpIdResponsePB.ProtoReflect.Descriptor instead.
func (*GetLatestEntryOpIdResponsePB) GetError ¶
func (x *GetLatestEntryOpIdResponsePB) GetError() *CDCErrorPB
func (*GetLatestEntryOpIdResponsePB) GetOpId ¶
func (x *GetLatestEntryOpIdResponsePB) GetOpId() *util.OpIdPB
func (*GetLatestEntryOpIdResponsePB) MarshalJSON ¶
func (m *GetLatestEntryOpIdResponsePB) MarshalJSON() ([]byte, error)
func (*GetLatestEntryOpIdResponsePB) ProtoMessage ¶
func (*GetLatestEntryOpIdResponsePB) ProtoMessage()
func (*GetLatestEntryOpIdResponsePB) ProtoReflect ¶
func (x *GetLatestEntryOpIdResponsePB) ProtoReflect() protoreflect.Message
func (*GetLatestEntryOpIdResponsePB) Reset ¶
func (x *GetLatestEntryOpIdResponsePB) Reset()
func (*GetLatestEntryOpIdResponsePB) String ¶
func (x *GetLatestEntryOpIdResponsePB) String() string
func (*GetLatestEntryOpIdResponsePB) UnmarshalJSON ¶
func (m *GetLatestEntryOpIdResponsePB) UnmarshalJSON(b []byte) error
type KeyValuePairPB ¶
type KeyValuePairPB struct { Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value *common.QLValuePB `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValuePairPB) Descriptor
deprecated
func (*KeyValuePairPB) Descriptor() ([]byte, []int)
Deprecated: Use KeyValuePairPB.ProtoReflect.Descriptor instead.
func (*KeyValuePairPB) GetKey ¶
func (x *KeyValuePairPB) GetKey() []byte
func (*KeyValuePairPB) GetValue ¶
func (x *KeyValuePairPB) GetValue() *common.QLValuePB
func (*KeyValuePairPB) MarshalJSON ¶
func (m *KeyValuePairPB) MarshalJSON() ([]byte, error)
func (*KeyValuePairPB) ProtoMessage ¶
func (*KeyValuePairPB) ProtoMessage()
func (*KeyValuePairPB) ProtoReflect ¶
func (x *KeyValuePairPB) ProtoReflect() protoreflect.Message
func (*KeyValuePairPB) Reset ¶
func (x *KeyValuePairPB) Reset()
func (*KeyValuePairPB) String ¶
func (x *KeyValuePairPB) String() string
func (*KeyValuePairPB) UnmarshalJSON ¶
func (m *KeyValuePairPB) UnmarshalJSON(b []byte) error
type ListTabletsRequestPB ¶
type ListTabletsRequestPB struct { StreamId *string `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` // local_only = true will only list tablets local to the tserver that receives the request. // local_only = false will list all tablets for the stream. LocalOnly *bool `protobuf:"varint,2,opt,name=local_only,json=localOnly,def=0" json:"local_only,omitempty"` // contains filtered or unexported fields }
func (*ListTabletsRequestPB) Descriptor
deprecated
func (*ListTabletsRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use ListTabletsRequestPB.ProtoReflect.Descriptor instead.
func (*ListTabletsRequestPB) GetLocalOnly ¶
func (x *ListTabletsRequestPB) GetLocalOnly() bool
func (*ListTabletsRequestPB) GetStreamId ¶
func (x *ListTabletsRequestPB) GetStreamId() string
func (*ListTabletsRequestPB) MarshalJSON ¶
func (m *ListTabletsRequestPB) MarshalJSON() ([]byte, error)
func (*ListTabletsRequestPB) ProtoMessage ¶
func (*ListTabletsRequestPB) ProtoMessage()
func (*ListTabletsRequestPB) ProtoReflect ¶
func (x *ListTabletsRequestPB) ProtoReflect() protoreflect.Message
func (*ListTabletsRequestPB) Reset ¶
func (x *ListTabletsRequestPB) Reset()
func (*ListTabletsRequestPB) String ¶
func (x *ListTabletsRequestPB) String() string
func (*ListTabletsRequestPB) UnmarshalJSON ¶
func (m *ListTabletsRequestPB) UnmarshalJSON(b []byte) error
type ListTabletsResponsePB ¶
type ListTabletsResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` Tablets []*CDCTabletPB `protobuf:"bytes,2,rep,name=tablets" json:"tablets,omitempty"` // contains filtered or unexported fields }
func (*ListTabletsResponsePB) Descriptor
deprecated
func (*ListTabletsResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use ListTabletsResponsePB.ProtoReflect.Descriptor instead.
func (*ListTabletsResponsePB) GetError ¶
func (x *ListTabletsResponsePB) GetError() *CDCErrorPB
func (*ListTabletsResponsePB) GetTablets ¶
func (x *ListTabletsResponsePB) GetTablets() []*CDCTabletPB
func (*ListTabletsResponsePB) MarshalJSON ¶
func (m *ListTabletsResponsePB) MarshalJSON() ([]byte, error)
func (*ListTabletsResponsePB) ProtoMessage ¶
func (*ListTabletsResponsePB) ProtoMessage()
func (*ListTabletsResponsePB) ProtoReflect ¶
func (x *ListTabletsResponsePB) ProtoReflect() protoreflect.Message
func (*ListTabletsResponsePB) Reset ¶
func (x *ListTabletsResponsePB) Reset()
func (*ListTabletsResponsePB) String ¶
func (x *ListTabletsResponsePB) String() string
func (*ListTabletsResponsePB) UnmarshalJSON ¶
func (m *ListTabletsResponsePB) UnmarshalJSON(b []byte) error
type ProducerEntryPB ¶
type ProducerEntryPB struct { // Map from stream id to metadata for that stream. StreamMap map[string]*StreamEntryPB `` /* 176-byte string literal not displayed */ MasterAddrs []*common.HostPortPB `protobuf:"bytes,2,rep,name=master_addrs,json=masterAddrs,proto3" json:"master_addrs,omitempty"` TserverAddrs []*common.HostPortPB `protobuf:"bytes,3,rep,name=tserver_addrs,json=tserverAddrs,proto3" json:"tserver_addrs,omitempty"` DisableStream bool `protobuf:"varint,4,opt,name=disable_stream,json=disableStream,proto3" json:"disable_stream,omitempty"` // [default = false] implicit in proto3 // contains filtered or unexported fields }
func (*ProducerEntryPB) Descriptor
deprecated
func (*ProducerEntryPB) Descriptor() ([]byte, []int)
Deprecated: Use ProducerEntryPB.ProtoReflect.Descriptor instead.
func (*ProducerEntryPB) GetDisableStream ¶
func (x *ProducerEntryPB) GetDisableStream() bool
func (*ProducerEntryPB) GetMasterAddrs ¶
func (x *ProducerEntryPB) GetMasterAddrs() []*common.HostPortPB
func (*ProducerEntryPB) GetStreamMap ¶
func (x *ProducerEntryPB) GetStreamMap() map[string]*StreamEntryPB
func (*ProducerEntryPB) GetTserverAddrs ¶
func (x *ProducerEntryPB) GetTserverAddrs() []*common.HostPortPB
func (*ProducerEntryPB) MarshalJSON ¶
func (m *ProducerEntryPB) MarshalJSON() ([]byte, error)
func (*ProducerEntryPB) ProtoMessage ¶
func (*ProducerEntryPB) ProtoMessage()
func (*ProducerEntryPB) ProtoReflect ¶
func (x *ProducerEntryPB) ProtoReflect() protoreflect.Message
func (*ProducerEntryPB) Reset ¶
func (x *ProducerEntryPB) Reset()
func (*ProducerEntryPB) String ¶
func (x *ProducerEntryPB) String() string
func (*ProducerEntryPB) UnmarshalJSON ¶
func (m *ProducerEntryPB) UnmarshalJSON(b []byte) error
type ProducerTabletListPB ¶
type ProducerTabletListPB struct { // List of tablet ids for a given producer table. Tablets []string `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"` // contains filtered or unexported fields }
func (*ProducerTabletListPB) Descriptor
deprecated
func (*ProducerTabletListPB) Descriptor() ([]byte, []int)
Deprecated: Use ProducerTabletListPB.ProtoReflect.Descriptor instead.
func (*ProducerTabletListPB) GetTablets ¶
func (x *ProducerTabletListPB) GetTablets() []string
func (*ProducerTabletListPB) MarshalJSON ¶
func (m *ProducerTabletListPB) MarshalJSON() ([]byte, error)
func (*ProducerTabletListPB) ProtoMessage ¶
func (*ProducerTabletListPB) ProtoMessage()
func (*ProducerTabletListPB) ProtoReflect ¶
func (x *ProducerTabletListPB) ProtoReflect() protoreflect.Message
func (*ProducerTabletListPB) Reset ¶
func (x *ProducerTabletListPB) Reset()
func (*ProducerTabletListPB) String ¶
func (x *ProducerTabletListPB) String() string
func (*ProducerTabletListPB) UnmarshalJSON ¶
func (m *ProducerTabletListPB) UnmarshalJSON(b []byte) error
type StreamEntryPB ¶
type StreamEntryPB struct { // Map from consumer to producer tablet id. ConsumerProducerTabletMap map[string]*ProducerTabletListPB `` /* 228-byte string literal not displayed */ ConsumerTableId string `protobuf:"bytes,2,opt,name=consumer_table_id,json=consumerTableId,proto3" json:"consumer_table_id,omitempty"` ProducerTableId string `protobuf:"bytes,3,opt,name=producer_table_id,json=producerTableId,proto3" json:"producer_table_id,omitempty"` SameNumProducerConsumerTablets bool `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StreamEntryPB) Descriptor
deprecated
func (*StreamEntryPB) Descriptor() ([]byte, []int)
Deprecated: Use StreamEntryPB.ProtoReflect.Descriptor instead.
func (*StreamEntryPB) GetConsumerProducerTabletMap ¶
func (x *StreamEntryPB) GetConsumerProducerTabletMap() map[string]*ProducerTabletListPB
func (*StreamEntryPB) GetConsumerTableId ¶
func (x *StreamEntryPB) GetConsumerTableId() string
func (*StreamEntryPB) GetProducerTableId ¶
func (x *StreamEntryPB) GetProducerTableId() string
func (*StreamEntryPB) GetSameNumProducerConsumerTablets ¶
func (x *StreamEntryPB) GetSameNumProducerConsumerTablets() bool
func (*StreamEntryPB) MarshalJSON ¶
func (m *StreamEntryPB) MarshalJSON() ([]byte, error)
func (*StreamEntryPB) ProtoMessage ¶
func (*StreamEntryPB) ProtoMessage()
func (*StreamEntryPB) ProtoReflect ¶
func (x *StreamEntryPB) ProtoReflect() protoreflect.Message
func (*StreamEntryPB) Reset ¶
func (x *StreamEntryPB) Reset()
func (*StreamEntryPB) String ¶
func (x *StreamEntryPB) String() string
func (*StreamEntryPB) UnmarshalJSON ¶
func (m *StreamEntryPB) UnmarshalJSON(b []byte) error
type UpdateCdcReplicatedIndexRequestPB ¶
type UpdateCdcReplicatedIndexRequestPB struct { // Tablet being updated. TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"` // Minimum replicated index across all the streams for this tablet. ReplicatedIndex *int64 `protobuf:"varint,2,opt,name=replicated_index,json=replicatedIndex" json:"replicated_index,omitempty"` // contains filtered or unexported fields }
func (*UpdateCdcReplicatedIndexRequestPB) Descriptor
deprecated
func (*UpdateCdcReplicatedIndexRequestPB) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCdcReplicatedIndexRequestPB.ProtoReflect.Descriptor instead.
func (*UpdateCdcReplicatedIndexRequestPB) GetReplicatedIndex ¶
func (x *UpdateCdcReplicatedIndexRequestPB) GetReplicatedIndex() int64
func (*UpdateCdcReplicatedIndexRequestPB) GetTabletId ¶
func (x *UpdateCdcReplicatedIndexRequestPB) GetTabletId() []byte
func (*UpdateCdcReplicatedIndexRequestPB) MarshalJSON ¶
func (m *UpdateCdcReplicatedIndexRequestPB) MarshalJSON() ([]byte, error)
func (*UpdateCdcReplicatedIndexRequestPB) ProtoMessage ¶
func (*UpdateCdcReplicatedIndexRequestPB) ProtoMessage()
func (*UpdateCdcReplicatedIndexRequestPB) ProtoReflect ¶
func (x *UpdateCdcReplicatedIndexRequestPB) ProtoReflect() protoreflect.Message
func (*UpdateCdcReplicatedIndexRequestPB) Reset ¶
func (x *UpdateCdcReplicatedIndexRequestPB) Reset()
func (*UpdateCdcReplicatedIndexRequestPB) String ¶
func (x *UpdateCdcReplicatedIndexRequestPB) String() string
func (*UpdateCdcReplicatedIndexRequestPB) UnmarshalJSON ¶
func (m *UpdateCdcReplicatedIndexRequestPB) UnmarshalJSON(b []byte) error
type UpdateCdcReplicatedIndexResponsePB ¶
type UpdateCdcReplicatedIndexResponsePB struct { Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UpdateCdcReplicatedIndexResponsePB) Descriptor
deprecated
func (*UpdateCdcReplicatedIndexResponsePB) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCdcReplicatedIndexResponsePB.ProtoReflect.Descriptor instead.
func (*UpdateCdcReplicatedIndexResponsePB) GetError ¶
func (x *UpdateCdcReplicatedIndexResponsePB) GetError() *CDCErrorPB
func (*UpdateCdcReplicatedIndexResponsePB) MarshalJSON ¶
func (m *UpdateCdcReplicatedIndexResponsePB) MarshalJSON() ([]byte, error)
func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage ¶
func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage()
func (*UpdateCdcReplicatedIndexResponsePB) ProtoReflect ¶
func (x *UpdateCdcReplicatedIndexResponsePB) ProtoReflect() protoreflect.Message
func (*UpdateCdcReplicatedIndexResponsePB) Reset ¶
func (x *UpdateCdcReplicatedIndexResponsePB) Reset()
func (*UpdateCdcReplicatedIndexResponsePB) String ¶
func (x *UpdateCdcReplicatedIndexResponsePB) String() string
func (*UpdateCdcReplicatedIndexResponsePB) UnmarshalJSON ¶
func (m *UpdateCdcReplicatedIndexResponsePB) UnmarshalJSON(b []byte) error