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

package searchattributesv1

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"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 SearchAttributesInput struct {
	state               protoimpl.MessageState `protogen:"open.v1"`
	CustomKeywordField  string                 `protobuf:"bytes,1,opt,name=custom_keyword_field,json=customKeywordField,proto3" json:"custom_keyword_field,omitempty"`
	CustomTextField     string                 `protobuf:"bytes,2,opt,name=custom_text_field,json=customTextField,proto3" json:"custom_text_field,omitempty"`
	CustomIntField      int64                  `protobuf:"varint,3,opt,name=custom_int_field,json=customIntField,proto3" json:"custom_int_field,omitempty"`
	CustomDoubleField   float64                `protobuf:"fixed64,4,opt,name=custom_double_field,json=customDoubleField,proto3" json:"custom_double_field,omitempty"`
	CustomBoolField     bool                   `protobuf:"varint,5,opt,name=custom_bool_field,json=customBoolField,proto3" json:"custom_bool_field,omitempty"`
	CustomDatetimeField *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=custom_datetime_field,json=customDatetimeField,proto3" json:"custom_datetime_field,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*SearchAttributesInput) ProtoMessage() {}

func (x *SearchAttributesInput) ProtoReflect() protoreflect.Message {
	mi := &file_example_searchattributes_v1_searchattributes_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 SearchAttributesInput.ProtoReflect.Descriptor instead.
func (*SearchAttributesInput) Descriptor() ([]byte, []int) {
	return file_example_searchattributes_v1_searchattributes_proto_rawDescGZIP(), []int{0}
}

func (x *SearchAttributesInput) GetCustomKeywordField() string {
	if x != nil {
		return x.CustomKeywordField
	}
	return ""
}

func (x *SearchAttributesInput) GetCustomTextField() string {
	if x != nil {
		return x.CustomTextField
	}
	return ""
}

func (x *SearchAttributesInput) GetCustomIntField() int64 {
	if x != nil {
		return x.CustomIntField
	}
	return 0
}

func (x *SearchAttributesInput) GetCustomDoubleField() float64 {
	if x != nil {
		return x.CustomDoubleField
	}
	return 0
}

func (x *SearchAttributesInput) GetCustomBoolField() bool {
	if x != nil {
		return x.CustomBoolField
	}
	return false
}

func (x *SearchAttributesInput) GetCustomDatetimeField() *timestamppb.Timestamp {
	if x != nil {
		return x.CustomDatetimeField
	}
	return nil
}

var File_example_searchattributes_v1_searchattributes_proto protoreflect.FileDescriptor

const file_example_searchattributes_v1_searchattributes_proto_rawDesc = "" +
	"\n" +
	"2example/searchattributes/v1/searchattributes.proto\x12\x1bexample.searchattributes.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1atemporal/v1/temporal.proto\"\xcb\x02\n" +
	"\x15SearchAttributesInput\x120\n" +
	"\x14custom_keyword_field\x18\x01 \x01(\tR\x12customKeywordField\x12*\n" +
	"\x11custom_text_field\x18\x02 \x01(\tR\x0fcustomTextField\x12(\n" +
	"\x10custom_int_field\x18\x03 \x01(\x03R\x0ecustomIntField\x12.\n" +
	"\x13custom_double_field\x18\x04 \x01(\x01R\x11customDoubleField\x12*\n" +
	"\x11custom_bool_field\x18\x05 \x01(\bR\x0fcustomBoolField\x12N\n" +
	"\x15custom_datetime_field\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x13customDatetimeField2\xbb\x03\n" +
	"\aExample\x12\x97\x03\n" +
	"\x10SearchAttributes\x122.example.searchattributes.v1.SearchAttributesInput\x1a\x16.google.protobuf.Empty\"\xb6\x02\x8a\xc4\x03\xb1\x02*!search_attributes_${! uuid_v4() }z\x8b\x02CustomKeywordField = customKeywordField \n" +
	"CustomTextField = customTextField \n" +
	"CustomIntField = customIntField.int64() \n" +
	"CustomDoubleField = customDoubleField \n" +
	"CustomBoolField = customBoolField \n" +
	"CustomDatetimeField = customDatetimeField.ts_parse(\"2006-01-02T15:04:05Z\") \n" +
	"\x1a\x16\x8a\xc4\x03\x12\n" +
	"\x10searchattributesB\xa4\x02\n" +
	"\x1fcom.example.searchattributes.v1B\x15SearchattributesProtoP\x01Z\\github.com/cludden/protoc-gen-go-temporal/gen/example/searchattributes/v1;searchattributesv1\xa2\x02\x03ESX\xaa\x02\x1bExample.Searchattributes.V1\xca\x02\x1bExample\\Searchattributes\\V1\xe2\x02'Example\\Searchattributes\\V1\\GPBMetadata\xea\x02\x1dExample::Searchattributes::V1b\x06proto3"

var (
	file_example_searchattributes_v1_searchattributes_proto_rawDescOnce sync.Once
	file_example_searchattributes_v1_searchattributes_proto_rawDescData []byte
)

func file_example_searchattributes_v1_searchattributes_proto_rawDescGZIP() []byte {
	file_example_searchattributes_v1_searchattributes_proto_rawDescOnce.Do(func() {
		file_example_searchattributes_v1_searchattributes_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_example_searchattributes_v1_searchattributes_proto_rawDesc), len(file_example_searchattributes_v1_searchattributes_proto_rawDesc)))
	})
	return file_example_searchattributes_v1_searchattributes_proto_rawDescData
}

var file_example_searchattributes_v1_searchattributes_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_example_searchattributes_v1_searchattributes_proto_goTypes = []any{
	(*SearchAttributesInput)(nil), // 0: example.searchattributes.v1.SearchAttributesInput
	(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),         // 2: google.protobuf.Empty
}
var file_example_searchattributes_v1_searchattributes_proto_depIdxs = []int32{
	1, // 0: example.searchattributes.v1.SearchAttributesInput.custom_datetime_field:type_name -> google.protobuf.Timestamp
	0, // 1: example.searchattributes.v1.Example.SearchAttributes:input_type -> example.searchattributes.v1.SearchAttributesInput
	2, // 2: example.searchattributes.v1.Example.SearchAttributes:output_type -> google.protobuf.Empty
	2, // [2:3] is the sub-list for method output_type
	1, // [1:2] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_example_searchattributes_v1_searchattributes_proto_init() }
func file_example_searchattributes_v1_searchattributes_proto_init() {
	if File_example_searchattributes_v1_searchattributes_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_example_searchattributes_v1_searchattributes_proto_rawDesc), len(file_example_searchattributes_v1_searchattributes_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_example_searchattributes_v1_searchattributes_proto_goTypes,
		DependencyIndexes: file_example_searchattributes_v1_searchattributes_proto_depIdxs,
		MessageInfos:      file_example_searchattributes_v1_searchattributes_proto_msgTypes,
	}.Build()
	File_example_searchattributes_v1_searchattributes_proto = out.File
	file_example_searchattributes_v1_searchattributes_proto_goTypes = nil
	file_example_searchattributes_v1_searchattributes_proto_depIdxs = nil
}
