// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.8
// 	protoc        (unknown)
// source: test/editions/example.proto

package editions

import (
	_ "github.com/cludden/protoc-gen-go-temporal/gen/temporal/v1"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type FooInput struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	OptionalBytes    []byte                 `protobuf:"bytes,1,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
	OptionalBool     *bool                  `protobuf:"varint,2,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
	OptionalDouble   *float64               `protobuf:"fixed64,3,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
	OptionalFixed32  *uint32                `protobuf:"fixed32,4,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
	OptionalFixed64  *uint64                `protobuf:"fixed64,5,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
	OptionalFloat    *float32               `protobuf:"fixed32,6,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
	OptionalInt32    *int32                 `protobuf:"varint,7,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
	OptionalInt64    *int64                 `protobuf:"varint,8,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
	OptionalSfixed32 *int32                 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
	OptionalSfixed64 *int64                 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
	OptionalSint32   *int32                 `protobuf:"zigzag32,11,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
	OptionalSint64   *int64                 `protobuf:"zigzag64,12,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
	OptionalString   *string                `protobuf:"bytes,13,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
	OptionalUint32   *uint32                `protobuf:"varint,14,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
	OptionalUint64   *uint64                `protobuf:"varint,15,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *FooInput) Reset() {
	*x = FooInput{}
	mi := &file_test_editions_example_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FooInput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FooInput) ProtoMessage() {}

func (x *FooInput) ProtoReflect() protoreflect.Message {
	mi := &file_test_editions_example_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FooInput.ProtoReflect.Descriptor instead.
func (*FooInput) Descriptor() ([]byte, []int) {
	return file_test_editions_example_proto_rawDescGZIP(), []int{0}
}

func (x *FooInput) GetOptionalBytes() []byte {
	if x != nil {
		return x.OptionalBytes
	}
	return nil
}

func (x *FooInput) GetOptionalBool() bool {
	if x != nil && x.OptionalBool != nil {
		return *x.OptionalBool
	}
	return false
}

func (x *FooInput) GetOptionalDouble() float64 {
	if x != nil && x.OptionalDouble != nil {
		return *x.OptionalDouble
	}
	return 0
}

func (x *FooInput) GetOptionalFixed32() uint32 {
	if x != nil && x.OptionalFixed32 != nil {
		return *x.OptionalFixed32
	}
	return 0
}

func (x *FooInput) GetOptionalFixed64() uint64 {
	if x != nil && x.OptionalFixed64 != nil {
		return *x.OptionalFixed64
	}
	return 0
}

func (x *FooInput) GetOptionalFloat() float32 {
	if x != nil && x.OptionalFloat != nil {
		return *x.OptionalFloat
	}
	return 0
}

func (x *FooInput) GetOptionalInt32() int32 {
	if x != nil && x.OptionalInt32 != nil {
		return *x.OptionalInt32
	}
	return 0
}

func (x *FooInput) GetOptionalInt64() int64 {
	if x != nil && x.OptionalInt64 != nil {
		return *x.OptionalInt64
	}
	return 0
}

func (x *FooInput) GetOptionalSfixed32() int32 {
	if x != nil && x.OptionalSfixed32 != nil {
		return *x.OptionalSfixed32
	}
	return 0
}

func (x *FooInput) GetOptionalSfixed64() int64 {
	if x != nil && x.OptionalSfixed64 != nil {
		return *x.OptionalSfixed64
	}
	return 0
}

func (x *FooInput) GetOptionalSint32() int32 {
	if x != nil && x.OptionalSint32 != nil {
		return *x.OptionalSint32
	}
	return 0
}

func (x *FooInput) GetOptionalSint64() int64 {
	if x != nil && x.OptionalSint64 != nil {
		return *x.OptionalSint64
	}
	return 0
}

func (x *FooInput) GetOptionalString() string {
	if x != nil && x.OptionalString != nil {
		return *x.OptionalString
	}
	return ""
}

func (x *FooInput) GetOptionalUint32() uint32 {
	if x != nil && x.OptionalUint32 != nil {
		return *x.OptionalUint32
	}
	return 0
}

func (x *FooInput) GetOptionalUint64() uint64 {
	if x != nil && x.OptionalUint64 != nil {
		return *x.OptionalUint64
	}
	return 0
}

type FooOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FooOutput) Reset() {
	*x = FooOutput{}
	mi := &file_test_editions_example_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FooOutput) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FooOutput) ProtoMessage() {}

func (x *FooOutput) ProtoReflect() protoreflect.Message {
	mi := &file_test_editions_example_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FooOutput.ProtoReflect.Descriptor instead.
func (*FooOutput) Descriptor() ([]byte, []int) {
	return file_test_editions_example_proto_rawDescGZIP(), []int{1}
}

var File_test_editions_example_proto protoreflect.FileDescriptor

const file_test_editions_example_proto_rawDesc = "" +
	"\n" +
	"\x1btest/editions/example.proto\x12\rtest.editions\x1a\x1atemporal/v1/temporal.proto\"\xf1\x04\n" +
	"\bFooInput\x12%\n" +
	"\x0eoptional_bytes\x18\x01 \x01(\fR\roptionalBytes\x12#\n" +
	"\roptional_bool\x18\x02 \x01(\bR\foptionalBool\x12'\n" +
	"\x0foptional_double\x18\x03 \x01(\x01R\x0eoptionalDouble\x12)\n" +
	"\x10optional_fixed32\x18\x04 \x01(\aR\x0foptionalFixed32\x12)\n" +
	"\x10optional_fixed64\x18\x05 \x01(\x06R\x0foptionalFixed64\x12%\n" +
	"\x0eoptional_float\x18\x06 \x01(\x02R\roptionalFloat\x12%\n" +
	"\x0eoptional_int32\x18\a \x01(\x05R\roptionalInt32\x12%\n" +
	"\x0eoptional_int64\x18\b \x01(\x03R\roptionalInt64\x12+\n" +
	"\x11optional_sfixed32\x18\t \x01(\x0fR\x10optionalSfixed32\x12+\n" +
	"\x11optional_sfixed64\x18\n" +
	" \x01(\x10R\x10optionalSfixed64\x12'\n" +
	"\x0foptional_sint32\x18\v \x01(\x11R\x0eoptionalSint32\x12'\n" +
	"\x0foptional_sint64\x18\f \x01(\x12R\x0eoptionalSint64\x12'\n" +
	"\x0foptional_string\x18\r \x01(\tR\x0eoptionalString\x12'\n" +
	"\x0foptional_uint32\x18\x0e \x01(\rR\x0eoptionalUint32\x12'\n" +
	"\x0foptional_uint64\x18\x0f \x01(\x04R\x0eoptionalUint64\"\v\n" +
	"\tFooOutput2e\n" +
	"\n" +
	"FooService\x12F\n" +
	"\x03Foo\x12\x17.test.editions.FooInput\x1a\x18.test.editions.FooOutput\"\f\x8a\xc4\x03\x00\x92\xc4\x03\x04\"\x02\b\x02\x1a\x0f\x8a\xc4\x03\v\n" +
	"\tfoo-queueB\xb8\x01\n" +
	"\x11com.test.editionsB\fExampleProtoP\x01Z;github.com/cludden/protoc-gen-go-temporal/gen/test/editions\xa2\x02\x03TEX\xaa\x02\rTest.Editions\xca\x02\rTest\\Editions\xe2\x02\x19Test\\Editions\\GPBMetadata\xea\x02\x0eTest::Editions\x92\x03\x02\b\x01b\beditionsp\xe8\a"

var (
	file_test_editions_example_proto_rawDescOnce sync.Once
	file_test_editions_example_proto_rawDescData []byte
)

func file_test_editions_example_proto_rawDescGZIP() []byte {
	file_test_editions_example_proto_rawDescOnce.Do(func() {
		file_test_editions_example_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_test_editions_example_proto_rawDesc), len(file_test_editions_example_proto_rawDesc)))
	})
	return file_test_editions_example_proto_rawDescData
}

var file_test_editions_example_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_test_editions_example_proto_goTypes = []any{
	(*FooInput)(nil),  // 0: test.editions.FooInput
	(*FooOutput)(nil), // 1: test.editions.FooOutput
}
var file_test_editions_example_proto_depIdxs = []int32{
	0, // 0: test.editions.FooService.Foo:input_type -> test.editions.FooInput
	1, // 1: test.editions.FooService.Foo:output_type -> test.editions.FooOutput
	1, // [1:2] is the sub-list for method output_type
	0, // [0:1] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_test_editions_example_proto_init() }
func file_test_editions_example_proto_init() {
	if File_test_editions_example_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_test_editions_example_proto_rawDesc), len(file_test_editions_example_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_test_editions_example_proto_goTypes,
		DependencyIndexes: file_test_editions_example_proto_depIdxs,
		MessageInfos:      file_test_editions_example_proto_msgTypes,
	}.Build()
	File_test_editions_example_proto = out.File
	file_test_editions_example_proto_goTypes = nil
	file_test_editions_example_proto_depIdxs = nil
}
