luci: go.chromium.org/luci/skylark/skylarkproto/testprotos Index | Files

package testprotos

import "go.chromium.org/luci/skylark/skylarkproto/testprotos"

Index

Package Files

another.pb.go gen.go proto2.pb.go test.pb.go

Variables

var Complex_InnerEnum_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "ENUM_VAL_1",
}
var Complex_InnerEnum_value = map[string]int32{
    "UNKNOWN":    0,
    "ENUM_VAL_1": 1,
}
var Enum_name = map[int32]string{
    0:  "ENUM_DEFAULT",
    1:  "ENUM_VAL_1",
}
var Enum_value = map[string]int32{
    "ENUM_DEFAULT": 0,
    "ENUM_VAL_1":   1,
}

type AnotherMessage Uses

type AnotherMessage struct {
    I                    int64    `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*AnotherMessage) Descriptor Uses

func (*AnotherMessage) Descriptor() ([]byte, []int)

func (*AnotherMessage) GetI Uses

func (m *AnotherMessage) GetI() int64

func (*AnotherMessage) ProtoMessage Uses

func (*AnotherMessage) ProtoMessage()

func (*AnotherMessage) Reset Uses

func (m *AnotherMessage) Reset()

func (*AnotherMessage) String Uses

func (m *AnotherMessage) String() string

func (*AnotherMessage) XXX_DiscardUnknown Uses

func (m *AnotherMessage) XXX_DiscardUnknown()

func (*AnotherMessage) XXX_Marshal Uses

func (m *AnotherMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnotherMessage) XXX_Merge Uses

func (m *AnotherMessage) XXX_Merge(src proto.Message)

func (*AnotherMessage) XXX_Size Uses

func (m *AnotherMessage) XXX_Size() int

func (*AnotherMessage) XXX_Unmarshal Uses

func (m *AnotherMessage) XXX_Unmarshal(b []byte) error

type Complex Uses

type Complex struct {
    I64       int64                   `protobuf:"varint,1,opt,name=i64,proto3" json:"i64,omitempty"`
    I64Rep    []int64                 `protobuf:"varint,2,rep,packed,name=i64_rep,json=i64Rep,proto3" json:"i64_rep,omitempty"`
    EnumVal   Complex_InnerEnum       `protobuf:"varint,3,opt,name=enum_val,json=enumVal,proto3,enum=testprotos.Complex_InnerEnum" json:"enum_val,omitempty"`
    MsgVal    *Complex_InnerMessage   `protobuf:"bytes,4,opt,name=msg_val,json=msgVal,proto3" json:"msg_val,omitempty"`
    MsgValRep []*Complex_InnerMessage `protobuf:"bytes,5,rep,name=msg_val_rep,json=msgValRep,proto3" json:"msg_val_rep,omitempty"`
    // Types that are valid to be assigned to OneofVal:
    //	*Complex_Simple
    //	*Complex_InnerMsg
    OneofVal             isComplex_OneofVal `protobuf_oneof:"oneof_val"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

func (*Complex) Descriptor Uses

func (*Complex) Descriptor() ([]byte, []int)

func (*Complex) GetEnumVal Uses

func (m *Complex) GetEnumVal() Complex_InnerEnum

func (*Complex) GetI64 Uses

func (m *Complex) GetI64() int64

func (*Complex) GetI64Rep Uses

func (m *Complex) GetI64Rep() []int64

func (*Complex) GetInnerMsg Uses

func (m *Complex) GetInnerMsg() *Complex_InnerMessage

func (*Complex) GetMsgVal Uses

func (m *Complex) GetMsgVal() *Complex_InnerMessage

func (*Complex) GetMsgValRep Uses

func (m *Complex) GetMsgValRep() []*Complex_InnerMessage

func (*Complex) GetOneofVal Uses

func (m *Complex) GetOneofVal() isComplex_OneofVal

func (*Complex) GetSimple Uses

func (m *Complex) GetSimple() *Simple

func (*Complex) ProtoMessage Uses

func (*Complex) ProtoMessage()

func (*Complex) Reset Uses

func (m *Complex) Reset()

func (*Complex) String Uses

func (m *Complex) String() string

func (*Complex) XXX_DiscardUnknown Uses

func (m *Complex) XXX_DiscardUnknown()

func (*Complex) XXX_Marshal Uses

func (m *Complex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Complex) XXX_Merge Uses

func (m *Complex) XXX_Merge(src proto.Message)

func (*Complex) XXX_OneofFuncs Uses

func (*Complex) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Complex) XXX_Size Uses

func (m *Complex) XXX_Size() int

func (*Complex) XXX_Unmarshal Uses

func (m *Complex) XXX_Unmarshal(b []byte) error

type Complex_InnerEnum Uses

type Complex_InnerEnum int32
const (
    Complex_UNKNOWN    Complex_InnerEnum = 0
    Complex_ENUM_VAL_1 Complex_InnerEnum = 1
)

func (Complex_InnerEnum) EnumDescriptor Uses

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

func (Complex_InnerEnum) String Uses

func (x Complex_InnerEnum) String() string

type Complex_InnerMessage Uses

type Complex_InnerMessage struct {
    I                    int64    `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Complex_InnerMessage) Descriptor Uses

func (*Complex_InnerMessage) Descriptor() ([]byte, []int)

func (*Complex_InnerMessage) GetI Uses

func (m *Complex_InnerMessage) GetI() int64

func (*Complex_InnerMessage) ProtoMessage Uses

func (*Complex_InnerMessage) ProtoMessage()

func (*Complex_InnerMessage) Reset Uses

func (m *Complex_InnerMessage) Reset()

func (*Complex_InnerMessage) String Uses

func (m *Complex_InnerMessage) String() string

func (*Complex_InnerMessage) XXX_DiscardUnknown Uses

func (m *Complex_InnerMessage) XXX_DiscardUnknown()

func (*Complex_InnerMessage) XXX_Marshal Uses

func (m *Complex_InnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Complex_InnerMessage) XXX_Merge Uses

func (m *Complex_InnerMessage) XXX_Merge(src proto.Message)

func (*Complex_InnerMessage) XXX_Size Uses

func (m *Complex_InnerMessage) XXX_Size() int

func (*Complex_InnerMessage) XXX_Unmarshal Uses

func (m *Complex_InnerMessage) XXX_Unmarshal(b []byte) error

type Complex_InnerMsg Uses

type Complex_InnerMsg struct {
    InnerMsg *Complex_InnerMessage `protobuf:"bytes,7,opt,name=inner_msg,json=innerMsg,proto3,oneof"`
}

type Complex_Simple Uses

type Complex_Simple struct {
    Simple *Simple `protobuf:"bytes,6,opt,name=simple,proto3,oneof"`
}

type Enum Uses

type Enum int32
const (
    Enum_ENUM_DEFAULT Enum = 0
    Enum_ENUM_VAL_1   Enum = 1
)

func (Enum) EnumDescriptor Uses

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

func (Enum) String Uses

func (x Enum) String() string

type MessageFields Uses

type MessageFields struct {
    Single               *Simple   `protobuf:"bytes,1,opt,name=single,proto3" json:"single,omitempty"`
    Rep                  []*Simple `protobuf:"bytes,2,rep,name=rep,proto3" json:"rep,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

func (*MessageFields) Descriptor Uses

func (*MessageFields) Descriptor() ([]byte, []int)

func (*MessageFields) GetRep Uses

func (m *MessageFields) GetRep() []*Simple

func (*MessageFields) GetSingle Uses

func (m *MessageFields) GetSingle() *Simple

func (*MessageFields) ProtoMessage Uses

func (*MessageFields) ProtoMessage()

func (*MessageFields) Reset Uses

func (m *MessageFields) Reset()

func (*MessageFields) String Uses

func (m *MessageFields) String() string

func (*MessageFields) XXX_DiscardUnknown Uses

func (m *MessageFields) XXX_DiscardUnknown()

func (*MessageFields) XXX_Marshal Uses

func (m *MessageFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageFields) XXX_Merge Uses

func (m *MessageFields) XXX_Merge(src proto.Message)

func (*MessageFields) XXX_Size Uses

func (m *MessageFields) XXX_Size() int

func (*MessageFields) XXX_Unmarshal Uses

func (m *MessageFields) XXX_Unmarshal(b []byte) error

type Proto2Message Uses

type Proto2Message struct {
    I                    *int64   `protobuf:"varint,1,opt,name=i" json:"i,omitempty"`
    RepI                 []int64  `protobuf:"varint,2,rep,name=rep_i,json=repI" json:"rep_i,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Proto2Message) Descriptor Uses

func (*Proto2Message) Descriptor() ([]byte, []int)

func (*Proto2Message) GetI Uses

func (m *Proto2Message) GetI() int64

func (*Proto2Message) GetRepI Uses

func (m *Proto2Message) GetRepI() []int64

func (*Proto2Message) ProtoMessage Uses

func (*Proto2Message) ProtoMessage()

func (*Proto2Message) Reset Uses

func (m *Proto2Message) Reset()

func (*Proto2Message) String Uses

func (m *Proto2Message) String() string

func (*Proto2Message) XXX_DiscardUnknown Uses

func (m *Proto2Message) XXX_DiscardUnknown()

func (*Proto2Message) XXX_Marshal Uses

func (m *Proto2Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proto2Message) XXX_Merge Uses

func (m *Proto2Message) XXX_Merge(src proto.Message)

func (*Proto2Message) XXX_Size Uses

func (m *Proto2Message) XXX_Size() int

func (*Proto2Message) XXX_Unmarshal Uses

func (m *Proto2Message) XXX_Unmarshal(b []byte) error

type RefsOtherProtos Uses

type RefsOtherProtos struct {
    AnotherMsg           *AnotherMessage      `protobuf:"bytes,1,opt,name=another_msg,json=anotherMsg,proto3" json:"another_msg,omitempty"`
    Ts                   *timestamp.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

func (*RefsOtherProtos) Descriptor Uses

func (*RefsOtherProtos) Descriptor() ([]byte, []int)

func (*RefsOtherProtos) GetAnotherMsg Uses

func (m *RefsOtherProtos) GetAnotherMsg() *AnotherMessage

func (*RefsOtherProtos) GetTs Uses

func (m *RefsOtherProtos) GetTs() *timestamp.Timestamp

func (*RefsOtherProtos) ProtoMessage Uses

func (*RefsOtherProtos) ProtoMessage()

func (*RefsOtherProtos) Reset Uses

func (m *RefsOtherProtos) Reset()

func (*RefsOtherProtos) String Uses

func (m *RefsOtherProtos) String() string

func (*RefsOtherProtos) XXX_DiscardUnknown Uses

func (m *RefsOtherProtos) XXX_DiscardUnknown()

func (*RefsOtherProtos) XXX_Marshal Uses

func (m *RefsOtherProtos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefsOtherProtos) XXX_Merge Uses

func (m *RefsOtherProtos) XXX_Merge(src proto.Message)

func (*RefsOtherProtos) XXX_Size Uses

func (m *RefsOtherProtos) XXX_Size() int

func (*RefsOtherProtos) XXX_Unmarshal Uses

func (m *RefsOtherProtos) XXX_Unmarshal(b []byte) error

type Simple Uses

type Simple struct {
    I                    int64    `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
    ManyI                []int64  `protobuf:"varint,2,rep,packed,name=many_i,json=manyI,proto3" json:"many_i,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Simple) Descriptor Uses

func (*Simple) Descriptor() ([]byte, []int)

func (*Simple) GetI Uses

func (m *Simple) GetI() int64

func (*Simple) GetManyI Uses

func (m *Simple) GetManyI() []int64

func (*Simple) ProtoMessage Uses

func (*Simple) ProtoMessage()

func (*Simple) Reset Uses

func (m *Simple) Reset()

func (*Simple) String Uses

func (m *Simple) String() string

func (*Simple) XXX_DiscardUnknown Uses

func (m *Simple) XXX_DiscardUnknown()

func (*Simple) XXX_Marshal Uses

func (m *Simple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Simple) XXX_Merge Uses

func (m *Simple) XXX_Merge(src proto.Message)

func (*Simple) XXX_Size Uses

func (m *Simple) XXX_Size() int

func (*Simple) XXX_Unmarshal Uses

func (m *Simple) XXX_Unmarshal(b []byte) error

type SimpleFields Uses

type SimpleFields struct {
    I64                  int64    `protobuf:"varint,1,opt,name=i64,proto3" json:"i64,omitempty"`
    I64Rep               []int64  `protobuf:"varint,2,rep,packed,name=i64_rep,json=i64Rep,proto3" json:"i64_rep,omitempty"`
    I32                  int32    `protobuf:"varint,3,opt,name=i32,proto3" json:"i32,omitempty"`
    Ui64                 uint64   `protobuf:"varint,4,opt,name=ui64,proto3" json:"ui64,omitempty"`
    Ui32                 uint32   `protobuf:"varint,5,opt,name=ui32,proto3" json:"ui32,omitempty"`
    B                    bool     `protobuf:"varint,6,opt,name=b,proto3" json:"b,omitempty"`
    F32                  float32  `protobuf:"fixed32,7,opt,name=f32,proto3" json:"f32,omitempty"`
    F64                  float64  `protobuf:"fixed64,8,opt,name=f64,proto3" json:"f64,omitempty"`
    S                    string   `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
    Bs                   []byte   `protobuf:"bytes,10,opt,name=bs,proto3" json:"bs,omitempty"`
    BsRep                [][]byte `protobuf:"bytes,11,rep,name=bs_rep,json=bsRep,proto3" json:"bs_rep,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*SimpleFields) Descriptor Uses

func (*SimpleFields) Descriptor() ([]byte, []int)

func (*SimpleFields) GetB Uses

func (m *SimpleFields) GetB() bool

func (*SimpleFields) GetBs Uses

func (m *SimpleFields) GetBs() []byte

func (*SimpleFields) GetBsRep Uses

func (m *SimpleFields) GetBsRep() [][]byte

func (*SimpleFields) GetF32 Uses

func (m *SimpleFields) GetF32() float32

func (*SimpleFields) GetF64 Uses

func (m *SimpleFields) GetF64() float64

func (*SimpleFields) GetI32 Uses

func (m *SimpleFields) GetI32() int32

func (*SimpleFields) GetI64 Uses

func (m *SimpleFields) GetI64() int64

func (*SimpleFields) GetI64Rep Uses

func (m *SimpleFields) GetI64Rep() []int64

func (*SimpleFields) GetS Uses

func (m *SimpleFields) GetS() string

func (*SimpleFields) GetUi32 Uses

func (m *SimpleFields) GetUi32() uint32

func (*SimpleFields) GetUi64 Uses

func (m *SimpleFields) GetUi64() uint64

func (*SimpleFields) ProtoMessage Uses

func (*SimpleFields) ProtoMessage()

func (*SimpleFields) Reset Uses

func (m *SimpleFields) Reset()

func (*SimpleFields) String Uses

func (m *SimpleFields) String() string

func (*SimpleFields) XXX_DiscardUnknown Uses

func (m *SimpleFields) XXX_DiscardUnknown()

func (*SimpleFields) XXX_Marshal Uses

func (m *SimpleFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleFields) XXX_Merge Uses

func (m *SimpleFields) XXX_Merge(src proto.Message)

func (*SimpleFields) XXX_Size Uses

func (m *SimpleFields) XXX_Size() int

func (*SimpleFields) XXX_Unmarshal Uses

func (m *SimpleFields) XXX_Unmarshal(b []byte) error

Package testprotos imports 4 packages (graph). Updated 2018-10-19. Refresh now. Tools for package owners.