Back to godoc.org

Package testingpb

v0.0.0-...-d4769a7
Latest Go to latest

The latest major version is .

Published: Aug 1, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Index

Variables

var File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto protoreflect.FileDescriptor

type Full

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 "" /* 179 byte string literal not displayed */
	MapNumStr      map[int32]string "" /* 179 byte string literal not displayed */
	MapBoolStr     map[bool]string  "" /* 182 byte string literal not displayed */
	MapStrMsg      map[string]*Full "" /* 179 byte string literal not displayed */
	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"`

}

func (*Full) Descriptor

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

Deprecated: Use Full.ProtoReflect.Descriptor instead.

func (*Full) GetJsonName

func (x *Full) GetJsonName() string

func (*Full) GetJsonNameOption

func (x *Full) GetJsonNameOption() string

func (*Full) GetMapBoolStr

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

func (*Full) GetMapNumStr

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

func (*Full) GetMapStrMsg

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

func (*Full) GetMapStrNum

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

func (*Full) GetMsg

func (x *Full) GetMsg() *Full

func (*Full) GetMsgs

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

func (*Full) GetNum

func (x *Full) GetNum() int32

func (*Full) GetNums

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

func (*Full) GetStr

func (x *Full) GetStr() string

func (*Full) GetStrs

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

func (*Full) ProtoMessage

func (*Full) ProtoMessage()

func (*Full) ProtoReflect

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

func (*Full) Reset

func (x *Full) Reset()

func (*Full) String

func (x *Full) String() string

type Props

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

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

Deprecated: Use Props.ProtoReflect.Descriptor instead.

func (*Props) GetFields

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

func (*Props) GetProperties

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

func (*Props) ProtoMessage

func (*Props) ProtoMessage()

func (*Props) ProtoReflect

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

func (*Props) Reset

func (x *Props) Reset()

func (*Props) String

func (x *Props) String() string

type Simple

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

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetFields

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

func (*Simple) GetId

func (x *Simple) GetId() int64

func (*Simple) GetSome

func (x *Simple) GetSome() *Some

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

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

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

type Some

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

func (*Some) Descriptor

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

Deprecated: Use Some.ProtoReflect.Descriptor instead.

func (*Some) GetI

func (x *Some) GetI() int64

func (*Some) ProtoMessage

func (*Some) ProtoMessage()

func (*Some) ProtoReflect

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

func (*Some) Reset

func (x *Some) Reset()

func (*Some) String

func (x *Some) String() string

type WithInner

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

func (*WithInner) Descriptor

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

Deprecated: Use WithInner.ProtoReflect.Descriptor instead.

func (*WithInner) GetMsgs

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

func (*WithInner) ProtoMessage

func (*WithInner) ProtoMessage()

func (*WithInner) ProtoReflect

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

func (*WithInner) Reset

func (x *WithInner) Reset()

func (*WithInner) String

func (x *WithInner) String() string

type WithInner_Inner

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

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

Deprecated: Use WithInner_Inner.ProtoReflect.Descriptor instead.

func (*WithInner_Inner) GetMsg

func (m *WithInner_Inner) GetMsg() isWithInner_Inner_Msg

func (*WithInner_Inner) GetProps

func (x *WithInner_Inner) GetProps() *Props

func (*WithInner_Inner) GetSimple

func (x *WithInner_Inner) GetSimple() *Simple

func (*WithInner_Inner) ProtoMessage

func (*WithInner_Inner) ProtoMessage()

func (*WithInner_Inner) ProtoReflect

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

func (*WithInner_Inner) Reset

func (x *WithInner_Inner) Reset()

func (*WithInner_Inner) String

func (x *WithInner_Inner) String() string

type WithInner_Inner_Props

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

type WithInner_Inner_Simple

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier