// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: einride/example/syntax/v1/fieldbehaviors.proto

package syntaxv1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 FieldBehaviorMessage struct {
	state                       protoimpl.MessageState           `protogen:"open.v1"`
	Field                       string                           `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	OutputOnlyField             string                           `protobuf:"bytes,2,opt,name=output_only_field,json=outputOnlyField,proto3" json:"output_only_field,omitempty"`
	OptionalField               string                           `protobuf:"bytes,3,opt,name=optional_field,json=optionalField,proto3" json:"optional_field,omitempty"`
	ImmutableField              string                           `protobuf:"bytes,17,opt,name=immutable_field,json=immutableField,proto3" json:"immutable_field,omitempty"`
	MessageWithoutFieldBehavior *FieldBehaviorMessage            `protobuf:"bytes,12,opt,name=message_without_field_behavior,json=messageWithoutFieldBehavior,proto3" json:"message_without_field_behavior,omitempty"`
	OutputOnlyMessage           *FieldBehaviorMessage            `protobuf:"bytes,13,opt,name=output_only_message,json=outputOnlyMessage,proto3" json:"output_only_message,omitempty"`
	OptionalMessage             *FieldBehaviorMessage            `protobuf:"bytes,14,opt,name=optional_message,json=optionalMessage,proto3" json:"optional_message,omitempty"`
	RepeatedMessage             []*FieldBehaviorMessage          `protobuf:"bytes,4,rep,name=repeated_message,json=repeatedMessage,proto3" json:"repeated_message,omitempty"`
	RepeatedOutputOnlyMessage   []*FieldBehaviorMessage          `protobuf:"bytes,5,rep,name=repeated_output_only_message,json=repeatedOutputOnlyMessage,proto3" json:"repeated_output_only_message,omitempty"`
	RepeatedOptionalMessage     []*FieldBehaviorMessage          `protobuf:"bytes,6,rep,name=repeated_optional_message,json=repeatedOptionalMessage,proto3" json:"repeated_optional_message,omitempty"`
	MapMessage                  map[string]*FieldBehaviorMessage `protobuf:"bytes,7,rep,name=map_message,json=mapMessage,proto3" json:"map_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	MapOutputOnlyMessage        map[string]*FieldBehaviorMessage `protobuf:"bytes,8,rep,name=map_output_only_message,json=mapOutputOnlyMessage,proto3" json:"map_output_only_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	MapOptionalMessage          map[string]*FieldBehaviorMessage `protobuf:"bytes,9,rep,name=map_optional_message,json=mapOptionalMessage,proto3" json:"map_optional_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	StringMap                   map[string]string                `protobuf:"bytes,10,rep,name=string_map,json=stringMap,proto3" json:"string_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	StringList                  []string                         `protobuf:"bytes,11,rep,name=string_list,json=stringList,proto3" json:"string_list,omitempty"`
	// Types that are valid to be assigned to Oneof:
	//
	//	*FieldBehaviorMessage_FieldBehaviorMessage
	//	*FieldBehaviorMessage_SmallFieldBehaviorMessage
	Oneof         isFieldBehaviorMessage_Oneof `protobuf_oneof:"oneof"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FieldBehaviorMessage) ProtoMessage() {}

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

func (x *FieldBehaviorMessage) GetField() string {
	if x != nil {
		return x.Field
	}
	return ""
}

func (x *FieldBehaviorMessage) GetOutputOnlyField() string {
	if x != nil {
		return x.OutputOnlyField
	}
	return ""
}

func (x *FieldBehaviorMessage) GetOptionalField() string {
	if x != nil {
		return x.OptionalField
	}
	return ""
}

func (x *FieldBehaviorMessage) GetImmutableField() string {
	if x != nil {
		return x.ImmutableField
	}
	return ""
}

func (x *FieldBehaviorMessage) GetMessageWithoutFieldBehavior() *FieldBehaviorMessage {
	if x != nil {
		return x.MessageWithoutFieldBehavior
	}
	return nil
}

func (x *FieldBehaviorMessage) GetOutputOnlyMessage() *FieldBehaviorMessage {
	if x != nil {
		return x.OutputOnlyMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetOptionalMessage() *FieldBehaviorMessage {
	if x != nil {
		return x.OptionalMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetRepeatedMessage() []*FieldBehaviorMessage {
	if x != nil {
		return x.RepeatedMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetRepeatedOutputOnlyMessage() []*FieldBehaviorMessage {
	if x != nil {
		return x.RepeatedOutputOnlyMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetRepeatedOptionalMessage() []*FieldBehaviorMessage {
	if x != nil {
		return x.RepeatedOptionalMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetMapMessage() map[string]*FieldBehaviorMessage {
	if x != nil {
		return x.MapMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetMapOutputOnlyMessage() map[string]*FieldBehaviorMessage {
	if x != nil {
		return x.MapOutputOnlyMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetMapOptionalMessage() map[string]*FieldBehaviorMessage {
	if x != nil {
		return x.MapOptionalMessage
	}
	return nil
}

func (x *FieldBehaviorMessage) GetStringMap() map[string]string {
	if x != nil {
		return x.StringMap
	}
	return nil
}

func (x *FieldBehaviorMessage) GetStringList() []string {
	if x != nil {
		return x.StringList
	}
	return nil
}

func (x *FieldBehaviorMessage) GetOneof() isFieldBehaviorMessage_Oneof {
	if x != nil {
		return x.Oneof
	}
	return nil
}

func (x *FieldBehaviorMessage) GetFieldBehaviorMessage() *FieldBehaviorMessage {
	if x != nil {
		if x, ok := x.Oneof.(*FieldBehaviorMessage_FieldBehaviorMessage); ok {
			return x.FieldBehaviorMessage
		}
	}
	return nil
}

func (x *FieldBehaviorMessage) GetSmallFieldBehaviorMessage() *SmallFieldBehaviorMessage {
	if x != nil {
		if x, ok := x.Oneof.(*FieldBehaviorMessage_SmallFieldBehaviorMessage); ok {
			return x.SmallFieldBehaviorMessage
		}
	}
	return nil
}

type isFieldBehaviorMessage_Oneof interface {
	isFieldBehaviorMessage_Oneof()
}

type FieldBehaviorMessage_FieldBehaviorMessage struct {
	FieldBehaviorMessage *FieldBehaviorMessage `protobuf:"bytes,15,opt,name=field_behavior_message,json=fieldBehaviorMessage,proto3,oneof"`
}

type FieldBehaviorMessage_SmallFieldBehaviorMessage struct {
	SmallFieldBehaviorMessage *SmallFieldBehaviorMessage `protobuf:"bytes,16,opt,name=small_field_behavior_message,json=smallFieldBehaviorMessage,proto3,oneof"`
}

func (*FieldBehaviorMessage_FieldBehaviorMessage) isFieldBehaviorMessage_Oneof() {}

func (*FieldBehaviorMessage_SmallFieldBehaviorMessage) isFieldBehaviorMessage_Oneof() {}

type SmallFieldBehaviorMessage struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Field           string                 `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	OutputOnlyField string                 `protobuf:"bytes,2,opt,name=output_only_field,json=outputOnlyField,proto3" json:"output_only_field,omitempty"`
	OptionalField   string                 `protobuf:"bytes,3,opt,name=optional_field,json=optionalField,proto3" json:"optional_field,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*SmallFieldBehaviorMessage) ProtoMessage() {}

func (x *SmallFieldBehaviorMessage) ProtoReflect() protoreflect.Message {
	mi := &file_einride_example_syntax_v1_fieldbehaviors_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 SmallFieldBehaviorMessage.ProtoReflect.Descriptor instead.
func (*SmallFieldBehaviorMessage) Descriptor() ([]byte, []int) {
	return file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescGZIP(), []int{1}
}

func (x *SmallFieldBehaviorMessage) GetField() string {
	if x != nil {
		return x.Field
	}
	return ""
}

func (x *SmallFieldBehaviorMessage) GetOutputOnlyField() string {
	if x != nil {
		return x.OutputOnlyField
	}
	return ""
}

func (x *SmallFieldBehaviorMessage) GetOptionalField() string {
	if x != nil {
		return x.OptionalField
	}
	return ""
}

var File_einride_example_syntax_v1_fieldbehaviors_proto protoreflect.FileDescriptor

const file_einride_example_syntax_v1_fieldbehaviors_proto_rawDesc = "" +
	"\n" +
	".einride/example/syntax/v1/fieldbehaviors.proto\x12\x19einride.example.syntax.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb7\x0f\n" +
	"\x14FieldBehaviorMessage\x12\x14\n" +
	"\x05field\x18\x01 \x01(\tR\x05field\x120\n" +
	"\x11output_only_field\x18\x02 \x01(\tB\x04\xe2A\x01\x03R\x0foutputOnlyField\x12+\n" +
	"\x0eoptional_field\x18\x03 \x01(\tB\x04\xe2A\x01\x01R\roptionalField\x12-\n" +
	"\x0fimmutable_field\x18\x11 \x01(\tB\x04\xe2A\x01\x05R\x0eimmutableField\x12t\n" +
	"\x1emessage_without_field_behavior\x18\f \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageR\x1bmessageWithoutFieldBehavior\x12e\n" +
	"\x13output_only_message\x18\r \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageB\x04\xe2A\x01\x03R\x11outputOnlyMessage\x12`\n" +
	"\x10optional_message\x18\x0e \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageB\x04\xe2A\x01\x01R\x0foptionalMessage\x12Z\n" +
	"\x10repeated_message\x18\x04 \x03(\v2/.einride.example.syntax.v1.FieldBehaviorMessageR\x0frepeatedMessage\x12v\n" +
	"\x1crepeated_output_only_message\x18\x05 \x03(\v2/.einride.example.syntax.v1.FieldBehaviorMessageB\x04\xe2A\x01\x03R\x19repeatedOutputOnlyMessage\x12q\n" +
	"\x19repeated_optional_message\x18\x06 \x03(\v2/.einride.example.syntax.v1.FieldBehaviorMessageB\x04\xe2A\x01\x01R\x17repeatedOptionalMessage\x12`\n" +
	"\vmap_message\x18\a \x03(\v2?.einride.example.syntax.v1.FieldBehaviorMessage.MapMessageEntryR\n" +
	"mapMessage\x12\x86\x01\n" +
	"\x17map_output_only_message\x18\b \x03(\v2I.einride.example.syntax.v1.FieldBehaviorMessage.MapOutputOnlyMessageEntryB\x04\xe2A\x01\x03R\x14mapOutputOnlyMessage\x12\x7f\n" +
	"\x14map_optional_message\x18\t \x03(\v2G.einride.example.syntax.v1.FieldBehaviorMessage.MapOptionalMessageEntryB\x04\xe2A\x01\x01R\x12mapOptionalMessage\x12]\n" +
	"\n" +
	"string_map\x18\n" +
	" \x03(\v2>.einride.example.syntax.v1.FieldBehaviorMessage.StringMapEntryR\tstringMap\x12\x1f\n" +
	"\vstring_list\x18\v \x03(\tR\n" +
	"stringList\x12g\n" +
	"\x16field_behavior_message\x18\x0f \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageH\x00R\x14fieldBehaviorMessage\x12w\n" +
	"\x1csmall_field_behavior_message\x18\x10 \x01(\v24.einride.example.syntax.v1.SmallFieldBehaviorMessageH\x00R\x19smallFieldBehaviorMessage\x1an\n" +
	"\x0fMapMessageEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12E\n" +
	"\x05value\x18\x02 \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageR\x05value:\x028\x01\x1ax\n" +
	"\x19MapOutputOnlyMessageEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12E\n" +
	"\x05value\x18\x02 \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageR\x05value:\x028\x01\x1av\n" +
	"\x17MapOptionalMessageEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12E\n" +
	"\x05value\x18\x02 \x01(\v2/.einride.example.syntax.v1.FieldBehaviorMessageR\x05value:\x028\x01\x1a<\n" +
	"\x0eStringMapEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\a\n" +
	"\x05oneof\"\x90\x01\n" +
	"\x19SmallFieldBehaviorMessage\x12\x14\n" +
	"\x05field\x18\x01 \x01(\tR\x05field\x120\n" +
	"\x11output_only_field\x18\x02 \x01(\tB\x04\xe2A\x01\x03R\x0foutputOnlyField\x12+\n" +
	"\x0eoptional_field\x18\x03 \x01(\tB\x04\xe2A\x01\x01R\roptionalFieldB\xfd\x01\n" +
	"\x1dcom.einride.example.syntax.v1B\x13FieldbehaviorsProtoP\x01Z@go.einride.tech/aip/proto/gen/einride/example/syntax/v1;syntaxv1\xa2\x02\x03EES\xaa\x02\x19Einride.Example.Syntax.V1\xca\x02\x19Einride\\Example\\Syntax\\V1\xe2\x02%Einride\\Example\\Syntax\\V1\\GPBMetadata\xea\x02\x1cEinride::Example::Syntax::V1b\x06proto3"

var (
	file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescOnce sync.Once
	file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescData []byte
)

func file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescGZIP() []byte {
	file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescOnce.Do(func() {
		file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_einride_example_syntax_v1_fieldbehaviors_proto_rawDesc), len(file_einride_example_syntax_v1_fieldbehaviors_proto_rawDesc)))
	})
	return file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescData
}

