...

Source file src/google.golang.org/genproto/googleapis/actions/sdk/v2/conversation/scene.pb.go

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

     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/conversation/scene.proto
    20  
    21  package conversation
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	structpb "google.golang.org/protobuf/types/known/structpb"
    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  // Represents the current status of slot filling.
    40  type SlotFillingStatus int32
    41  
    42  const (
    43  	// Fallback value when the usage field is not populated.
    44  	SlotFillingStatus_UNSPECIFIED SlotFillingStatus = 0
    45  	// The slots have been initialized but slot filling has not started.
    46  	SlotFillingStatus_INITIALIZED SlotFillingStatus = 1
    47  	// The slot values are being collected.
    48  	SlotFillingStatus_COLLECTING SlotFillingStatus = 2
    49  	// All slot values are final and cannot be changed.
    50  	SlotFillingStatus_FINAL SlotFillingStatus = 4
    51  )
    52  
    53  // Enum value maps for SlotFillingStatus.
    54  var (
    55  	SlotFillingStatus_name = map[int32]string{
    56  		0: "UNSPECIFIED",
    57  		1: "INITIALIZED",
    58  		2: "COLLECTING",
    59  		4: "FINAL",
    60  	}
    61  	SlotFillingStatus_value = map[string]int32{
    62  		"UNSPECIFIED": 0,
    63  		"INITIALIZED": 1,
    64  		"COLLECTING":  2,
    65  		"FINAL":       4,
    66  	}
    67  )
    68  
    69  func (x SlotFillingStatus) Enum() *SlotFillingStatus {
    70  	p := new(SlotFillingStatus)
    71  	*p = x
    72  	return p
    73  }
    74  
    75  func (x SlotFillingStatus) String() string {
    76  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    77  }
    78  
    79  func (SlotFillingStatus) Descriptor() protoreflect.EnumDescriptor {
    80  	return file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[0].Descriptor()
    81  }
    82  
    83  func (SlotFillingStatus) Type() protoreflect.EnumType {
    84  	return &file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[0]
    85  }
    86  
    87  func (x SlotFillingStatus) Number() protoreflect.EnumNumber {
    88  	return protoreflect.EnumNumber(x)
    89  }
    90  
    91  // Deprecated: Use SlotFillingStatus.Descriptor instead.
    92  func (SlotFillingStatus) EnumDescriptor() ([]byte, []int) {
    93  	return file_google_actions_sdk_v2_conversation_scene_proto_rawDescGZIP(), []int{0}
    94  }
    95  
    96  // Represents the mode of a slot, that is, if it is required or not.
    97  type Slot_SlotMode int32
    98  
    99  const (
   100  	// Fallback value when the usage field is not populated.
   101  	Slot_MODE_UNSPECIFIED Slot_SlotMode = 0
   102  	// Indicates that the slot is not required to complete slot filling.
   103  	Slot_OPTIONAL Slot_SlotMode = 1
   104  	// Indicates that the slot is required to complete slot filling.
   105  	Slot_REQUIRED Slot_SlotMode = 2
   106  )
   107  
   108  // Enum value maps for Slot_SlotMode.
   109  var (
   110  	Slot_SlotMode_name = map[int32]string{
   111  		0: "MODE_UNSPECIFIED",
   112  		1: "OPTIONAL",
   113  		2: "REQUIRED",
   114  	}
   115  	Slot_SlotMode_value = map[string]int32{
   116  		"MODE_UNSPECIFIED": 0,
   117  		"OPTIONAL":         1,
   118  		"REQUIRED":         2,
   119  	}
   120  )
   121  
   122  func (x Slot_SlotMode) Enum() *Slot_SlotMode {
   123  	p := new(Slot_SlotMode)
   124  	*p = x
   125  	return p
   126  }
   127  
   128  func (x Slot_SlotMode) String() string {
   129  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   130  }
   131  
   132  func (Slot_SlotMode) Descriptor() protoreflect.EnumDescriptor {
   133  	return file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[1].Descriptor()
   134  }
   135  
   136  func (Slot_SlotMode) Type() protoreflect.EnumType {
   137  	return &file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[1]
   138  }
   139  
   140  func (x Slot_SlotMode) Number() protoreflect.EnumNumber {
   141  	return protoreflect.EnumNumber(x)
   142  }
   143  
   144  // Deprecated: Use Slot_SlotMode.Descriptor instead.
   145  func (Slot_SlotMode) EnumDescriptor() ([]byte, []int) {
   146  	return file_google_actions_sdk_v2_conversation_scene_proto_rawDescGZIP(), []int{0, 0}
   147  }
   148  
   149  // Represents the status of a slot.
   150  type Slot_SlotStatus int32
   151  
   152  const (
   153  	// Fallback value when the usage field is not populated.
   154  	Slot_SLOT_UNSPECIFIED Slot_SlotStatus = 0
   155  	// Indicates that the slot does not have any values. This status cannot be
   156  	// modified through the response.
   157  	Slot_EMPTY Slot_SlotStatus = 1
   158  	// Indicates that the slot value is invalid. This status can be set
   159  	// through the response.
   160  	Slot_INVALID Slot_SlotStatus = 2
   161  	// Indicates that the slot has a value. This status cannot be modified
   162  	// through the response.
   163  	Slot_FILLED Slot_SlotStatus = 3
   164  )
   165  
   166  // Enum value maps for Slot_SlotStatus.
   167  var (
   168  	Slot_SlotStatus_name = map[int32]string{
   169  		0: "SLOT_UNSPECIFIED",
   170  		1: "EMPTY",
   171  		2: "INVALID",
   172  		3: "FILLED",
   173  	}
   174  	Slot_SlotStatus_value = map[string]int32{
   175  		"SLOT_UNSPECIFIED": 0,
   176  		"EMPTY":            1,
   177  		"INVALID":          2,
   178  		"FILLED":           3,
   179  	}
   180  )
   181  
   182  func (x Slot_SlotStatus) Enum() *Slot_SlotStatus {
   183  	p := new(Slot_SlotStatus)
   184  	*p = x
   185  	return p
   186  }
   187  
   188  func (x Slot_SlotStatus) String() string {
   189  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   190  }
   191  
   192  func (Slot_SlotStatus) Descriptor() protoreflect.EnumDescriptor {
   193  	return file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[2].Descriptor()
   194  }
   195  
   196  func (Slot_SlotStatus) Type() protoreflect.EnumType {
   197  	return &file_google_actions_sdk_v2_conversation_scene_proto_enumTypes[2]
   198  }
   199  
   200  func (x Slot_SlotStatus) Number() protoreflect.EnumNumber {
   201  	return protoreflect.EnumNumber(x)
   202  }
   203  
   204  // Deprecated: Use Slot_SlotStatus.Descriptor instead.
   205  func (Slot_SlotStatus) EnumDescriptor() ([]byte, []int) {
   206  	return file_google_actions_sdk_v2_conversation_scene_proto_rawDescGZIP(), []int{0, 1}
   207  }
   208  
   209  // Represents a slot.
   210  type Slot struct {
   211  	state         protoimpl.MessageState
   212  	sizeCache     protoimpl.SizeCache
   213  	unknownFields protoimpl.UnknownFields
   214  
   215  	// The mode of the slot (required or optional). Can be set by developer.
   216  	Mode Slot_SlotMode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.actions.sdk.v2.conversation.Slot_SlotMode" json:"mode,omitempty"`
   217  	// The status of the slot.
   218  	Status Slot_SlotStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.actions.sdk.v2.conversation.Slot_SlotStatus" json:"status,omitempty"`
   219  	// The value of the slot. Changing this value in the response, will
   220  	// modify the value in slot filling.
   221  	Value *structpb.Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
   222  	// Indicates if the slot value was collected on the last turn.
   223  	// This field is read-only.
   224  	Updated bool `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
   225  	// Optional. This prompt is sent to the user when needed to fill a required
   226  	// slot. This prompt overrides the existing prompt defined in the console.
   227  	// This field is not included in the webhook request.
   228  	Prompt *Prompt `protobuf:"bytes,5,opt,name=prompt,proto3" json:"prompt,omitempty"`
   229  }
   230  
   231  func (x *Slot) Reset() {
   232  	*x = Slot{}
   233  	if protoimpl.UnsafeEnabled {
   234  		mi := &file_google_actions_sdk_v2_conversation_scene_proto_msgTypes[0]
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		ms.StoreMessageInfo(mi)
   237  	}
   238  }
   239  
   240  func (x *Slot) String() string {
   241  	return protoimpl.X.MessageStringOf(x)
   242  }
   243  
   244  func (*Slot) ProtoMessage() {}
   245  
   246  func (x *Slot) ProtoReflect() protoreflect.Message {
   247  	mi := &file_google_actions_sdk_v2_conversation_scene_proto_msgTypes[0]
   248  	if protoimpl.UnsafeEnabled && x != nil {
   249  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   250  		if ms.LoadMessageInfo() == nil {
   251  			ms.StoreMessageInfo(mi)
   252  		}
   253  		return ms
   254  	}
   255  	return mi.MessageOf(x)
   256  }
   257  
   258  // Deprecated: Use Slot.ProtoReflect.Descriptor instead.
   259  func (*Slot) Descriptor() ([]byte, []int) {
   260  	return file_google_actions_sdk_v2_conversation_scene_proto_rawDescGZIP(), []int{0}
   261  }
   262  
   263  func (x *Slot) GetMode() Slot_SlotMode {
   264  	if x != nil {
   265  		return x.Mode
   266  	}
   267  	return Slot_MODE_UNSPECIFIED
   268  }
   269  
   270  func (x *Slot) GetStatus() Slot_SlotStatus {
   271  	if x != nil {
   272  		return x.Status
   273  	}
   274  	return Slot_SLOT_UNSPECIFIED
   275  }
   276  
   277  func (x *Slot) GetValue() *structpb.Value {
   278  	if x != nil {
   279  		return x.Value
   280  	}
   281  	return nil
   282  }
   283  
   284  func (x *Slot) GetUpdated() bool {
   285  	if x != nil {
   286  		return x.Updated
   287  	}
   288  	return false
   289  }
   290  
   291  func (x *Slot) GetPrompt() *Prompt {
   292  	if x != nil {
   293  		return x.Prompt
   294  	}
   295  	return nil
   296  }
   297  
   298  var File_google_actions_sdk_v2_conversation_scene_proto protoreflect.FileDescriptor
   299  
   300  var file_google_actions_sdk_v2_conversation_scene_proto_rawDesc = []byte{
   301  	0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   302  	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
   303  	0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   304  	0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   305  	0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
   306  	0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74,
   307  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76,
   308  	0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f,
   309  	0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f,
   310  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74,
   311  	0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x04, 0x53,
   312  	0x6c, 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   313  	0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
   314  	0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
   315  	0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x53, 0x6c, 0x6f, 0x74,
   316  	0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x73, 0x74,
   317  	0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f,
   318  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
   319  	0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
   320  	0x53, 0x6c, 0x6f, 0x74, 0x2e, 0x53, 0x6c, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
   321  	0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   322  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   323  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
   324  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
   325  	0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12,
   326  	0x42, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
   327  	0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   328  	0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
   329  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x52, 0x06, 0x70, 0x72, 0x6f,
   330  	0x6d, 0x70, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x53, 0x6c, 0x6f, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12,
   331  	0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   332  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41,
   333  	0x4c, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10,
   334  	0x02, 0x22, 0x46, 0x0a, 0x0a, 0x53, 0x6c, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
   335  	0x14, 0x0a, 0x10, 0x53, 0x4c, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   336  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01,
   337  	0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a,
   338  	0x06, 0x46, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x50, 0x0a, 0x11, 0x53, 0x6c, 0x6f,
   339  	0x74, 0x46, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f,
   340  	0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   341  	0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x01,
   342  	0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02,
   343  	0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x10, 0x04, 0x42, 0x86, 0x01, 0x0a, 0x26,
   344  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
   345  	0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
   346  	0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x50, 0x72, 0x6f,
   347  	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
   348  	0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   349  	0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69,
   350  	0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65,
   351  	0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
   352  	0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   353  }
   354  
   355  var (
   356  	file_google_actions_sdk_v2_conversation_scene_proto_rawDescOnce sync.Once
   357  	file_google_actions_sdk_v2_conversation_scene_proto_rawDescData = file_google_actions_sdk_v2_conversation_scene_proto_rawDesc
   358  )
   359  
   360  func file_google_actions_sdk_v2_conversation_scene_proto_rawDescGZIP() []byte {
   361  	file_google_actions_sdk_v2_conversation_scene_proto_rawDescOnce.Do(func() {
   362  		file_google_actions_sdk_v2_conversation_scene_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_scene_proto_rawDescData)
   363  	})
   364  	return file_google_actions_sdk_v2_conversation_scene_proto_rawDescData
   365  }
   366  
   367  var file_google_actions_sdk_v2_conversation_scene_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   368  var file_google_actions_sdk_v2_conversation_scene_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   369  var file_google_actions_sdk_v2_conversation_scene_proto_goTypes = []interface{}{
   370  	(SlotFillingStatus)(0), // 0: google.actions.sdk.v2.conversation.SlotFillingStatus
   371  	(Slot_SlotMode)(0),     // 1: google.actions.sdk.v2.conversation.Slot.SlotMode
   372  	(Slot_SlotStatus)(0),   // 2: google.actions.sdk.v2.conversation.Slot.SlotStatus
   373  	(*Slot)(nil),           // 3: google.actions.sdk.v2.conversation.Slot
   374  	(*structpb.Value)(nil), // 4: google.protobuf.Value
   375  	(*Prompt)(nil),         // 5: google.actions.sdk.v2.conversation.Prompt
   376  }
   377  var file_google_actions_sdk_v2_conversation_scene_proto_depIdxs = []int32{
   378  	1, // 0: google.actions.sdk.v2.conversation.Slot.mode:type_name -> google.actions.sdk.v2.conversation.Slot.SlotMode
   379  	2, // 1: google.actions.sdk.v2.conversation.Slot.status:type_name -> google.actions.sdk.v2.conversation.Slot.SlotStatus
   380  	4, // 2: google.actions.sdk.v2.conversation.Slot.value:type_name -> google.protobuf.Value
   381  	5, // 3: google.actions.sdk.v2.conversation.Slot.prompt:type_name -> google.actions.sdk.v2.conversation.Prompt
   382  	4, // [4:4] is the sub-list for method output_type
   383  	4, // [4:4] is the sub-list for method input_type
   384  	4, // [4:4] is the sub-list for extension type_name
   385  	4, // [4:4] is the sub-list for extension extendee
   386  	0, // [0:4] is the sub-list for field type_name
   387  }
   388  
   389  func init() { file_google_actions_sdk_v2_conversation_scene_proto_init() }
   390  func file_google_actions_sdk_v2_conversation_scene_proto_init() {
   391  	if File_google_actions_sdk_v2_conversation_scene_proto != nil {
   392  		return
   393  	}
   394  	file_google_actions_sdk_v2_conversation_prompt_prompt_proto_init()
   395  	if !protoimpl.UnsafeEnabled {
   396  		file_google_actions_sdk_v2_conversation_scene_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   397  			switch v := v.(*Slot); i {
   398  			case 0:
   399  				return &v.state
   400  			case 1:
   401  				return &v.sizeCache
   402  			case 2:
   403  				return &v.unknownFields
   404  			default:
   405  				return nil
   406  			}
   407  		}
   408  	}
   409  	type x struct{}
   410  	out := protoimpl.TypeBuilder{
   411  		File: protoimpl.DescBuilder{
   412  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   413  			RawDescriptor: file_google_actions_sdk_v2_conversation_scene_proto_rawDesc,
   414  			NumEnums:      3,
   415  			NumMessages:   1,
   416  			NumExtensions: 0,
   417  			NumServices:   0,
   418  		},
   419  		GoTypes:           file_google_actions_sdk_v2_conversation_scene_proto_goTypes,
   420  		DependencyIndexes: file_google_actions_sdk_v2_conversation_scene_proto_depIdxs,
   421  		EnumInfos:         file_google_actions_sdk_v2_conversation_scene_proto_enumTypes,
   422  		MessageInfos:      file_google_actions_sdk_v2_conversation_scene_proto_msgTypes,
   423  	}.Build()
   424  	File_google_actions_sdk_v2_conversation_scene_proto = out.File
   425  	file_google_actions_sdk_v2_conversation_scene_proto_rawDesc = nil
   426  	file_google_actions_sdk_v2_conversation_scene_proto_goTypes = nil
   427  	file_google_actions_sdk_v2_conversation_scene_proto_depIdxs = nil
   428  }
   429  

View as plain text