Documentation ¶
Overview ¶
Package test_data is a generated protocol buffer package.
It is generated from these files:
test-data.proto
It has these top-level messages:
TestDataBatchCase TestDataBatch TestData
Index ¶
- type TestData
- type TestDataBatch
- func (*TestDataBatch) Descriptor() ([]byte, []int)
- func (m *TestDataBatch) GetBatchNum() int64
- func (m *TestDataBatch) GetCase() []*TestDataBatchCase
- func (m *TestDataBatch) GetPointsWorth() int64
- func (*TestDataBatch) ProtoMessage()
- func (m *TestDataBatch) Reset()
- func (m *TestDataBatch) String() string
- type TestDataBatchCase
- func (*TestDataBatchCase) Descriptor() ([]byte, []int)
- func (m *TestDataBatchCase) GetBatchNum() int64
- func (m *TestDataBatchCase) GetCaseNum() int64
- func (m *TestDataBatchCase) GetExpectedOutput() string
- func (m *TestDataBatchCase) GetInput() string
- func (*TestDataBatchCase) ProtoMessage()
- func (m *TestDataBatchCase) Reset()
- func (m *TestDataBatchCase) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestData ¶
type TestData struct {
Batch []*TestDataBatch `protobuf:"bytes,1,rep,name=batch" json:"batch,omitempty"`
}
func (*TestData) Descriptor ¶
func (*TestData) GetBatch ¶
func (m *TestData) GetBatch() []*TestDataBatch
func (*TestData) ProtoMessage ¶
func (*TestData) ProtoMessage()
type TestDataBatch ¶
type TestDataBatch struct { Case []*TestDataBatchCase `protobuf:"bytes,1,rep,name=case" json:"case,omitempty"` BatchNum int64 `protobuf:"varint,2,opt,name=batchNum" json:"batchNum,omitempty"` PointsWorth int64 `protobuf:"varint,3,opt,name=pointsWorth" json:"pointsWorth,omitempty"` }
func (*TestDataBatch) Descriptor ¶
func (*TestDataBatch) Descriptor() ([]byte, []int)
func (*TestDataBatch) GetBatchNum ¶
func (m *TestDataBatch) GetBatchNum() int64
func (*TestDataBatch) GetCase ¶
func (m *TestDataBatch) GetCase() []*TestDataBatchCase
func (*TestDataBatch) GetPointsWorth ¶
func (m *TestDataBatch) GetPointsWorth() int64
func (*TestDataBatch) ProtoMessage ¶
func (*TestDataBatch) ProtoMessage()
func (*TestDataBatch) Reset ¶
func (m *TestDataBatch) Reset()
func (*TestDataBatch) String ¶
func (m *TestDataBatch) String() string
type TestDataBatchCase ¶
type TestDataBatchCase struct { Input string `protobuf:"bytes,1,opt,name=input" json:"input,omitempty"` ExpectedOutput string `protobuf:"bytes,2,opt,name=expectedOutput" json:"expectedOutput,omitempty"` BatchNum int64 `protobuf:"varint,3,opt,name=batchNum" json:"batchNum,omitempty"` CaseNum int64 `protobuf:"varint,4,opt,name=caseNum" json:"caseNum,omitempty"` }
func (*TestDataBatchCase) Descriptor ¶
func (*TestDataBatchCase) Descriptor() ([]byte, []int)
func (*TestDataBatchCase) GetBatchNum ¶
func (m *TestDataBatchCase) GetBatchNum() int64
func (*TestDataBatchCase) GetCaseNum ¶
func (m *TestDataBatchCase) GetCaseNum() int64
func (*TestDataBatchCase) GetExpectedOutput ¶
func (m *TestDataBatchCase) GetExpectedOutput() string
func (*TestDataBatchCase) GetInput ¶
func (m *TestDataBatchCase) GetInput() string
func (*TestDataBatchCase) ProtoMessage ¶
func (*TestDataBatchCase) ProtoMessage()
func (*TestDataBatchCase) Reset ¶
func (m *TestDataBatchCase) Reset()
func (*TestDataBatchCase) String ¶
func (m *TestDataBatchCase) String() string
Click to show internal directories.
Click to hide internal directories.