Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosmos/cosmos-proto
/ functions
Functions
1,212 in github.com/cosmos/cosmos-proto
⨍
Functions
1,212
◇
Types & classes
152
↓ 3 callers
Method
Interface
Interface unwraps the message reflection interface and returns the underlying ProtoMessage interface.
testpb/2.pulsar.go:79
↓ 3 callers
Method
NewField
NewField returns a new value that is assignable to the field for the given descriptor. For scalars, this returns the default value. For lists, maps, a
internal/testprotos/test3/test.pulsar.go:4342
↓ 3 callers
Method
ProtoReflect
()
internal/testprotos/test3/test.pulsar.go:10300
↓ 3 callers
Function
depIdxsVarName
(f *fileInfo)
features/protoc/main.go:115
↓ 3 callers
Method
embeddedMessage
embeddedMessage returns a generator for a message which is contained within the current message it is needed mainly to avoid endless cycles on recursi
internal/fuzz/message.go:211
↓ 3 callers
Function
enumTypesVarName
(f *fileInfo)
features/protoc/main.go:118
↓ 3 callers
Function
extensionTypesVarName
(f *fileInfo)
features/protoc/main.go:124
↓ 3 callers
Method
fieldItem
(field *protogen.Field, fieldname string, message *protogen.Message, proto3 bool)
features/fastreflection/proto_unmarshal.go:223
↓ 3 callers
Function
file__1_proto_init
()
testpb/1.pulsar.go:3072
↓ 3 callers
Function
file__1_proto_rawDescGZIP
()
testpb/1.pulsar.go:3039
↓ 3 callers
Function
file__2_proto_init
()
testpb/2.pulsar.go:446
↓ 3 callers
Function
file__3_proto_init
()
testpb/3.pulsar.go:909
↓ 3 callers
Function
file_cosmos_proto_cosmos_proto_rawDescGZIP
()
cosmos.pb.go:453
↓ 3 callers
Function
file_internal_testprotos_test3_test_import_proto_init
()
internal/testprotos/test3/test_import.pulsar.go:501
↓ 3 callers
Function
getFastType
()
testpb/type_bench_test.go:9
↓ 3 callers
Function
getRapidMsg
(t *rapid.T)
testpb/proto_methods_test.go:136
↓ 3 callers
Function
getSlowType
()
testpb/type_bench_test.go:13
↓ 3 callers
Function
goTypesVarName
(f *fileInfo)
features/protoc/main.go:112
↓ 3 callers
Function
initFuncName
(f *protogen.File)
features/protoc/main.go:127
↓ 3 callers
Method
marshalBackward
(varName string, varInt bool, message *protogen.Message)
features/fastreflection/proto_marshal.go:571
↓ 3 callers
Method
messageSize
(varName string, message *protogen.Message)
features/fastreflection/proto_size.go:381
↓ 3 callers
Method
noStarOrSliceType
(field *protogen.Field)
features/fastreflection/proto_unmarshal.go:583
↓ 3 callers
Function
oneofInterfaceName
oneofInterfaceName returns the name of the interface type implemented by the oneof field value types.
features/protoc/main.go:1879
↓ 3 callers
Function
populateDynamicMsg
(dyn *dynamicpb.Message, msg protoreflect.Message)
testpb/proto_methods_test.go:112
↓ 2 callers
Method
Append
(value protoreflect.Value)
internal/testprotos/test3/test.pulsar.go:41
↓ 2 callers
Method
Descriptor
Descriptor returns message descriptor, which contains only the protobuf type information for the message.
internal/testprotos/test3/test_nesting.pulsar.go:1291
↓ 2 callers
Method
Descriptor
Descriptor returns message descriptor, which contains only the protobuf type information for the message.
testpb/1.pulsar.go:299
↓ 2 callers
Function
GenerateFile
GenerateFile generates the contents of a .pb.go file.
features/protoc/main.go:66
↓ 2 callers
Method
GetNested3Oneof
()
internal/testprotos/test3/test_nesting.pulsar.go:1894
↓ 2 callers
Method
GetONEOF
()
testpb/1.pulsar.go:2881
↓ 2 callers
Function
MarshalFrom
MarshalFrom marshals src into dst as the underlying message using the provided marshal options. If no options are specified, call dst.MarshalFrom ins
anyutil/any.go:59
↓ 2 callers
Function
New
New marshals src into a new Any instance.
anyutil/any.go:47
↓ 2 callers
Method
Number
()
internal/testprotos/test3/test.pulsar.go:11278
↓ 2 callers
Function
RegisterFeature
(name string, feat Feature)
generator/features.go:50
↓ 2 callers
Method
SetUnknown
SetUnknown stores an entire list of unknown fields. The raw fields must be syntactically valid according to the wire format. An implementation may pan
testpb/1.pulsar.go:1007
↓ 2 callers
Function
Unpack
Unpack unpacks the message inside an any, first using the provided typeResolver (defaults to protoregistry.GlobalTypes), and if that fails, then using
anyutil/any.go:76
↓ 2 callers
Function
fastReflectionTypeName
(message *protogen.Message)
features/fastreflection/proto_message.go:58
↓ 2 callers
Method
field
(proto3 bool, field *protogen.Field, oneof bool)
features/fastreflection/proto_size.go:82
↓ 2 callers
Method
field
field fill the message with a random value
internal/fuzz/message.go:81
↓ 2 callers
Function
fileVarName
(f *protogen.File, suffix string)
features/fastreflection/copied/naming.go:10
↓ 2 callers
Function
file__3_proto_rawDescGZIP
()
testpb/3.pulsar.go:886
↓ 2 callers
Function
file_internal_testprotos_test3_test_import_proto_rawDescGZIP
()
internal/testprotos/test3/test_import.pulsar.go:479
↓ 2 callers
Method
genAny
( t *rapid.T, field protoreflect.FieldDescriptor, msg protoreflect.Message, depth int)
rapidproto/rapidproto.go:247
↓ 2 callers
Method
genGet
()
features/fastreflection/map.go:114
↓ 2 callers
Function
genNoInterfacePragma
genNoInterfacePragma generates a standalone "nointerface" pragma to decorate methods with field-tracking support.
features/protoc/main.go:1885
↓ 2 callers
Function
genStandaloneComments
genStandaloneComments prints all leading comments for a FileDescriptorProto location identified by the field number n.
features/protoc/main.go:396
↓ 2 callers
Method
generate
()
internal/fuzz/message.go:54
↓ 2 callers
Method
mapField
(kvField *protogen.Field, varName string)
features/fastreflection/proto_marshal.go:621
↓ 2 callers
Method
marshalField
(proto3 bool, numGen *counter, field *protogen.Field, oneof bool)
features/fastreflection/proto_marshal.go:103
↓ 2 callers
Function
messageTypeNameVar
(message *protogen.Message)
features/fastreflection/type.go:14
↓ 2 callers
Function
mutable
(field *protogen.Field)
features/fastreflection/mutable.go:45
↓ 2 callers
Function
overflowPanic
(t1, t2 *tspb.Timestamp, negative bool)
support/timepb/cmp.go:53
↓ 2 callers
Function
setSecondsNanosFields
(t *rapid.T, message protoreflect.Message, seconds int64, nanos int32)
rapidproto/rapidproto.go:230
↓ 2 callers
Method
unmarshalMapField
(varName string, field *protogen.Field)
features/fastreflection/proto_unmarshal.go:618
↓ 1 callers
Function
DefValMarshal
DefValMarshal serializes v as the default string according to the given kind k. When specifying the Descriptor format for an enum kind, the associated
features/protoc/main.go:2037
↓ 1 callers
Method
Descriptor
()
cosmos.pb.go:56
↓ 1 callers
Method
Descriptor
()
internal/testprotos/test3/test.pulsar.go:11323
↓ 1 callers
Method
Descriptor
()
internal/testprotos/test3/test_import.pulsar.go:414
↓ 1 callers
Method
Descriptor
()
testpb/1.pulsar.go:2677
↓ 1 callers
Function
DurationIsNegative
DurationIsNegative returns true if the duration is negative. It assumes that d is valid (d..CheckValid() is nil).
support/timepb/cmp.go:33
↓ 1 callers
Function
GenProtoMessage
(f *protogen.File, g *generator.GeneratedFile, message *protogen.Message)
features/fastreflection/proto_message.go:23
↓ 1 callers
Method
GenerateFile
(plugin *protogen.Plugin, gf *protogen.GeneratedFile, file *protogen.File)
generator/generator.go:50
↓ 1 callers
Method
GenerateFile
(file *protogen.File, plugin *protogen.Plugin)
generator/features.go:57
↓ 1 callers
Method
GenerateHelpers
()
generator/features.go:58
↓ 1 callers
Method
GetONEOF_B
()
testpb/1.pulsar.go:2888
↓ 1 callers
Method
Has
(key protoreflect.MapKey)
internal/testprotos/test3/test.pulsar.go:1025
↓ 1 callers
Function
InitFunctionName
(f *protogen.File)
features/fastreflection/copied/naming.go:21
↓ 1 callers
Function
IsZero
IsZero returns true only when t is nil
support/timepb/cmp.go:12
↓ 1 callers
Function
Message
(t *rapid.T, typ protoreflect.MessageType)
internal/fuzz/message.go:17
↓ 1 callers
Function
MessageTypesVarName
(f *FileInfo)
features/fastreflection/copied/naming.go:17
↓ 1 callers
Method
NewElement
()
internal/testprotos/test3/test.pulsar.go:55
↓ 1 callers
Function
NewFileInfo
(file *protogen.File)
features/fastreflection/copied/file_info.go:9
↓ 1 callers
Function
NewGenerator
(allFiles []*protogen.File, featureNames []string, ext *Extensions)
generator/generator.go:28
↓ 1 callers
Method
NewValue
()
internal/testprotos/test3/test.pulsar.go:1072
↓ 1 callers
Method
ProtoMethods
ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. This method may return nil. The returned methods type
testpb/1.pulsar.go:1029
↓ 1 callers
Function
String
String formats the version string for this module in semver format. Examples: v1.20.1 v1.21.0-rc.1
features/protoc/version/version.go:65
↓ 1 callers
Function
TagMarshal
TagMarshal encodes the protoreflect.FieldDescriptor as a tag. The enumName must be provided if the kind is an enum. Historically, the formulation of
features/protoc/main.go:1947
↓ 1 callers
Method
Type
()
cosmos.pb.go:60
↓ 1 callers
Method
chosenOneof
(fd protoreflect.FieldDescriptor)
internal/fuzz/message.go:241
↓ 1 callers
Method
decideOneofs
decideOneofs picks the one protoreflect.FieldDescriptor for each oneof
internal/fuzz/message.go:231
↓ 1 callers
Function
fieldDefaultValue
(g *generator.GeneratedFile, f *fileInfo, m *messageInfo, field *protogen.Field)
features/protoc/main.go:1736
↓ 1 callers
Function
fieldJSONTagValue
(field *protogen.Field)
features/protoc/main.go:1769
↓ 1 callers
Function
file__2_proto_rawDescGZIP
()
testpb/2.pulsar.go:426
↓ 1 callers
Function
file_cosmos_proto_cosmos_proto_init
()
cosmos.pb.go:492
↓ 1 callers
Function
findFeatures
(featureNames []string)
generator/features.go:16
↓ 1 callers
Function
findParents
(message protoreflect.MessageDescriptor)
features/fastreflection/descriptors.go:45
↓ 1 callers
Method
genAppend
genAppend generates the protoreflect.List.Append implementation
features/fastreflection/list.go:85
↓ 1 callers
Method
genAppendMutable
genAppendMutable generates the protoreflect.List.AppendMutable implementation
features/fastreflection/list.go:94
↓ 1 callers
Method
genAssertions
genAssertions generates protoreflect.Map type assertions
features/fastreflection/map.go:35
↓ 1 callers
Method
genAssertions
genAssertions generates protoreflect.List type assertions
features/fastreflection/list.go:34
↓ 1 callers
Method
genClear
()
features/fastreflection/map.go:101
↓ 1 callers
Method
genClear
()
features/fastreflection/proto_message.go:207
↓ 1 callers
Method
genComment
()
features/fastreflection/mutable.go:58
↓ 1 callers
Method
genComment
()
features/fastreflection/set.go:30
↓ 1 callers
Method
genComment
()
features/fastreflection/range.go:28
↓ 1 callers
Method
genComment
()
features/fastreflection/which_oneof.go:19
↓ 1 callers
Method
genComment
()
features/fastreflection/get.go:32
↓ 1 callers
Method
genComment
()
features/fastreflection/new_field.go:32
↓ 1 callers
Method
genComments
()
features/fastreflection/has.go:26
↓ 1 callers
Method
genComments
()
features/fastreflection/clear.go:22
← previous
next →
101–200 of 1,212, ranked by callers