testingpb

package
v0.0.0-...-781836f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Full

type Full struct {
	I32            int32            `protobuf:"varint,1,opt,name=i32,proto3" json:"i32,omitempty"`
	I64            int64            `protobuf:"varint,2,opt,name=i64,proto3" json:"i64,omitempty"`
	U32            uint32           `protobuf:"varint,3,opt,name=u32,proto3" json:"u32,omitempty"`
	U64            uint64           `protobuf:"varint,4,opt,name=u64,proto3" json:"u64,omitempty"`
	F32            float32          `protobuf:"fixed32,5,opt,name=f32,proto3" json:"f32,omitempty"`
	F64            float64          `protobuf:"fixed64,6,opt,name=f64,proto3" json:"f64,omitempty"`
	Boolean        bool             `protobuf:"varint,7,opt,name=boolean,proto3" json:"boolean,omitempty"`
	Num            int32            `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"`
	Nums           []int32          `protobuf:"varint,9,rep,packed,name=nums,proto3" json:"nums,omitempty"`
	Str            string           `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"`
	Strs           []string         `protobuf:"bytes,11,rep,name=strs,proto3" json:"strs,omitempty"`
	Msg            *Full            `protobuf:"bytes,12,opt,name=msg,proto3" json:"msg,omitempty"`
	Msgs           []*Full          `protobuf:"bytes,13,rep,name=msgs,proto3" json:"msgs,omitempty"`
	MapStrNum      map[string]int32 `` /* 180-byte string literal not displayed */
	MapNumStr      map[int32]string `` /* 180-byte string literal not displayed */
	MapBoolStr     map[bool]string  `` /* 183-byte string literal not displayed */
	MapStrMsg      map[string]*Full `` /* 179-byte string literal not displayed */
	JsonName       string           `protobuf:"bytes,18,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"`
	JsonNameOption string           `protobuf:"bytes,19,opt,name=json_name_option,json=another_json_name,proto3" json:"json_name_option,omitempty"`
	// contains filtered or unexported fields
}

func (*Full) Descriptor deprecated

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

Deprecated: Use Full.ProtoReflect.Descriptor instead.

func (*Full) GetBoolean

func (x *Full) GetBoolean() bool

func (*Full) GetF32

func (x *Full) GetF32() float32

func (*Full) GetF64

func (x *Full) GetF64() float64

func (*Full) GetI32

func (x *Full) GetI32() int32

func (*Full) GetI64

func (x *Full) GetI64() int64

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) GetU32

func (x *Full) GetU32() uint32

func (*Full) GetU64

func (x *Full) GetU64() uint64

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 *structpb.Struct       `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"`
	Fields     *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Props) Descriptor deprecated

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

Deprecated: Use Props.ProtoReflect.Descriptor instead.

func (*Props) GetFields

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

func (*Props) GetProperties

func (x *Props) GetProperties() *structpb.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 *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Simple) Descriptor deprecated

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetFields

func (x *Simple) GetFields() *fieldmaskpb.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 deprecated

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 deprecated

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 deprecated

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL