simple

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_simple_simple_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SimpleMessage

type SimpleMessage struct {
	Message        string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	SecretMessage  string `protobuf:"bytes,2,opt,name=secret_message,json=secretMessage,proto3" json:"secret_message,omitempty"`
	SecretMessage2 string `protobuf:"bytes,3,opt,name=secret_message2,json=secretMessage2,proto3" json:"secret_message2,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleMessage) Descriptor deprecated

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

Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.

func (*SimpleMessage) GetMessage

func (x *SimpleMessage) GetMessage() string

func (*SimpleMessage) GetSecretMessage

func (x *SimpleMessage) GetSecretMessage() string

func (*SimpleMessage) GetSecretMessage2 added in v0.4.0

func (x *SimpleMessage) GetSecretMessage2() string

func (*SimpleMessage) MarshalLogObject

func (x *SimpleMessage) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) ProtoReflect added in v0.0.3

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

func (*SimpleMessage) Reset

func (x *SimpleMessage) Reset()

func (*SimpleMessage) String

func (x *SimpleMessage) String() string

Jump to

Keyboard shortcuts

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