internal

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	E_name = map[int32]string{
		0: "A",
		1: "B",
	}
	E_value = map[string]int32{
		"A": 0,
		"B": 1,
	}
)

Enum value maps for E.

View Source
var File_generator_internal_stringfunc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type E

type E int32
const (
	E_A E = 0
	E_B E = 1
)

func (E) Descriptor

func (E) Descriptor() protoreflect.EnumDescriptor

func (E) Enum

func (x E) Enum() *E

func (E) EnumDescriptor deprecated

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

Deprecated: Use E.Descriptor instead.

func (E) Number

func (x E) Number() protoreflect.EnumNumber

func (E) String

func (x E) String() string

func (E) Type

func (E) Type() protoreflect.EnumType

type M

type M struct {
	Secret       string  `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	NonSecret    string  `protobuf:"bytes,2,opt,name=nonSecret,proto3" json:"nonSecret,omitempty" redact:"nonsecret"`
	SecretPtr    *string `protobuf:"bytes,3,opt,name=secretPtr,proto3,oneof" json:"secretPtr,omitempty"`
	NonSecretPtr *string `protobuf:"bytes,4,opt,name=nonSecretPtr,proto3,oneof" json:"nonSecretPtr,omitempty" redact:"nonsecret"`
	// contains filtered or unexported fields
}

func (*M) Descriptor deprecated

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

Deprecated: Use M.ProtoReflect.Descriptor instead.

func (*M) GetNonSecret

func (x *M) GetNonSecret() string

func (*M) GetNonSecretPtr

func (x *M) GetNonSecretPtr() string

func (*M) GetSecret

func (x *M) GetSecret() string

func (*M) GetSecretPtr

func (x *M) GetSecretPtr() string

func (*M) ProtoMessage

func (*M) ProtoMessage()

func (*M) ProtoReflect

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

func (*M) Reset

func (x *M) Reset()

func (*M) String

func (x *M) String() string

type Ms

type Ms struct {
	Data []*M `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Ms) Descriptor deprecated

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

Deprecated: Use Ms.ProtoReflect.Descriptor instead.

func (*Ms) GetData

func (x *Ms) GetData() []*M

func (*Ms) ProtoMessage

func (*Ms) ProtoMessage()

func (*Ms) ProtoReflect

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

func (*Ms) Reset

func (x *Ms) Reset()

func (*Ms) String

func (x *Ms) String() string

Jump to

Keyboard shortcuts

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