tests

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestEnum1_name = map[int32]string{
		0: "TEST_ENUM_UNSPECIFIED",
		1: "TEST_ENUM_VALUE1",
		2: "TEST_ENUM_VALUE2",
		3: "TEST_ENUM_VALUE3",
		4: "test_enum_value4",
	}
	TestEnum1_value = map[string]int32{
		"TEST_ENUM_UNSPECIFIED": 0,
		"TEST_ENUM_VALUE1":      1,
		"TEST_ENUM_VALUE2":      2,
		"TEST_ENUM_VALUE3":      3,
		"test_enum_value4":      4,
	}
)

Enum value maps for TestEnum1.

View Source
var File_tests_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolValueTestMessage

type BoolValueTestMessage struct {

	// Test single BoolValue wrapper type
	SingleValue *wrapperspb1.BoolValue `protobuf:"bytes,1,opt,name=single_value,json=singleValue,proto3,oneof" json:"single_value,omitempty"`
	// Test BoolValue slice type
	BoolValues []*wrapperspb1.BoolValue `protobuf:"bytes,2,rep,name=bool_values,json=boolValues,proto3" json:"bool_values,omitempty"`
	// Test different BoolValue configurations
	EnableFeature  *wrapperspb1.BoolValue   `protobuf:"bytes,3,opt,name=enable_feature,json=enableFeature,proto3,oneof" json:"enable_feature,omitempty"`
	FeatureFlags   []*wrapperspb1.BoolValue `protobuf:"bytes,4,rep,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty"`
	VerboseLogging *wrapperspb1.BoolValue   `protobuf:"bytes,5,opt,name=verbose_logging,json=verboseLogging,proto3,oneof" json:"verbose_logging,omitempty"`
	DebugOptions   []*wrapperspb1.BoolValue `protobuf:"bytes,6,rep,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"`
	// contains filtered or unexported fields
}

Test message for BoolValue wrapper types

func (*BoolValueTestMessage) AddFlags

func (x *BoolValueTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*BoolValueTestMessage) Descriptor deprecated

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

Deprecated: Use BoolValueTestMessage.ProtoReflect.Descriptor instead.

func (*BoolValueTestMessage) GetBoolValues

func (x *BoolValueTestMessage) GetBoolValues() []*wrapperspb1.BoolValue

func (*BoolValueTestMessage) GetDebugOptions

func (x *BoolValueTestMessage) GetDebugOptions() []*wrapperspb1.BoolValue

func (*BoolValueTestMessage) GetEnableFeature

func (x *BoolValueTestMessage) GetEnableFeature() *wrapperspb1.BoolValue

func (*BoolValueTestMessage) GetFeatureFlags

func (x *BoolValueTestMessage) GetFeatureFlags() []*wrapperspb1.BoolValue

func (*BoolValueTestMessage) GetSingleValue

func (x *BoolValueTestMessage) GetSingleValue() *wrapperspb1.BoolValue

func (*BoolValueTestMessage) GetVerboseLogging

func (x *BoolValueTestMessage) GetVerboseLogging() *wrapperspb1.BoolValue

func (*BoolValueTestMessage) ProtoMessage

func (*BoolValueTestMessage) ProtoMessage()

func (*BoolValueTestMessage) ProtoReflect

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

func (*BoolValueTestMessage) Reset

func (x *BoolValueTestMessage) Reset()

func (*BoolValueTestMessage) SetDefaults

func (x *BoolValueTestMessage) SetDefaults()

func (*BoolValueTestMessage) String

func (x *BoolValueTestMessage) String() string

type BytesSliceTestMessage

