sample

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeleteExampleRequest

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

func (*DeleteExampleRequest) Descriptor deprecated

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

Deprecated: Use DeleteExampleRequest.ProtoReflect.Descriptor instead.

func (*DeleteExampleRequest) GetName

func (x *DeleteExampleRequest) GetName() string

func (*DeleteExampleRequest) ProtoMessage

func (*DeleteExampleRequest) ProtoMessage()

func (*DeleteExampleRequest) ProtoReflect

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

func (*DeleteExampleRequest) Reset

func (x *DeleteExampleRequest) Reset()

func (*DeleteExampleRequest) String

func (x *DeleteExampleRequest) String() string

type Example

type Example struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Active      bool   `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	Count       int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*Example) Descriptor deprecated

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetActive

func (x *Example) GetActive() bool

func (*Example) GetCount

func (x *Example) GetCount() int32

func (*Example) GetDisplayName

func (x *Example) GetDisplayName() string

func (*Example) GetName

func (x *Example) GetName() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

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

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

type GetExampleRequest

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

func (*GetExampleRequest) Descriptor deprecated

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

Deprecated: Use GetExampleRequest.ProtoReflect.Descriptor instead.

func (*GetExampleRequest) GetName

func (x *GetExampleRequest) GetName() string

func (*GetExampleRequest) ProtoMessage

func (*GetExampleRequest) ProtoMessage()

func (*GetExampleRequest) ProtoReflect

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

func (*GetExampleRequest) Reset

func (x *GetExampleRequest) Reset()

func (*GetExampleRequest) String

func (x *GetExampleRequest) String() string

type ListExampleRequest

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

func (*ListExampleRequest) Descriptor deprecated

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

Deprecated: Use ListExampleRequest.ProtoReflect.Descriptor instead.

func (*ListExampleRequest) ProtoMessage

func (*ListExampleRequest) ProtoMessage()

func (*ListExampleRequest) ProtoReflect

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

func (*ListExampleRequest) Reset

func (x *ListExampleRequest) Reset()

func (*ListExampleRequest) String

func (x *ListExampleRequest) String() string

type ListExampleResponse

type ListExampleResponse struct {
	Examples []*Example `protobuf:"bytes,1,rep,name=examples,proto3" json:"examples,omitempty"`
	// contains filtered or unexported fields
}

func (*ListExampleResponse) Descriptor deprecated

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

Deprecated: Use ListExampleResponse.ProtoReflect.Descriptor instead.

func (*ListExampleResponse) GetExamples

func (x *ListExampleResponse) GetExamples() []*Example

func (*ListExampleResponse) ProtoMessage

func (*ListExampleResponse) ProtoMessage()

func (*ListExampleResponse) ProtoReflect

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

func (*ListExampleResponse) Reset

func (x *ListExampleResponse) Reset()

func (*ListExampleResponse) String

func (x *ListExampleResponse) String() string

Jump to

Keyboard shortcuts

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