Documentation ¶
Index ¶
- Variables
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetMap() map[string]int32
- func (x *Collection) GetRepeated() []int32
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type OneOf
- func (*OneOf) Descriptor() ([]byte, []int)deprecated
- func (x *OneOf) GetFieldA() int32
- func (x *OneOf) GetFieldB() int32
- func (x *OneOf) GetFieldC() string
- func (m *OneOf) GetGroup() isOneOf_Group
- func (*OneOf) ProtoMessage()
- func (x *OneOf) ProtoReflect() protoreflect.Message
- func (x *OneOf) Reset()
- func (x *OneOf) String() string
- type OneOf_FieldA
- type OneOf_FieldB
- type OneOf_FieldC
- type Scalar
- func (*Scalar) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar) GetBool() bool
- func (x *Scalar) GetBytes() []byte
- func (x *Scalar) GetDouble() float64
- func (x *Scalar) GetFixed32() uint32
- func (x *Scalar) GetFixed64() uint64
- func (x *Scalar) GetFloat() float32
- func (x *Scalar) GetInt32() int32
- func (x *Scalar) GetInt64() int64
- func (x *Scalar) GetSfixed32() int32
- func (x *Scalar) GetSfixed64() int64
- func (x *Scalar) GetSint32() int32
- func (x *Scalar) GetSint64() int64
- func (x *Scalar) GetString_() string
- func (x *Scalar) GetUint32() uint32
- func (x *Scalar) GetUint64() uint64
- func (*Scalar) ProtoMessage()
- func (x *Scalar) ProtoReflect() protoreflect.Message
- func (x *Scalar) Reset()
- func (x *Scalar) String() string
- type UserDefined
- func (*UserDefined) Descriptor() ([]byte, []int)deprecated
- func (x *UserDefined) GetEnum() UserDefinedEnum
- func (x *UserDefined) GetMessage() *UserDefinedMessage
- func (x *UserDefined) GetNested() *UserDefined_Nested
- func (*UserDefined) ProtoMessage()
- func (x *UserDefined) ProtoReflect() protoreflect.Message
- func (x *UserDefined) Reset()
- func (x *UserDefined) String() string
- type UserDefinedEnum
- func (UserDefinedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x UserDefinedEnum) Enum() *UserDefinedEnum
- func (UserDefinedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserDefinedEnum) Number() protoreflect.EnumNumber
- func (x UserDefinedEnum) String() string
- func (UserDefinedEnum) Type() protoreflect.EnumType
- type UserDefinedMessage
- type UserDefined_Nested
- type WellKnown
- func (*WellKnown) Descriptor() ([]byte, []int)deprecated
- func (x *WellKnown) GetAny() *anypb.Any
- func (x *WellKnown) GetApi() *apipb.Api
- func (x *WellKnown) GetBoolValue() *wrapperspb.BoolValue
- func (x *WellKnown) GetBytesValue() *wrapperspb.BytesValue
- func (x *WellKnown) GetDoubleValue() *wrapperspb.DoubleValue
- func (x *WellKnown) GetDuration() *durationpb.Duration
- func (x *WellKnown) GetEmpty() *emptypb.Empty
- func (x *WellKnown) GetEnum() *typepb.Enum
- func (x *WellKnown) GetEnumValue() *typepb.EnumValue
- func (x *WellKnown) GetField() *typepb.Field
- func (x *WellKnown) GetFieldCardinality() typepb.Field_Cardinality
- func (x *WellKnown) GetFieldKind() typepb.Field_Kind
- func (x *WellKnown) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *WellKnown) GetFloatValue() *wrapperspb.FloatValue
- func (x *WellKnown) GetInt32Value() *wrapperspb.Int32Value
- func (x *WellKnown) GetInt64Value() *wrapperspb.Int64Value
- func (x *WellKnown) GetListValue() *structpb.ListValue
- func (x *WellKnown) GetMethod() *apipb.Method
- func (x *WellKnown) GetMixin() *apipb.Mixin
- func (x *WellKnown) GetNullValue() structpb.NullValue
- func (x *WellKnown) GetOption() *typepb.Option
- func (x *WellKnown) GetSourceContext() *sourcecontextpb.SourceContext
- func (x *WellKnown) GetStringValue() *wrapperspb.StringValue
- func (x *WellKnown) GetStruct() *structpb.Struct
- func (x *WellKnown) GetSyntax() typepb.Syntax
- func (x *WellKnown) GetTimestamp() *timestamppb.Timestamp
- func (x *WellKnown) GetType() *typepb.Type
- func (x *WellKnown) GetUInt32Value() *wrapperspb.UInt32Value
- func (x *WellKnown) GetUInt64Value() *wrapperspb.UInt64Value
- func (x *WellKnown) GetValue() *structpb.Value
- func (*WellKnown) ProtoMessage()
- func (x *WellKnown) ProtoReflect() protoreflect.Message
- func (x *WellKnown) Reset()
- func (x *WellKnown) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserDefinedEnum_name = map[int32]string{ 0: "UNKNOWN", 1: "VALUE", } UserDefinedEnum_value = map[string]int32{ "UNKNOWN": 0, "VALUE": 1, } )
Enum value maps for UserDefinedEnum.
View Source
var File_github_com_dogmatiq_primo_internal_test_mutator_collection_proto protoreflect.FileDescriptor
View Source
var File_github_com_dogmatiq_primo_internal_test_mutator_oneof_proto protoreflect.FileDescriptor
View Source
var File_github_com_dogmatiq_primo_internal_test_mutator_scalar_proto protoreflect.FileDescriptor
View Source
var File_github_com_dogmatiq_primo_internal_test_mutator_userdefined_proto protoreflect.FileDescriptor
View Source
var File_github_com_dogmatiq_primo_internal_test_mutator_wellknown_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Repeated []int32 `protobuf:"varint,1,rep,packed,name=repeated,proto3" json:"repeated,omitempty"` Map map[string]int32 `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetMap ¶
func (x *Collection) GetMap() map[string]int32
func (*Collection) GetRepeated ¶
func (x *Collection) GetRepeated() []int32
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type OneOf ¶
type OneOf struct { // Types that are assignable to Group: // // *OneOf_FieldA // *OneOf_FieldB // *OneOf_FieldC Group isOneOf_Group `protobuf_oneof:"group"` // contains filtered or unexported fields }
func (*OneOf) Descriptor
deprecated
func (*OneOf) ProtoMessage ¶
func (*OneOf) ProtoMessage()
func (*OneOf) ProtoReflect ¶
func (x *OneOf) ProtoReflect() protoreflect.Message
type OneOf_FieldA ¶
type OneOf_FieldA struct {
FieldA int32 `protobuf:"varint,1,opt,name=field_a,json=fieldA,proto3,oneof"` // note: two fields of the same type
}
type OneOf_FieldB ¶
type OneOf_FieldB struct {
FieldB int32 `protobuf:"varint,2,opt,name=field_b,json=fieldB,proto3,oneof"`
}
type OneOf_FieldC ¶
type OneOf_FieldC struct {
FieldC string `protobuf:"bytes,3,opt,name=field_c,json=fieldC,proto3,oneof"`
}
type Scalar ¶
type Scalar struct { Int32 int32 `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"` Int64 int64 `protobuf:"varint,2,opt,name=int64,proto3" json:"int64,omitempty"` Uint32 uint32 `protobuf:"varint,3,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint64 uint64 `protobuf:"varint,4,opt,name=uint64,proto3" json:"uint64,omitempty"` Sint32 int32 `protobuf:"zigzag32,5,opt,name=sint32,proto3" json:"sint32,omitempty"` Sint64 int64 `protobuf:"zigzag64,6,opt,name=sint64,proto3" json:"sint64,omitempty"` Fixed32 uint32 `protobuf:"fixed32,7,opt,name=fixed32,proto3" json:"fixed32,omitempty"` Fixed64 uint64 `protobuf:"fixed64,8,opt,name=fixed64,proto3" json:"fixed64,omitempty"` Sfixed32 int32 `protobuf:"fixed32,9,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"` Sfixed64 int64 `protobuf:"fixed64,10,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"` Float float32 `protobuf:"fixed32,11,opt,name=float,proto3" json:"float,omitempty"` Double float64 `protobuf:"fixed64,12,opt,name=double,proto3" json:"double,omitempty"` Bool bool `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"` String_ string `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"` Bytes []byte `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*Scalar) Descriptor
deprecated
func (*Scalar) GetFixed32 ¶
func (*Scalar) GetFixed64 ¶
func (*Scalar) GetSfixed32 ¶
func (*Scalar) GetSfixed64 ¶
func (*Scalar) GetString_ ¶
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) ProtoReflect ¶
func (x *Scalar) ProtoReflect() protoreflect.Message
type UserDefined ¶
type UserDefined struct { Message *UserDefinedMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Enum UserDefinedEnum `protobuf:"varint,2,opt,name=enum,proto3,enum=primo.test.mutators.UserDefinedEnum" json:"enum,omitempty"` Nested *UserDefined_Nested `protobuf:"bytes,3,opt,name=nested,proto3" json:"nested,omitempty"` // contains filtered or unexported fields }
func (*UserDefined) Descriptor
deprecated
func (*UserDefined) Descriptor() ([]byte, []int)
Deprecated: Use UserDefined.ProtoReflect.Descriptor instead.
func (*UserDefined) GetEnum ¶
func (x *UserDefined) GetEnum() UserDefinedEnum
func (*UserDefined) GetMessage ¶
func (x *UserDefined) GetMessage() *UserDefinedMessage
func (*UserDefined) GetNested ¶
func (x *UserDefined) GetNested() *UserDefined_Nested
func (*UserDefined) ProtoMessage ¶
func (*UserDefined) ProtoMessage()
func (*UserDefined) ProtoReflect ¶
func (x *UserDefined) ProtoReflect() protoreflect.Message
func (*UserDefined) Reset ¶
func (x *UserDefined) Reset()
func (*UserDefined) String ¶
func (x *UserDefined) String() string
type UserDefinedEnum ¶
type UserDefinedEnum int32
const ( UserDefinedEnum_UNKNOWN UserDefinedEnum = 0 UserDefinedEnum_VALUE UserDefinedEnum = 1 )
func (UserDefinedEnum) Descriptor ¶
func (UserDefinedEnum) Descriptor() protoreflect.EnumDescriptor
func (UserDefinedEnum) Enum ¶
func (x UserDefinedEnum) Enum() *UserDefinedEnum
func (UserDefinedEnum) EnumDescriptor
deprecated
func (UserDefinedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserDefinedEnum.Descriptor instead.
func (UserDefinedEnum) Number ¶
func (x UserDefinedEnum) Number() protoreflect.EnumNumber
func (UserDefinedEnum) String ¶
func (x UserDefinedEnum) String() string
func (UserDefinedEnum) Type ¶
func (UserDefinedEnum) Type() protoreflect.EnumType
type UserDefinedMessage ¶
type UserDefinedMessage struct {
// contains filtered or unexported fields
}
func (*UserDefinedMessage) Descriptor
deprecated
func (*UserDefinedMessage) Descriptor() ([]byte, []int)
Deprecated: Use UserDefinedMessage.ProtoReflect.Descriptor instead.
func (*UserDefinedMessage) ProtoMessage ¶
func (*UserDefinedMessage) ProtoMessage()
func (*UserDefinedMessage) ProtoReflect ¶
func (x *UserDefinedMessage) ProtoReflect() protoreflect.Message
func (*UserDefinedMessage) Reset ¶
func (x *UserDefinedMessage) Reset()
func (*UserDefinedMessage) String ¶
func (x *UserDefinedMessage) String() string
type UserDefined_Nested ¶
type UserDefined_Nested struct {
// contains filtered or unexported fields
}
func (*UserDefined_Nested) Descriptor
deprecated
func (*UserDefined_Nested) Descriptor() ([]byte, []int)
Deprecated: Use UserDefined_Nested.ProtoReflect.Descriptor instead.
func (*UserDefined_Nested) ProtoMessage ¶
func (*UserDefined_Nested) ProtoMessage()
func (*UserDefined_Nested) ProtoReflect ¶
func (x *UserDefined_Nested) ProtoReflect() protoreflect.Message
func (*UserDefined_Nested) Reset ¶
func (x *UserDefined_Nested) Reset()
func (*UserDefined_Nested) String ¶
func (x *UserDefined_Nested) String() string
type WellKnown ¶
type WellKnown struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` Api *apipb.Api `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` BoolValue *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=BoolValue,proto3" json:"BoolValue,omitempty"` BytesValue *wrapperspb.BytesValue `protobuf:"bytes,4,opt,name=BytesValue,proto3" json:"BytesValue,omitempty"` DoubleValue *wrapperspb.DoubleValue `protobuf:"bytes,5,opt,name=DoubleValue,proto3" json:"DoubleValue,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=Duration,proto3" json:"Duration,omitempty"` Empty *emptypb.Empty `protobuf:"bytes,7,opt,name=Empty,proto3" json:"Empty,omitempty"` Enum *typepb.Enum `protobuf:"bytes,8,opt,name=Enum,proto3" json:"Enum,omitempty"` EnumValue *typepb.EnumValue `protobuf:"bytes,9,opt,name=EnumValue,proto3" json:"EnumValue,omitempty"` Field *typepb.Field `protobuf:"bytes,10,opt,name=Field,proto3" json:"Field,omitempty"` FieldCardinality typepb.Field_Cardinality `` /* 126-byte string literal not displayed */ FieldKind typepb.Field_Kind `protobuf:"varint,12,opt,name=FieldKind,proto3,enum=google.protobuf.Field_Kind" json:"FieldKind,omitempty"` FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,13,opt,name=FieldMask,proto3" json:"FieldMask,omitempty"` FloatValue *wrapperspb.FloatValue `protobuf:"bytes,14,opt,name=FloatValue,proto3" json:"FloatValue,omitempty"` Int32Value *wrapperspb.Int32Value `protobuf:"bytes,15,opt,name=Int32Value,proto3" json:"Int32Value,omitempty"` Int64Value *wrapperspb.Int64Value `protobuf:"bytes,16,opt,name=Int64Value,proto3" json:"Int64Value,omitempty"` ListValue *structpb.ListValue `protobuf:"bytes,17,opt,name=ListValue,proto3" json:"ListValue,omitempty"` Method *apipb.Method `protobuf:"bytes,18,opt,name=Method,proto3" json:"Method,omitempty"` Mixin *apipb.Mixin `protobuf:"bytes,19,opt,name=Mixin,proto3" json:"Mixin,omitempty"` NullValue structpb.NullValue `protobuf:"varint,20,opt,name=NullValue,proto3,enum=google.protobuf.NullValue" json:"NullValue,omitempty"` Option *typepb.Option `protobuf:"bytes,21,opt,name=Option,proto3" json:"Option,omitempty"` SourceContext *sourcecontextpb.SourceContext `protobuf:"bytes,22,opt,name=SourceContext,proto3" json:"SourceContext,omitempty"` StringValue *wrapperspb.StringValue `protobuf:"bytes,23,opt,name=StringValue,proto3" json:"StringValue,omitempty"` Struct *structpb.Struct `protobuf:"bytes,24,opt,name=Struct,proto3" json:"Struct,omitempty"` Syntax typepb.Syntax `protobuf:"varint,25,opt,name=Syntax,proto3,enum=google.protobuf.Syntax" json:"Syntax,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` Type *typepb.Type `protobuf:"bytes,27,opt,name=Type,proto3" json:"Type,omitempty"` UInt32Value *wrapperspb.UInt32Value `protobuf:"bytes,28,opt,name=UInt32Value,proto3" json:"UInt32Value,omitempty"` UInt64Value *wrapperspb.UInt64Value `protobuf:"bytes,29,opt,name=UInt64Value,proto3" json:"UInt64Value,omitempty"` Value *structpb.Value `protobuf:"bytes,30,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*WellKnown) Descriptor
deprecated
func (*WellKnown) GetBoolValue ¶
func (x *WellKnown) GetBoolValue() *wrapperspb.BoolValue
func (*WellKnown) GetBytesValue ¶
func (x *WellKnown) GetBytesValue() *wrapperspb.BytesValue
func (*WellKnown) GetDoubleValue ¶
func (x *WellKnown) GetDoubleValue() *wrapperspb.DoubleValue
func (*WellKnown) GetDuration ¶
func (x *WellKnown) GetDuration() *durationpb.Duration
func (*WellKnown) GetEnumValue ¶
func (*WellKnown) GetFieldCardinality ¶
func (x *WellKnown) GetFieldCardinality() typepb.Field_Cardinality
func (*WellKnown) GetFieldKind ¶
func (x *WellKnown) GetFieldKind() typepb.Field_Kind
func (*WellKnown) GetFieldMask ¶
func (x *WellKnown) GetFieldMask() *fieldmaskpb.FieldMask
func (*WellKnown) GetFloatValue ¶
func (x *WellKnown) GetFloatValue() *wrapperspb.FloatValue
func (*WellKnown) GetInt32Value ¶
func (x *WellKnown) GetInt32Value() *wrapperspb.Int32Value
func (*WellKnown) GetInt64Value ¶
func (x *WellKnown) GetInt64Value() *wrapperspb.Int64Value
func (*WellKnown) GetListValue ¶
func (*WellKnown) GetNullValue ¶
func (*WellKnown) GetSourceContext ¶
func (x *WellKnown) GetSourceContext() *sourcecontextpb.SourceContext
func (*WellKnown) GetStringValue ¶
func (x *WellKnown) GetStringValue() *wrapperspb.StringValue
func (*WellKnown) GetTimestamp ¶
func (x *WellKnown) GetTimestamp() *timestamppb.Timestamp
func (*WellKnown) GetUInt32Value ¶
func (x *WellKnown) GetUInt32Value() *wrapperspb.UInt32Value
func (*WellKnown) GetUInt64Value ¶
func (x *WellKnown) GetUInt64Value() *wrapperspb.UInt64Value
func (*WellKnown) ProtoMessage ¶
func (*WellKnown) ProtoMessage()
func (*WellKnown) ProtoReflect ¶
func (x *WellKnown) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.