luci: go.chromium.org/luci/common/proto/internal/testingpb Index | Files

package testingpb

import "go.chromium.org/luci/common/proto/internal/testingpb"

Index

Package Files

generate.go testing.pb.go

type Full Uses

type Full struct {
    Num                  int32            `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
    Nums                 []int32          `protobuf:"varint,2,rep,packed,name=nums,proto3" json:"nums,omitempty"`
    Str                  string           `protobuf:"bytes,3,opt,name=str,proto3" json:"str,omitempty"`
    Strs                 []string         `protobuf:"bytes,4,rep,name=strs,proto3" json:"strs,omitempty"`
    Msg                  *Full            `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
    Msgs                 []*Full          `protobuf:"bytes,6,rep,name=msgs,proto3" json:"msgs,omitempty"`
    MapStrNum            map[string]int32 `protobuf:"bytes,7,rep,name=map_str_num,json=mapStrNum,proto3" json:"map_str_num,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    MapNumStr            map[int32]string `protobuf:"bytes,8,rep,name=map_num_str,json=mapNumStr,proto3" json:"map_num_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    MapBoolStr           map[bool]string  `protobuf:"bytes,9,rep,name=map_bool_str,json=mapBoolStr,proto3" json:"map_bool_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    MapStrMsg            map[string]*Full `protobuf:"bytes,10,rep,name=map_str_msg,json=mapStrMsg,proto3" json:"map_str_msg,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    JsonName             string           `protobuf:"bytes,11,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"`
    JsonNameOption       string           `protobuf:"bytes,12,opt,name=json_name_option,json=another_json_name,proto3" json:"json_name_option,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

func (*Full) Descriptor Uses

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

func (*Full) GetJsonName Uses

func (m *Full) GetJsonName() string

func (*Full) GetJsonNameOption Uses

func (m *Full) GetJsonNameOption() string

func (*Full) GetMapBoolStr Uses

func (m *Full) GetMapBoolStr() map[bool]string

func (*Full) GetMapNumStr Uses

func (m *Full) GetMapNumStr() map[int32]string

func (*Full) GetMapStrMsg Uses

func (m *Full) GetMapStrMsg() map[string]*Full

func (*Full) GetMapStrNum Uses

func (m *Full) GetMapStrNum() map[string]int32

func (*Full) GetMsg Uses

func (m *Full) GetMsg() *Full

func (*Full) GetMsgs Uses

func (m *Full) GetMsgs() []*Full

func (*Full) GetNum Uses

func (m *Full) GetNum() int32

func (*Full) GetNums Uses

func (m *Full) GetNums() []int32

func (*Full) GetStr Uses

func (m *Full) GetStr() string

func (*Full) GetStrs Uses

func (m *Full) GetStrs() []string

func (*Full) ProtoMessage Uses

func (*Full) ProtoMessage()

func (*Full) Reset Uses

func (m *Full) Reset()

func (*Full) String Uses

func (m *Full) String() string

func (*Full) XXX_DiscardUnknown Uses

func (m *Full) XXX_DiscardUnknown()

func (*Full) XXX_Marshal Uses

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

func (*Full) XXX_Merge Uses

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

func (*Full) XXX_Size Uses

func (m *Full) XXX_Size() int

func (*Full) XXX_Unmarshal Uses

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

type Props Uses

type Props struct {
    Properties           *_struct.Struct       `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"`
    Fields               *field_mask.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*Props) Descriptor Uses

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

func (*Props) GetFields Uses

func (m *Props) GetFields() *field_mask.FieldMask

func (*Props) GetProperties Uses

func (m *Props) GetProperties() *_struct.Struct

func (*Props) ProtoMessage Uses

func (*Props) ProtoMessage()

func (*Props) Reset Uses

func (m *Props) Reset()

func (*Props) String Uses

func (m *Props) String() string

func (*Props) XXX_DiscardUnknown Uses

func (m *Props) XXX_DiscardUnknown()

func (*Props) XXX_Marshal Uses

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

func (*Props) XXX_Merge Uses

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

func (*Props) XXX_Size Uses

func (m *Props) XXX_Size() int

func (*Props) XXX_Unmarshal Uses

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

type Simple Uses

type Simple struct {
    Id                   int64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
    Some                 *Some                 `protobuf:"bytes,2,opt,name=some,proto3" json:"some,omitempty"`
    Fields               *field_mask.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*Simple) Descriptor Uses

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

func (*Simple) GetFields Uses

func (m *Simple) GetFields() *field_mask.FieldMask

func (*Simple) GetId Uses

func (m *Simple) GetId() int64

func (*Simple) GetSome Uses

func (m *Simple) GetSome() *Some

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 Some Uses

type Some 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 (*Some) Descriptor Uses

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

func (*Some) GetI Uses

func (m *Some) GetI() int64

func (*Some) ProtoMessage Uses

func (*Some) ProtoMessage()

func (*Some) Reset Uses

func (m *Some) Reset()

func (*Some) String Uses

func (m *Some) String() string

func (*Some) XXX_DiscardUnknown Uses

func (m *Some) XXX_DiscardUnknown()

func (*Some) XXX_Marshal Uses

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

func (*Some) XXX_Merge Uses

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

func (*Some) XXX_Size Uses

func (m *Some) XXX_Size() int

func (*Some) XXX_Unmarshal Uses

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

type WithInner Uses

type WithInner struct {
    Msgs                 []*WithInner_Inner `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

func (*WithInner) Descriptor Uses

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

func (*WithInner) GetMsgs Uses

func (m *WithInner) GetMsgs() []*WithInner_Inner

func (*WithInner) ProtoMessage Uses

func (*WithInner) ProtoMessage()

func (*WithInner) Reset Uses

func (m *WithInner) Reset()

func (*WithInner) String Uses

func (m *WithInner) String() string

func (*WithInner) XXX_DiscardUnknown Uses

func (m *WithInner) XXX_DiscardUnknown()

func (*WithInner) XXX_Marshal Uses

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

func (*WithInner) XXX_Merge Uses

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

func (*WithInner) XXX_Size Uses

func (m *WithInner) XXX_Size() int

func (*WithInner) XXX_Unmarshal Uses

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

type WithInner_Inner Uses

type WithInner_Inner struct {
    // Types that are valid to be assigned to Msg:
    //	*WithInner_Inner_Simple
    //	*WithInner_Inner_Props
    Msg                  isWithInner_Inner_Msg `protobuf_oneof:"msg"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*WithInner_Inner) Descriptor Uses

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

func (*WithInner_Inner) GetMsg Uses

func (m *WithInner_Inner) GetMsg() isWithInner_Inner_Msg

func (*WithInner_Inner) GetProps Uses

func (m *WithInner_Inner) GetProps() *Props

func (*WithInner_Inner) GetSimple Uses

func (m *WithInner_Inner) GetSimple() *Simple

func (*WithInner_Inner) ProtoMessage Uses

func (*WithInner_Inner) ProtoMessage()

func (*WithInner_Inner) Reset Uses

func (m *WithInner_Inner) Reset()

func (*WithInner_Inner) String Uses

func (m *WithInner_Inner) String() string

func (*WithInner_Inner) XXX_DiscardUnknown Uses

func (m *WithInner_Inner) XXX_DiscardUnknown()

func (*WithInner_Inner) XXX_Marshal Uses

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

func (*WithInner_Inner) XXX_Merge Uses

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

func (*WithInner_Inner) XXX_OneofWrappers Uses

func (*WithInner_Inner) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*WithInner_Inner) XXX_Size Uses

func (m *WithInner_Inner) XXX_Size() int

func (*WithInner_Inner) XXX_Unmarshal Uses

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

type WithInner_Inner_Props Uses

type WithInner_Inner_Props struct {
    Props *Props `protobuf:"bytes,2,opt,name=props,proto3,oneof"`
}

type WithInner_Inner_Simple Uses

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

Package testingpb imports 5 packages (graph). Updated 2020-05-28. Refresh now. Tools for package owners.