...

Package testprotos

import "github.com/hyperledger/fabric/common/tools/protolator/testprotos"
Overview
Index

Overview ▾

Index ▾

type ContextlessMsg
    func (*ContextlessMsg) Descriptor() ([]byte, []int)
    func (m *ContextlessMsg) GetOpaqueField() []byte
    func (*ContextlessMsg) ProtoMessage()
    func (m *ContextlessMsg) Reset()
    func (m *ContextlessMsg) String() string
    func (cm *ContextlessMsg) VariablyOpaqueFields() []string
    func (m *ContextlessMsg) XXX_DiscardUnknown()
    func (m *ContextlessMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *ContextlessMsg) XXX_Merge(src proto.Message)
    func (m *ContextlessMsg) XXX_Size() int
    func (m *ContextlessMsg) XXX_Unmarshal(b []byte) error
type DynamicMessageWrapper
    func (dmw *DynamicMessageWrapper) Underlying() proto.Message
    func (dmw *DynamicMessageWrapper) VariablyOpaqueFieldProto(name string) (proto.Message, error)
type DynamicMsg
    func (*DynamicMsg) Descriptor() ([]byte, []int)
    func (vom *DynamicMsg) DynamicFieldProto(name string, underlying proto.Message) (proto.Message, error)
    func (vom *DynamicMsg) DynamicFields() []string
    func (vom *DynamicMsg) DynamicMapFieldProto(name string, key string, underlying proto.Message) (proto.Message, error)
    func (vom *DynamicMsg) DynamicMapFields() []string
    func (vom *DynamicMsg) DynamicSliceFieldProto(name string, index int, underlying proto.Message) (proto.Message, error)
    func (vom *DynamicMsg) DynamicSliceFields() []string
    func (m *DynamicMsg) GetDynamicType() string
    func (m *DynamicMsg) GetMapDynamicField() map[string]*ContextlessMsg
    func (m *DynamicMsg) GetPlainDynamicField() *ContextlessMsg
    func (m *DynamicMsg) GetSliceDynamicField() []*ContextlessMsg
    func (*DynamicMsg) ProtoMessage()
    func (m *DynamicMsg) Reset()
    func (m *DynamicMsg) String() string
    func (m *DynamicMsg) XXX_DiscardUnknown()
    func (m *DynamicMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *DynamicMsg) XXX_Merge(src proto.Message)
    func (m *DynamicMsg) XXX_Size() int
    func (m *DynamicMsg) XXX_Unmarshal(b []byte) error
type NestedMsg
    func (*NestedMsg) Descriptor() ([]byte, []int)
    func (m *NestedMsg) GetMapNestedField() map[string]*SimpleMsg
    func (m *NestedMsg) GetPlainNestedField() *SimpleMsg
    func (m *NestedMsg) GetSliceNestedField() []*SimpleMsg
    func (*NestedMsg) ProtoMessage()
    func (m *NestedMsg) Reset()
    func (m *NestedMsg) String() string
    func (m *NestedMsg) XXX_DiscardUnknown()
    func (m *NestedMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *NestedMsg) XXX_Merge(src proto.Message)
    func (m *NestedMsg) XXX_Size() int
    func (m *NestedMsg) XXX_Unmarshal(b []byte) error
type SimpleMsg
    func (*SimpleMsg) Descriptor() ([]byte, []int)
    func (m *SimpleMsg) GetMapField() map[string]string
    func (m *SimpleMsg) GetPlainField() string
    func (m *SimpleMsg) GetSliceField() []string
    func (*SimpleMsg) ProtoMessage()
    func (m *SimpleMsg) Reset()
    func (m *SimpleMsg) String() string
    func (m *SimpleMsg) XXX_DiscardUnknown()
    func (m *SimpleMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *SimpleMsg) XXX_Merge(src proto.Message)
    func (m *SimpleMsg) XXX_Size() int
    func (m *SimpleMsg) XXX_Unmarshal(b []byte) error
