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

Variables

var File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto protoreflect.FileDescriptor

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"`
    // contains filtered or unexported fields
}

func (*Full) Descriptor Uses

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

Deprecated: Use Full.ProtoReflect.Descriptor instead.

func (*Full) GetJsonName Uses

func (x *Full) GetJsonName() string

func (*Full) GetJsonNameOption Uses

func (x *Full) GetJsonNameOption() string

func (*Full) GetMapBoolStr Uses

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

func (*Full) GetMapNumStr Uses

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

func (*Full) GetMapStrMsg Uses

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

func (*Full) GetMapStrNum Uses

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

func (*Full) GetMsg Uses

func (x *Full) GetMsg() *Full

func (*Full) GetMsgs Uses

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

func (*Full) GetNum Uses

func (x *Full) GetNum() int32

func (*Full) GetNums Uses

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

func (*Full) GetStr Uses

func (x *Full) GetStr() string

func (*Full) GetStrs Uses

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

func (*Full) ProtoMessage Uses

func (*Full) ProtoMessage()

func (*Full) ProtoReflect Uses

func (x *Full) ProtoReflect() protoreflect.Message

func (*Full) Reset Uses

func (x *Full) Reset()

func (*Full) String Uses

func (x *Full) String() string

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"`
    // contains filtered or unexported fields
}

func (*Props) Descriptor Uses

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

Deprecated: Use Props.ProtoReflect.Descriptor instead.

func (*Props) GetFields Uses

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

func (*Props) GetProperties Uses

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

func (*Props) ProtoMessage Uses

func (*Props) ProtoMessage()

func (*Props) ProtoReflect Uses

func (x *Props) ProtoReflect() protoreflect.Message

func (*Props) Reset Uses

func (x *Props) Reset()

func (*Props) String Uses

func (x *Props) String() string

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"`
    // contains filtered or unexported fields
}

func (*Simple) Descriptor Uses

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetFields Uses

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

func (*Simple) GetId Uses

func (x *Simple) GetId() int64

func (*Simple) GetSome Uses

func (x *Simple) GetSome() *Some

func (*Simple) ProtoMessage Uses

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect Uses

func (x *Simple) ProtoReflect() protoreflect.Message

func (*Simple) Reset Uses

func (x *Simple) Reset()

func (*Simple) String Uses

func (x *Simple) String() string

type Some Uses

type Some struct {
    I int64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
    // contains filtered or unexported fields
}

func (*Some) Descriptor Uses

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

Deprecated: Use Some.ProtoReflect.Descriptor instead.

func (*Some) GetI Uses

func (x *Some) GetI() int64

func (*Some) ProtoMessage Uses

func (*Some) ProtoMessage()

func (*Some) ProtoReflect Uses

func (x *Some) ProtoReflect() protoreflect.Message

func (*Some) Reset Uses

func (x *Some) Reset()

func (*Some) String Uses

func (x *Some) String() string

type WithInner Uses

type WithInner struct {
    Msgs []*WithInner_Inner `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"`
    // contains filtered or unexported fields
}

func (*WithInner) Descriptor Uses

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

Deprecated: Use WithInner.ProtoReflect.Descriptor instead.

func (*WithInner) GetMsgs Uses

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

func (*WithInner) ProtoMessage Uses

func (*WithInner) ProtoMessage()

func (*WithInner) ProtoReflect Uses

func (x *WithInner) ProtoReflect() protoreflect.Message

func (*WithInner) Reset Uses

func (x *WithInner) Reset()

func (*WithInner) String Uses

func (x *WithInner) String() string

type WithInner_Inner Uses

type WithInner_Inner struct {

    // Types that are assignable to Msg:
    //	*WithInner_Inner_Simple
    //	*WithInner_Inner_Props
    Msg isWithInner_Inner_Msg `protobuf_oneof:"msg"`
    // contains filtered or unexported fields
}

func (*WithInner_Inner) Descriptor Uses

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

Deprecated: Use WithInner_Inner.ProtoReflect.Descriptor instead.

func (*WithInner_Inner) GetMsg Uses

func (m *WithInner_Inner) GetMsg() isWithInner_Inner_Msg

func (*WithInner_Inner) GetProps Uses

func (x *WithInner_Inner) GetProps() *Props

func (*WithInner_Inner) GetSimple Uses

func (x *WithInner_Inner) GetSimple() *Simple

func (*WithInner_Inner) ProtoMessage Uses

func (*WithInner_Inner) ProtoMessage()

func (*WithInner_Inner) ProtoReflect Uses

func (x *WithInner_Inner) ProtoReflect() protoreflect.Message

func (*WithInner_Inner) Reset Uses

func (x *WithInner_Inner) Reset()

func (*WithInner_Inner) String Uses

func (x *WithInner_Inner) String() string

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 7 packages (graph). Updated 2020-08-15. Refresh now. Tools for package owners.