constructsserver

package
v0.0.0-...-241046a Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Constructs_Scalars__FullMethodName   = "/constructsserver.Constructs/Scalars_"
	Constructs_Repeated__FullMethodName  = "/constructsserver.Constructs/Repeated_"
	Constructs_Maps__FullMethodName      = "/constructsserver.Constructs/Maps_"
	Constructs_Any__FullMethodName       = "/constructsserver.Constructs/Any_"
	Constructs_Anyway__FullMethodName    = "/constructsserver.Constructs/Anyway_"
	Constructs_Empty__FullMethodName     = "/constructsserver.Constructs/Empty_"
	Constructs_Empty2__FullMethodName    = "/constructsserver.Constructs/Empty2_"
	Constructs_Empty3__FullMethodName    = "/constructsserver.Constructs/Empty3_"
	Constructs_Ref__FullMethodName       = "/constructsserver.Constructs/Ref_"
	Constructs_Oneof__FullMethodName     = "/constructsserver.Constructs/Oneof_"
	Constructs_CallWithId_FullMethodName = "/constructsserver.Constructs/CallWithId"
)

Variables

View Source
var (
	Bar_name = map[int32]string{
		0: "BAR1",
		1: "BAR2",
		2: "BAR3",
	}
	Bar_value = map[string]int32{
		"BAR1": 0,
		"BAR2": 1,
		"BAR3": 2,
	}
)

Enum value maps for Bar.

View Source
var (
	Ref_Foo_En_name = map[int32]string{
		0: "A0",
		1: "A1",
	}
	Ref_Foo_En_value = map[string]int32{
		"A0": 0,
		"A1": 1,
	}
)

Enum value maps for Ref_Foo_En.

View Source
var (
	Ref_Foo_Bar_En_name = map[int32]string{
		0: "A0",
		1: "A1",
	}
	Ref_Foo_Bar_En_value = map[string]int32{
		"A0": 0,
		"A1": 1,
	}
)

Enum value maps for Ref_Foo_Bar_En.

View Source
var Constructs_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "constructsserver.Constructs",
	HandlerType: (*ConstructsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Scalars_",
			Handler:    _Constructs_Scalars__Handler,
		},
		{
			MethodName: "Repeated_",
			Handler:    _Constructs_Repeated__Handler,
		},
		{
			MethodName: "Maps_",
			Handler:    _Constructs_Maps__Handler,
		},
		{
			MethodName: "Any_",
			Handler:    _Constructs_Any__Handler,
		},
		{
			MethodName: "Anyway_",
			Handler:    _Constructs_Anyway__Handler,
		},
		{
			MethodName: "Empty_",
			Handler:    _Constructs_Empty__Handler,
		},
		{
			MethodName: "Empty2_",
			Handler:    _Constructs_Empty2__Handler,
		},
		{
			MethodName: "Empty3_",
			Handler:    _Constructs_Empty3__Handler,
		},
		{
			MethodName: "Ref_",
			Handler:    _Constructs_Ref__Handler,
		},
		{
			MethodName: "Oneof_",
			Handler:    _Constructs_Oneof__Handler,
		},
		{
			MethodName: "CallWithId",
			Handler:    _Constructs_CallWithId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "example/constructsserver/constructs.proto",
}

Constructs_ServiceDesc is the grpc.ServiceDesc for Constructs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_example_constructsserver_constructs_proto protoreflect.FileDescriptor

Functions

func RegisterConstructsServer

func RegisterConstructsServer(s grpc.ServiceRegistrar, srv ConstructsServer)

Types

type Any

type Any struct {
	Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"`
	// contains filtered or unexported fields
}

func (*Any) Descriptor deprecated

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

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetAny

func (x *Any) GetAny() *anypb.Any

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) ProtoReflect

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

func (*Any) Reset

func (x *Any) Reset()

func (*Any) String

func (x *Any) String() string

type AnyInput

type AnyInput struct {
	Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"`
	// contains filtered or unexported fields
}

func (*AnyInput) Descriptor deprecated

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

Deprecated: Use AnyInput.ProtoReflect.Descriptor instead.

func (*AnyInput) GetAny

func (x *AnyInput) GetAny() *anypb.Any

func (*AnyInput) ProtoMessage

func (*AnyInput) ProtoMessage()

func (*AnyInput) ProtoReflect

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

func (*AnyInput) Reset

func (x *AnyInput) Reset()

func (*AnyInput) String