type StaticallyOpaqueMsg
    func (*StaticallyOpaqueMsg) Descriptor() ([]byte, []int)
    func (m *StaticallyOpaqueMsg) GetMapOpaqueField() map[string][]byte
    func (m *StaticallyOpaqueMsg) GetPlainOpaqueField() []byte
    func (m *StaticallyOpaqueMsg) GetSliceOpaqueField() [][]byte
    func (*StaticallyOpaqueMsg) ProtoMessage()
    func (m *StaticallyOpaqueMsg) Reset()
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueFieldProto(name string) (proto.Message, error)
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueFields() []string
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueMapFieldProto(name string, key string) (proto.Message, error)
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueMapFields() []string
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)
    func (som *StaticallyOpaqueMsg) StaticallyOpaqueSliceFields() []string
    func (m *StaticallyOpaqueMsg) String() string
    func (m *StaticallyOpaqueMsg) XXX_DiscardUnknown()
    func (m *StaticallyOpaqueMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *StaticallyOpaqueMsg) XXX_Merge(src proto.Message)
    func (m *StaticallyOpaqueMsg) XXX_Size() int
    func (m *StaticallyOpaqueMsg) XXX_Unmarshal(b []byte) error
type UnmarshalableDeepFields
    func (*UnmarshalableDeepFields) Descriptor() ([]byte, []int)
    func (m *UnmarshalableDeepFields) GetMapOpaqueField() map[string][]byte
    func (m *UnmarshalableDeepFields) GetPlainOpaqueField() []byte
    func (m *UnmarshalableDeepFields) GetSliceOpaqueField() [][]byte
    func (*UnmarshalableDeepFields) ProtoMessage()
    func (m *UnmarshalableDeepFields) Reset()
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueFieldProto(name string) (proto.Message, error)
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueFields() []string
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueMapFieldProto(name, key string) (proto.Message, error)
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueMapFields() []string
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)
    func (udf *UnmarshalableDeepFields) StaticallyOpaqueSliceFields() []string
    func (m *UnmarshalableDeepFields) String() string
    func (m *UnmarshalableDeepFields) XXX_DiscardUnknown()
    func (m *UnmarshalableDeepFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *UnmarshalableDeepFields) XXX_Merge(src proto.Message)
    func (m *UnmarshalableDeepFields) XXX_Size() int
    func (m *UnmarshalableDeepFields) XXX_Unmarshal(b []byte) error
