Documentation ¶
Overview ¶
Package testing is a generated protocol buffer package.
It is generated from these files:
pkg/jsonpb/testing/testing.proto
It has these top-level messages:
Foo
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Status_name = map[int32]string{
0: "STATUS_NONE",
1: "STATUS_INIT",
2: "STATUS_OK",
3: "STATUS_OFFLINE",
4: "STATUS_ERROR",
}
View Source
var Status_value = map[string]int32{
"STATUS_NONE": 0,
"STATUS_INIT": 1,
"STATUS_OK": 2,
"STATUS_OFFLINE": 3,
"STATUS_ERROR": 4,
}
Functions ¶
This section is empty.
Types ¶
type Foo ¶
type Foo struct { Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,enum=testing.Status" json:"status,omitempty"` }
func (*Foo) Descriptor ¶
func (*Foo) GetTimestamp ¶
func (m *Foo) GetTimestamp() *google_protobuf.Timestamp
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
type Status ¶
type Status int32
func StatusSimpleValueOf ¶
StatusSimpleValueOf returns the string format of Status
func (Status) EnumDescriptor ¶
func (Status) SimpleString ¶
SimpleString returns the string format of Status
Click to show internal directories.
Click to hide internal directories.