func (x *AnyInput) String() string

type Bar

type Bar int32
const (
	Bar_BAR1 Bar = 0
	Bar_BAR2 Bar = 1
	Bar_BAR3 Bar = 2
)

func (Bar) Descriptor

func (Bar) Descriptor() protoreflect.EnumDescriptor

func (Bar) Enum

func (x Bar) Enum() *Bar

func (Bar) EnumDescriptor deprecated

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

Deprecated: Use Bar.Descriptor instead.

func (Bar) Number

func (x Bar) Number() protoreflect.EnumNumber

func (Bar) String

func (x Bar) String() string

func (Bar) Type

func (Bar) Type() protoreflect.EnumType

type Baz

type Baz struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// contains filtered or unexported fields
}

func (*Baz) Descriptor deprecated

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

Deprecated: Use Baz.ProtoReflect.Descriptor instead.

func (*Baz) GetParam1

func (x *Baz) GetParam1() string

func (*Baz) ProtoMessage

func (*Baz) ProtoMessage()

func (*Baz) ProtoReflect

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

func (*Baz) Reset

func (x *Baz) Reset()

func (*Baz) String

func (x *Baz) String() string

type ConstructsClient

type ConstructsClient interface {
	Scalars_(ctx context.Context, in *Scalars, opts ...grpc.CallOption) (*Scalars, error)
	Repeated_(ctx context.Context, in *Repeated, opts ...grpc.CallOption) (*Repeated, error)
	Maps_(ctx context.Context, in *Maps, opts ...grpc.CallOption) (*Maps, error)
	Any_(ctx context.Context, in *anypb.Any, opts ...grpc.CallOption) (*anypb.Any, error)
	Anyway_(ctx context.Context, in *Any, opts ...grpc.CallOption) (*AnyInput, error)
	Empty_(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Empty, error)
	Empty2_(ctx context.Context, in *EmptyRecursive, opts ...grpc.CallOption) (*EmptyNested, error)
	Empty3_(ctx context.Context, in *Empty3, opts ...grpc.CallOption) (*Empty3, error)
	Ref_(ctx context.Context, in *Ref, opts ...grpc.CallOption) (*Ref, error)
	Oneof_(ctx context.Context, in *Oneof, opts ...grpc.CallOption) (*Oneof, error)
	CallWithId(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

ConstructsClient is the client API for Constructs service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewConstructsClient

func NewConstructsClient(cc grpc.ClientConnInterface) ConstructsClient

type ConstructsServer

type ConstructsServer interface {
	Scalars_(context.Context, *Scalars) (*Scalars, error)
	Repeated_(context.Context, *Repeated) (*Repeated, error)
	Maps_(context.Context, *Maps) (*Maps, error)
	Any_(context.Context, *anypb.Any) (*anypb.Any, error)
	Anyway_(context.Context, *Any) (*AnyInput, error)
	Empty_(context.Context, *emptypb.Empty) (*Empty, error)
	Empty2_(context.Context, *EmptyRecursive) (*EmptyNested, error)
	Empty3_(context.Context, *Empty3) (*Empty3, error)
	Ref_(context.Context, *Ref) (*Ref, error)
	Oneof_(context.Context, *Oneof) (*Oneof, error)
	CallWithId(context.Context, *Empty) (*Empty, error)
}

ConstructsServer is the server API for Constructs service. All implementations should embed UnimplementedConstructsServer for forward compatibility

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Empty3

type Empty3 struct {
	I *Empty3_Int `protobuf:"bytes,1,opt,name=i,proto3" json:"i,omitempty"`
	// contains filtered or unexported fields
}

func (*Empty3) Descriptor deprecated

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

Deprecated: Use Empty3.ProtoReflect.Descriptor instead.

func (*Empty3) GetI

func (x *Empty3) GetI() *Empty3_Int

func (*Empty3) ProtoMessage

func (*Empty3) ProtoMessage()

func (*Empty3) ProtoReflect

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

func (*Empty3) Reset

func (x *Empty3) Reset()

func (*Empty3) String

func (x *Empty3) String() string

type Empty3_Int

type Empty3_Int struct {
	E *Empty3 `protobuf:"bytes,1,opt,name=e,proto3" json:"e,omitempty"`
	// contains filtered or unexported fields
}

func (*Empty3_Int) Descriptor deprecated

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

Deprecated: Use Empty3_Int.ProtoReflect.Descriptor instead.

func (*Empty3_Int) GetE

func (x *Empty3_Int) GetE() *Empty3

func (*Empty3_Int) ProtoMessage

func (*Empty3_Int) ProtoMessage()

func (*Empty3_Int) ProtoReflect

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

func (*Empty3_Int) Reset

func (x *Empty3_Int) Reset()

func (*Empty3_Int) String

func (x *Empty3_Int) String() string

type EmptyNested

type EmptyNested struct {
	Nested1 *EmptyNested_EmptyNested1 `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"`
	// contains filtered or unexported fields
}

func (*EmptyNested) Descriptor deprecated

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

Deprecated: Use EmptyNested.ProtoReflect.Descriptor instead.

func (*EmptyNested) GetNested1

func (x *EmptyNested) GetNested1() *EmptyNested_EmptyNested1

func (*EmptyNested) ProtoMessage

func (*EmptyNested) ProtoMessage()

func (*EmptyNested) ProtoReflect

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

func (*EmptyNested) Reset

func (x *EmptyNested) Reset()

func (*EmptyNested) String

func (x *EmptyNested) String() string

type EmptyNested_EmptyNested1

type EmptyNested_EmptyNested1 struct {
	Nested2 *EmptyNested_EmptyNested1_EmptyNested2 `protobuf:"bytes,1,opt,name=nested2,proto3" json:"nested2,omitempty"`
	// contains filtered or unexported fields
}

func (*EmptyNested_EmptyNested1) Descriptor deprecated

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

Deprecated: Use EmptyNested_EmptyNested1.ProtoReflect.Descriptor instead.

func (*EmptyNested_EmptyNested1) GetNested2

func (*EmptyNested_EmptyNested1) ProtoMessage

func (*EmptyNested_EmptyNested1) ProtoMessage()

func (*EmptyNested_EmptyNested1) ProtoReflect

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

func (*EmptyNested_EmptyNested1) Reset

func (x *EmptyNested_EmptyNested1) Reset()

func (*EmptyNested_EmptyNested1) String

func (x *EmptyNested_EmptyNested1) String() string

type EmptyNested_EmptyNested1_EmptyNested2

type EmptyNested_EmptyNested1_EmptyNested2 struct {
	// contains filtered or unexported fields
}

func (*EmptyNested_EmptyNested1_EmptyNested2) Descriptor deprecated

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

Deprecated: Use EmptyNested_EmptyNested1_EmptyNested2.ProtoReflect.Descriptor instead.

func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage

func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage()

func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoReflect

func (*EmptyNested_EmptyNested1_EmptyNested2) Reset

func (*EmptyNested_EmptyNested1_EmptyNested2) String

type EmptyRecursive

type EmptyRecursive struct {

	// google.protobuf.Empty nested1 = 1;
	Empty *EmptyRecursive `protobuf:"bytes,2,opt,name=empty,proto3" json:"empty,omitempty"`
	// contains filtered or unexported fields
}

func (*EmptyRecursive) Descriptor deprecated

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

Deprecated: Use EmptyRecursive.ProtoReflect.Descriptor instead.

func (*EmptyRecursive) GetEmpty

func (x *EmptyRecursive) GetEmpty() *EmptyRecursive

func (*EmptyRecursive) ProtoMessage

func (*EmptyRecursive) ProtoMessage()

func (*EmptyRecursive) ProtoReflect

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

func (*EmptyRecursive) Reset

func (x *EmptyRecursive) Reset()

func (*EmptyRecursive) String

func (x *EmptyRecursive) String() string

type Foo

type Foo struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	Param2 string `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"`
	// contains filtered or unexported fields
}

func (*Foo) Descriptor deprecated

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

Deprecated: Use Foo.ProtoReflect.Descriptor instead.

func (*Foo) GetParam1

func (x *Foo) GetParam1() string

func (*Foo) GetParam2

func (x *Foo) GetParam2() string

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) ProtoReflect

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

