cdc

package
v0.0.0-...-c201ef6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_CreateCDCStreamRequestPB_RecordType   = CDCRecordType_CHANGE
	Default_CreateCDCStreamRequestPB_RecordFormat = CDCRecordFormat_JSON
)

Default values for CreateCDCStreamRequestPB fields.

View Source
const (
	Default_CDCErrorPB_Code = CDCErrorPB_UNKNOWN_ERROR
)

Default values for CDCErrorPB fields.

View Source
const (
	Default_GetChangesRequestPB_ServeAsProxy = bool(true)
)

Default values for GetChangesRequestPB fields.

View Source
const (
	Default_GetChangesResponsePB_RecordType = CDCRecordType_CHANGE
)

Default values for GetChangesResponsePB fields.

View Source
const (
	Default_ListTabletsRequestPB_LocalOnly = bool(false)
)

Default values for ListTabletsRequestPB fields.

Variables

View Source
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.

View Source
var (
	CDCRecordFormat_name = map[int32]string{
		1: "JSON",
		2: "WAL",
	}
	CDCRecordFormat_value = map[string]int32{
		"JSON": 1,
		"WAL":  2,
	}
)

Enum value maps for CDCRecordFormat.

View Source
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.

View Source
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.

View Source
var File_yb_cdc_cdc_consumer_proto protoreflect.FileDescriptor
View Source
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 (*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 (*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) 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 (CDCErrorPB_Code) String

func (x CDCErrorPB_Code) String() string

func (CDCErrorPB_Code) Type

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) Enum

func (x CDCRecordFormat) Enum() *CDCRecordFormat

func (CDCRecordFormat) EnumDescriptor deprecated

func (CDCRecordFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordFormat.Descriptor instead.

func (CDCRecordFormat) Number

func (CDCRecordFormat) String

func (x CDCRecordFormat) String() string

func (CDCRecordFormat) Type

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) Enum

func (CDCRecordPB_OperationType) EnumDescriptor deprecated

func (CDCRecordPB_OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordPB_OperationType.Descriptor instead.

func (CDCRecordPB_OperationType) Number

func (CDCRecordPB_OperationType) String

func (x CDCRecordPB_OperationType) String() string

func (CDCRecordPB_OperationType) Type

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) Enum

func (x CDCRecordType) Enum() *CDCRecordType

func (CDCRecordType) EnumDescriptor deprecated

func (CDCRecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordType.Descriptor instead.

func (CDCRecordType) Number

func (CDCRecordType) String

func (x CDCRecordType) String() string

func (CDCRecordType) Type

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

type CDCServiceImpl struct {
	Log       logr.Logger
	Messenger message.Messenger
}

func (*CDCServiceImpl) BootstrapProducer

func (*CDCServiceImpl) CreateCDCStream

func (*CDCServiceImpl) DeleteCDCStream

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 (*CDCServiceImpl) ListTablets

func (s *CDCServiceImpl) ListTablets(request *ListTabletsRequestPB) (*ListTabletsResponsePB, error)

func (*CDCServiceImpl) UpdateCdcReplicatedIndex

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 (*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 (*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 (*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 (*GetLatestEntryOpIdResponsePB) GetOpId

func (*GetLatestEntryOpIdResponsePB) MarshalJSON

func (m *GetLatestEntryOpIdResponsePB) MarshalJSON() ([]byte, error)

func (*GetLatestEntryOpIdResponsePB) ProtoMessage

func (*GetLatestEntryOpIdResponsePB) ProtoMessage()

func (*GetLatestEntryOpIdResponsePB) ProtoReflect

func (*GetLatestEntryOpIdResponsePB) Reset

func (x *GetLatestEntryOpIdResponsePB) Reset()

func (*GetLatestEntryOpIdResponsePB) 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 (*UpdateCdcReplicatedIndexRequestPB) Reset

func (*UpdateCdcReplicatedIndexRequestPB) 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 (*UpdateCdcReplicatedIndexResponsePB) MarshalJSON

func (m *UpdateCdcReplicatedIndexResponsePB) MarshalJSON() ([]byte, error)

func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage

func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage()

func (*UpdateCdcReplicatedIndexResponsePB) ProtoReflect

func (*UpdateCdcReplicatedIndexResponsePB) Reset

func (*UpdateCdcReplicatedIndexResponsePB) String

func (*UpdateCdcReplicatedIndexResponsePB) UnmarshalJSON

func (m *UpdateCdcReplicatedIndexResponsePB) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL