testv1

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_buf_protoschema_test_v1_test_cases_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CustomOptions

type CustomOptions struct {
	Int32Field []int32 `protobuf:"varint,1,rep,packed,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"`
	// Types that are assignable to Kind:
	//
	//	*CustomOptions_StringField
	Kind isCustomOptions_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*CustomOptions) Descriptor deprecated

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

Deprecated: Use CustomOptions.ProtoReflect.Descriptor instead.

func (*CustomOptions) GetInt32Field

func (x *CustomOptions) GetInt32Field() []int32

func (*CustomOptions) GetKind

func (m *CustomOptions) GetKind() isCustomOptions_Kind

func (*CustomOptions) GetStringField

func (x *CustomOptions) GetStringField() string

func (*CustomOptions) ProtoMessage

func (*CustomOptions) ProtoMessage()

func (*CustomOptions) ProtoReflect

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

func (*CustomOptions) Reset

func (x *CustomOptions) Reset()

func (*CustomOptions) String

func (x *CustomOptions) String() string

type CustomOptions_StringField

type CustomOptions_StringField struct {
	StringField string `protobuf:"bytes,2,opt,name=string_field,json=stringField,proto3,oneof"`
}

type IgnoreField added in v0.1.4

type IgnoreField struct {
	StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` // jsonschema:ignore
	// jsonschema:ignore
	Int32Field int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"`
	BoolField  bool  `protobuf:"varint,3,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"`
	// contains filtered or unexported fields
}

func (*IgnoreField) Descriptor deprecated added in v0.1.4

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

Deprecated: Use IgnoreField.ProtoReflect.Descriptor instead.

func (*IgnoreField) GetBoolField added in v0.1.4

func (x *IgnoreField) GetBoolField() bool

func (*IgnoreField) GetInt32Field added in v0.1.4

func (x *IgnoreField) GetInt32Field() int32

func (*IgnoreField) GetStringField added in v0.1.4

func (x *IgnoreField) GetStringField() string

func (*IgnoreField) ProtoMessage added in v0.1.4

func (*IgnoreField) ProtoMessage()

func (*IgnoreField) ProtoReflect added in v0.1.4

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

func (*IgnoreField) Reset added in v0.1.4

func (x *IgnoreField) Reset()

func (*IgnoreField) String added in v0.1.4

func (x *IgnoreField) String() string

type NestedReference

type NestedReference struct {
	NestedMessage *proto3.TestAllTypes_NestedMessage `protobuf:"bytes,1,opt,name=nested_message,json=nestedMessage,proto3" json:"nested_message,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedReference) Descriptor deprecated

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

Deprecated: Use NestedReference.ProtoReflect.Descriptor instead.

func (*NestedReference) GetNestedMessage

func (x *NestedReference) GetNestedMessage() *proto3.TestAllTypes_NestedMessage

func (*NestedReference) ProtoMessage

func (*NestedReference) ProtoMessage()

func (*NestedReference) ProtoReflect

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

func (*NestedReference) Reset

func (x *NestedReference) Reset()

func (*NestedReference) String

func (x *NestedReference) String() string

Jump to

Keyboard shortcuts

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