type VariablyOpaqueMsg
    func (*VariablyOpaqueMsg) Descriptor() ([]byte, []int)
    func (m *VariablyOpaqueMsg) GetMapOpaqueField() map[string][]byte
    func (m *VariablyOpaqueMsg) GetOpaqueType() string
    func (m *VariablyOpaqueMsg) GetPlainOpaqueField() []byte
    func (m *VariablyOpaqueMsg) GetSliceOpaqueField() [][]byte
    func (*VariablyOpaqueMsg) ProtoMessage()
    func (m *VariablyOpaqueMsg) Reset()
    func (m *VariablyOpaqueMsg) String() string
    func (vom *VariablyOpaqueMsg) VariablyOpaqueFieldProto(name string) (proto.Message, error)
    func (vom *VariablyOpaqueMsg) VariablyOpaqueFields() []string
    func (vom *VariablyOpaqueMsg) VariablyOpaqueMapFieldProto(name string, key string) (proto.Message, error)
    func (vom *VariablyOpaqueMsg) VariablyOpaqueMapFields() []string
    func (vom *VariablyOpaqueMsg) VariablyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)
    func (vom *VariablyOpaqueMsg) VariablyOpaqueSliceFields() []string
    func (m *VariablyOpaqueMsg) XXX_DiscardUnknown()
    func (m *VariablyOpaqueMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (dst *VariablyOpaqueMsg) XXX_Merge(src proto.Message)
    func (m *VariablyOpaqueMsg) XXX_Size() int
    func (m *VariablyOpaqueMsg) XXX_Unmarshal(b []byte) error

Package files

sample.go sample.pb.go

type ContextlessMsg

ContextlessMsg is designed to carry a message of completely arbitrary type Because there is no context for the type embedded in the message, the opaque type must be dynamically added at runtime

type ContextlessMsg struct {
    OpaqueField          []byte   `protobuf:"bytes,1,opt,name=opaque_field,json=opaqueField,proto3" json:"opaque_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ContextlessMsg) Descriptor

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

func (*ContextlessMsg) GetOpaqueField

func (m *ContextlessMsg) GetOpaqueField() []byte

func (*ContextlessMsg) ProtoMessage

func (*ContextlessMsg) ProtoMessage()

func (*ContextlessMsg) Reset

func (m *ContextlessMsg) Reset()

func (*ContextlessMsg) String

func (m *ContextlessMsg) String() string

func (*ContextlessMsg) VariablyOpaqueFields

func (cm *ContextlessMsg) VariablyOpaqueFields() []string

func (*ContextlessMsg) XXX_DiscardUnknown

func (m *ContextlessMsg) XXX_DiscardUnknown()

func (*ContextlessMsg) XXX_Marshal

func (m *ContextlessMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContextlessMsg) XXX_Merge

func (dst *ContextlessMsg) XXX_Merge(src proto.Message)

func (*ContextlessMsg) XXX_Size

func (m *ContextlessMsg) XXX_Size() int

func (*ContextlessMsg) XXX_Unmarshal

func (m *ContextlessMsg) XXX_Unmarshal(b []byte) error

type DynamicMessageWrapper

type DynamicMessageWrapper struct {
    *ContextlessMsg
    // contains filtered or unexported fields
}

func (*DynamicMessageWrapper) Underlying

func (dmw *DynamicMessageWrapper) Underlying() proto.Message

func (*DynamicMessageWrapper) VariablyOpaqueFieldProto

func (dmw *DynamicMessageWrapper) VariablyOpaqueFieldProto(name string) (proto.Message, error)

type DynamicMsg

DynamicMsg is designed to test the dynamic message component The dynamic wrapper applied to ContextlessMsg is determined by dynamic_type

type DynamicMsg struct {
    DynamicType          string                     `protobuf:"bytes,1,opt,name=dynamic_type,json=dynamicType,proto3" json:"dynamic_type,omitempty"`
    PlainDynamicField    *ContextlessMsg            `protobuf:"bytes,2,opt,name=plain_dynamic_field,json=plainDynamicField,proto3" json:"plain_dynamic_field,omitempty"`
    MapDynamicField      map[string]*ContextlessMsg `protobuf:"bytes,3,rep,name=map_dynamic_field,json=mapDynamicField,proto3" json:"map_dynamic_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceDynamicField    []*ContextlessMsg          `protobuf:"bytes,4,rep,name=slice_dynamic_field,json=sliceDynamicField,proto3" json:"slice_dynamic_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

func (*DynamicMsg) Descriptor

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

func (*DynamicMsg) DynamicFieldProto

func (vom *DynamicMsg) DynamicFieldProto(name string, underlying proto.Message) (proto.Message, error)

func (*DynamicMsg) DynamicFields

func (vom *DynamicMsg) DynamicFields() []string

func (*DynamicMsg) DynamicMapFieldProto

func (vom *DynamicMsg) DynamicMapFieldProto(name string, key string, underlying proto.Message) (proto.Message, error)

func (*DynamicMsg) DynamicMapFields

func (vom *DynamicMsg) DynamicMapFields() []string

func (*DynamicMsg) DynamicSliceFieldProto

func (vom *DynamicMsg) DynamicSliceFieldProto(name string, index int, underlying proto.Message) (proto.Message, error)

func (*DynamicMsg) DynamicSliceFields

func (vom *DynamicMsg) DynamicSliceFields() []string

func (*DynamicMsg) GetDynamicType

func (m *DynamicMsg) GetDynamicType() string

func (*DynamicMsg) GetMapDynamicField

func (m *DynamicMsg) GetMapDynamicField() map[string]*ContextlessMsg

func (*DynamicMsg) GetPlainDynamicField

func (m *DynamicMsg) GetPlainDynamicField() *ContextlessMsg

func (*DynamicMsg) GetSliceDynamicField

func (m *DynamicMsg) GetSliceDynamicField() []*ContextlessMsg

func (*DynamicMsg) ProtoMessage

func (*DynamicMsg) ProtoMessage()

func (*DynamicMsg) Reset

func (m *DynamicMsg) Reset()

func (*DynamicMsg) String

func (m *DynamicMsg) String() string

func (*DynamicMsg) XXX_DiscardUnknown

func (m *DynamicMsg) XXX_DiscardUnknown()

func (*DynamicMsg) XXX_Marshal

func (m *DynamicMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DynamicMsg) XXX_Merge

func (dst *DynamicMsg) XXX_Merge(src proto.Message)

func (*DynamicMsg) XXX_Size

func (m *DynamicMsg) XXX_Size() int

func (*DynamicMsg) XXX_Unmarshal

func (m *DynamicMsg) XXX_Unmarshal(b []byte) error

type NestedMsg

NestedMsg is designed to test the nested message component

type NestedMsg struct {
    PlainNestedField     *SimpleMsg            `protobuf:"bytes,1,opt,name=plain_nested_field,json=plainNestedField,proto3" json:"plain_nested_field,omitempty"`
    MapNestedField       map[string]*SimpleMsg `protobuf:"bytes,2,rep,name=map_nested_field,json=mapNestedField,proto3" json:"map_nested_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceNestedField     []*SimpleMsg          `protobuf:"bytes,3,rep,name=slice_nested_field,json=sliceNestedField,proto3" json:"slice_nested_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*NestedMsg) Descriptor

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

func (*NestedMsg) GetMapNestedField

func (m *NestedMsg) GetMapNestedField() map[string]*SimpleMsg

func (*NestedMsg) GetPlainNestedField

func (m *NestedMsg) GetPlainNestedField() *SimpleMsg

func (*NestedMsg) GetSliceNestedField

func (m *NestedMsg) GetSliceNestedField() []*SimpleMsg

func (*NestedMsg) ProtoMessage

func (*NestedMsg) ProtoMessage()

func (*NestedMsg) Reset

func (m *NestedMsg) Reset()

func (*NestedMsg) String

func (m *NestedMsg) String() string

func (*NestedMsg) XXX_DiscardUnknown

func (m *NestedMsg) XXX_DiscardUnknown()

func (*NestedMsg) XXX_Marshal

func (m *NestedMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NestedMsg) XXX_Merge

func (dst *NestedMsg) XXX_Merge(src proto.Message)

func (*NestedMsg) XXX_Size

func (m *NestedMsg) XXX_Size() int

func (*NestedMsg) XXX_Unmarshal

func (m *NestedMsg) XXX_Unmarshal(b []byte) error

type SimpleMsg

SimpleMsg is designed to test that all three types of message fields, plain, map, and slice are handled by the protolator tool

type SimpleMsg struct {
    PlainField           string            `protobuf:"bytes,1,opt,name=plain_field,json=plainField,proto3" json:"plain_field,omitempty"`
    MapField             map[string]string `protobuf:"bytes,2,rep,name=map_field,json=mapField,proto3" json:"map_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceField           []string          `protobuf:"bytes,3,rep,name=slice_field,json=sliceField,proto3" json:"slice_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*SimpleMsg) Descriptor

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

func (*SimpleMsg) GetMapField

func (m *SimpleMsg) GetMapField() map[string]string

func (*SimpleMsg) GetPlainField

func (m *SimpleMsg) GetPlainField() string

func (*SimpleMsg) GetSliceField

func (m *SimpleMsg) GetSliceField() []string

func (*SimpleMsg) ProtoMessage

func (*SimpleMsg) ProtoMessage()

func (*SimpleMsg) Reset

func (m *SimpleMsg) Reset()

func (*SimpleMsg) String

func (m *SimpleMsg) String() string

func (*SimpleMsg) XXX_DiscardUnknown

func (m *SimpleMsg) XXX_DiscardUnknown()

func (*SimpleMsg) XXX_Marshal

func (m *SimpleMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleMsg) XXX_Merge

func (dst *SimpleMsg) XXX_Merge(src proto.Message)

func (*SimpleMsg) XXX_Size

func (m *SimpleMsg) XXX_Size() int

func (*SimpleMsg) XXX_Unmarshal

func (m *SimpleMsg) XXX_Unmarshal(b []byte) error

type StaticallyOpaqueMsg

StaticallyOpaqueMsg is designed to test the statically opaque message component All fields are statically marshaled to the NestedMsg type

type StaticallyOpaqueMsg struct {
    PlainOpaqueField     []byte            `protobuf:"bytes,1,opt,name=plain_opaque_field,json=plainOpaqueField,proto3" json:"plain_opaque_field,omitempty"`
    MapOpaqueField       map[string][]byte `protobuf:"bytes,2,rep,name=map_opaque_field,json=mapOpaqueField,proto3" json:"map_opaque_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceOpaqueField     [][]byte          `protobuf:"bytes,3,rep,name=slice_opaque_field,json=sliceOpaqueField,proto3" json:"slice_opaque_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*StaticallyOpaqueMsg) Descriptor

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

func (*StaticallyOpaqueMsg) GetMapOpaqueField

func (m *StaticallyOpaqueMsg) GetMapOpaqueField() map[string][]byte

func (*StaticallyOpaqueMsg) GetPlainOpaqueField

func (m *StaticallyOpaqueMsg) GetPlainOpaqueField() []byte

func (*StaticallyOpaqueMsg) GetSliceOpaqueField

func (m *StaticallyOpaqueMsg) GetSliceOpaqueField() [][]byte

func (*StaticallyOpaqueMsg) ProtoMessage

func (*StaticallyOpaqueMsg) ProtoMessage()

func (*StaticallyOpaqueMsg) Reset

func (m *StaticallyOpaqueMsg) Reset()

func (*StaticallyOpaqueMsg) StaticallyOpaqueFieldProto

func (som *StaticallyOpaqueMsg) StaticallyOpaqueFieldProto(name string) (proto.Message, error)

func (*StaticallyOpaqueMsg) StaticallyOpaqueFields

func (som *StaticallyOpaqueMsg) StaticallyOpaqueFields() []string

func (*StaticallyOpaqueMsg) StaticallyOpaqueMapFieldProto

func (som *StaticallyOpaqueMsg) StaticallyOpaqueMapFieldProto(name string, key string) (proto.Message, error)

func (*StaticallyOpaqueMsg) StaticallyOpaqueMapFields

func (som *StaticallyOpaqueMsg) StaticallyOpaqueMapFields() []string

func (*StaticallyOpaqueMsg) StaticallyOpaqueSliceFieldProto

func (som *StaticallyOpaqueMsg) StaticallyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)

func (*StaticallyOpaqueMsg) StaticallyOpaqueSliceFields

func (som *StaticallyOpaqueMsg) StaticallyOpaqueSliceFields() []string

func (*StaticallyOpaqueMsg) String

func (m *StaticallyOpaqueMsg) String() string

func (*StaticallyOpaqueMsg) XXX_DiscardUnknown

func (m *StaticallyOpaqueMsg) XXX_DiscardUnknown()

func (*StaticallyOpaqueMsg) XXX_Marshal

func (m *StaticallyOpaqueMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StaticallyOpaqueMsg) XXX_Merge

func (dst *StaticallyOpaqueMsg) XXX_Merge(src proto.Message)

func (*StaticallyOpaqueMsg) XXX_Size

func (m *StaticallyOpaqueMsg) XXX_Size() int

func (*StaticallyOpaqueMsg) XXX_Unmarshal

func (m *StaticallyOpaqueMsg) XXX_Unmarshal(b []byte) error

type UnmarshalableDeepFields

UnmarshalableDeepFields contains fields which are defined to be opaque, but will return an error if they are asked to be deserialized.

type UnmarshalableDeepFields struct {
    PlainOpaqueField     []byte            `protobuf:"bytes,1,opt,name=plain_opaque_field,json=plainOpaqueField,proto3" json:"plain_opaque_field,omitempty"`
    MapOpaqueField       map[string][]byte `protobuf:"bytes,2,rep,name=map_opaque_field,json=mapOpaqueField,proto3" json:"map_opaque_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceOpaqueField     [][]byte          `protobuf:"bytes,3,rep,name=slice_opaque_field,json=sliceOpaqueField,proto3" json:"slice_opaque_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*UnmarshalableDeepFields) Descriptor

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

func (*UnmarshalableDeepFields) GetMapOpaqueField

func (m *UnmarshalableDeepFields) GetMapOpaqueField() map[string][]byte

func (*UnmarshalableDeepFields) GetPlainOpaqueField

func (m *UnmarshalableDeepFields) GetPlainOpaqueField() []byte

func (*UnmarshalableDeepFields) GetSliceOpaqueField

func (m *UnmarshalableDeepFields) GetSliceOpaqueField() [][]byte

func (*UnmarshalableDeepFields) ProtoMessage

func (*UnmarshalableDeepFields) ProtoMessage()

func (*UnmarshalableDeepFields) Reset

func (m *UnmarshalableDeepFields) Reset()

func (*UnmarshalableDeepFields) StaticallyOpaqueFieldProto

func (udf *UnmarshalableDeepFields) StaticallyOpaqueFieldProto(name string) (proto.Message, error)

func (*UnmarshalableDeepFields) StaticallyOpaqueFields

func (udf *UnmarshalableDeepFields) StaticallyOpaqueFields() []string

func (*UnmarshalableDeepFields) StaticallyOpaqueMapFieldProto

func (udf *UnmarshalableDeepFields) StaticallyOpaqueMapFieldProto(name, key string) (proto.Message, error)

func (*UnmarshalableDeepFields) StaticallyOpaqueMapFields

func (udf *UnmarshalableDeepFields) StaticallyOpaqueMapFields() []string

func (*UnmarshalableDeepFields) StaticallyOpaqueSliceFieldProto

func (udf *UnmarshalableDeepFields) StaticallyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)

func (*UnmarshalableDeepFields) StaticallyOpaqueSliceFields

func (udf *UnmarshalableDeepFields) StaticallyOpaqueSliceFields() []string

func (*UnmarshalableDeepFields) String

func (m *UnmarshalableDeepFields) String() string

func (*UnmarshalableDeepFields) XXX_DiscardUnknown

func (m *UnmarshalableDeepFields) XXX_DiscardUnknown()

func (*UnmarshalableDeepFields) XXX_Marshal

func (m *UnmarshalableDeepFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnmarshalableDeepFields) XXX_Merge

func (dst *UnmarshalableDeepFields) XXX_Merge(src proto.Message)

func (*UnmarshalableDeepFields) XXX_Size

func (m *UnmarshalableDeepFields) XXX_Size() int

func (*UnmarshalableDeepFields) XXX_Unmarshal

func (m *UnmarshalableDeepFields) XXX_Unmarshal(b []byte) error

type VariablyOpaqueMsg

VariablyOpaqueMsg is designed to test the staticaly opaque message component The opaque type is determined by opaque_type

type VariablyOpaqueMsg struct {
    OpaqueType           string            `protobuf:"bytes,1,opt,name=opaque_type,json=opaqueType,proto3" json:"opaque_type,omitempty"`
    PlainOpaqueField     []byte            `protobuf:"bytes,2,opt,name=plain_opaque_field,json=plainOpaqueField,proto3" json:"plain_opaque_field,omitempty"`
    MapOpaqueField       map[string][]byte `protobuf:"bytes,3,rep,name=map_opaque_field,json=mapOpaqueField,proto3" json:"map_opaque_field,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    SliceOpaqueField     [][]byte          `protobuf:"bytes,4,rep,name=slice_opaque_field,json=sliceOpaqueField,proto3" json:"slice_opaque_field,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

func (*VariablyOpaqueMsg) Descriptor

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

func (*VariablyOpaqueMsg) GetMapOpaqueField

func (m *VariablyOpaqueMsg) GetMapOpaqueField() map[string][]byte

func (*VariablyOpaqueMsg) GetOpaqueType

func (m *VariablyOpaqueMsg) GetOpaqueType() string

func (*VariablyOpaqueMsg) GetPlainOpaqueField

func (m *VariablyOpaqueMsg) GetPlainOpaqueField() []byte

func (*VariablyOpaqueMsg) GetSliceOpaqueField

func (m *VariablyOpaqueMsg) GetSliceOpaqueField() [][]byte

func (*VariablyOpaqueMsg) ProtoMessage

func (*VariablyOpaqueMsg) ProtoMessage()

func (*VariablyOpaqueMsg) Reset

func (m *VariablyOpaqueMsg) Reset()

func (*VariablyOpaqueMsg) String

func (m *VariablyOpaqueMsg) String() string

func (*VariablyOpaqueMsg) VariablyOpaqueFieldProto

func (vom *VariablyOpaqueMsg) VariablyOpaqueFieldProto(name string) (proto.Message, error)

func (*VariablyOpaqueMsg) VariablyOpaqueFields

func (vom *VariablyOpaqueMsg) VariablyOpaqueFields() []string

func (*VariablyOpaqueMsg) VariablyOpaqueMapFieldProto

func (vom *VariablyOpaqueMsg) VariablyOpaqueMapFieldProto(name string, key string) (proto.Message, error)

func (*VariablyOpaqueMsg) VariablyOpaqueMapFields

func (vom *VariablyOpaqueMsg) VariablyOpaqueMapFields() []string

func (*VariablyOpaqueMsg) VariablyOpaqueSliceFieldProto

func (vom *VariablyOpaqueMsg) VariablyOpaqueSliceFieldProto(name string, index int) (proto.Message, error)

func (*VariablyOpaqueMsg) VariablyOpaqueSliceFields

func (vom *VariablyOpaqueMsg) VariablyOpaqueSliceFields() []string

func (*VariablyOpaqueMsg) XXX_DiscardUnknown

func (m *VariablyOpaqueMsg) XXX_DiscardUnknown()

func (*VariablyOpaqueMsg) XXX_Marshal

func (m *VariablyOpaqueMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariablyOpaqueMsg) XXX_Merge

func (dst *VariablyOpaqueMsg) XXX_Merge(src proto.Message)

func (*VariablyOpaqueMsg) XXX_Size

func (m *VariablyOpaqueMsg) XXX_Size() int

func (*VariablyOpaqueMsg) XXX_Unmarshal

func (m *VariablyOpaqueMsg) XXX_Unmarshal(b []byte) error