fixtures

package
v0.0.0-...-d2e5bb1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnumNotAnnotated_name = map[int32]string{
		0: "zero_value",
		1: "not_annotated",
		2: "released",
		3: "previewed",
		4: "previewed_then_released",
		6: "previewed_then_removed",
		7: "released_then_removed",
	}
	EnumNotAnnotated_value = map[string]int32{
		"zero_value":              0,
		"not_annotated":           1,
		"released":                2,
		"previewed":               3,
		"previewed_then_released": 4,
		"previewed_then_removed":  6,
		"released_then_removed":   7,
	}
)

Enum value maps for EnumNotAnnotated.

View Source
var File_fixtures_core_proto protoreflect.FileDescriptor
View Source
var File_fixtures_imported_proto protoreflect.FileDescriptor
View Source
var TestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.github.devnev.proto_releases.fixtures.TestService",
	HandlerType: (*TestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EmptyMethodNotAnnotated",
			Handler:    _TestService_EmptyMethodNotAnnotated_Handler,
		},
		{
			MethodName: "EmptyMethodReleased",
			Handler:    _TestService_EmptyMethodReleased_Handler,
		},
		{
			MethodName: "MethodNotAnnotated",
			Handler:    _TestService_MethodNotAnnotated_Handler,
		},
		{
			MethodName: "MethodReleased",
			Handler:    _TestService_MethodReleased_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fixtures/core.proto",
}

TestService_ServiceDesc is the grpc.ServiceDesc for TestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTestServiceServer

func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)

Types

type EmptyMessageNotAnnotated

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

func (*EmptyMessageNotAnnotated) Descriptor deprecated

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

Deprecated: Use EmptyMessageNotAnnotated.ProtoReflect.Descriptor instead.

func (*EmptyMessageNotAnnotated) ProtoMessage

func (*EmptyMessageNotAnnotated) ProtoMessage()

func (*EmptyMessageNotAnnotated) ProtoReflect

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

func (*EmptyMessageNotAnnotated) Reset

func (x *EmptyMessageNotAnnotated) Reset()

func (*EmptyMessageNotAnnotated) String

func (x *EmptyMessageNotAnnotated) String() string

func (*EmptyMessageNotAnnotated) ToRelease

type EmptyMessagePreviewed

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

func (*EmptyMessagePreviewed) Descriptor deprecated

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

Deprecated: Use EmptyMessagePreviewed.ProtoReflect.Descriptor instead.

func (*EmptyMessagePreviewed) ProtoMessage

func (*EmptyMessagePreviewed) ProtoMessage()

func (*EmptyMessagePreviewed) ProtoReflect

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

func (*EmptyMessagePreviewed) Reset

func (x *EmptyMessagePreviewed) Reset()

func (*EmptyMessagePreviewed) String

func (x *EmptyMessagePreviewed) String() string

func (*EmptyMessagePreviewed) ToRelease

func (m *EmptyMessagePreviewed) ToRelease(c *proto_releases.Config)

type EmptyMessagePreviewedThenReleased

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

func (*EmptyMessagePreviewedThenReleased) Descriptor deprecated

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

Deprecated: Use EmptyMessagePreviewedThenReleased.ProtoReflect.Descriptor instead.

func (*EmptyMessagePreviewedThenReleased) ProtoMessage

func (*EmptyMessagePreviewedThenReleased) ProtoMessage()

func (*EmptyMessagePreviewedThenReleased) ProtoReflect

func (*EmptyMessagePreviewedThenReleased) Reset

func (*EmptyMessagePreviewedThenReleased) String

func (*EmptyMessagePreviewedThenReleased) ToRelease

type EmptyMessagePreviewedThenRemoved

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

func (*EmptyMessagePreviewedThenRemoved) Descriptor deprecated

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

Deprecated: Use EmptyMessagePreviewedThenRemoved.ProtoReflect.Descriptor instead.

func (*EmptyMessagePreviewedThenRemoved) ProtoMessage

func (*EmptyMessagePreviewedThenRemoved) ProtoMessage()

func (*EmptyMessagePreviewedThenRemoved) ProtoReflect