var file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_einride_example_syntax_v1_fieldbehaviors_proto_goTypes = []any{
	(*FieldBehaviorMessage)(nil),      // 0: einride.example.syntax.v1.FieldBehaviorMessage
	(*SmallFieldBehaviorMessage)(nil), // 1: einride.example.syntax.v1.SmallFieldBehaviorMessage
	nil,                               // 2: einride.example.syntax.v1.FieldBehaviorMessage.MapMessageEntry
	nil,                               // 3: einride.example.syntax.v1.FieldBehaviorMessage.MapOutputOnlyMessageEntry
	nil,                               // 4: einride.example.syntax.v1.FieldBehaviorMessage.MapOptionalMessageEntry
	nil,                               // 5: einride.example.syntax.v1.FieldBehaviorMessage.StringMapEntry
}
var file_einride_example_syntax_v1_fieldbehaviors_proto_depIdxs = []int32{
	0,  // 0: einride.example.syntax.v1.FieldBehaviorMessage.message_without_field_behavior:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 1: einride.example.syntax.v1.FieldBehaviorMessage.output_only_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 2: einride.example.syntax.v1.FieldBehaviorMessage.optional_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 3: einride.example.syntax.v1.FieldBehaviorMessage.repeated_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 4: einride.example.syntax.v1.FieldBehaviorMessage.repeated_output_only_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 5: einride.example.syntax.v1.FieldBehaviorMessage.repeated_optional_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	2,  // 6: einride.example.syntax.v1.FieldBehaviorMessage.map_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage.MapMessageEntry
	3,  // 7: einride.example.syntax.v1.FieldBehaviorMessage.map_output_only_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage.MapOutputOnlyMessageEntry
	4,  // 8: einride.example.syntax.v1.FieldBehaviorMessage.map_optional_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage.MapOptionalMessageEntry
	5,  // 9: einride.example.syntax.v1.FieldBehaviorMessage.string_map:type_name -> einride.example.syntax.v1.FieldBehaviorMessage.StringMapEntry
	0,  // 10: einride.example.syntax.v1.FieldBehaviorMessage.field_behavior_message:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	1,  // 11: einride.example.syntax.v1.FieldBehaviorMessage.small_field_behavior_message:type_name -> einride.example.syntax.v1.SmallFieldBehaviorMessage
	0,  // 12: einride.example.syntax.v1.FieldBehaviorMessage.MapMessageEntry.value:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 13: einride.example.syntax.v1.FieldBehaviorMessage.MapOutputOnlyMessageEntry.value:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	0,  // 14: einride.example.syntax.v1.FieldBehaviorMessage.MapOptionalMessageEntry.value:type_name -> einride.example.syntax.v1.FieldBehaviorMessage
	15, // [15:15] is the sub-list for method output_type
	15, // [15:15] is the sub-list for method input_type
	15, // [15:15] is the sub-list for extension type_name
	15, // [15:15] is the sub-list for extension extendee
	0,  // [0:15] is the sub-list for field type_name
}

func init() { file_einride_example_syntax_v1_fieldbehaviors_proto_init() }
func file_einride_example_syntax_v1_fieldbehaviors_proto_init() {
	if File_einride_example_syntax_v1_fieldbehaviors_proto != nil {
		return
	}
	file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[0].OneofWrappers = []any{
		(*FieldBehaviorMessage_FieldBehaviorMessage)(nil),
		(*FieldBehaviorMessage_SmallFieldBehaviorMessage)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_einride_example_syntax_v1_fieldbehaviors_proto_rawDesc), len(file_einride_example_syntax_v1_fieldbehaviors_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_einride_example_syntax_v1_fieldbehaviors_proto_goTypes,
		DependencyIndexes: file_einride_example_syntax_v1_fieldbehaviors_proto_depIdxs,
		MessageInfos:      file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes,
	}.Build()
	File_einride_example_syntax_v1_fieldbehaviors_proto = out.File
	file_einride_example_syntax_v1_fieldbehaviors_proto_goTypes = nil
	file_einride_example_syntax_v1_fieldbehaviors_proto_depIdxs = nil
}
