stubs1

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_dogmatiq_enginekit_marshaler_internal_stubs1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProtoMessage

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

ProtoMessage is a generic protocol buffers message.

func (*ProtoMessage) Descriptor deprecated

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

Deprecated: Use ProtoMessage.ProtoReflect.Descriptor instead.

func (*ProtoMessage) GetValue

func (x *ProtoMessage) GetValue() string

func (*ProtoMessage) ProtoMessage

func (*ProtoMessage) ProtoMessage()

func (*ProtoMessage) ProtoReflect

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

func (*ProtoMessage) Reset

func (x *ProtoMessage) Reset()

func (*ProtoMessage) SetValue

func (x *ProtoMessage) SetValue(v string)

SetValue sets the x.Value field to v, then returns x.

func (*ProtoMessage) String

func (x *ProtoMessage) String() string

type ProtoMessageBuilder

type ProtoMessageBuilder struct {
	// contains filtered or unexported fields
}

func NewProtoMessageBuilder

func NewProtoMessageBuilder() *ProtoMessageBuilder

NewProtoMessageBuilder returns a builder that constructs ProtoMessage messages.

func (*ProtoMessageBuilder) Build

func (b *ProtoMessageBuilder) Build() *ProtoMessage

Build returns a new ProtoMessage containing the values configured via the builder.

Each call returns a new message, such that future changes to the builder do not modify previously constructed messages.

func (*ProtoMessageBuilder) From

From configures the builder to use x as the prototype for new messages, then returns b.

It performs a shallow copy of x, such that any changes made via the builder do not modify x. It does not make a copy of the field values themselves.

func (*ProtoMessageBuilder) WithValue

WithValue configures the builder to set the Value field to v, then returns b.

Jump to

Keyboard shortcuts

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