func (*EmptyMessagePreviewedThenRemoved) Reset

func (*EmptyMessagePreviewedThenRemoved) String

func (*EmptyMessagePreviewedThenRemoved) ToRelease

type EmptyMessageReleased

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

func (*EmptyMessageReleased) Descriptor deprecated

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

Deprecated: Use EmptyMessageReleased.ProtoReflect.Descriptor instead.

func (*EmptyMessageReleased) ProtoMessage

func (*EmptyMessageReleased) ProtoMessage()

func (*EmptyMessageReleased) ProtoReflect

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

func (*EmptyMessageReleased) Reset

func (x *EmptyMessageReleased) Reset()

func (*EmptyMessageReleased) String

func (x *EmptyMessageReleased) String() string

func (*EmptyMessageReleased) ToRelease

func (m *EmptyMessageReleased) ToRelease(c *proto_releases.Config)

type EmptyMessageReleasedThenRemoved

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

func (*EmptyMessageReleasedThenRemoved) Descriptor deprecated

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

Deprecated: Use EmptyMessageReleasedThenRemoved.ProtoReflect.Descriptor instead.

func (*EmptyMessageReleasedThenRemoved) ProtoMessage

func (*EmptyMessageReleasedThenRemoved) ProtoMessage()

func (*EmptyMessageReleasedThenRemoved) ProtoReflect

func (*EmptyMessageReleasedThenRemoved) Reset

func (*EmptyMessageReleasedThenRemoved) String

func (*EmptyMessageReleasedThenRemoved) ToRelease

type EnumNotAnnotated

type EnumNotAnnotated int32
const (
	EnumNotAnnotated_zero_value              EnumNotAnnotated = 0
	EnumNotAnnotated_not_annotated           EnumNotAnnotated = 1
	EnumNotAnnotated_released                EnumNotAnnotated = 2
	EnumNotAnnotated_previewed               EnumNotAnnotated = 3
	EnumNotAnnotated_previewed_then_released EnumNotAnnotated = 4
	EnumNotAnnotated_previewed_then_removed  EnumNotAnnotated = 6
	EnumNotAnnotated_released_then_removed   EnumNotAnnotated = 7
)

func (EnumNotAnnotated) Descriptor

func (EnumNotAnnotated) Enum

func (EnumNotAnnotated) EnumDescriptor deprecated

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

Deprecated: Use EnumNotAnnotated.Descriptor instead.

func (EnumNotAnnotated) Number

func (EnumNotAnnotated) String

func (x EnumNotAnnotated) String() string

func (EnumNotAnnotated) ToRelease

func (EnumNotAnnotated) Type

type ImportedNotAnnotatedAndEmpty

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

func (*ImportedNotAnnotatedAndEmpty) Descriptor deprecated

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

Deprecated: Use ImportedNotAnnotatedAndEmpty.ProtoReflect.Descriptor instead.

func (*ImportedNotAnnotatedAndEmpty) ProtoMessage

func (*ImportedNotAnnotatedAndEmpty) ProtoMessage()

func (*ImportedNotAnnotatedAndEmpty) ProtoReflect

func (*ImportedNotAnnotatedAndEmpty) Reset

func (x *ImportedNotAnnotatedAndEmpty) Reset()

func (*ImportedNotAnnotatedAndEmpty) String

func (*ImportedNotAnnotatedAndEmpty) ToRelease

type ImportedNotAnnotatedWithReleasedField

