Documentation ¶
Overview ¶
Package test is a generated protocol buffer package.
It is generated from these files:
test_schema.proto test_schema_xxx.proto
It has these top-level messages:
TestSchema OtherTestSchemaXXX TestSchemaXXX
Index ¶
- Variables
- type OtherTestSchemaXXX
- type TestSchema
- func (*TestSchema) Descriptor() ([]byte, []int)
- func (m *TestSchema) GetDeps() map[string]string
- func (m *TestSchema) GetFqName() string
- func (m *TestSchema) GetUid() string
- func (m *TestSchema) Marshal() (dAtA []byte, err error)
- func (m *TestSchema) MarshalTo(dAtA []byte) (int, error)
- func (*TestSchema) ProtoMessage()
- func (m *TestSchema) Reset()
- func (m *TestSchema) Size() (n int)
- func (m *TestSchema) String() string
- func (m *TestSchema) Unmarshal(dAtA []byte) error
- type TestSchemaXXX
- func (*TestSchemaXXX) Descriptor() ([]byte, []int)
- func (m *TestSchemaXXX) GetDeps() map[string]*TestSchemaXXX_NestedEntry
- func (m *TestSchemaXXX) GetDurStd() []*time.Duration
- func (m *TestSchemaXXX) GetFQNames() []string
- func (m *TestSchemaXXX) GetIds() map[int32]string
- func (m *TestSchemaXXX) GetNss() []TestSchemaXXX_NestedEntry
- func (m *TestSchemaXXX) GetOts() *OtherTestSchemaXXX
- func (m *TestSchemaXXX) GetSchemaUID() string
- func (m *TestSchemaXXX) GetTSStd() time.Time
- func (m *TestSchemaXXX) GetTs() google_protobuf.Timestamp
- func (m *TestSchemaXXX) GetWeathers() []TestSchemaXXX_WeatherType
- func (*TestSchemaXXX) ProtoMessage()
- func (m *TestSchemaXXX) Reset()
- func (m *TestSchemaXXX) String() string
- type TestSchemaXXX_NestedEntry
- func (*TestSchemaXXX_NestedEntry) Descriptor() ([]byte, []int)
- func (m *TestSchemaXXX_NestedEntry) GetKey() string
- func (m *TestSchemaXXX_NestedEntry) GetValue() string
- func (*TestSchemaXXX_NestedEntry) ProtoMessage()
- func (m *TestSchemaXXX_NestedEntry) Reset()
- func (m *TestSchemaXXX_NestedEntry) String() string
- type TestSchemaXXX_WeatherType
- type TestSchema_GhostType
- func (*TestSchema_GhostType) Descriptor() ([]byte, []int)
- func (m *TestSchema_GhostType) GetStuff() string
- func (m *TestSchema_GhostType) GetThings() uint32
- func (m *TestSchema_GhostType) Marshal() (dAtA []byte, err error)
- func (m *TestSchema_GhostType) MarshalTo(dAtA []byte) (int, error)
- func (*TestSchema_GhostType) ProtoMessage()
- func (m *TestSchema_GhostType) Reset()
- func (m *TestSchema_GhostType) Size() (n int)
- func (m *TestSchema_GhostType) String() string
- func (m *TestSchema_GhostType) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTestSchema = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTestSchema = fmt.Errorf("proto: integer overflow") )
View Source
var FileDescriptorTestSchema = []byte{}/* 228 elements not displayed */
View Source
var FileDescriptorTestSchemaXxx = []byte{}/* 578 elements not displayed */
View Source
var TestSchemaXXX_WeatherType_name = map[int32]string{
0: "SUN",
1: "CLOUD",
2: "RAIN",
3: "SNOW",
}
View Source
var TestSchemaXXX_WeatherType_value = map[string]int32{
"SUN": 0,
"CLOUD": 1,
"RAIN": 2,
"SNOW": 3,
}
Functions ¶
This section is empty.
Types ¶
type OtherTestSchemaXXX ¶
type OtherTestSchemaXXX struct {
Ts *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=ts" json:"ts,omitempty"`
}
func (*OtherTestSchemaXXX) Descriptor ¶
func (*OtherTestSchemaXXX) Descriptor() ([]byte, []int)
func (*OtherTestSchemaXXX) GetTs ¶
func (m *OtherTestSchemaXXX) GetTs() *google_protobuf.Timestamp
func (*OtherTestSchemaXXX) ProtoMessage ¶
func (*OtherTestSchemaXXX) ProtoMessage()
func (*OtherTestSchemaXXX) Reset ¶
func (m *OtherTestSchemaXXX) Reset()
func (*OtherTestSchemaXXX) String ¶
func (m *OtherTestSchemaXXX) String() string
type TestSchema ¶
type TestSchema struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` FqName string `protobuf:"bytes,2,opt,name=fq_name,json=fqName,proto3" json:"fq_name,omitempty"` Deps map[string]string `` /* 142-byte string literal not displayed */ }
func (*TestSchema) Descriptor ¶
func (*TestSchema) Descriptor() ([]byte, []int)
func (*TestSchema) GetDeps ¶
func (m *TestSchema) GetDeps() map[string]string
func (*TestSchema) GetFqName ¶
func (m *TestSchema) GetFqName() string
func (*TestSchema) GetUid ¶
func (m *TestSchema) GetUid() string
func (*TestSchema) Marshal ¶
func (m *TestSchema) Marshal() (dAtA []byte, err error)
func (*TestSchema) ProtoMessage ¶
func (*TestSchema) ProtoMessage()
func (*TestSchema) Reset ¶
func (m *TestSchema) Reset()
func (*TestSchema) Size ¶
func (m *TestSchema) Size() (n int)
func (*TestSchema) String ¶
func (m *TestSchema) String() string
func (*TestSchema) Unmarshal ¶
func (m *TestSchema) Unmarshal(dAtA []byte) error
type TestSchemaXXX ¶
type TestSchemaXXX struct { SchemaUID string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` FQNames []string `protobuf:"bytes,2,rep,name=fq_name,json=fqName" json:"fq_name,omitempty"` Deps map[string]*TestSchemaXXX_NestedEntry `` /* 135-byte string literal not displayed */ Ids map[int32]string `` /* 142-byte string literal not displayed */ Ts google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=ts" json:"ts"` Ots *OtherTestSchemaXXX `protobuf:"bytes,9,opt,name=ots" json:"ots,omitempty"` Nss []TestSchemaXXX_NestedEntry `protobuf:"bytes,8,rep,name=nss" json:"nss"` Weathers []TestSchemaXXX_WeatherType `protobuf:"varint,13,rep,packed,name=weathers,enum=test.TestSchemaXXX_WeatherType" json:"weathers,omitempty"` TSStd time.Time `protobuf:"bytes,100,opt,name=ts_std,json=tsStd,stdtime" json:"ts_std"` DurStd []*time.Duration `protobuf:"bytes,101,rep,name=dur_std,json=durStd,stdduration" json:"dur_std,omitempty"` }
func (*TestSchemaXXX) Descriptor ¶
func (*TestSchemaXXX) Descriptor() ([]byte, []int)
func (*TestSchemaXXX) GetDeps ¶
func (m *TestSchemaXXX) GetDeps() map[string]*TestSchemaXXX_NestedEntry
func (*TestSchemaXXX) GetDurStd ¶ added in v1.3.0
func (m *TestSchemaXXX) GetDurStd() []*time.Duration
func (*TestSchemaXXX) GetFQNames ¶
func (m *TestSchemaXXX) GetFQNames() []string
func (*TestSchemaXXX) GetIds ¶
func (m *TestSchemaXXX) GetIds() map[int32]string
func (*TestSchemaXXX) GetNss ¶
func (m *TestSchemaXXX) GetNss() []TestSchemaXXX_NestedEntry
func (*TestSchemaXXX) GetOts ¶
func (m *TestSchemaXXX) GetOts() *OtherTestSchemaXXX
func (*TestSchemaXXX) GetSchemaUID ¶
func (m *TestSchemaXXX) GetSchemaUID() string
func (*TestSchemaXXX) GetTSStd ¶ added in v1.3.0
func (m *TestSchemaXXX) GetTSStd() time.Time
func (*TestSchemaXXX) GetTs ¶
func (m *TestSchemaXXX) GetTs() google_protobuf.Timestamp
func (*TestSchemaXXX) GetWeathers ¶ added in v1.2.0
func (m *TestSchemaXXX) GetWeathers() []TestSchemaXXX_WeatherType
func (*TestSchemaXXX) ProtoMessage ¶
func (*TestSchemaXXX) ProtoMessage()
func (*TestSchemaXXX) Reset ¶
func (m *TestSchemaXXX) Reset()
func (*TestSchemaXXX) String ¶
func (m *TestSchemaXXX) String() string
type TestSchemaXXX_NestedEntry ¶
type TestSchemaXXX_NestedEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*TestSchemaXXX_NestedEntry) Descriptor ¶
func (*TestSchemaXXX_NestedEntry) Descriptor() ([]byte, []int)
func (*TestSchemaXXX_NestedEntry) GetKey ¶
func (m *TestSchemaXXX_NestedEntry) GetKey() string
func (*TestSchemaXXX_NestedEntry) GetValue ¶
func (m *TestSchemaXXX_NestedEntry) GetValue() string
func (*TestSchemaXXX_NestedEntry) ProtoMessage ¶
func (*TestSchemaXXX_NestedEntry) ProtoMessage()
func (*TestSchemaXXX_NestedEntry) Reset ¶
func (m *TestSchemaXXX_NestedEntry) Reset()
func (*TestSchemaXXX_NestedEntry) String ¶
func (m *TestSchemaXXX_NestedEntry) String() string
type TestSchemaXXX_WeatherType ¶
type TestSchemaXXX_WeatherType int32
const ( TestSchemaXXX_SUN TestSchemaXXX_WeatherType = 0 TestSchemaXXX_CLOUD TestSchemaXXX_WeatherType = 1 TestSchemaXXX_RAIN TestSchemaXXX_WeatherType = 2 TestSchemaXXX_SNOW TestSchemaXXX_WeatherType = 3 )
func (TestSchemaXXX_WeatherType) EnumDescriptor ¶
func (TestSchemaXXX_WeatherType) EnumDescriptor() ([]byte, []int)
func (TestSchemaXXX_WeatherType) String ¶
func (x TestSchemaXXX_WeatherType) String() string
type TestSchema_GhostType ¶ added in v1.14.0
type TestSchema_GhostType struct { Stuff string `protobuf:"bytes,1,opt,name=stuff,proto3" json:"stuff,omitempty"` Things uint32 `protobuf:"varint,2,opt,name=things,proto3" json:"things,omitempty"` }
func (*TestSchema_GhostType) Descriptor ¶ added in v1.14.0
func (*TestSchema_GhostType) Descriptor() ([]byte, []int)
func (*TestSchema_GhostType) GetStuff ¶ added in v1.14.0
func (m *TestSchema_GhostType) GetStuff() string
func (*TestSchema_GhostType) GetThings ¶ added in v1.14.0
func (m *TestSchema_GhostType) GetThings() uint32
func (*TestSchema_GhostType) Marshal ¶ added in v1.14.0
func (m *TestSchema_GhostType) Marshal() (dAtA []byte, err error)
func (*TestSchema_GhostType) MarshalTo ¶ added in v1.14.0
func (m *TestSchema_GhostType) MarshalTo(dAtA []byte) (int, error)
func (*TestSchema_GhostType) ProtoMessage ¶ added in v1.14.0
func (*TestSchema_GhostType) ProtoMessage()
func (*TestSchema_GhostType) Reset ¶ added in v1.14.0
func (m *TestSchema_GhostType) Reset()
func (*TestSchema_GhostType) Size ¶ added in v1.14.0
func (m *TestSchema_GhostType) Size() (n int)
func (*TestSchema_GhostType) String ¶ added in v1.14.0
func (m *TestSchema_GhostType) String() string
func (*TestSchema_GhostType) Unmarshal ¶ added in v1.14.0
func (m *TestSchema_GhostType) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.