...

Source file src/google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/entity_set.pb.go

Documentation: google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/actions/sdk/v2/interactionmodel/entity_set.proto
    20  
    21  package interactionmodel
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Entity sets describe the pre-defined set of entities that the values of
    40  // built-in intent parameters can come from. Entity sets can be referenced from
    41  // entity_set in built-in intent parameters.
    42  type EntitySet struct {
    43  	state         protoimpl.MessageState
    44  	sizeCache     protoimpl.SizeCache
    45  	unknownFields protoimpl.UnknownFields
    46  
    47  	// Required. The list of entities this entity set supports.
    48  	Entities []*EntitySet_Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
    49  }
    50  
    51  func (x *EntitySet) Reset() {
    52  	*x = EntitySet{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *EntitySet) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*EntitySet) ProtoMessage() {}
    65  
    66  func (x *EntitySet) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use EntitySet.ProtoReflect.Descriptor instead.
    79  func (*EntitySet) Descriptor() ([]byte, []int) {
    80  	return file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *EntitySet) GetEntities() []*EntitySet_Entity {
    84  	if x != nil {
    85  		return x.Entities
    86  	}
    87  	return nil
    88  }
    89  
    90  // An entity a built-in intent parameter value can come from.
    91  type EntitySet_Entity struct {
    92  	state         protoimpl.MessageState
    93  	sizeCache     protoimpl.SizeCache
    94  	unknownFields protoimpl.UnknownFields
    95  
    96  	// Required. The ID of the entity.
    97  	// For a list of built-in-intent parameters and their supported entities,
    98  	// see
    99  	// https://developers.google.com/assistant/conversational/build/built-in-intents
   100  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   101  }
   102  
   103  func (x *EntitySet_Entity) Reset() {
   104  	*x = EntitySet_Entity{}
   105  	if protoimpl.UnsafeEnabled {
   106  		mi := &file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[1]
   107  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   108  		ms.StoreMessageInfo(mi)
   109  	}
   110  }
   111  
   112  func (x *EntitySet_Entity) String() string {
   113  	return protoimpl.X.MessageStringOf(x)
   114  }
   115  
   116  func (*EntitySet_Entity) ProtoMessage() {}
   117  
   118  func (x *EntitySet_Entity) ProtoReflect() protoreflect.Message {
   119  	mi := &file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[1]
   120  	if protoimpl.UnsafeEnabled && x != nil {
   121  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   122  		if ms.LoadMessageInfo() == nil {
   123  			ms.StoreMessageInfo(mi)
   124  		}
   125  		return ms
   126  	}
   127  	return mi.MessageOf(x)
   128  }
   129  
   130  // Deprecated: Use EntitySet_Entity.ProtoReflect.Descriptor instead.
   131  func (*EntitySet_Entity) Descriptor() ([]byte, []int) {
   132  	return file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescGZIP(), []int{0, 0}
   133  }
   134  
   135  func (x *EntitySet_Entity) GetId() string {
   136  	if x != nil {
   137  		return x.Id
   138  	}
   139  	return ""
   140  }
   141  
   142  var File_google_actions_sdk_v2_interactionmodel_entity_set_proto protoreflect.FileDescriptor
   143  
   144  var file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDesc = []byte{
   145  	0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   146  	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
   147  	0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f,
   148  	0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   149  	0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32,
   150  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
   151  	0x6c, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
   152  	0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
   153  	0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74,
   154  	0x12, 0x59, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
   155  	0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
   156  	0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   157  	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x45, 0x6e, 0x74, 0x69,
   158  	0x74, 0x79, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41,
   159  	0x02, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x1d, 0x0a, 0x06, 0x45,
   160  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   161  	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x42, 0x96, 0x01, 0x0a, 0x2a, 0x63,
   162  	0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   163  	0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63,
   164  	0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x0e, 0x45, 0x6e, 0x74, 0x69, 0x74,
   165  	0x79, 0x53, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f,
   166  	0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
   167  	0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
   168  	0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76,
   169  	0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64,
   170  	0x65, 0x6c, 0x3b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f,
   171  	0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   172  }
   173  
   174  var (
   175  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescOnce sync.Once
   176  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDesc
   177  )
   178  
   179  func file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescGZIP() []byte {
   180  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescOnce.Do(func() {
   181  		file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescData)
   182  	})
   183  	return file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDescData
   184  }
   185  
   186  var file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   187  var file_google_actions_sdk_v2_interactionmodel_entity_set_proto_goTypes = []interface{}{
   188  	(*EntitySet)(nil),        // 0: google.actions.sdk.v2.interactionmodel.EntitySet
   189  	(*EntitySet_Entity)(nil), // 1: google.actions.sdk.v2.interactionmodel.EntitySet.Entity
   190  }
   191  var file_google_actions_sdk_v2_interactionmodel_entity_set_proto_depIdxs = []int32{
   192  	1, // 0: google.actions.sdk.v2.interactionmodel.EntitySet.entities:type_name -> google.actions.sdk.v2.interactionmodel.EntitySet.Entity
   193  	1, // [1:1] is the sub-list for method output_type
   194  	1, // [1:1] is the sub-list for method input_type
   195  	1, // [1:1] is the sub-list for extension type_name
   196  	1, // [1:1] is the sub-list for extension extendee
   197  	0, // [0:1] is the sub-list for field type_name
   198  }
   199  
   200  func init() { file_google_actions_sdk_v2_interactionmodel_entity_set_proto_init() }
   201  func file_google_actions_sdk_v2_interactionmodel_entity_set_proto_init() {
   202  	if File_google_actions_sdk_v2_interactionmodel_entity_set_proto != nil {
   203  		return
   204  	}
   205  	if !protoimpl.UnsafeEnabled {
   206  		file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   207  			switch v := v.(*EntitySet); i {
   208  			case 0:
   209  				return &v.state
   210  			case 1:
   211  				return &v.sizeCache
   212  			case 2:
   213  				return &v.unknownFields
   214  			default:
   215  				return nil
   216  			}
   217  		}
   218  		file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   219  			switch v := v.(*EntitySet_Entity); i {
   220  			case 0:
   221  				return &v.state
   222  			case 1:
   223  				return &v.sizeCache
   224  			case 2:
   225  				return &v.unknownFields
   226  			default:
   227  				return nil
   228  			}
   229  		}
   230  	}
   231  	type x struct{}
   232  	out := protoimpl.TypeBuilder{
   233  		File: protoimpl.DescBuilder{
   234  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   235  			RawDescriptor: file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDesc,
   236  			NumEnums:      0,
   237  			NumMessages:   2,
   238  			NumExtensions: 0,
   239  			NumServices:   0,
   240  		},
   241  		GoTypes:           file_google_actions_sdk_v2_interactionmodel_entity_set_proto_goTypes,
   242  		DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_entity_set_proto_depIdxs,
   243  		MessageInfos:      file_google_actions_sdk_v2_interactionmodel_entity_set_proto_msgTypes,
   244  	}.Build()
   245  	File_google_actions_sdk_v2_interactionmodel_entity_set_proto = out.File
   246  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_rawDesc = nil
   247  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_goTypes = nil
   248  	file_google_actions_sdk_v2_interactionmodel_entity_set_proto_depIdxs = nil
   249  }
   250  

View as plain text