func (*Foo) Reset

func (x *Foo) Reset()

func (*Foo) String

func (x *Foo) String() string

type Foo_Foo2

type Foo_Foo2 struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// contains filtered or unexported fields
}

func (*Foo_Foo2) Descriptor deprecated

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

Deprecated: Use Foo_Foo2.ProtoReflect.Descriptor instead.

func (*Foo_Foo2) GetParam1

func (x *Foo_Foo2) GetParam1() string

func (*Foo_Foo2) ProtoMessage

func (*Foo_Foo2) ProtoMessage()

func (*Foo_Foo2) ProtoReflect

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

func (*Foo_Foo2) Reset

func (x *Foo_Foo2) Reset()

func (*Foo_Foo2) String

func (x *Foo_Foo2) String() string

type Maps

type Maps struct {
	Int32Int32       map[int32]int32    `` /* 181-byte string literal not displayed */
	Int64Int64       map[int64]int64    `` /* 181-byte string literal not displayed */
	Uint32Uint32     map[uint32]uint32  `` /* 187-byte string literal not displayed */
	Uint64Uint64     map[uint64]uint64  `` /* 187-byte string literal not displayed */
	Sint32Sint32     map[int32]int32    `` /* 191-byte string literal not displayed */
	Sint64Sint64     map[int64]int64    `` /* 191-byte string literal not displayed */
	Fixed32Fixed32   map[uint32]uint32  `` /* 195-byte string literal not displayed */
	Fixed64Fixed64   map[uint64]uint64  `` /* 195-byte string literal not displayed */
	Sfixed32Sfixed32 map[int32]int32    `` /* 201-byte string literal not displayed */
	Sfixed64Sfixed64 map[int64]int64    `` /* 202-byte string literal not displayed */
	BoolBool         map[bool]bool      `` /* 176-byte string literal not displayed */
	StringString     map[string]string  `` /* 186-byte string literal not displayed */
	StringBytes      map[string][]byte  `` /* 183-byte string literal not displayed */
	StringFloat      map[string]float32 `` /* 185-byte string literal not displayed */
	StringDouble     map[string]float64 `` /* 188-byte string literal not displayed */
	StringFoo        map[string]*Foo    `` /* 177-byte string literal not displayed */
	StringBar        map[string]Bar     `` /* 204-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Maps) Descriptor deprecated

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

Deprecated: Use Maps.ProtoReflect.Descriptor instead.

func (*Maps) GetBoolBool

func (x *Maps) GetBoolBool() map[bool]bool

func (*Maps) GetFixed32Fixed32

func (x *Maps) GetFixed32Fixed32() map[uint32]uint32

func (*Maps) GetFixed64Fixed64

func (x *Maps) GetFixed64Fixed64() map[uint64]uint64

func (*Maps) GetInt32Int32

func (x *Maps) GetInt32Int32() map[int32]int32

func (*Maps) GetInt64Int64

func (x *Maps) GetInt64Int64() map[int64]int64

func (*Maps) GetSfixed32Sfixed32

func (x *Maps) GetSfixed32Sfixed32() map[int32]int32

func (*Maps) GetSfixed64Sfixed64

func (x *Maps) GetSfixed64Sfixed64() map[int64]int64

func (*Maps) GetSint32Sint32

func (x *Maps) GetSint32Sint32() map[int32]int32

func (*Maps) GetSint64Sint64

func (x *Maps) GetSint64Sint64() map[int64]int64

func (*Maps) GetStringBar

func (x *Maps) GetStringBar() map[string]Bar

func (*Maps) GetStringBytes

func (x *Maps) GetStringBytes() map[string][]byte

func (*Maps) GetStringDouble

func (x *Maps) GetStringDouble() map[string]float64

func (*Maps) GetStringFloat

func (x *Maps) GetStringFloat() map[string]float32

func (*Maps) GetStringFoo

func (x *Maps) GetStringFoo() map[string]*Foo

func (*Maps) GetStringString

func (x *Maps) GetStringString() map[string]string

func (*Maps) GetUint32Uint32

func (x *Maps) GetUint32Uint32() map[uint32]uint32

func (*Maps) GetUint64Uint64

func (x *Maps) GetUint64Uint64() map[uint64]uint64

func (*Maps) ProtoMessage

func (*Maps) ProtoMessage()

func (*Maps) ProtoReflect

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

func (*Maps) Reset

func (x *Maps) Reset()

func (*Maps) String

func (x *Maps) String() string

type Oneof

type Oneof struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// Types that are assignable to Oneof1:
	//
	//	*Oneof_Param2
	//	*Oneof_Param3
	Oneof1 isOneof_Oneof1 `protobuf_oneof:"Oneof1"`
	// Types that are assignable to Oneof2:
	//
	//	*Oneof_Param4
	//	*Oneof_Param5
	Oneof2 isOneof_Oneof2 `protobuf_oneof:"Oneof2"`
	// Types that are assignable to Oneof3:
	//
	//	*Oneof_Param6
	Oneof3 isOneof_Oneof3 `protobuf_oneof:"Oneof3"`
	// contains filtered or unexported fields
}

func (*Oneof) Descriptor deprecated

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

Deprecated: Use Oneof.ProtoReflect.Descriptor instead.

func (*Oneof) GetOneof1

func (m *Oneof) GetOneof1() isOneof_Oneof1

func (*Oneof) GetOneof2

func (m *Oneof) GetOneof2() isOneof_Oneof2

func (*Oneof) GetOneof3

func (m *Oneof) GetOneof3() isOneof_Oneof3

func (*Oneof) GetParam1

func (x *Oneof) GetParam1() string

func (*Oneof) GetParam2

func (x *Oneof) GetParam2() string

func (*Oneof) GetParam3

func (x *Oneof) GetParam3() string

func (*Oneof) GetParam4

func (x *Oneof) GetParam4() string

func (*Oneof) GetParam5

func (x *Oneof) GetParam5() string

func (*Oneof) GetParam6

func (x *Oneof) GetParam6() string

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) ProtoReflect

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

func (*Oneof) Reset

func (x *Oneof) Reset()

func (*Oneof) String

func (x *Oneof) String() string

type Oneof_Param2

type Oneof_Param2 struct {
	Param2 string `protobuf:"bytes,2,opt,name=param2,proto3,oneof"`
}

type Oneof_Param3

type Oneof_Param3 struct {
	Param3 string `protobuf:"bytes,3,opt,name=param3,proto3,oneof"`
}

type Oneof_Param4

type Oneof_Param4 struct {
	Param4 string `protobuf:"bytes,4,opt,name=param4,proto3,oneof"`
}

type Oneof_Param5

type Oneof_Param5 struct {
	Param5 string `protobuf:"bytes,5,opt,name=param5,proto3,oneof"`
}

type Oneof_Param6

type Oneof_Param6 struct {
	Param6 string `protobuf:"bytes,6,opt,name=param6,proto3,oneof"`
}

type Ref

type Ref struct {
	LocalTime2 *Timestamp             `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"`
	External   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=external,proto3" json:"external,omitempty"`
	LocalTime  *Timestamp             `protobuf:"bytes,11,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
	File       *Baz                   `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	FileMsg    *Foo                   `protobuf:"bytes,8,opt,name=file_msg,json=fileMsg,proto3" json:"file_msg,omitempty"`
	FileEnum   Bar                    `protobuf:"varint,9,opt,name=file_enum,json=fileEnum,proto3,enum=constructsserver.Bar" json:"file_enum,omitempty"`
	Local      *Ref_Foo               `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"`
	Foreign    *Foo_Foo2              `protobuf:"bytes,4,opt,name=foreign,proto3" json:"foreign,omitempty"`
	En1        Ref_Foo_En             `protobuf:"varint,5,opt,name=en1,proto3,enum=constructsserver.Ref_Foo_En" json:"en1,omitempty"`
	En2        Ref_Foo_Bar_En         `protobuf:"varint,6,opt,name=en2,proto3,enum=constructsserver.Ref_Foo_Bar_En" json:"en2,omitempty"`
	Gz         *Ref_Foo_Baz_Gz        `protobuf:"bytes,7,opt,name=gz,proto3" json:"gz,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref) Descriptor deprecated

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) GetEn1

func (x *Ref) GetEn1() Ref_Foo_En

func (*Ref) GetEn2

func (x *Ref) GetEn2() Ref_Foo_Bar_En

func (*Ref) GetExternal

func (x *Ref) GetExternal() *timestamppb.Timestamp

func (*Ref) GetFile

func (x *Ref) GetFile() *Baz

func (*Ref) GetFileEnum

func (x *Ref) GetFileEnum() Bar

func (*Ref) GetFileMsg

func (x *Ref) GetFileMsg() *Foo

func (*Ref) GetForeign

func (x *Ref) GetForeign() *Foo_Foo2

func (*Ref) GetGz

func (x *Ref) GetGz() *Ref_Foo_Baz_Gz

func (*Ref) GetLocal

func (x *Ref) GetLocal() *Ref_Foo

func (*Ref) GetLocalTime

func (x *Ref) GetLocalTime() *Timestamp

func (*Ref) GetLocalTime2

func (x *Ref) GetLocalTime2() *Timestamp

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect

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

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

type Ref_Bar

type Ref_Bar struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// contains filtered or unexported fields
}

google.protobuf.Empty empty = 10; // must disappear as part of is empty validation

func (*Ref_Bar) Descriptor deprecated

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

Deprecated: Use Ref_Bar.ProtoReflect.Descriptor instead.

func (*Ref_Bar) GetParam1

func (x *Ref_Bar) GetParam1() string

func (*Ref_Bar) ProtoMessage

func (*Ref_Bar) ProtoMessage()

func (*Ref_Bar) ProtoReflect

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

func (*Ref_Bar) Reset

func (x *Ref_Bar) Reset()

func (*Ref_Bar) String

func (x *Ref_Bar) String() string

type Ref_Foo

type Ref_Foo struct {
	Bar1          *Ref_Foo_Bar           `protobuf:"bytes,1,opt,name=bar1,proto3" json:"bar1,omitempty"`
	LocalTime2    *Timestamp             `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"`
	ExternalTime1 *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=external_time1,json=externalTime1,proto3" json:"external_time1,omitempty"`
	Bar2          *Ref_Bar               `protobuf:"bytes,2,opt,name=bar2,proto3" json:"bar2,omitempty"`
	En1           Ref_Foo_En             `protobuf:"varint,3,opt,name=en1,proto3,enum=constructsserver.Ref_Foo_En" json:"en1,omitempty"`
	En2           Ref_Foo_Bar_En         `protobuf:"varint,4,opt,name=en2,proto3,enum=constructsserver.Ref_Foo_Bar_En" json:"en2,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref_Foo) Descriptor deprecated

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

Deprecated: Use Ref_Foo.ProtoReflect.Descriptor instead.

func (*Ref_Foo) GetBar1

func (x *Ref_Foo) GetBar1() *Ref_Foo_Bar

func (*Ref_Foo) GetBar2

func (x *Ref_Foo) GetBar2() *Ref_Bar

func (*Ref_Foo) GetEn1

func (x *Ref_Foo) GetEn1() Ref_Foo_En

func (*Ref_Foo) GetEn2

func (x *Ref_Foo) GetEn2() Ref_Foo_Bar_En

func (*Ref_Foo) GetExternalTime1

func (x *Ref_Foo) GetExternalTime1() *timestamppb.Timestamp

func (*Ref_Foo) GetLocalTime2

func (x *Ref_Foo) GetLocalTime2() *Timestamp

func (*Ref_Foo) ProtoMessage

func (*Ref_Foo) ProtoMessage()

func (*Ref_Foo) ProtoReflect

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

func (*Ref_Foo) Reset

func (x *Ref_Foo) Reset()

func (*Ref_Foo) String

func (x *Ref_Foo) String() string

type Ref_Foo_Bar

type Ref_Foo_Bar struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref_Foo_Bar) Descriptor deprecated

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

Deprecated: Use Ref_Foo_Bar.ProtoReflect.Descriptor instead.

func (*Ref_Foo_Bar) GetParam1

func (x *Ref_Foo_Bar) GetParam1() string

func (*Ref_Foo_Bar) ProtoMessage

func (*Ref_Foo_Bar) ProtoMessage()

func (*Ref_Foo_Bar) ProtoReflect

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

func (*Ref_Foo_Bar) Reset

func (x *Ref_Foo_Bar) Reset()

func (*Ref_Foo_Bar) String

func (x *Ref_Foo_Bar) String() string

type Ref_Foo_Bar_En

type Ref_Foo_Bar_En int32
const (
	Ref_Foo_Bar_A0 Ref_Foo_Bar_En = 0
	Ref_Foo_Bar_A1 Ref_Foo_Bar_En = 1
)

func (Ref_Foo_Bar_En) Descriptor

func (Ref_Foo_Bar_En) Enum

func (x Ref_Foo_Bar_En) Enum() *Ref_Foo_Bar_En

func (Ref_Foo_Bar_En) EnumDescriptor deprecated

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

Deprecated: Use Ref_Foo_Bar_En.Descriptor instead.

func (Ref_Foo_Bar_En) Number

func (Ref_Foo_Bar_En) String

func (x Ref_Foo_Bar_En) String() string

func (Ref_Foo_Bar_En) Type

type Ref_Foo_Baz

type Ref_Foo_Baz struct {
	// contains filtered or unexported fields
}

func (*Ref_Foo_Baz) Descriptor deprecated

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

Deprecated: Use Ref_Foo_Baz.ProtoReflect.Descriptor instead.

func (*Ref_Foo_Baz) ProtoMessage

func (*Ref_Foo_Baz) ProtoMessage()

func (*Ref_Foo_Baz) ProtoReflect

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

func (*Ref_Foo_Baz) Reset

func (x *Ref_Foo_Baz) Reset()

func (*Ref_Foo_Baz) String

func (x *Ref_Foo_Baz) String() string

type Ref_Foo_Baz_Gz

type Ref_Foo_Baz_Gz struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// contains filtered or unexported fields
}

func (*Ref_Foo_Baz_Gz) Descriptor deprecated

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

Deprecated: Use Ref_Foo_Baz_Gz.ProtoReflect.Descriptor instead.

func (*Ref_Foo_Baz_Gz) GetParam1

func (x *Ref_Foo_Baz_Gz) GetParam1() string

func (*Ref_Foo_Baz_Gz) ProtoMessage

func (*Ref_Foo_Baz_Gz) ProtoMessage()

func (*Ref_Foo_Baz_Gz) ProtoReflect

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

func (*Ref_Foo_Baz_Gz) Reset

func (x *Ref_Foo_Baz_Gz) Reset()

func (*Ref_Foo_Baz_Gz) String

func (x *Ref_Foo_Baz_Gz) String() string

type Ref_Foo_En

type Ref_Foo_En int32
const (
	Ref_Foo_A0 Ref_Foo_En = 0
	Ref_Foo_A1 Ref_Foo_En = 1
)

func (Ref_Foo_En) Descriptor

func (Ref_Foo_En) Descriptor() protoreflect.EnumDescriptor

func (Ref_Foo_En) Enum

func (x Ref_Foo_En) Enum() *Ref_Foo_En

func (Ref_Foo_En) EnumDescriptor deprecated

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

Deprecated: Use Ref_Foo_En.Descriptor instead.

func (Ref_Foo_En) Number

func (x Ref_Foo_En) Number() protoreflect.EnumNumber

func (Ref_Foo_En) String

func (x Ref_Foo_En) String() string

func (Ref_Foo_En) Type

type Repeated

type Repeated struct {
	Double   []float64 `protobuf:"fixed64,1,rep,packed,name=double,proto3" json:"double,omitempty"`
	Float    []float32 `protobuf:"fixed32,2,rep,packed,name=float,proto3" json:"float,omitempty"`
	Int32    []int32   `protobuf:"varint,3,rep,packed,name=int32,proto3" json:"int32,omitempty"`
	Int64    []int64   `protobuf:"varint,4,rep,packed,name=int64,proto3" json:"int64,omitempty"`
	Uint32   []uint32  `protobuf:"varint,5,rep,packed,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64   []uint64  `protobuf:"varint,6,rep,packed,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32   []int32   `protobuf:"zigzag32,7,rep,packed,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64   []int64   `protobuf:"zigzag64,8,rep,packed,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32  []uint32  `protobuf:"fixed32,9,rep,packed,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64  []uint64  `protobuf:"fixed64,10,rep,packed,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32 []int32   `protobuf:"fixed32,11,rep,packed,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64 []int64   `protobuf:"fixed64,12,rep,packed,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool     []bool    `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"`
	String_  []string  `protobuf:"bytes,14,rep,name=string,proto3" json:"string,omitempty"`
	Bytes    [][]byte  `protobuf:"bytes,15,rep,name=bytes,proto3" json:"bytes,omitempty"`
	Foo      []*Foo    `protobuf:"bytes,16,rep,name=foo,proto3" json:"foo,omitempty"`
	Bar      []Bar     `protobuf:"varint,17,rep,packed,name=bar,proto3,enum=constructsserver.Bar" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

func (*Repeated) Descriptor deprecated

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

Deprecated: Use Repeated.ProtoReflect.Descriptor instead.

func (*Repeated) GetBar

func (x *Repeated) GetBar() []Bar

func (*Repeated) GetBool

func (x *Repeated) GetBool() []bool

func (*Repeated) GetBytes

func (x *Repeated) GetBytes() [][]byte

func (*Repeated) GetDouble

func (x *Repeated) GetDouble() []float64

func (*Repeated) GetFixed32

func (x *Repeated) GetFixed32() []uint32

func (*Repeated) GetFixed64

func (x *Repeated) GetFixed64() []uint64

func (*Repeated) GetFloat

func (x *Repeated) GetFloat() []float32

func (*Repeated) GetFoo

func (x *Repeated) GetFoo() []*Foo

func (*Repeated) GetInt32

func (x *Repeated) GetInt32() []int32

func (*Repeated) GetInt64

func (x *Repeated) GetInt64() []int64

func (*Repeated) GetSfixed32

func (x *Repeated) GetSfixed32() []int32

func (*Repeated) GetSfixed64

func (x *Repeated) GetSfixed64() []int64

func (*Repeated) GetSint32

func (x *Repeated) GetSint32() []int32

func (*Repeated) GetSint64

func (x *Repeated) GetSint64() []int64

func (*Repeated) GetString_

func (x *Repeated) GetString_() []string

func (*Repeated) GetUint32

func (x *Repeated) GetUint32() []uint32

func (*Repeated) GetUint64

func (x *Repeated) GetUint64() []uint64

func (*Repeated) ProtoMessage

func (*Repeated) ProtoMessage()

func (*Repeated) ProtoReflect

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

func (*Repeated) Reset

func (x *Repeated) Reset()

func (*Repeated) String

func (x *Repeated) String() string

type Scalars

type Scalars struct {
	Double   float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	Float    float32 `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
	Int32    int32   `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64    int64   `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32   uint32  `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64   uint64  `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32   int32   `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64   int64   `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32  uint32  `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64  uint64  `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32 int32   `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64 int64   `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool     bool    `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_  string  `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes    []byte  `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Enum     Bar     `protobuf:"varint,16,opt,name=enum,proto3,enum=constructsserver.Bar" json:"enum,omitempty"`
	// contains filtered or unexported fields
}

func (*Scalars) Descriptor deprecated

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

Deprecated: Use Scalars.ProtoReflect.Descriptor instead.

func (*Scalars) GetBool

func (x *Scalars) GetBool() bool

func (*Scalars) GetBytes

func (x *Scalars) GetBytes() []byte

func (*Scalars) GetDouble

func (x *Scalars) GetDouble() float64

func (*Scalars) GetEnum

func (x *Scalars) GetEnum() Bar

func (*Scalars) GetFixed32

func (x *Scalars) GetFixed32() uint32

func (*Scalars) GetFixed64

func (x *Scalars) GetFixed64() uint64

func (*Scalars) GetFloat

func (x *Scalars) GetFloat() float32

func (*Scalars) GetInt32

func (x *Scalars) GetInt32() int32

func (*Scalars) GetInt64

func (x *Scalars) GetInt64() int64

func (*Scalars) GetSfixed32

func (x *Scalars) GetSfixed32() int32

func (*Scalars) GetSfixed64

func (x *Scalars) GetSfixed64() int64

func (*Scalars) GetSint32

func (x *Scalars) GetSint32() int32

func (*Scalars) GetSint64

func (x *Scalars) GetSint64() int64

func (*Scalars) GetString_

func (x *Scalars) GetString_() string

func (*Scalars) GetUint32

func (x *Scalars) GetUint32() uint32

func (*Scalars) GetUint64

func (x *Scalars) GetUint64() uint64

func (*Scalars) ProtoMessage

func (*Scalars) ProtoMessage()

func (*Scalars) ProtoReflect

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

func (*Scalars) Reset

func (x *Scalars) Reset()

func (*Scalars) String

func (x *Scalars) String() string

type Timestamp

type Timestamp struct {
	Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*Timestamp) Descriptor deprecated

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

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetTime

func (x *Timestamp) GetTime() string

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

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

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

type UnimplementedConstructsServer

type UnimplementedConstructsServer struct {
}

UnimplementedConstructsServer should be embedded to have forward compatible implementations.

func (UnimplementedConstructsServer) Any_

func (UnimplementedConstructsServer) Anyway_

func (UnimplementedConstructsServer) CallWithId

func (UnimplementedConstructsServer) Empty2_

func (UnimplementedConstructsServer) Empty3_

func (UnimplementedConstructsServer) Empty_

func (UnimplementedConstructsServer) Maps_

func (UnimplementedConstructsServer) Oneof_

func (UnimplementedConstructsServer) Ref_

func (UnimplementedConstructsServer) Repeated_

func (UnimplementedConstructsServer) Scalars_

type UnsafeConstructsServer

type UnsafeConstructsServer interface {
	// contains filtered or unexported methods
}

UnsafeConstructsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConstructsServer will result in compilation errors.

Jump to

Keyboard shortcuts

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