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",
		2: "released",
		4: "previewed_then_released",
	}
	EnumNotAnnotated_value = map[string]int32{
		"zero_value":              0,
		"released":                2,
		"previewed_then_released": 4,
	}
)

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.releases.stable3.fixtures.TestService",
	HandlerType: (*TestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EmptyMethodReleased",
			Handler:    _TestService_EmptyMethodReleased_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 RegisterTestServiceBaseServer

func RegisterTestServiceBaseServer(s grpc.ServiceRegistrar, base fixtures.TestServiceServer)

func RegisterTestServiceServer

func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)

Types

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) ToBase

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) FromBase

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) ToBase

type EnumNotAnnotated

type EnumNotAnnotated int32
const (
	EnumNotAnnotated_zero_value              EnumNotAnnotated = 0
	EnumNotAnnotated_released                EnumNotAnnotated = 2
	EnumNotAnnotated_previewed_then_released EnumNotAnnotated = 4
)

func (EnumNotAnnotated) Descriptor

func (EnumNotAnnotated) Enum

func (EnumNotAnnotated) EnumDescriptor deprecated

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

Deprecated: Use EnumNotAnnotated.Descriptor instead.

func (EnumNotAnnotated) FromBase

func (EnumNotAnnotated) Number

func (EnumNotAnnotated) String

func (x EnumNotAnnotated) String() string

func (EnumNotAnnotated) ToBase

func (EnumNotAnnotated) Type

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) ToBase

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) FromBase

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) ToBase

type MessageNotAnnotated

type MessageNotAnnotated struct {
	Released              int32 `protobuf:"varint,2,opt,name=released,proto3" json:"released,omitempty"`
	PreviewedThenReleased int32 `` /* 127-byte string literal not displayed */
	// 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) FromBase

func (*MessageNotAnnotated) GetNotAnnotatedOneof

func (m *MessageNotAnnotated) GetNotAnnotatedOneof() isMessageNotAnnotated_NotAnnotatedOneof

func (*MessageNotAnnotated) GetOneofItemNotAnnotated

func (x *MessageNotAnnotated) GetOneofItemNotAnnotated() int32

func (*MessageNotAnnotated) GetPreviewedThenReleased

func (x *MessageNotAnnotated) GetPreviewedThenReleased() int32

func (*MessageNotAnnotated) GetReleased

func (x *MessageNotAnnotated) GetReleased() 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) ToBase

type MessageNotAnnotated_OneofItemNotAnnotated

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

func (*MessageNotAnnotated_OneofItemNotAnnotated) ToBase

type MessageWithEnumFields

type MessageWithEnumFields struct {
	Released EnumNotAnnotated `` /* 160-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) FromBase

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) ToBase

type MessageWithImportedFields

type MessageWithImportedFields struct {
	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) FromBase

func (*MessageWithImportedFields) GetEmptyReleased

func (x *MessageWithImportedFields) GetEmptyReleased() *ImportedRelesed

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) ToBase

type MessageWithOneofWithMessages

type MessageWithOneofWithMessages struct {

	// Types that are assignable to OneofWithMessage:
	//	*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) FromBase

func (*MessageWithOneofWithMessages) GetMessageWithReleaseAnnotation

func (x *MessageWithOneofWithMessages) GetMessageWithReleaseAnnotation() *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) ToBase

type MessageWithOneofWithMessages_MessageWithReleaseAnnotation

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

func (*MessageWithOneofWithMessages_MessageWithReleaseAnnotation) ToBase

type MessageWithOneofsWithEnumFields

type MessageWithOneofsWithEnumFields struct {

	// Types that are assignable to OneofWithEnumField:
	//	*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) 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) ToBase

type MessageWithOneofsWithEnumFields_Released

type MessageWithOneofsWithEnumFields_Released struct {
	Released EnumNotAnnotated `` /* 140-byte string literal not displayed */
}

func (*MessageWithOneofsWithEnumFields_Released) ToBase

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) FromBase

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) ToBase

type MessageWithReleasedOneofItem

type MessageWithReleasedOneofItem struct {

	// Types that are assignable to OneofWithItem:
	//	*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) FromBase

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) ToBase

type MessageWithReleasedOneofItem_OneofItemReleased

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

func (*MessageWithReleasedOneofItem_OneofItemReleased) ToBase

type TestServiceClient

type TestServiceClient interface {
	EmptyMethodReleased(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, 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 {
	EmptyMethodReleased(context.Context, *emptypb.Empty) (*emptypb.Empty, 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) EmptyMethodReleased

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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