type ImportedNotAnnotatedWithReleasedField struct {
	Released int32 `protobuf:"varint,1,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportedNotAnnotatedWithReleasedField) Descriptor deprecated

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

Deprecated: Use ImportedNotAnnotatedWithReleasedField.ProtoReflect.Descriptor instead.

func (*ImportedNotAnnotatedWithReleasedField) GetReleased

func (*ImportedNotAnnotatedWithReleasedField) ProtoMessage

func (*ImportedNotAnnotatedWithReleasedField) ProtoMessage()

func (*ImportedNotAnnotatedWithReleasedField) ProtoReflect

func (*ImportedNotAnnotatedWithReleasedField) Reset

func (*ImportedNotAnnotatedWithReleasedField) String

func (*ImportedNotAnnotatedWithReleasedField) ToRelease

type ImportedNotAnnotatedWithUnreleasedField

type ImportedNotAnnotatedWithUnreleasedField struct {
	Released int32 `protobuf:"varint,1,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportedNotAnnotatedWithUnreleasedField) Descriptor deprecated

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

Deprecated: Use ImportedNotAnnotatedWithUnreleasedField.ProtoReflect.Descriptor instead.

func (*ImportedNotAnnotatedWithUnreleasedField) GetReleased

func (*ImportedNotAnnotatedWithUnreleasedField) ProtoMessage

func (*ImportedNotAnnotatedWithUnreleasedField) ProtoReflect

func (*ImportedNotAnnotatedWithUnreleasedField) Reset

func (*ImportedNotAnnotatedWithUnreleasedField) String

func (*ImportedNotAnnotatedWithUnreleasedField) ToRelease

type ImportedRelesed

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

func (*ImportedRelesed) Descriptor deprecated

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

Deprecated: Use ImportedRelesed.ProtoReflect.Descriptor instead.

func (*ImportedRelesed) ProtoMessage

func (*ImportedRelesed) ProtoMessage()

func (*ImportedRelesed) ProtoReflect

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

func (*ImportedRelesed) Reset

func (x *ImportedRelesed) Reset()

func (*ImportedRelesed) String

func (x *ImportedRelesed) String() string

func (*ImportedRelesed) ToRelease

func (m *ImportedRelesed) ToRelease(c *proto_releases.Config)

type MessageNotAnnotated

type MessageNotAnnotated struct {
	NotAnnotated          int32 `protobuf:"varint,1,opt,name=not_annotated,json=notAnnotated,proto3" json:"not_annotated,omitempty"`
	Released              int32 `protobuf:"varint,2,opt,name=released,proto3" json:"released,omitempty"`
	Previewed             int32 `protobuf:"varint,3,opt,name=previewed,proto3" json:"previewed,omitempty"`
	PreviewedThenReleased int32 `` /* 127-byte string literal not displayed */
	PreviewedThenRemoved  int32 `protobuf:"varint,6,opt,name=previewed_then_removed,json=previewedThenRemoved,proto3" json:"previewed_then_removed,omitempty"`
	ReleasedThenRemoved   int32 `protobuf:"varint,7,opt,name=released_then_removed,json=releasedThenRemoved,proto3" json:"released_then_removed,omitempty"`
	// Types that are assignable to NotAnnotatedOneof:
	//	*MessageNotAnnotated_OneofItemNotAnnotated
	NotAnnotatedOneof isMessageNotAnnotated_NotAnnotatedOneof `protobuf_oneof:"not_annotated_oneof"`
	// contains filtered or unexported fields
}

func (*MessageNotAnnotated) Descriptor deprecated

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

Deprecated: Use MessageNotAnnotated.ProtoReflect.Descriptor instead.

func (*MessageNotAnnotated) GetNotAnnotated

func (x *MessageNotAnnotated) GetNotAnnotated() int32

func (*MessageNotAnnotated) GetNotAnnotatedOneof

func (m *MessageNotAnnotated) GetNotAnnotatedOneof() isMessageNotAnnotated_NotAnnotatedOneof

func (*MessageNotAnnotated) GetOneofItemNotAnnotated

func (x *MessageNotAnnotated) GetOneofItemNotAnnotated() int32

func (*MessageNotAnnotated) GetPreviewed

func (x *MessageNotAnnotated) GetPreviewed() int32

func (*MessageNotAnnotated) GetPreviewedThenReleased

func (x *MessageNotAnnotated) GetPreviewedThenReleased() int32

func (*MessageNotAnnotated) GetPreviewedThenRemoved

func (x *MessageNotAnnotated) GetPreviewedThenRemoved() int32

func (*MessageNotAnnotated) GetReleased

func (x *MessageNotAnnotated) GetReleased() int32

func (*MessageNotAnnotated) GetReleasedThenRemoved

func (x *MessageNotAnnotated) GetReleasedThenRemoved() int32

func (*MessageNotAnnotated) ProtoMessage

func (*MessageNotAnnotated) ProtoMessage()

func (*MessageNotAnnotated) ProtoReflect

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

func (*MessageNotAnnotated) Reset

func (x *MessageNotAnnotated) Reset()

func (*MessageNotAnnotated) String

func (x *MessageNotAnnotated) String() string

func (*MessageNotAnnotated) ToRelease

func (m *MessageNotAnnotated) ToRelease(c *proto_releases.Config)

type MessageNotAnnotated_OneofItemNotAnnotated

type MessageNotAnnotated_OneofItemNotAnnotated struct {
	OneofItemNotAnnotated int32 `protobuf:"varint,8,opt,name=oneof_item_not_annotated,json=oneofItemNotAnnotated,proto3,oneof"`
}

type MessageWithEnumFields

type MessageWithEnumFields struct {
	NotAnnotated EnumNotAnnotated `` /* 162-byte string literal not displayed */
	Released     EnumNotAnnotated `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageWithEnumFields) Descriptor deprecated

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

Deprecated: Use MessageWithEnumFields.ProtoReflect.Descriptor instead.

func (*MessageWithEnumFields) GetNotAnnotated

func (x *MessageWithEnumFields) GetNotAnnotated() EnumNotAnnotated

func (*MessageWithEnumFields) GetReleased

func (x *MessageWithEnumFields) GetReleased() EnumNotAnnotated

func (*MessageWithEnumFields) ProtoMessage

func (*MessageWithEnumFields) ProtoMessage()

func (*MessageWithEnumFields) ProtoReflect

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

func (*MessageWithEnumFields) Reset

func (x *MessageWithEnumFields) Reset()

func (*MessageWithEnumFields) String

func (x *MessageWithEnumFields) String() string

func (*MessageWithEnumFields) ToRelease

func (m *MessageWithEnumFields) ToRelease(c *proto_releases.Config)

type MessageWithImportedFields

type MessageWithImportedFields struct {
	Empty          *ImportedNotAnnotatedAndEmpty            `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
	WithUnreleased *ImportedNotAnnotatedWithUnreleasedField `protobuf:"bytes,2,opt,name=with_unreleased,json=withUnreleased,proto3" json:"with_unreleased,omitempty"`
	WithReleased   *ImportedNotAnnotatedWithReleasedField   `protobuf:"bytes,3,opt,name=with_released,json=withReleased,proto3" json:"with_released,omitempty"`
	EmptyReleased  *ImportedRelesed                         `protobuf:"bytes,4,opt,name=empty_released,json=emptyReleased,proto3" json:"empty_released,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithImportedFields) Descriptor deprecated

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

Deprecated: Use MessageWithImportedFields.ProtoReflect.Descriptor instead.

func (*MessageWithImportedFields) GetEmpty

func (*MessageWithImportedFields) GetEmptyReleased

func (x *MessageWithImportedFields) GetEmptyReleased() *ImportedRelesed

func (*MessageWithImportedFields) GetWithReleased

func (*MessageWithImportedFields) GetWithUnreleased

func (*MessageWithImportedFields) ProtoMessage

func (*MessageWithImportedFields) ProtoMessage()

func (*MessageWithImportedFields) ProtoReflect

func (*MessageWithImportedFields) Reset

func (x *MessageWithImportedFields) Reset()

func (*MessageWithImportedFields) String

func (x *MessageWithImportedFields) String() string

func (*MessageWithImportedFields) ToRelease

type MessageWithNoAnnotations

type MessageWithNoAnnotations struct {
	NotAnnotated int32 `protobuf:"varint,1,opt,name=not_annotated,json=notAnnotated,proto3" json:"not_annotated,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithNoAnnotations) Descriptor deprecated

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

Deprecated: Use MessageWithNoAnnotations.ProtoReflect.Descriptor instead.

func (*MessageWithNoAnnotations) GetNotAnnotated

func (x *MessageWithNoAnnotations) GetNotAnnotated() int32

func (*MessageWithNoAnnotations) ProtoMessage

func (*MessageWithNoAnnotations) ProtoMessage()

func (*MessageWithNoAnnotations) ProtoReflect

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

func (*MessageWithNoAnnotations) Reset

func (x *MessageWithNoAnnotations) Reset()

func (*MessageWithNoAnnotations) String

func (x *MessageWithNoAnnotations) String() string

func (*MessageWithNoAnnotations) ToRelease

type MessageWithOneofWithMessages

type MessageWithOneofWithMessages struct {

	// Types that are assignable to OneofWithMessage:
	//	*MessageWithOneofWithMessages_MessageWithNoAnnotations
	//	*MessageWithOneofWithMessages_MessageWithReleasedField
	//	*MessageWithOneofWithMessages_MessageWithReleaseAnnotation
	OneofWithMessage isMessageWithOneofWithMessages_OneofWithMessage `protobuf_oneof:"oneof_with_message"`
	// contains filtered or unexported fields
}

func (*MessageWithOneofWithMessages) Descriptor deprecated

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

Deprecated: Use MessageWithOneofWithMessages.ProtoReflect.Descriptor instead.

func (*MessageWithOneofWithMessages) GetMessageWithNoAnnotations

func (x *MessageWithOneofWithMessages) GetMessageWithNoAnnotations() *MessageWithNoAnnotations

func (*MessageWithOneofWithMessages) GetMessageWithReleaseAnnotation

func (x *MessageWithOneofWithMessages) GetMessageWithReleaseAnnotation() *MessageWithReleasedField

func (*MessageWithOneofWithMessages) GetMessageWithReleasedField

func (x *MessageWithOneofWithMessages) GetMessageWithReleasedField() *MessageWithReleasedField

func (*MessageWithOneofWithMessages) GetOneofWithMessage

func (m *MessageWithOneofWithMessages) GetOneofWithMessage() isMessageWithOneofWithMessages_OneofWithMessage

func (*MessageWithOneofWithMessages) ProtoMessage

func (*MessageWithOneofWithMessages) ProtoMessage()

func (*MessageWithOneofWithMessages) ProtoReflect

func (*MessageWithOneofWithMessages) Reset

func (x *MessageWithOneofWithMessages) Reset()

func (*MessageWithOneofWithMessages) String

func (*MessageWithOneofWithMessages) ToRelease

type MessageWithOneofWithMessages_MessageWithNoAnnotations

type MessageWithOneofWithMessages_MessageWithNoAnnotations struct {
	MessageWithNoAnnotations *MessageWithNoAnnotations `protobuf:"bytes,1,opt,name=message_with_no_annotations,json=messageWithNoAnnotations,proto3,oneof"`
}

type MessageWithOneofWithMessages_MessageWithReleaseAnnotation

type MessageWithOneofWithMessages_MessageWithReleaseAnnotation struct {
	MessageWithReleaseAnnotation *MessageWithReleasedField `protobuf:"bytes,3,opt,name=message_with_release_annotation,json=messageWithReleaseAnnotation,proto3,oneof"`
}

type MessageWithOneofWithMessages_MessageWithReleasedField

type MessageWithOneofWithMessages_MessageWithReleasedField struct {
	MessageWithReleasedField *MessageWithReleasedField `protobuf:"bytes,2,opt,name=message_with_released_field,json=messageWithReleasedField,proto3,oneof"`
}

type MessageWithOneofsWithEnumFields

type MessageWithOneofsWithEnumFields struct {

	// Types that are assignable to OneofWithEnumField:
	//	*MessageWithOneofsWithEnumFields_NotAnnotated
	//	*MessageWithOneofsWithEnumFields_Released
	OneofWithEnumField isMessageWithOneofsWithEnumFields_OneofWithEnumField `protobuf_oneof:"oneof_with_enum_field"`
	// contains filtered or unexported fields
}

func (*MessageWithOneofsWithEnumFields) Descriptor deprecated

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

Deprecated: Use MessageWithOneofsWithEnumFields.ProtoReflect.Descriptor instead.

func (*MessageWithOneofsWithEnumFields) GetNotAnnotated

func (*MessageWithOneofsWithEnumFields) GetOneofWithEnumField

func (m *MessageWithOneofsWithEnumFields) GetOneofWithEnumField() isMessageWithOneofsWithEnumFields_OneofWithEnumField

func (*MessageWithOneofsWithEnumFields) GetReleased

func (*MessageWithOneofsWithEnumFields) ProtoMessage

func (*MessageWithOneofsWithEnumFields) ProtoMessage()

func (*MessageWithOneofsWithEnumFields) ProtoReflect

func (*MessageWithOneofsWithEnumFields) Reset

func (*MessageWithOneofsWithEnumFields) String

func (*MessageWithOneofsWithEnumFields) ToRelease

type MessageWithOneofsWithEnumFields_NotAnnotated

type MessageWithOneofsWithEnumFields_NotAnnotated struct {
	NotAnnotated EnumNotAnnotated `` /* 137-byte string literal not displayed */
}

type MessageWithOneofsWithEnumFields_Released

type MessageWithOneofsWithEnumFields_Released struct {
	Released EnumNotAnnotated `protobuf:"varint,2,opt,name=released,proto3,enum=com.github.devnev.proto_releases.fixtures.EnumNotAnnotated,oneof"`
}

type MessageWithPreviewField

type MessageWithPreviewField struct {
	Released int32 `protobuf:"varint,1,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithPreviewField) Descriptor deprecated

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

Deprecated: Use MessageWithPreviewField.ProtoReflect.Descriptor instead.

func (*MessageWithPreviewField) GetReleased

func (x *MessageWithPreviewField) GetReleased() int32

func (*MessageWithPreviewField) ProtoMessage

func (*MessageWithPreviewField) ProtoMessage()

func (*MessageWithPreviewField) ProtoReflect

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

func (*MessageWithPreviewField) Reset

func (x *MessageWithPreviewField) Reset()

func (*MessageWithPreviewField) String

func (x *MessageWithPreviewField) String() string

func (*MessageWithPreviewField) ToRelease

type MessageWithReleasedField

type MessageWithReleasedField struct {
	Released int32 `protobuf:"varint,1,opt,name=released,proto3" json:"released,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithReleasedField) Descriptor deprecated

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

Deprecated: Use MessageWithReleasedField.ProtoReflect.Descriptor instead.

func (*MessageWithReleasedField) GetReleased

func (x *MessageWithReleasedField) GetReleased() int32

func (*MessageWithReleasedField) ProtoMessage

func (*MessageWithReleasedField) ProtoMessage()

func (*MessageWithReleasedField) ProtoReflect

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

func (*MessageWithReleasedField) Reset

func (x *MessageWithReleasedField) Reset()

func (*MessageWithReleasedField) String

func (x *MessageWithReleasedField) String() string

func (*MessageWithReleasedField) ToRelease

type MessageWithReleasedOneofItem

type MessageWithReleasedOneofItem struct {

	// Types that are assignable to OneofWithItem:
	//	*MessageWithReleasedOneofItem_OneofItemNotAnnotated
	//	*MessageWithReleasedOneofItem_OneofItemReleased
	OneofWithItem isMessageWithReleasedOneofItem_OneofWithItem `protobuf_oneof:"oneof_with_item"`
	// contains filtered or unexported fields
}

func (*MessageWithReleasedOneofItem) Descriptor deprecated

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

Deprecated: Use MessageWithReleasedOneofItem.ProtoReflect.Descriptor instead.

func (*MessageWithReleasedOneofItem) GetOneofItemNotAnnotated

func (x *MessageWithReleasedOneofItem) GetOneofItemNotAnnotated() int32

func (*MessageWithReleasedOneofItem) GetOneofItemReleased

func (x *MessageWithReleasedOneofItem) GetOneofItemReleased() int32

func (*MessageWithReleasedOneofItem) GetOneofWithItem

func (m *MessageWithReleasedOneofItem) GetOneofWithItem() isMessageWithReleasedOneofItem_OneofWithItem

func (*MessageWithReleasedOneofItem) ProtoMessage

func (*MessageWithReleasedOneofItem) ProtoMessage()

func (*MessageWithReleasedOneofItem) ProtoReflect

func (*MessageWithReleasedOneofItem) Reset

func (x *MessageWithReleasedOneofItem) Reset()

func (*MessageWithReleasedOneofItem) String

func (*MessageWithReleasedOneofItem) ToRelease

type MessageWithReleasedOneofItem_OneofItemNotAnnotated

type MessageWithReleasedOneofItem_OneofItemNotAnnotated struct {
	OneofItemNotAnnotated int32 `protobuf:"varint,1,opt,name=oneof_item_not_annotated,json=oneofItemNotAnnotated,proto3,oneof"`
}

type MessageWithReleasedOneofItem_OneofItemReleased

type MessageWithReleasedOneofItem_OneofItemReleased struct {
	OneofItemReleased int32 `protobuf:"varint,2,opt,name=oneof_item_released,json=oneofItemReleased,proto3,oneof"`
}

type MessageWithUnannotatedOneof

type MessageWithUnannotatedOneof struct {

	// Types that are assignable to NotAnnotatedOneof:
	//	*MessageWithUnannotatedOneof_OneofItemNotAnnotated
	NotAnnotatedOneof isMessageWithUnannotatedOneof_NotAnnotatedOneof `protobuf_oneof:"not_annotated_oneof"`
	// contains filtered or unexported fields
}

func (*MessageWithUnannotatedOneof) Descriptor deprecated

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

Deprecated: Use MessageWithUnannotatedOneof.ProtoReflect.Descriptor instead.

func (*MessageWithUnannotatedOneof) GetNotAnnotatedOneof

func (m *MessageWithUnannotatedOneof) GetNotAnnotatedOneof() isMessageWithUnannotatedOneof_NotAnnotatedOneof

func (*MessageWithUnannotatedOneof) GetOneofItemNotAnnotated

func (x *MessageWithUnannotatedOneof) GetOneofItemNotAnnotated() int32

func (*MessageWithUnannotatedOneof) ProtoMessage

func (*MessageWithUnannotatedOneof) ProtoMessage()

func (*MessageWithUnannotatedOneof) ProtoReflect

func (*MessageWithUnannotatedOneof) Reset

func (x *MessageWithUnannotatedOneof) Reset()

func (*MessageWithUnannotatedOneof) String

func (x *MessageWithUnannotatedOneof) String() string

func (*MessageWithUnannotatedOneof) ToRelease

type MessageWithUnannotatedOneof_OneofItemNotAnnotated

type MessageWithUnannotatedOneof_OneofItemNotAnnotated struct {
	OneofItemNotAnnotated int32 `protobuf:"varint,2,opt,name=oneof_item_not_annotated,json=oneofItemNotAnnotated,proto3,oneof"`
}

type TestServiceClient

type TestServiceClient interface {
	EmptyMethodNotAnnotated(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	EmptyMethodReleased(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	MethodNotAnnotated(ctx context.Context, in *MessageNotAnnotated, opts ...grpc.CallOption) (*MessageNotAnnotated, error)
	MethodReleased(ctx context.Context, in *MessageNotAnnotated, opts ...grpc.CallOption) (*MessageNotAnnotated, error)
}

TestServiceClient is the client API for TestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TestServiceServer

type TestServiceServer interface {
	EmptyMethodNotAnnotated(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	EmptyMethodReleased(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	MethodNotAnnotated(context.Context, *MessageNotAnnotated) (*MessageNotAnnotated, error)
	MethodReleased(context.Context, *MessageNotAnnotated) (*MessageNotAnnotated, error)
	// contains filtered or unexported methods
}

TestServiceServer is the server API for TestService service. All implementations must embed UnimplementedTestServiceServer for forward compatibility

type UnimplementedTestServiceServer

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestServiceServer) EmptyMethodNotAnnotated

func (UnimplementedTestServiceServer) EmptyMethodReleased

func (UnimplementedTestServiceServer) MethodNotAnnotated

func (UnimplementedTestServiceServer) MethodReleased

type UnsafeTestServiceServer

type UnsafeTestServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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