...

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

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

     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/webhook.proto
    20  
    21  package sdk
    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  // Metadata for different types of webhooks. If you're using
    40  // `inlineCloudFunction`, your source code must be in a directory with the same
    41  // name as the value for the `executeFunction` key.
    42  // For example, a value of `my_webhook` for the`executeFunction` key would have
    43  // a code structure like this:
    44  //   - `/webhooks/my_webhook.yaml`
    45  //   - `/webhooks/my_webhook/index.js`
    46  //   - `/webhooks/my_webhook/package.json`
    47  type Webhook struct {
    48  	state         protoimpl.MessageState
    49  	sizeCache     protoimpl.SizeCache
    50  	unknownFields protoimpl.UnknownFields
    51  
    52  	// List of handlers for this webhook.
    53  	Handlers []*Webhook_Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
    54  	// Only one webhook type is supported.
    55  	//
    56  	// Types that are assignable to WebhookType:
    57  	//
    58  	//	*Webhook_HttpsEndpoint_
    59  	//	*Webhook_InlineCloudFunction_
    60  	WebhookType isWebhook_WebhookType `protobuf_oneof:"webhook_type"`
    61  }
    62  
    63  func (x *Webhook) Reset() {
    64  	*x = Webhook{}
    65  	if protoimpl.UnsafeEnabled {
    66  		mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[0]
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		ms.StoreMessageInfo(mi)
    69  	}
    70  }
    71  
    72  func (x *Webhook) String() string {
    73  	return protoimpl.X.MessageStringOf(x)
    74  }
    75  
    76  func (*Webhook) ProtoMessage() {}
    77  
    78  func (x *Webhook) ProtoReflect() protoreflect.Message {
    79  	mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[0]
    80  	if protoimpl.UnsafeEnabled && x != nil {
    81  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    82  		if ms.LoadMessageInfo() == nil {
    83  			ms.StoreMessageInfo(mi)
    84  		}
    85  		return ms
    86  	}
    87  	return mi.MessageOf(x)
    88  }
    89  
    90  // Deprecated: Use Webhook.ProtoReflect.Descriptor instead.
    91  func (*Webhook) Descriptor() ([]byte, []int) {
    92  	return file_google_actions_sdk_v2_webhook_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (x *Webhook) GetHandlers() []*Webhook_Handler {
    96  	if x != nil {
    97  		return x.Handlers
    98  	}
    99  	return nil
   100  }
   101  
   102  func (m *Webhook) GetWebhookType() isWebhook_WebhookType {
   103  	if m != nil {
   104  		return m.WebhookType
   105  	}
   106  	return nil
   107  }
   108  
   109  func (x *Webhook) GetHttpsEndpoint() *Webhook_HttpsEndpoint {
   110  	if x, ok := x.GetWebhookType().(*Webhook_HttpsEndpoint_); ok {
   111  		return x.HttpsEndpoint
   112  	}
   113  	return nil
   114  }
   115  
   116  func (x *Webhook) GetInlineCloudFunction() *Webhook_InlineCloudFunction {
   117  	if x, ok := x.GetWebhookType().(*Webhook_InlineCloudFunction_); ok {
   118  		return x.InlineCloudFunction
   119  	}
   120  	return nil
   121  }
   122  
   123  type isWebhook_WebhookType interface {
   124  	isWebhook_WebhookType()
   125  }
   126  
   127  type Webhook_HttpsEndpoint_ struct {
   128  	// Custom webhook HTTPS endpoint.
   129  	HttpsEndpoint *Webhook_HttpsEndpoint `protobuf:"bytes,2,opt,name=https_endpoint,json=httpsEndpoint,proto3,oneof"`
   130  }
   131  
   132  type Webhook_InlineCloudFunction_ struct {
   133  	// Metadata for cloud function deployed from code in the webhooks folder.
   134  	InlineCloudFunction *Webhook_InlineCloudFunction `protobuf:"bytes,3,opt,name=inline_cloud_function,json=inlineCloudFunction,proto3,oneof"`
   135  }
   136  
   137  func (*Webhook_HttpsEndpoint_) isWebhook_WebhookType() {}
   138  
   139  func (*Webhook_InlineCloudFunction_) isWebhook_WebhookType() {}
   140  
   141  // Declares the name of the webhoook handler. A webhook can have
   142  // multiple handlers registered. These handlers can be called from multiple
   143  // places in your Actions project.
   144  type Webhook_Handler struct {
   145  	state         protoimpl.MessageState
   146  	sizeCache     protoimpl.SizeCache
   147  	unknownFields protoimpl.UnknownFields
   148  
   149  	// Required. Name of the handler. Must be unique across all handlers the Actions
   150  	// project. You can check the name of this handler to invoke the correct
   151  	// function in your fulfillment source code.
   152  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   153  }
   154  
   155  func (x *Webhook_Handler) Reset() {
   156  	*x = Webhook_Handler{}
   157  	if protoimpl.UnsafeEnabled {
   158  		mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[1]
   159  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   160  		ms.StoreMessageInfo(mi)
   161  	}
   162  }
   163  
   164  func (x *Webhook_Handler) String() string {
   165  	return protoimpl.X.MessageStringOf(x)
   166  }
   167  
   168  func (*Webhook_Handler) ProtoMessage() {}
   169  
   170  func (x *Webhook_Handler) ProtoReflect() protoreflect.Message {
   171  	mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[1]
   172  	if protoimpl.UnsafeEnabled && x != nil {
   173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   174  		if ms.LoadMessageInfo() == nil {
   175  			ms.StoreMessageInfo(mi)
   176  		}
   177  		return ms
   178  	}
   179  	return mi.MessageOf(x)
   180  }
   181  
   182  // Deprecated: Use Webhook_Handler.ProtoReflect.Descriptor instead.
   183  func (*Webhook_Handler) Descriptor() ([]byte, []int) {
   184  	return file_google_actions_sdk_v2_webhook_proto_rawDescGZIP(), []int{0, 0}
   185  }
   186  
   187  func (x *Webhook_Handler) GetName() string {
   188  	if x != nil {
   189  		return x.Name
   190  	}
   191  	return ""
   192  }
   193  
   194  // REST endpoint to notify if you're not using the inline editor.
   195  type Webhook_HttpsEndpoint struct {
   196  	state         protoimpl.MessageState
   197  	sizeCache     protoimpl.SizeCache
   198  	unknownFields protoimpl.UnknownFields
   199  
   200  	// The HTTPS base URL for your fulfillment endpoint (HTTP is not supported).
   201  	// Handler names are appended to the base URL path after a colon
   202  	// (following the style guide in
   203  	// https://cloud.google.com/apis/design/custom_methods).
   204  	// For example a base URL of 'https://gactions.service.com/api' would
   205  	// receive requests with URL 'https://gactions.service.com/api:{method}'.
   206  	BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
   207  	// Map of HTTP parameters to be included in the POST request.
   208  	HttpHeaders map[string]string `protobuf:"bytes,2,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   209  	// Version of the protocol used by the endpoint. This is the protocol shared
   210  	// by all fulfillment types and not specific to Google fulfillment type.
   211  	EndpointApiVersion int32 `protobuf:"varint,3,opt,name=endpoint_api_version,json=endpointApiVersion,proto3" json:"endpoint_api_version,omitempty"`
   212  }
   213  
   214  func (x *Webhook_HttpsEndpoint) Reset() {
   215  	*x = Webhook_HttpsEndpoint{}
   216  	if protoimpl.UnsafeEnabled {
   217  		mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[2]
   218  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   219  		ms.StoreMessageInfo(mi)
   220  	}
   221  }
   222  
   223  func (x *Webhook_HttpsEndpoint) String() string {
   224  	return protoimpl.X.MessageStringOf(x)
   225  }
   226  
   227  func (*Webhook_HttpsEndpoint) ProtoMessage() {}
   228  
   229  func (x *Webhook_HttpsEndpoint) ProtoReflect() protoreflect.Message {
   230  	mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[2]
   231  	if protoimpl.UnsafeEnabled && x != nil {
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		if ms.LoadMessageInfo() == nil {
   234  			ms.StoreMessageInfo(mi)
   235  		}
   236  		return ms
   237  	}
   238  	return mi.MessageOf(x)
   239  }
   240  
   241  // Deprecated: Use Webhook_HttpsEndpoint.ProtoReflect.Descriptor instead.
   242  func (*Webhook_HttpsEndpoint) Descriptor() ([]byte, []int) {
   243  	return file_google_actions_sdk_v2_webhook_proto_rawDescGZIP(), []int{0, 1}
   244  }
   245  
   246  func (x *Webhook_HttpsEndpoint) GetBaseUrl() string {
   247  	if x != nil {
   248  		return x.BaseUrl
   249  	}
   250  	return ""
   251  }
   252  
   253  func (x *Webhook_HttpsEndpoint) GetHttpHeaders() map[string]string {
   254  	if x != nil {
   255  		return x.HttpHeaders
   256  	}
   257  	return nil
   258  }
   259  
   260  func (x *Webhook_HttpsEndpoint) GetEndpointApiVersion() int32 {
   261  	if x != nil {
   262  		return x.EndpointApiVersion
   263  	}
   264  	return 0
   265  }
   266  
   267  // Holds the metadata of an inline Cloud Function deployed from the
   268  // webhooks folder.
   269  type Webhook_InlineCloudFunction struct {
   270  	state         protoimpl.MessageState
   271  	sizeCache     protoimpl.SizeCache
   272  	unknownFields protoimpl.UnknownFields
   273  
   274  	// The name of the Cloud Function entry point. The value of this field
   275  	// should match the name of the method exported from the source code.
   276  	ExecuteFunction string `protobuf:"bytes,1,opt,name=execute_function,json=executeFunction,proto3" json:"execute_function,omitempty"`
   277  }
   278  
   279  func (x *Webhook_InlineCloudFunction) Reset() {
   280  	*x = Webhook_InlineCloudFunction{}
   281  	if protoimpl.UnsafeEnabled {
   282  		mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[3]
   283  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   284  		ms.StoreMessageInfo(mi)
   285  	}
   286  }
   287  
   288  func (x *Webhook_InlineCloudFunction) String() string {
   289  	return protoimpl.X.MessageStringOf(x)
   290  }
   291  
   292  func (*Webhook_InlineCloudFunction) ProtoMessage() {}
   293  
   294  func (x *Webhook_InlineCloudFunction) ProtoReflect() protoreflect.Message {
   295  	mi := &file_google_actions_sdk_v2_webhook_proto_msgTypes[3]
   296  	if protoimpl.UnsafeEnabled && x != nil {
   297  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   298  		if ms.LoadMessageInfo() == nil {
   299  			ms.StoreMessageInfo(mi)
   300  		}
   301  		return ms
   302  	}
   303  	return mi.MessageOf(x)
   304  }
   305  
   306  // Deprecated: Use Webhook_InlineCloudFunction.ProtoReflect.Descriptor instead.
   307  func (*Webhook_InlineCloudFunction) Descriptor() ([]byte, []int) {
   308  	return file_google_actions_sdk_v2_webhook_proto_rawDescGZIP(), []int{0, 2}
   309  }
   310  
   311  func (x *Webhook_InlineCloudFunction) GetExecuteFunction() string {
   312  	if x != nil {
   313  		return x.ExecuteFunction
   314  	}
   315  	return ""
   316  }
   317  
   318  var File_google_actions_sdk_v2_webhook_proto protoreflect.FileDescriptor
   319  
   320  var file_google_actions_sdk_v2_webhook_proto_rawDesc = []byte{
   321  	0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   322  	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e,
   323  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63,
   324  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f,
   325  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
   326  	0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x05,
   327  	0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x42, 0x0a, 0x08, 0x68, 0x61, 0x6e,
   328  	0x64, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f,
   329  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b,
   330  	0x2e, 0x76, 0x32, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x48, 0x61, 0x6e, 0x64,
   331  	0x6c, 0x65, 0x72, 0x52, 0x08, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x55, 0x0a,
   332  	0x0e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
   333  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   334  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x65,
   335  	0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f,
   336  	0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x74, 0x74, 0x70, 0x73, 0x45, 0x6e, 0x64, 0x70,
   337  	0x6f, 0x69, 0x6e, 0x74, 0x12, 0x68, 0x0a, 0x15, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63,
   338  	0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
   339  	0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
   340  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x65, 0x62, 0x68,
   341  	0x6f, 0x6f, 0x6b, 0x2e, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46,
   342  	0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x13, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
   343  	0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22,
   344  	0x0a, 0x07, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
   345  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61,
   346  	0x6d, 0x65, 0x1a, 0xfe, 0x01, 0x0a, 0x0d, 0x48, 0x74, 0x74, 0x70, 0x73, 0x45, 0x6e, 0x64, 0x70,
   347  	0x6f, 0x69, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c,
   348  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12,
   349  	0x60, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18,
   350  	0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
   351  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x65,
   352  	0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f,
   353  	0x69, 0x6e, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45,
   354  	0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
   355  	0x73, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x70,
   356  	0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
   357  	0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73,
   358  	0x69, 0x6f, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x48, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, 0x64, 0x65,
   359  	0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   360  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   361  	0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
   362  	0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x13, 0x49, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6c, 0x6f,
   363  	0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78,
   364  	0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
   365  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x46, 0x75, 0x6e,
   366  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
   367  	0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x65, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
   368  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
   369  	0x76, 0x32, 0x42, 0x0c, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   370  	0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
   371  	0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
   372  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   373  	0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72,
   374  	0x6f, 0x74, 0x6f, 0x33,
   375  }
   376  
   377  var (
   378  	file_google_actions_sdk_v2_webhook_proto_rawDescOnce sync.Once
   379  	file_google_actions_sdk_v2_webhook_proto_rawDescData = file_google_actions_sdk_v2_webhook_proto_rawDesc
   380  )
   381  
   382  func file_google_actions_sdk_v2_webhook_proto_rawDescGZIP() []byte {
   383  	file_google_actions_sdk_v2_webhook_proto_rawDescOnce.Do(func() {
   384  		file_google_actions_sdk_v2_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_webhook_proto_rawDescData)
   385  	})
   386  	return file_google_actions_sdk_v2_webhook_proto_rawDescData
   387  }
   388  
   389  var file_google_actions_sdk_v2_webhook_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   390  var file_google_actions_sdk_v2_webhook_proto_goTypes = []interface{}{
   391  	(*Webhook)(nil),                     // 0: google.actions.sdk.v2.Webhook
   392  	(*Webhook_Handler)(nil),             // 1: google.actions.sdk.v2.Webhook.Handler
   393  	(*Webhook_HttpsEndpoint)(nil),       // 2: google.actions.sdk.v2.Webhook.HttpsEndpoint
   394  	(*Webhook_InlineCloudFunction)(nil), // 3: google.actions.sdk.v2.Webhook.InlineCloudFunction
   395  	nil,                                 // 4: google.actions.sdk.v2.Webhook.HttpsEndpoint.HttpHeadersEntry
   396  }
   397  var file_google_actions_sdk_v2_webhook_proto_depIdxs = []int32{
   398  	1, // 0: google.actions.sdk.v2.Webhook.handlers:type_name -> google.actions.sdk.v2.Webhook.Handler
   399  	2, // 1: google.actions.sdk.v2.Webhook.https_endpoint:type_name -> google.actions.sdk.v2.Webhook.HttpsEndpoint
   400  	3, // 2: google.actions.sdk.v2.Webhook.inline_cloud_function:type_name -> google.actions.sdk.v2.Webhook.InlineCloudFunction
   401  	4, // 3: google.actions.sdk.v2.Webhook.HttpsEndpoint.http_headers:type_name -> google.actions.sdk.v2.Webhook.HttpsEndpoint.HttpHeadersEntry
   402  	4, // [4:4] is the sub-list for method output_type
   403  	4, // [4:4] is the sub-list for method input_type
   404  	4, // [4:4] is the sub-list for extension type_name
   405  	4, // [4:4] is the sub-list for extension extendee
   406  	0, // [0:4] is the sub-list for field type_name
   407  }
   408  
   409  func init() { file_google_actions_sdk_v2_webhook_proto_init() }
   410  func file_google_actions_sdk_v2_webhook_proto_init() {
   411  	if File_google_actions_sdk_v2_webhook_proto != nil {
   412  		return
   413  	}
   414  	if !protoimpl.UnsafeEnabled {
   415  		file_google_actions_sdk_v2_webhook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   416  			switch v := v.(*Webhook); i {
   417  			case 0:
   418  				return &v.state
   419  			case 1:
   420  				return &v.sizeCache
   421  			case 2:
   422  				return &v.unknownFields
   423  			default:
   424  				return nil
   425  			}
   426  		}
   427  		file_google_actions_sdk_v2_webhook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   428  			switch v := v.(*Webhook_Handler); i {
   429  			case 0:
   430  				return &v.state
   431  			case 1:
   432  				return &v.sizeCache
   433  			case 2:
   434  				return &v.unknownFields
   435  			default:
   436  				return nil
   437  			}
   438  		}
   439  		file_google_actions_sdk_v2_webhook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   440  			switch v := v.(*Webhook_HttpsEndpoint); i {
   441  			case 0:
   442  				return &v.state
   443  			case 1:
   444  				return &v.sizeCache
   445  			case 2:
   446  				return &v.unknownFields
   447  			default:
   448  				return nil
   449  			}
   450  		}
   451  		file_google_actions_sdk_v2_webhook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   452  			switch v := v.(*Webhook_InlineCloudFunction); i {
   453  			case 0:
   454  				return &v.state
   455  			case 1:
   456  				return &v.sizeCache
   457  			case 2:
   458  				return &v.unknownFields
   459  			default:
   460  				return nil
   461  			}
   462  		}
   463  	}
   464  	file_google_actions_sdk_v2_webhook_proto_msgTypes[0].OneofWrappers = []interface{}{
   465  		(*Webhook_HttpsEndpoint_)(nil),
   466  		(*Webhook_InlineCloudFunction_)(nil),
   467  	}
   468  	type x struct{}
   469  	out := protoimpl.TypeBuilder{
   470  		File: protoimpl.DescBuilder{
   471  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   472  			RawDescriptor: file_google_actions_sdk_v2_webhook_proto_rawDesc,
   473  			NumEnums:      0,
   474  			NumMessages:   5,
   475  			NumExtensions: 0,
   476  			NumServices:   0,
   477  		},
   478  		GoTypes:           file_google_actions_sdk_v2_webhook_proto_goTypes,
   479  		DependencyIndexes: file_google_actions_sdk_v2_webhook_proto_depIdxs,
   480  		MessageInfos:      file_google_actions_sdk_v2_webhook_proto_msgTypes,
   481  	}.Build()
   482  	File_google_actions_sdk_v2_webhook_proto = out.File
   483  	file_google_actions_sdk_v2_webhook_proto_rawDesc = nil
   484  	file_google_actions_sdk_v2_webhook_proto_goTypes = nil
   485  	file_google_actions_sdk_v2_webhook_proto_depIdxs = nil
   486  }
   487  

View as plain text