type BytesSliceTestMessage struct {

	// Test various bytes slice configurations with base64 encoding
	DataChunks     []*wrapperspb1.BytesValue `protobuf:"bytes,1,rep,name=data_chunks,json=dataChunks,proto3" json:"data_chunks,omitempty"`
	FileContents   []*wrapperspb1.BytesValue `protobuf:"bytes,2,rep,name=file_contents,json=fileContents,proto3" json:"file_contents,omitempty"`
	HexData        []*wrapperspb1.BytesValue `protobuf:"bytes,3,rep,name=hex_data,json=hexData,proto3" json:"hex_data,omitempty"`
	BinaryPayloads []*wrapperspb1.BytesValue `protobuf:"bytes,4,rep,name=binary_payloads,json=binaryPayloads,proto3" json:"binary_payloads,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing BytesSliceValue functionality

func (*BytesSliceTestMessage) AddFlags

func (x *BytesSliceTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*BytesSliceTestMessage) Descriptor deprecated

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

Deprecated: Use BytesSliceTestMessage.ProtoReflect.Descriptor instead.

func (*BytesSliceTestMessage) GetBinaryPayloads

func (x *BytesSliceTestMessage) GetBinaryPayloads() []*wrapperspb1.BytesValue

func (*BytesSliceTestMessage) GetDataChunks

func (x *BytesSliceTestMessage) GetDataChunks() []*wrapperspb1.BytesValue

func (*BytesSliceTestMessage) GetFileContents

func (x *BytesSliceTestMessage) GetFileContents() []*wrapperspb1.BytesValue

func (*BytesSliceTestMessage) GetHexData

func (x *BytesSliceTestMessage) GetHexData() []*wrapperspb1.BytesValue

func (*BytesSliceTestMessage) ProtoMessage

func (*BytesSliceTestMessage) ProtoMessage()

func (*BytesSliceTestMessage) ProtoReflect

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

func (*BytesSliceTestMessage) Reset

func (x *BytesSliceTestMessage) Reset()

func (*BytesSliceTestMessage) SetDefaults

func (x *BytesSliceTestMessage) SetDefaults()

func (*BytesSliceTestMessage) String

func (x *BytesSliceTestMessage) String() string

type ComprehensiveFlagTestMessage

type ComprehensiveFlagTestMessage struct {

	// Test flags with all configuration options
	Username         string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password         string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	LegacyToken      string `protobuf:"bytes,3,opt,name=legacy_token,json=legacyToken,proto3" json:"legacy_token,omitempty"`
	ConnectionCount  int32  `protobuf:"varint,4,opt,name=connection_count,json=connectionCount,proto3" json:"connection_count,omitempty"`
	MaxThreads       int32  `protobuf:"varint,5,opt,name=max_threads,json=maxThreads,proto3" json:"max_threads,omitempty"`
	ExperimentalMode bool   `protobuf:"varint,6,opt,name=experimental_mode,json=experimentalMode,proto3" json:"experimental_mode,omitempty"`
	// contains filtered or unexported fields
}

Test message for comprehensive flag configuration options

func (*ComprehensiveFlagTestMessage) AddFlags

func (x *ComprehensiveFlagTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*ComprehensiveFlagTestMessage) Descriptor deprecated

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

Deprecated: Use ComprehensiveFlagTestMessage.ProtoReflect.Descriptor instead.

func (*ComprehensiveFlagTestMessage) GetConnectionCount

func (x *ComprehensiveFlagTestMessage) GetConnectionCount() int32

func (*ComprehensiveFlagTestMessage) GetExperimentalMode

func (x *ComprehensiveFlagTestMessage) GetExperimentalMode() bool

func (*ComprehensiveFlagTestMessage) GetLegacyToken

func (x *ComprehensiveFlagTestMessage) GetLegacyToken() string

func (*ComprehensiveFlagTestMessage) GetMaxThreads

func (x *ComprehensiveFlagTestMessage) GetMaxThreads() int32

func (*ComprehensiveFlagTestMessage) GetPassword

func (x *ComprehensiveFlagTestMessage) GetPassword() string

func (*ComprehensiveFlagTestMessage) GetUsername

func (x *ComprehensiveFlagTestMessage) GetUsername() string

func (*ComprehensiveFlagTestMessage) ProtoMessage

func (*ComprehensiveFlagTestMessage) ProtoMessage()

func (*ComprehensiveFlagTestMessage) ProtoReflect

func (*ComprehensiveFlagTestMessage) Reset

func (x *ComprehensiveFlagTestMessage) Reset()

func (*ComprehensiveFlagTestMessage) SetDefaults

func (x *ComprehensiveFlagTestMessage) SetDefaults()

func (*ComprehensiveFlagTestMessage) String

type ComprehensiveMapTestMessage

type ComprehensiveMapTestMessage struct {

	// Test JSON map format (default)
	JsonLabels map[string]string `` /* 179-byte string literal not displayed */
	// Test native string-to-string format
	NativeLabels map[string]string `` /* 185-byte string literal not displayed */
	// Test native string-to-int format with default values
	DefaultCounters map[string]int32 `` /* 195-byte string literal not displayed */
	// Test deprecated map field
	LegacyConfig map[string]string `` /* 185-byte string literal not displayed */
	// Test hidden map field
	SecretConfig map[string]string `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Test message for map configurations with different formats

func (*ComprehensiveMapTestMessage) AddFlags

func (x *ComprehensiveMapTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*ComprehensiveMapTestMessage) Descriptor deprecated

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

Deprecated: Use ComprehensiveMapTestMessage.ProtoReflect.Descriptor instead.

func (*ComprehensiveMapTestMessage) GetDefaultCounters

func (x *ComprehensiveMapTestMessage) GetDefaultCounters() map[string]int32

func (*ComprehensiveMapTestMessage) GetJsonLabels

func (x *ComprehensiveMapTestMessage) GetJsonLabels() map[string]string

func (*ComprehensiveMapTestMessage) GetLegacyConfig

func (x *ComprehensiveMapTestMessage) GetLegacyConfig() map[string]string

func (*ComprehensiveMapTestMessage) GetNativeLabels

func (x *ComprehensiveMapTestMessage) GetNativeLabels() map[string]string

func (*ComprehensiveMapTestMessage) GetSecretConfig

func (x *ComprehensiveMapTestMessage) GetSecretConfig() map[string]string

func (*ComprehensiveMapTestMessage) ProtoMessage

func (*ComprehensiveMapTestMessage) ProtoMessage()

func (*ComprehensiveMapTestMessage) ProtoReflect

func (*ComprehensiveMapTestMessage) Reset

func (x *ComprehensiveMapTestMessage) Reset()

func (*ComprehensiveMapTestMessage) SetDefaults

func (x *ComprehensiveMapTestMessage) SetDefaults()

func (*ComprehensiveMapTestMessage) String

func (x *ComprehensiveMapTestMessage) String() string

type DefaultValueTestMessage

type DefaultValueTestMessage struct {

	// Test default values for all numeric types
	Pi             float32    `protobuf:"fixed32,1,opt,name=pi,proto3" json:"pi,omitempty"`
	Euler          float64    `protobuf:"fixed64,2,opt,name=euler,proto3" json:"euler,omitempty"`
	DefaultPort    int32      `protobuf:"varint,3,opt,name=default_port,json=defaultPort,proto3" json:"default_port,omitempty"`
	MaxConnections int64      `protobuf:"varint,4,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
	BufferSize     uint32     `protobuf:"varint,5,opt,name=buffer_size,json=bufferSize,proto3" json:"buffer_size,omitempty"`
	MemoryLimit    uint64     `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	DebugMode      *bool      `protobuf:"varint,7,opt,name=debug_mode,json=debugMode,proto3,oneof" json:"debug_mode,omitempty"`
	LogLevel       string     `protobuf:"bytes,8,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
	DefaultMode    TestEnum1  `protobuf:"varint,9,opt,name=default_mode,json=defaultMode,proto3,enum=tests.TestEnum1" json:"default_mode,omitempty"`
	DefaultMode2   *TestEnum1 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Test message for comprehensive default values

func (*DefaultValueTestMessage) AddFlags

func (x *DefaultValueTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*DefaultValueTestMessage) Descriptor deprecated

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

Deprecated: Use DefaultValueTestMessage.ProtoReflect.Descriptor instead.

func (*DefaultValueTestMessage) GetBufferSize

func (x *DefaultValueTestMessage) GetBufferSize() uint32

func (*DefaultValueTestMessage) GetDebugMode

func (x *DefaultValueTestMessage) GetDebugMode() bool

func (*DefaultValueTestMessage) GetDefaultMode

func (x *DefaultValueTestMessage) GetDefaultMode() TestEnum1

func (*DefaultValueTestMessage) GetDefaultMode2

func (x *DefaultValueTestMessage) GetDefaultMode2() TestEnum1

func (*DefaultValueTestMessage) GetDefaultPort

func (x *DefaultValueTestMessage) GetDefaultPort() int32

func (*DefaultValueTestMessage) GetEuler

func (x *DefaultValueTestMessage) GetEuler() float64

func (*DefaultValueTestMessage) GetLogLevel

func (x *DefaultValueTestMessage) GetLogLevel() string

func (*DefaultValueTestMessage) GetMaxConnections

func (x *DefaultValueTestMessage) GetMaxConnections() int64

func (*DefaultValueTestMessage) GetMemoryLimit

func (x *DefaultValueTestMessage) GetMemoryLimit() uint64

func (*DefaultValueTestMessage) GetPi

func (x *DefaultValueTestMessage) GetPi() float32

func (*DefaultValueTestMessage) ProtoMessage

func (*DefaultValueTestMessage) ProtoMessage()

func (*DefaultValueTestMessage) ProtoReflect

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

func (*DefaultValueTestMessage) Reset

func (x *DefaultValueTestMessage) Reset()

func (*DefaultValueTestMessage) SetDefaults

func (x *DefaultValueTestMessage) SetDefaults()

func (*DefaultValueTestMessage) String

func (x *DefaultValueTestMessage) String() string

type DisabledMessage

type DisabledMessage struct {
	Value         string                 `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	SimpleMessage *SimpleMessage         `protobuf:"bytes,2,opt,name=simple_message,json=simpleMessage,proto3" json:"simple_message,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*DisabledMessage) Descriptor deprecated

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

Deprecated: Use DisabledMessage.ProtoReflect.Descriptor instead.

func (*DisabledMessage) GetCreatedAt

func (x *DisabledMessage) GetCreatedAt() *timestamppb.Timestamp

func (*DisabledMessage) GetSimpleMessage

func (x *DisabledMessage) GetSimpleMessage() *SimpleMessage

func (*DisabledMessage) GetValue

func (x *DisabledMessage) GetValue() string

func (*DisabledMessage) ProtoMessage

func (*DisabledMessage) ProtoMessage()

func (*DisabledMessage) ProtoReflect

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

func (*DisabledMessage) Reset

func (x *DisabledMessage) Reset()

func (*DisabledMessage) String

func (x *DisabledMessage) String() string

type DoubleSliceTestMessage

type DoubleSliceTestMessage struct {

	// Test various double slice configurations
	Measurements        []*wrapperspb1.DoubleValue `protobuf:"bytes,1,rep,name=measurements,proto3" json:"measurements,omitempty"`
	ScientificValues    []*wrapperspb1.DoubleValue `protobuf:"bytes,2,rep,name=scientific_values,json=scientificValues,proto3" json:"scientific_values,omitempty"`
	TemperatureReadings []*wrapperspb1.DoubleValue `protobuf:"bytes,3,rep,name=temperature_readings,json=temperatureReadings,proto3" json:"temperature_readings,omitempty"`
	Coordinates         []*wrapperspb1.DoubleValue `protobuf:"bytes,4,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing DoubleSliceValue functionality

func (*DoubleSliceTestMessage) AddFlags

func (x *DoubleSliceTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*DoubleSliceTestMessage) Descriptor deprecated

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

Deprecated: Use DoubleSliceTestMessage.ProtoReflect.Descriptor instead.

func (*DoubleSliceTestMessage) GetCoordinates

func (x *DoubleSliceTestMessage) GetCoordinates() []*wrapperspb1.DoubleValue

func (*DoubleSliceTestMessage) GetMeasurements

func (x *DoubleSliceTestMessage) GetMeasurements() []*wrapperspb1.DoubleValue

func (*DoubleSliceTestMessage) GetScientificValues

func (x *DoubleSliceTestMessage) GetScientificValues() []*wrapperspb1.DoubleValue

func (*DoubleSliceTestMessage) GetTemperatureReadings

func (x *DoubleSliceTestMessage) GetTemperatureReadings() []*wrapperspb1.DoubleValue

func (*DoubleSliceTestMessage) ProtoMessage

func (*DoubleSliceTestMessage) ProtoMessage()

func (*DoubleSliceTestMessage) ProtoReflect

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

func (*DoubleSliceTestMessage) Reset

func (x *DoubleSliceTestMessage) Reset()

func (*DoubleSliceTestMessage) SetDefaults

func (x *DoubleSliceTestMessage) SetDefaults()

func (*DoubleSliceTestMessage) String

func (x *DoubleSliceTestMessage) String() string

type DurationSliceTestMessage

type DurationSliceTestMessage struct {

	// Test various duration slice configurations
	Delays           []*durationpb.Duration `protobuf:"bytes,1,rep,name=delays,proto3" json:"delays,omitempty"`
	Intervals        []*durationpb.Duration `protobuf:"bytes,2,rep,name=intervals,proto3" json:"intervals,omitempty"`
	Timeouts         []*durationpb.Duration `protobuf:"bytes,3,rep,name=timeouts,proto3" json:"timeouts,omitempty"`
	PollingIntervals []*durationpb.Duration `protobuf:"bytes,4,rep,name=polling_intervals,json=pollingIntervals,proto3" json:"polling_intervals,omitempty"`
	Deadline         *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deadline,proto3" json:"deadline,omitempty"`
	OptionalDeadline *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=optional_deadline,json=optionalDeadline,proto3,oneof" json:"optional_deadline,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing DurationSliceValue functionality

func (*DurationSliceTestMessage) AddFlags

func (x *DurationSliceTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*DurationSliceTestMessage) Descriptor deprecated

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

Deprecated: Use DurationSliceTestMessage.ProtoReflect.Descriptor instead.

func (*DurationSliceTestMessage) GetDeadline

func (*DurationSliceTestMessage) GetDelays

func (x *DurationSliceTestMessage) GetDelays() []*durationpb.Duration

func (*DurationSliceTestMessage) GetIntervals

func (x *DurationSliceTestMessage) GetIntervals() []*durationpb.Duration

func (*DurationSliceTestMessage) GetOptionalDeadline

func (x *DurationSliceTestMessage) GetOptionalDeadline() *timestamppb.Timestamp

func (*DurationSliceTestMessage) GetPollingIntervals

func (x *DurationSliceTestMessage) GetPollingIntervals() []*durationpb.Duration

func (*DurationSliceTestMessage) GetTimeouts

func (x *DurationSliceTestMessage) GetTimeouts() []*durationpb.Duration

func (*DurationSliceTestMessage) ProtoMessage

func (*DurationSliceTestMessage) ProtoMessage()

func (*DurationSliceTestMessage) ProtoReflect

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

func (*DurationSliceTestMessage) Reset

func (x *DurationSliceTestMessage) Reset()

func (*DurationSliceTestMessage) SetDefaults

func (x *DurationSliceTestMessage) SetDefaults()

func (*DurationSliceTestMessage) String

func (x *DurationSliceTestMessage) String() string

type EmptyMessage

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

func (*EmptyMessage) AddFlags

func (x *EmptyMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*EmptyMessage) Descriptor deprecated

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

Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.

func (*EmptyMessage) GetValue

func (x *EmptyMessage) GetValue() string

func (*EmptyMessage) ProtoMessage

func (*EmptyMessage) ProtoMessage()

func (*EmptyMessage) ProtoReflect

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

func (*EmptyMessage) Reset

func (x *EmptyMessage) Reset()

func (*EmptyMessage) SetDefaults

func (x *EmptyMessage) SetDefaults()

func (*EmptyMessage) String

func (x *EmptyMessage) String() string

type EmptyMessage2

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

func (*EmptyMessage2) Descriptor deprecated

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

Deprecated: Use EmptyMessage2.ProtoReflect.Descriptor instead.

func (*EmptyMessage2) GetValue

func (x *EmptyMessage2) GetValue() string

func (*EmptyMessage2) ProtoMessage

func (*EmptyMessage2) ProtoMessage()

func (*EmptyMessage2) ProtoReflect

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

func (*EmptyMessage2) Reset

func (x *EmptyMessage2) Reset()

func (*EmptyMessage2) String

func (x *EmptyMessage2) String() string

type FloatSliceTestMessage

type FloatSliceTestMessage struct {

	// Test various float slice configurations
	Measurements []float32 `protobuf:"fixed32,1,rep,packed,name=measurements,proto3" json:"measurements,omitempty"`
	Coordinates2 *float32  `protobuf:"fixed32,2,opt,name=coordinates2,proto3,oneof" json:"coordinates2,omitempty"`
	Temperatures []float32 `protobuf:"fixed32,3,rep,packed,name=temperatures,proto3" json:"temperatures,omitempty"`
	Percentages  []float32 `protobuf:"fixed32,4,rep,packed,name=percentages,proto3" json:"percentages,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing FloatSlice functionality

func (*FloatSliceTestMessage) AddFlags

func (x *FloatSliceTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*FloatSliceTestMessage) Descriptor deprecated

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

Deprecated: Use FloatSliceTestMessage.ProtoReflect.Descriptor instead.

func (*FloatSliceTestMessage) GetCoordinates2

func (x *FloatSliceTestMessage) GetCoordinates2() float32

func (*FloatSliceTestMessage) GetMeasurements

func (x *FloatSliceTestMessage) GetMeasurements() []float32

func (*FloatSliceTestMessage) GetPercentages

func (x *FloatSliceTestMessage) GetPercentages() []float32

func (*FloatSliceTestMessage) GetTemperatures

func (x *FloatSliceTestMessage) GetTemperatures() []float32

func (*FloatSliceTestMessage) ProtoMessage

func (*FloatSliceTestMessage) ProtoMessage()

func (*FloatSliceTestMessage) ProtoReflect

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

func (*FloatSliceTestMessage) Reset

func (x *FloatSliceTestMessage) Reset()

func (*FloatSliceTestMessage) SetDefaults

func (x *FloatSliceTestMessage) SetDefaults()

func (*FloatSliceTestMessage) String

func (x *FloatSliceTestMessage) String() string

type FloatValueTestMessage

type FloatValueTestMessage struct {

	// Test single FloatValue wrapper type
	SingleValue *wrapperspb1.FloatValue `protobuf:"bytes,1,opt,name=single_value,json=singleValue,proto3,oneof" json:"single_value,omitempty"`
	// Test FloatValue slice type
	FloatValues []*wrapperspb1.FloatValue `protobuf:"bytes,2,rep,name=float_values,json=floatValues,proto3" json:"float_values,omitempty"`
	// Test different FloatValue configurations
	Temperature    *wrapperspb1.FloatValue   `protobuf:"bytes,3,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	SensorReadings []*wrapperspb1.FloatValue `protobuf:"bytes,4,rep,name=sensor_readings,json=sensorReadings,proto3" json:"sensor_readings,omitempty"`
	Probability    *wrapperspb1.FloatValue   `protobuf:"bytes,5,opt,name=probability,proto3,oneof" json:"probability,omitempty"`
	Scores         []*wrapperspb1.FloatValue `protobuf:"bytes,6,rep,name=scores,proto3" json:"scores,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing FloatValue wrapper functionality

func (*FloatValueTestMessage) AddFlags

func (x *FloatValueTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*FloatValueTestMessage) Descriptor deprecated

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

Deprecated: Use FloatValueTestMessage.ProtoReflect.Descriptor instead.

func (*FloatValueTestMessage) GetFloatValues

func (x *FloatValueTestMessage) GetFloatValues() []*wrapperspb1.FloatValue

func (*FloatValueTestMessage) GetProbability

func (x *FloatValueTestMessage) GetProbability() *wrapperspb1.FloatValue

func (*FloatValueTestMessage) GetScores

func (x *FloatValueTestMessage) GetScores() []*wrapperspb1.FloatValue

func (*FloatValueTestMessage) GetSensorReadings

func (x *FloatValueTestMessage) GetSensorReadings() []*wrapperspb1.FloatValue

func (*FloatValueTestMessage) GetSingleValue

func (x *FloatValueTestMessage) GetSingleValue() *wrapperspb1.FloatValue

func (*FloatValueTestMessage) GetTemperature

func (x *FloatValueTestMessage) GetTemperature() *wrapperspb1.FloatValue

func (*FloatValueTestMessage) ProtoMessage

func (*FloatValueTestMessage) ProtoMessage()

func (*FloatValueTestMessage) ProtoReflect

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

func (*FloatValueTestMessage) Reset

func (x *FloatValueTestMessage) Reset()

func (*FloatValueTestMessage) SetDefaults

func (x *FloatValueTestMessage) SetDefaults()

func (*FloatValueTestMessage) String

func (x *FloatValueTestMessage) String() string

type IntegerValueTestMessage

type IntegerValueTestMessage struct {

	// Test Int32Value wrapper type
	Int32Value *wrapperspb1.Int32Value `protobuf:"bytes,1,opt,name=int32_value,json=int32Value,proto3,oneof" json:"int32_value,omitempty"`
	// Test Int64Value wrapper type
	Int64Value *wrapperspb1.Int64Value `protobuf:"bytes,2,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
	// Test UInt32Value wrapper type
	Uint32Value *wrapperspb1.UInt32Value `protobuf:"bytes,3,opt,name=uint32_value,json=uint32Value,proto3,oneof" json:"uint32_value,omitempty"`
	// Test UInt64Value wrapper type
	Uint64Value *wrapperspb1.UInt64Value `protobuf:"bytes,4,opt,name=uint64_value,json=uint64Value,proto3,oneof" json:"uint64_value,omitempty"`
	// Test Int32Value slice type
	Int32Values []*wrapperspb1.Int32Value `protobuf:"bytes,5,rep,name=int32_values,json=int32Values,proto3" json:"int32_values,omitempty"`
	// Test Int64Value slice type
	Int64Values   []*wrapperspb1.Int64Value `protobuf:"bytes,6,rep,name=int64_values,json=int64Values,proto3" json:"int64_values,omitempty"`
	Float64Values []*wrapperspb1.FloatValue `protobuf:"bytes,7,rep,name=float64_values,json=float64Values,proto3" json:"float64_values,omitempty"`
	DoubleValues  []float64                 `protobuf:"fixed64,8,rep,packed,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"`
	// contains filtered or unexported fields
}

Test message for integer wrapper types (Int32Value, Int64Value, etc.)

func (*IntegerValueTestMessage) AddFlags

func (x *IntegerValueTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*IntegerValueTestMessage) Descriptor deprecated

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

Deprecated: Use IntegerValueTestMessage.ProtoReflect.Descriptor instead.

func (*IntegerValueTestMessage) GetDoubleValues

func (x *IntegerValueTestMessage) GetDoubleValues() []float64

func (*IntegerValueTestMessage) GetFloat64Values

func (x *IntegerValueTestMessage) GetFloat64Values() []*wrapperspb1.FloatValue

func (*IntegerValueTestMessage) GetInt32Value

func (x *IntegerValueTestMessage) GetInt32Value() *wrapperspb1.Int32Value

func (*IntegerValueTestMessage) GetInt32Values

func (x *IntegerValueTestMessage) GetInt32Values() []*wrapperspb1.Int32Value

func (*IntegerValueTestMessage) GetInt64Value

func (x *IntegerValueTestMessage) GetInt64Value() *wrapperspb1.Int64Value

func (*IntegerValueTestMessage) GetInt64Values

func (x *IntegerValueTestMessage) GetInt64Values() []*wrapperspb1.Int64Value

func (*IntegerValueTestMessage) GetUint32Value

func (x *IntegerValueTestMessage) GetUint32Value() *wrapperspb1.UInt32Value

func (*IntegerValueTestMessage) GetUint64Value

func (x *IntegerValueTestMessage) GetUint64Value() *wrapperspb1.UInt64Value

func (*IntegerValueTestMessage) ProtoMessage

func (*IntegerValueTestMessage) ProtoMessage()

func (*IntegerValueTestMessage) ProtoReflect

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

func (*IntegerValueTestMessage) Reset

func (x *IntegerValueTestMessage) Reset()

func (*IntegerValueTestMessage) SetDefaults

func (x *IntegerValueTestMessage) SetDefaults()

func (*IntegerValueTestMessage) String

func (x *IntegerValueTestMessage) String() string

type NestedLevel2Message

type NestedLevel2Message struct {
	Level2Field  string         `protobuf:"bytes,1,opt,name=level2_field,json=level2Field,proto3" json:"level2_field,omitempty"`
	NestedSimple *SimpleMessage `protobuf:"bytes,2,opt,name=nested_simple,json=nestedSimple,proto3" json:"nested_simple,omitempty"`
	// contains filtered or unexported fields
}

Helper message for multi-level nesting test

func (*NestedLevel2Message) AddFlags

func (x *NestedLevel2Message) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*NestedLevel2Message) Descriptor deprecated

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

Deprecated: Use NestedLevel2Message.ProtoReflect.Descriptor instead.

func (*NestedLevel2Message) GetLevel2Field

func (x *NestedLevel2Message) GetLevel2Field() string

func (*NestedLevel2Message) GetNestedSimple

func (x *NestedLevel2Message) GetNestedSimple() *SimpleMessage

func (*NestedLevel2Message) ProtoMessage

func (*NestedLevel2Message) ProtoMessage()

func (*NestedLevel2Message) ProtoReflect

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

func (*NestedLevel2Message) Reset

func (x *NestedLevel2Message) Reset()

func (*NestedLevel2Message) SetDefaults

func (x *NestedLevel2Message) SetDefaults()

func (*NestedLevel2Message) String

func (x *NestedLevel2Message) String() string

type NestedMessageTestMessage

type NestedMessageTestMessage struct {

	// Test nested message with prefix
	ServerConfig *SimpleMessage `protobuf:"bytes,1,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"`
	// Test nested message without prefix
	ClientConfig *SimpleMessage `protobuf:"bytes,2,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"`
	// Test nested message with custom prefix
	DatabaseConfig *SimpleMessage `protobuf:"bytes,3,opt,name=database_config,json=databaseConfig,proto3" json:"database_config,omitempty"`
	// Test multiple levels of nesting
	DeepConfig *NestedLevel2Message `protobuf:"bytes,4,opt,name=deep_config,json=deepConfig,proto3" json:"deep_config,omitempty"`
	// contains filtered or unexported fields
}

Test message for nested message configurations with different prefix behaviors

func (*NestedMessageTestMessage) AddFlags

func (x *NestedMessageTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*NestedMessageTestMessage) Descriptor deprecated

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

Deprecated: Use NestedMessageTestMessage.ProtoReflect.Descriptor instead.

func (*NestedMessageTestMessage) GetClientConfig

func (x *NestedMessageTestMessage) GetClientConfig() *SimpleMessage

func (*NestedMessageTestMessage) GetDatabaseConfig

func (x *NestedMessageTestMessage) GetDatabaseConfig() *SimpleMessage

func (*NestedMessageTestMessage) GetDeepConfig

func (x *NestedMessageTestMessage) GetDeepConfig() *NestedLevel2Message

func (*NestedMessageTestMessage) GetServerConfig

func (x *NestedMessageTestMessage) GetServerConfig() *SimpleMessage

func (*NestedMessageTestMessage) ProtoMessage

func (*NestedMessageTestMessage) ProtoMessage()

func (*NestedMessageTestMessage) ProtoReflect

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

func (*NestedMessageTestMessage) Reset

func (x *NestedMessageTestMessage) Reset()

func (*NestedMessageTestMessage) SetDefaults

func (x *NestedMessageTestMessage) SetDefaults()

func (*NestedMessageTestMessage) String

func (x *NestedMessageTestMessage) String() string

type RepeatedBytesTestMessage

type RepeatedBytesTestMessage struct {

	// Test repeated bytes with base64 encoding
	Base64Chunks [][]byte `protobuf:"bytes,1,rep,name=base64_chunks,json=base64Chunks,proto3" json:"base64_chunks,omitempty"`
	// Test repeated bytes with hex encoding
	HexChunks [][]byte `protobuf:"bytes,2,rep,name=hex_chunks,json=hexChunks,proto3" json:"hex_chunks,omitempty"`
	// Test repeated bytes with default values (base64)
	DefaultBase64 []*wrapperspb1.BytesValue `protobuf:"bytes,3,rep,name=default_base64,json=defaultBase64,proto3" json:"default_base64,omitempty"`
	// Test repeated bytes with default values (hex)
	DefaultHex []*wrapperspb1.BytesValue `protobuf:"bytes,4,rep,name=default_hex,json=defaultHex,proto3" json:"default_hex,omitempty"`
	// Test repeated bytes without explicit encoding (defaults to base64)
	RawChunks [][]byte `protobuf:"bytes,5,rep,name=raw_chunks,json=rawChunks,proto3" json:"raw_chunks,omitempty"`
	// Test repeated bytes with mixed case hex
	MixedHex [][]byte `protobuf:"bytes,6,rep,name=mixed_hex,json=mixedHex,proto3" json:"mixed_hex,omitempty"`
	// Test repeated bytes with special characters in base64
	SpecialB64 [][]byte `protobuf:"bytes,7,rep,name=special_b64,json=specialB64,proto3" json:"special_b64,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing native repeated bytes functionality

func (*RepeatedBytesTestMessage) AddFlags

func (x *RepeatedBytesTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*RepeatedBytesTestMessage) Descriptor deprecated

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

Deprecated: Use RepeatedBytesTestMessage.ProtoReflect.Descriptor instead.

func (*RepeatedBytesTestMessage) GetBase64Chunks

func (x *RepeatedBytesTestMessage) GetBase64Chunks() [][]byte

func (*RepeatedBytesTestMessage) GetDefaultBase64

func (x *RepeatedBytesTestMessage) GetDefaultBase64() []*wrapperspb1.BytesValue

func (*RepeatedBytesTestMessage) GetDefaultHex

func (x *RepeatedBytesTestMessage) GetDefaultHex() []*wrapperspb1.BytesValue

func (*RepeatedBytesTestMessage) GetHexChunks

func (x *RepeatedBytesTestMessage) GetHexChunks() [][]byte

func (*RepeatedBytesTestMessage) GetMixedHex

func (x *RepeatedBytesTestMessage) GetMixedHex() [][]byte

func (*RepeatedBytesTestMessage) GetRawChunks

func (x *RepeatedBytesTestMessage) GetRawChunks() [][]byte

func (*RepeatedBytesTestMessage) GetSpecialB64

func (x *RepeatedBytesTestMessage) GetSpecialB64() [][]byte

func (*RepeatedBytesTestMessage) ProtoMessage

func (*RepeatedBytesTestMessage) ProtoMessage()

func (*RepeatedBytesTestMessage) ProtoReflect

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

func (*RepeatedBytesTestMessage) Reset

func (x *RepeatedBytesTestMessage) Reset()

func (*RepeatedBytesTestMessage) SetDefaults

func (x *RepeatedBytesTestMessage) SetDefaults()

func (*RepeatedBytesTestMessage) String

func (x *RepeatedBytesTestMessage) String() string

type SimpleMessage

type SimpleMessage struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Test timestamp with default value
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleMessage) AddFlags

func (x *SimpleMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*SimpleMessage) Descriptor deprecated

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

Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.

func (*SimpleMessage) GetCreatedAt

func (x *SimpleMessage) GetCreatedAt() *timestamppb.Timestamp

func (*SimpleMessage) GetName

func (x *SimpleMessage) GetName() string

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) ProtoReflect

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

func (*SimpleMessage) Reset

func (x *SimpleMessage) Reset()

func (*SimpleMessage) SetDefaults

func (x *SimpleMessage) SetDefaults()

func (*SimpleMessage) String

func (x *SimpleMessage) String() string

type StringValueTestMessage

type StringValueTestMessage struct {

	// Test single StringValue wrapper type
	SingleValue *wrapperspb1.StringValue `protobuf:"bytes,1,opt,name=single_value,json=singleValue,proto3,oneof" json:"single_value,omitempty"`
	// Test StringValue slice type
	StringValues []*wrapperspb1.StringValue `protobuf:"bytes,2,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
	// Test different StringValue configurations
	ConfigPath   *wrapperspb1.StringValue   `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3,oneof" json:"config_path,omitempty"`
	IncludePaths []*wrapperspb1.StringValue `protobuf:"bytes,4,rep,name=include_paths,json=includePaths,proto3" json:"include_paths,omitempty"`
	Environment  *wrapperspb1.StringValue   `protobuf:"bytes,5,opt,name=environment,proto3,oneof" json:"environment,omitempty"`
	Tags         []*wrapperspb1.StringValue `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

Test message for StringValue wrapper types

func (*StringValueTestMessage) AddFlags

func (x *StringValueTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*StringValueTestMessage) Descriptor deprecated

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

Deprecated: Use StringValueTestMessage.ProtoReflect.Descriptor instead.

func (*StringValueTestMessage) GetConfigPath

func (x *StringValueTestMessage) GetConfigPath() *wrapperspb1.StringValue

func (*StringValueTestMessage) GetEnvironment

func (x *StringValueTestMessage) GetEnvironment() *wrapperspb1.StringValue

func (*StringValueTestMessage) GetIncludePaths

func (x *StringValueTestMessage) GetIncludePaths() []*wrapperspb1.StringValue

func (*StringValueTestMessage) GetSingleValue

func (x *StringValueTestMessage) GetSingleValue() *wrapperspb1.StringValue

func (*StringValueTestMessage) GetStringValues

func (x *StringValueTestMessage) GetStringValues() []*wrapperspb1.StringValue

func (*StringValueTestMessage) GetTags

func (*StringValueTestMessage) ProtoMessage

func (*StringValueTestMessage) ProtoMessage()

func (*StringValueTestMessage) ProtoReflect

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

func (*StringValueTestMessage) Reset

func (x *StringValueTestMessage) Reset()

func (*StringValueTestMessage) SetDefaults

func (x *StringValueTestMessage) SetDefaults()

func (*StringValueTestMessage) String

func (x *StringValueTestMessage) String() string

type TestEnum1

type TestEnum1 int32
const (
	TestEnum1_TEST_ENUM_UNSPECIFIED TestEnum1 = 0
	TestEnum1_TEST_ENUM_VALUE1      TestEnum1 = 1
	TestEnum1_TEST_ENUM_VALUE2      TestEnum1 = 2
	TestEnum1_TEST_ENUM_VALUE3      TestEnum1 = 3
	TestEnum1_test_enum_value4      TestEnum1 = 4
)

func (TestEnum1) Descriptor

func (TestEnum1) Descriptor() protoreflect.EnumDescriptor

func (TestEnum1) Enum

func (x TestEnum1) Enum() *TestEnum1

func (TestEnum1) EnumDescriptor deprecated

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

Deprecated: Use TestEnum1.Descriptor instead.

func (TestEnum1) Number

func (x TestEnum1) Number() protoreflect.EnumNumber

func (TestEnum1) String

func (x TestEnum1) String() string

func (TestEnum1) Type

type TestForMessage

type TestForMessage struct {
	CustomWrapper *wrapperspb.CustomWrapper `protobuf:"bytes,10,opt,name=custom_wrapper,json=customWrapper,proto3" json:"custom_wrapper,omitempty"`
	SimpleMessage *utils.SimpleMessage      `protobuf:"bytes,60,opt,name=simple_message,json=simpleMessage,proto3" json:"simple_message,omitempty"`
	Hello         float32                   `protobuf:"fixed32,1,opt,name=hello,proto3" json:"hello,omitempty"`
	World         string                    `protobuf:"bytes,2,opt,name=world,proto3" json:"world,omitempty"`
	Greeting      string                    `protobuf:"bytes,3,opt,name=greeting,proto3" json:"greeting,omitempty"`
	Count         int32                     `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Verbose       bool                      `protobuf:"varint,5,opt,name=verbose,proto3" json:"verbose,omitempty"`
	Verbose2      int64                     `protobuf:"fixed64,6,opt,name=verbose2,proto3" json:"verbose2,omitempty"`
	// Additional field types for testing
	UserId      int64   `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Port        uint32  `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"`
	Size        uint64  `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	Temperature int32   `protobuf:"zigzag32,98,opt,name=temperature,proto3" json:"temperature,omitempty"`
	Timestamp   int64   `protobuf:"zigzag64,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Timeout     uint32  `protobuf:"fixed32,12,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Bandwidth   uint64  `protobuf:"fixed64,13,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	Offset      int32   `protobuf:"fixed32,14,opt,name=offset,proto3" json:"offset,omitempty"`
	Ratio       float64 `protobuf:"fixed64,15,opt,name=ratio,proto3" json:"ratio,omitempty"`
	Byte        []byte  `protobuf:"bytes,16,opt,name=byte,proto3,oneof" json:"byte,omitempty"`
	// Additional native bytes fields with different configurations
	ConfigData []byte `protobuf:"bytes,33,opt,name=config_data,json=configData,proto3,oneof" json:"config_data,omitempty"`
	SecretKey  []byte `protobuf:"bytes,34,opt,name=secret_key,json=secretKey,proto3,oneof" json:"secret_key,omitempty"`
	// Repeated native bytes
	FileChunks [][]byte `protobuf:"bytes,35,rep,name=file_chunks,json=fileChunks,proto3" json:"file_chunks,omitempty"`
	HexChunks  [][]byte `protobuf:"bytes,36,rep,name=hex_chunks,json=hexChunks,proto3" json:"hex_chunks,omitempty"`
	// Test repeated bytes with default values
	Base64Defaults []*wrapperspb1.BytesValue `protobuf:"bytes,40,rep,name=base64_defaults,json=base64Defaults,proto3" json:"base64_defaults,omitempty"`
	HexDefaults    [][]byte                  `protobuf:"bytes,41,rep,name=hex_defaults,json=hexDefaults,proto3" json:"hex_defaults,omitempty"`
	// Test enum type
	TestEnum []TestEnum1 `protobuf:"varint,17,rep,packed,name=test_enum,json=testEnum,proto3,enum=tests.TestEnum1" json:"test_enum,omitempty"`
	// Test duration type
	TimeoutDuration *durationpb.Duration `protobuf:"bytes,18,opt,name=timeout_duration,json=timeoutDuration,proto3" json:"timeout_duration,omitempty"`
	// Test message field type for *flags.FieldFlags_Message
	SimpleField *SimpleMessage `protobuf:"bytes,21,opt,name=simple_field,json=simpleField,proto3" json:"simple_field,omitempty"`
	// Test map field type
	Labels   map[string]string `` /* 154-byte string literal not displayed */
	Counters map[string]int32  `` /* 159-byte string literal not displayed */
	// Test different map formats
	StringMap   map[string]string `` /* 177-byte string literal not displayed */
	Int32Map    map[string]int32  `` /* 175-byte string literal not displayed */
	Int64Map    map[string]int64  `` /* 175-byte string literal not displayed */
	Uint32Map   map[string]uint32 `` /* 178-byte string literal not displayed */
	Uint64Map   map[string]uint64 `` /* 178-byte string literal not displayed */
	Sfixed32Map map[string]int32  `` /* 185-byte string literal not displayed */
	Sfixed64Map map[string]int64  `` /* 185-byte string literal not displayed */
	JsonMap     map[string]string `` /* 171-byte string literal not displayed */
	// Test repeated string slice for comparison
	RepeatedStrings []string `protobuf:"bytes,32,rep,name=repeated_strings,json=repeatedStrings,proto3" json:"repeated_strings,omitempty"`
	// Test repeated duration fields for DurationSlice functionality
	Delays    []*durationpb.Duration `protobuf:"bytes,37,rep,name=delays,proto3" json:"delays,omitempty"`
	Intervals []*durationpb.Duration `protobuf:"bytes,38,rep,name=intervals,proto3" json:"intervals,omitempty"`
	Timeouts  []*durationpb.Duration `protobuf:"bytes,39,rep,name=timeouts,proto3" json:"timeouts,omitempty"`
	// This will create a utils package name conflict
	NestedTest *utils1.NestedMessage `protobuf:"bytes,50,opt,name=nested_test,json=nestedTest,proto3" json:"nested_test,omitempty"`
	// Test types package import
	CustomType *types.CustomType `protobuf:"bytes,51,opt,name=custom_type,json=customType,proto3" json:"custom_type,omitempty"`
	// contains filtered or unexported fields
}

func (*TestForMessage) AddFlags

func (x *TestForMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*TestForMessage) Descriptor deprecated

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

Deprecated: Use TestForMessage.ProtoReflect.Descriptor instead.

func (*TestForMessage) GetBandwidth

func (x *TestForMessage) GetBandwidth() uint64

func (*TestForMessage) GetBase64Defaults

func (x *TestForMessage) GetBase64Defaults() []*wrapperspb1.BytesValue

func (*TestForMessage) GetByte

func (x *TestForMessage) GetByte() []byte

func (*TestForMessage) GetConfigData

func (x *TestForMessage) GetConfigData() []byte

func (*TestForMessage) GetCount

func (x *TestForMessage) GetCount() int32

func (*TestForMessage) GetCounters

func (x *TestForMessage) GetCounters() map[string]int32

func (*TestForMessage) GetCustomType

func (x *TestForMessage) GetCustomType() *types.CustomType

func (*TestForMessage) GetCustomWrapper

func (x *TestForMessage) GetCustomWrapper() *wrapperspb.CustomWrapper

func (*TestForMessage) GetDelays

func (x *TestForMessage) GetDelays() []*durationpb.Duration

func (*TestForMessage) GetFileChunks

func (x *TestForMessage) GetFileChunks() [][]byte

func (*TestForMessage) GetGreeting

func (x *TestForMessage) GetGreeting() string

func (*TestForMessage) GetHello

func (x *TestForMessage) GetHello() float32

func (*TestForMessage) GetHexChunks

func (x *TestForMessage) GetHexChunks() [][]byte

func (*TestForMessage) GetHexDefaults

func (x *TestForMessage) GetHexDefaults() [][]byte

func (*TestForMessage) GetInt32Map

func (x *TestForMessage) GetInt32Map() map[string]int32

func (*TestForMessage) GetInt64Map

func (x *TestForMessage) GetInt64Map() map[string]int64

func (*TestForMessage) GetIntervals

func (x *TestForMessage) GetIntervals() []*durationpb.Duration

func (*TestForMessage) GetJsonMap

func (x *TestForMessage) GetJsonMap() map[string]string

func (*TestForMessage) GetLabels

func (x *TestForMessage) GetLabels() map[string]string

func (*TestForMessage) GetNestedTest

func (x *TestForMessage) GetNestedTest() *utils1.NestedMessage

func (*TestForMessage) GetOffset

func (x *TestForMessage) GetOffset() int32

func (*TestForMessage) GetPort

func (x *TestForMessage) GetPort() uint32

func (*TestForMessage) GetRatio

func (x *TestForMessage) GetRatio() float64

func (*TestForMessage) GetRepeatedStrings

func (x *TestForMessage) GetRepeatedStrings() []string

func (*TestForMessage) GetSecretKey

func (x *TestForMessage) GetSecretKey() []byte

func (*TestForMessage) GetSfixed32Map

func (x *TestForMessage) GetSfixed32Map() map[string]int32

func (*TestForMessage) GetSfixed64Map

func (x *TestForMessage) GetSfixed64Map() map[string]int64

func (*TestForMessage) GetSimpleField

func (x *TestForMessage) GetSimpleField() *SimpleMessage

func (*TestForMessage) GetSimpleMessage

func (x *TestForMessage) GetSimpleMessage() *utils.SimpleMessage

func (*TestForMessage) GetSize

func (x *TestForMessage) GetSize() uint64

func (*TestForMessage) GetStringMap

func (x *TestForMessage) GetStringMap() map[string]string

func (*TestForMessage) GetTemperature

func (x *TestForMessage) GetTemperature() int32

func (*TestForMessage) GetTestEnum

func (x *TestForMessage) GetTestEnum() []TestEnum1

func (*TestForMessage) GetTimeout

func (x *TestForMessage) GetTimeout() uint32

func (*TestForMessage) GetTimeoutDuration

func (x *TestForMessage) GetTimeoutDuration() *durationpb.Duration

func (*TestForMessage) GetTimeouts

func (x *TestForMessage) GetTimeouts() []*durationpb.Duration

func (*TestForMessage) GetTimestamp

func (x *TestForMessage) GetTimestamp() int64

func (*TestForMessage) GetUint32Map

func (x *TestForMessage) GetUint32Map() map[string]uint32

func (*TestForMessage) GetUint64Map

func (x *TestForMessage) GetUint64Map() map[string]uint64

func (*TestForMessage) GetUserId

func (x *TestForMessage) GetUserId() int64

func (*TestForMessage) GetVerbose

func (x *TestForMessage) GetVerbose() bool

func (*TestForMessage) GetVerbose2

func (x *TestForMessage) GetVerbose2() int64

func (*TestForMessage) GetWorld

func (x *TestForMessage) GetWorld() string

func (*TestForMessage) ProtoMessage

func (*TestForMessage) ProtoMessage()

func (*TestForMessage) ProtoReflect

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

func (*TestForMessage) Reset

func (x *TestForMessage) Reset()

func (*TestForMessage) SetDefaults

func (x *TestForMessage) SetDefaults()

func (*TestForMessage) String

func (x *TestForMessage) String() string

type TimestampSliceTestMessage

type TimestampSliceTestMessage struct {

	// Test various timestamp slice configurations
	EventTimes     []*timestamppb.Timestamp `protobuf:"bytes,1,rep,name=event_times,json=eventTimes,proto3" json:"event_times,omitempty"`
	LogTimestamps  []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=log_timestamps,json=logTimestamps,proto3" json:"log_timestamps,omitempty"`
	ScheduledTasks []*timestamppb.Timestamp `protobuf:"bytes,3,rep,name=scheduled_tasks,json=scheduledTasks,proto3" json:"scheduled_tasks,omitempty"`
	BackupTimes    []*timestamppb.Timestamp `protobuf:"bytes,4,rep,name=backup_times,json=backupTimes,proto3" json:"backup_times,omitempty"`
	// Test timestamp slice with custom formats
	CustomFormatTimes []*timestamppb.Timestamp `protobuf:"bytes,5,rep,name=custom_format_times,json=customFormatTimes,proto3" json:"custom_format_times,omitempty"`
	// contains filtered or unexported fields
}

Dedicated message for testing TimestampSliceValue functionality

func (*TimestampSliceTestMessage) AddFlags

func (x *TimestampSliceTestMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*TimestampSliceTestMessage) Descriptor deprecated

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

Deprecated: Use TimestampSliceTestMessage.ProtoReflect.Descriptor instead.

func (*TimestampSliceTestMessage) GetBackupTimes

func (x *TimestampSliceTestMessage) GetBackupTimes() []*timestamppb.Timestamp

func (*TimestampSliceTestMessage) GetCustomFormatTimes

func (x *TimestampSliceTestMessage) GetCustomFormatTimes() []*timestamppb.Timestamp

func (*TimestampSliceTestMessage) GetEventTimes

func (x *TimestampSliceTestMessage) GetEventTimes() []*timestamppb.Timestamp

func (*TimestampSliceTestMessage) GetLogTimestamps

func (x *TimestampSliceTestMessage) GetLogTimestamps() []*timestamppb.Timestamp

func (*TimestampSliceTestMessage) GetScheduledTasks

func (x *TimestampSliceTestMessage) GetScheduledTasks() []*timestamppb.Timestamp

func (*TimestampSliceTestMessage) ProtoMessage

func (*TimestampSliceTestMessage) ProtoMessage()

func (*TimestampSliceTestMessage) ProtoReflect

func (*TimestampSliceTestMessage) Reset

func (x *TimestampSliceTestMessage) Reset()

func (*TimestampSliceTestMessage) SetDefaults

func (x *TimestampSliceTestMessage) SetDefaults()

func (*TimestampSliceTestMessage) String

func (x *TimestampSliceTestMessage) String() string

type UnexportedMessageTest

type UnexportedMessageTest struct {
	SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Timeout   int32  `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

Test message for unexported option

func (*UnexportedMessageTest) Descriptor deprecated

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

Deprecated: Use UnexportedMessageTest.ProtoReflect.Descriptor instead.

func (*UnexportedMessageTest) GetSecretKey

func (x *UnexportedMessageTest) GetSecretKey() string

func (*UnexportedMessageTest) GetTimeout

func (x *UnexportedMessageTest) GetTimeout() int32

func (*UnexportedMessageTest) ProtoMessage

func (*UnexportedMessageTest) ProtoMessage()

func (*UnexportedMessageTest) ProtoReflect

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

func (*UnexportedMessageTest) Reset

func (x *UnexportedMessageTest) Reset()

func (*UnexportedMessageTest) String

func (x *UnexportedMessageTest) String() string

type WrapperMessage

type WrapperMessage struct {
	Value  *wrapperspb1.FloatValue `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	Value2 []string                `protobuf:"bytes,2,rep,name=value2,proto3" json:"value2,omitempty"`
	// contains filtered or unexported fields
}

func (*WrapperMessage) AddFlags

func (x *WrapperMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*WrapperMessage) Descriptor deprecated

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

Deprecated: Use WrapperMessage.ProtoReflect.Descriptor instead.

func (*WrapperMessage) GetValue

func (x *WrapperMessage) GetValue() *wrapperspb1.FloatValue

func (*WrapperMessage) GetValue2

func (x *WrapperMessage) GetValue2() []string

func (*WrapperMessage) ProtoMessage

func (*WrapperMessage) ProtoMessage()

func (*WrapperMessage) ProtoReflect

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

func (*WrapperMessage) Reset

func (x *WrapperMessage) Reset()

func (*WrapperMessage) SetDefaults

func (x *WrapperMessage) SetDefaults()

func (*WrapperMessage) String

func (x *WrapperMessage) String() string

type WrapperValueMessage

type WrapperValueMessage struct {
	Name []*wrapperspb1.BoolValue `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
	// Test DoubleValue wrapper type
	DoubleValue *wrapperspb1.DoubleValue `protobuf:"bytes,2,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
	// Test DoubleSliceValue for repeated DoubleValue
	DoubleValues []*wrapperspb1.DoubleValue `protobuf:"bytes,3,rep,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"`
	// Test BytesValue wrapper type with base64 encoding
	BytesValue *wrapperspb1.BytesValue `protobuf:"bytes,4,opt,name=bytes_value,json=bytesValue,proto3,oneof" json:"bytes_value,omitempty"`
	// Test BytesSliceValue for repeated BytesValue with base64 encoding
	// Test BytesSliceValue for repeated BytesValue with base64 encoding
	BytesValues *wrapperspb1.BytesValue `protobuf:"bytes,5,opt,name=bytes_values,json=bytesValues,proto3" json:"bytes_values,omitempty"`
	// Test BytesHexSliceValue for repeated BytesValue with hex encoding
	BytesHexValues  []*wrapperspb1.BytesValue `protobuf:"bytes,6,rep,name=bytes_hex_values,json=bytesHexValues,proto3" json:"bytes_hex_values,omitempty"`
	BytesHexValuesx *wrapperspb1.BytesValue   `protobuf:"bytes,7,opt,name=bytes_hex_valuesx,json=bytesHexValuesx,proto3" json:"bytes_hex_valuesx,omitempty"`
	// contains filtered or unexported fields
}

func (*WrapperValueMessage) AddFlags

func (x *WrapperValueMessage) AddFlags(fs *pflag.FlagSet, opts ...flags.Option)

func (*WrapperValueMessage) Descriptor deprecated

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

Deprecated: Use WrapperValueMessage.ProtoReflect.Descriptor instead.

func (*WrapperValueMessage) GetBytesHexValues

func (x *WrapperValueMessage) GetBytesHexValues() []*wrapperspb1.BytesValue

func (*WrapperValueMessage) GetBytesHexValuesx

func (x *WrapperValueMessage) GetBytesHexValuesx() *wrapperspb1.BytesValue

func (*WrapperValueMessage) GetBytesValue

func (x *WrapperValueMessage) GetBytesValue() *wrapperspb1.BytesValue

func (*WrapperValueMessage) GetBytesValues

func (x *WrapperValueMessage) GetBytesValues() *wrapperspb1.BytesValue

func (*WrapperValueMessage) GetDoubleValue

func (x *WrapperValueMessage) GetDoubleValue() *wrapperspb1.DoubleValue

func (*WrapperValueMessage) GetDoubleValues

func (x *WrapperValueMessage) GetDoubleValues() []*wrapperspb1.DoubleValue

func (*WrapperValueMessage) GetName

func (x *WrapperValueMessage) GetName() []*wrapperspb1.BoolValue

func (*WrapperValueMessage) ProtoMessage

func (*WrapperValueMessage) ProtoMessage()

func (*WrapperValueMessage) ProtoReflect

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

func (*WrapperValueMessage) Reset

func (x *WrapperValueMessage) Reset()

func (*WrapperValueMessage) SetDefaults

func (x *WrapperValueMessage) SetDefaults()

func (*WrapperValueMessage) String

func (x *WrapperValueMessage) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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