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
View Source
var File_streaming_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeleteExampleRequest added in v0.1.12

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

func (*DeleteExampleRequest) Descriptor deprecated added in v0.1.12

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

Deprecated: Use DeleteExampleRequest.ProtoReflect.Descriptor instead.

func (*DeleteExampleRequest) GetName added in v0.1.12

func (x *DeleteExampleRequest) GetName() string

func (*DeleteExampleRequest) ProtoMessage added in v0.1.12

func (*DeleteExampleRequest) ProtoMessage()

func (*DeleteExampleRequest) ProtoReflect added in v0.1.12

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

func (*DeleteExampleRequest) Reset added in v0.1.12

func (x *DeleteExampleRequest) Reset()

func (*DeleteExampleRequest) String added in v0.1.12

func (x *DeleteExampleRequest) String() string

type Example added in v0.1.12

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 added in v0.1.12

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetActive added in v0.1.12

func (x *Example) GetActive() bool

func (*Example) GetCount added in v0.1.12

func (x *Example) GetCount() int32

func (*Example) GetDisplayName added in v0.1.12

func (x *Example) GetDisplayName() string

func (*Example) GetName added in v0.1.12

func (x *Example) GetName() string

func (*Example) ProtoMessage added in v0.1.12

func (*Example) ProtoMessage()

func (*Example) ProtoReflect added in v0.1.12

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

func (*Example) Reset added in v0.1.12

func (x *Example) Reset()

func (*Example) String added in v0.1.12

func (x *Example) String() string

type GetExampleRequest added in v0.1.12

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

func (*GetExampleRequest) Descriptor deprecated added in v0.1.12

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

Deprecated: Use GetExampleRequest.ProtoReflect.Descriptor instead.

func (*GetExampleRequest) GetName added in v0.1.12

func (x *GetExampleRequest) GetName() string

func (*GetExampleRequest) ProtoMessage added in v0.1.12

func (*GetExampleRequest) ProtoMessage()

func (*GetExampleRequest) ProtoReflect added in v0.1.12

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

func (*GetExampleRequest) Reset added in v0.1.12

func (x *GetExampleRequest) Reset()

func (*GetExampleRequest) String added in v0.1.12

func (x *GetExampleRequest) String() string

type GreetRequest added in v0.1.5

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

func (*GreetRequest) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GreetRequest.ProtoReflect.Descriptor instead.

func (*GreetRequest) GetName added in v0.1.5

func (x *GreetRequest) GetName() string

func (*GreetRequest) ProtoMessage added in v0.1.5

func (*GreetRequest) ProtoMessage()

func (*GreetRequest) ProtoReflect added in v0.1.5

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

func (*GreetRequest) Reset added in v0.1.5

func (x *GreetRequest) Reset()

func (*GreetRequest) String added in v0.1.5

func (x *GreetRequest) String() string

type GreetResponse added in v0.1.5

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

func (*GreetResponse) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GreetResponse.ProtoReflect.Descriptor instead.

func (*GreetResponse) GetGreeting added in v0.1.5

func (x *GreetResponse) GetGreeting() string

func (*GreetResponse) ProtoMessage added in v0.1.5

func (*GreetResponse) ProtoMessage()

func (*GreetResponse) ProtoReflect added in v0.1.5

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

func (*GreetResponse) Reset added in v0.1.5

func (x *GreetResponse) Reset()

func (*GreetResponse) String added in v0.1.5

func (x *GreetResponse) String() string

type ListExampleRequest added in v0.1.12

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

func (*ListExampleRequest) Descriptor deprecated added in v0.1.12

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

Deprecated: Use ListExampleRequest.ProtoReflect.Descriptor instead.

func (*ListExampleRequest) ProtoMessage added in v0.1.12

func (*ListExampleRequest) ProtoMessage()

func (*ListExampleRequest) ProtoReflect added in v0.1.12

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

func (*ListExampleRequest) Reset added in v0.1.12

func (x *ListExampleRequest) Reset()

func (*ListExampleRequest) String added in v0.1.12

func (x *ListExampleRequest) String() string

type ListExampleResponse added in v0.1.12

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

func (*ListExampleResponse) Descriptor deprecated added in v0.1.12

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

Deprecated: Use ListExampleResponse.ProtoReflect.Descriptor instead.

func (*ListExampleResponse) GetExamples added in v0.1.12

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

func (*ListExampleResponse) ProtoMessage added in v0.1.12

func (*ListExampleResponse) ProtoMessage()

func (*ListExampleResponse) ProtoReflect added in v0.1.12

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

func (*ListExampleResponse) Reset added in v0.1.12

func (x *ListExampleResponse) Reset()

func (*ListExampleResponse) String added in v0.1.12

func (x *ListExampleResponse) String() string

Jump to

Keyboard shortcuts

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