1// Copyright 2020 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.22.0 18// protoc v3.11.2 19// source: google/cloud/dialogflow/v2beta1/environment.proto 20 21package dialogflow 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "github.com/golang/protobuf/ptypes/empty" 30 timestamp "github.com/golang/protobuf/ptypes/timestamp" 31 _ "google.golang.org/genproto/googleapis/api/annotations" 32 _ "google.golang.org/genproto/protobuf/field_mask" 33 grpc "google.golang.org/grpc" 34 codes "google.golang.org/grpc/codes" 35 status "google.golang.org/grpc/status" 36 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 37 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// Represents an environment state. When an environment is pointed to a new 52// agent version, the environment is temporarily set to the `LOADING` state. 53// During that time, the environment keeps on serving the previous version of 54// the agent. After the new agent version is done loading, the environment is 55// set back to the `RUNNING` state. 56type Environment_State int32 57 58const ( 59 // Not specified. This value is not used. 60 Environment_STATE_UNSPECIFIED Environment_State = 0 61 // Stopped. 62 Environment_STOPPED Environment_State = 1 63 // Loading. 64 Environment_LOADING Environment_State = 2 65 // Running. 66 Environment_RUNNING Environment_State = 3 67) 68 69// Enum value maps for Environment_State. 70var ( 71 Environment_State_name = map[int32]string{ 72 0: "STATE_UNSPECIFIED", 73 1: "STOPPED", 74 2: "LOADING", 75 3: "RUNNING", 76 } 77 Environment_State_value = map[string]int32{ 78 "STATE_UNSPECIFIED": 0, 79 "STOPPED": 1, 80 "LOADING": 2, 81 "RUNNING": 3, 82 } 83) 84 85func (x Environment_State) Enum() *Environment_State { 86 p := new(Environment_State) 87 *p = x 88 return p 89} 90 91func (x Environment_State) String() string { 92 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 93} 94 95func (Environment_State) Descriptor() protoreflect.EnumDescriptor { 96 return file_google_cloud_dialogflow_v2beta1_environment_proto_enumTypes[0].Descriptor() 97} 98 99func (Environment_State) Type() protoreflect.EnumType { 100 return &file_google_cloud_dialogflow_v2beta1_environment_proto_enumTypes[0] 101} 102 103func (x Environment_State) Number() protoreflect.EnumNumber { 104 return protoreflect.EnumNumber(x) 105} 106 107// Deprecated: Use Environment_State.Descriptor instead. 108func (Environment_State) EnumDescriptor() ([]byte, []int) { 109 return file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescGZIP(), []int{0, 0} 110} 111 112// Represents an agent environment. 113type Environment struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 118 // Output only. The unique identifier of this agent environment. 119 // Format: `projects/<Project ID>/agent/environments/<Environment ID>`. 120 // For Environment ID, "-" is reserved for 'draft' environment. 121 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 122 // Optional. The developer-provided description for this environment. 123 // The maximum length is 500 characters. If exceeded, the request is rejected. 124 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 125 // Optional. The agent version loaded into this environment. 126 // Format: `projects/<Project ID>/agent/versions/<Version ID>`. 127 AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` 128 // Output only. The state of this environment. This field is read-only, i.e., it cannot be 129 // set by create and update methods. 130 State Environment_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Environment_State" json:"state,omitempty"` 131 // Output only. The last update time of this environment. This field is read-only, i.e., it 132 // cannot be set by create and update methods. 133 UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 134} 135 136func (x *Environment) Reset() { 137 *x = Environment{} 138 if protoimpl.UnsafeEnabled { 139 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[0] 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 ms.StoreMessageInfo(mi) 142 } 143} 144 145func (x *Environment) String() string { 146 return protoimpl.X.MessageStringOf(x) 147} 148 149func (*Environment) ProtoMessage() {} 150 151func (x *Environment) ProtoReflect() protoreflect.Message { 152 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[0] 153 if protoimpl.UnsafeEnabled && x != nil { 154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 155 if ms.LoadMessageInfo() == nil { 156 ms.StoreMessageInfo(mi) 157 } 158 return ms 159 } 160 return mi.MessageOf(x) 161} 162 163// Deprecated: Use Environment.ProtoReflect.Descriptor instead. 164func (*Environment) Descriptor() ([]byte, []int) { 165 return file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescGZIP(), []int{0} 166} 167 168func (x *Environment) GetName() string { 169 if x != nil { 170 return x.Name 171 } 172 return "" 173} 174 175func (x *Environment) GetDescription() string { 176 if x != nil { 177 return x.Description 178 } 179 return "" 180} 181 182func (x *Environment) GetAgentVersion() string { 183 if x != nil { 184 return x.AgentVersion 185 } 186 return "" 187} 188 189func (x *Environment) GetState() Environment_State { 190 if x != nil { 191 return x.State 192 } 193 return Environment_STATE_UNSPECIFIED 194} 195 196func (x *Environment) GetUpdateTime() *timestamp.Timestamp { 197 if x != nil { 198 return x.UpdateTime 199 } 200 return nil 201} 202 203// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. 204type ListEnvironmentsRequest struct { 205 state protoimpl.MessageState 206 sizeCache protoimpl.SizeCache 207 unknownFields protoimpl.UnknownFields 208 209 // Required. The agent to list all environments from. 210 // Format: `projects/<Project ID>/agent`. 211 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 212 // Optional. The maximum number of items to return in a single page. By default 100 and 213 // at most 1000. 214 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 215 // Optional. The next_page_token value returned from a previous list request. 216 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 217} 218 219func (x *ListEnvironmentsRequest) Reset() { 220 *x = ListEnvironmentsRequest{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[1] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226} 227 228func (x *ListEnvironmentsRequest) String() string { 229 return protoimpl.X.MessageStringOf(x) 230} 231 232func (*ListEnvironmentsRequest) ProtoMessage() {} 233 234func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message { 235 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[1] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244} 245 246// Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead. 247func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int) { 248 return file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescGZIP(), []int{1} 249} 250 251func (x *ListEnvironmentsRequest) GetParent() string { 252 if x != nil { 253 return x.Parent 254 } 255 return "" 256} 257 258func (x *ListEnvironmentsRequest) GetPageSize() int32 { 259 if x != nil { 260 return x.PageSize 261 } 262 return 0 263} 264 265func (x *ListEnvironmentsRequest) GetPageToken() string { 266 if x != nil { 267 return x.PageToken 268 } 269 return "" 270} 271 272// The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. 273type ListEnvironmentsResponse struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 // The list of agent environments. There will be a maximum number of items 279 // returned based on the page_size field in the request. 280 Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` 281 // Token to retrieve the next page of results, or empty if there are no 282 // more results in the list. 283 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 284} 285 286func (x *ListEnvironmentsResponse) Reset() { 287 *x = ListEnvironmentsResponse{} 288 if protoimpl.UnsafeEnabled { 289 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[2] 290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 291 ms.StoreMessageInfo(mi) 292 } 293} 294 295func (x *ListEnvironmentsResponse) String() string { 296 return protoimpl.X.MessageStringOf(x) 297} 298 299func (*ListEnvironmentsResponse) ProtoMessage() {} 300 301func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message { 302 mi := &file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[2] 303 if protoimpl.UnsafeEnabled && x != nil { 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 305 if ms.LoadMessageInfo() == nil { 306 ms.StoreMessageInfo(mi) 307 } 308 return ms 309 } 310 return mi.MessageOf(x) 311} 312 313// Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead. 314func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int) { 315 return file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescGZIP(), []int{2} 316} 317 318func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment { 319 if x != nil { 320 return x.Environments 321 } 322 return nil 323} 324 325func (x *ListEnvironmentsResponse) GetNextPageToken() string { 326 if x != nil { 327 return x.NextPageToken 328 } 329 return "" 330} 331 332var File_google_cloud_dialogflow_v2beta1_environment_proto protoreflect.FileDescriptor 333 334var file_google_cloud_dialogflow_v2beta1_environment_proto_rawDesc = []byte{ 335 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 336 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 337 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 338 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 339 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x62, 340 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 341 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 342 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 343 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 344 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 345 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 346 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 347 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 348 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 349 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 350 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 351 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 352 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 353 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 354 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 355 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 356 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x03, 0x0a, 0x0b, 357 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 358 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 359 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 360 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 361 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 362 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 363 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x64, 0x69, 0x61, 0x6c, 364 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 365 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 366 0x67, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x05, 0x73, 367 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 368 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 369 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x76, 370 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 371 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 372 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 373 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 374 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 375 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x05, 376 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 377 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 378 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x4f, 0x41, 379 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 380 0x47, 0x10, 0x03, 0x3a, 0x5f, 0xea, 0x41, 0x5c, 0x0a, 0x25, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 381 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 382 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 383 0x33, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 384 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 385 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 386 0x65, 0x6e, 0x74, 0x7d, 0x22, 0xa6, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 387 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 388 0x12, 0x45, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 389 0x42, 0x2d, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x27, 0x12, 0x25, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 390 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 391 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 392 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 393 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 394 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 395 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 396 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x94, 0x01, 397 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 398 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0c, 0x65, 0x6e, 399 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 400 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 401 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 402 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 403 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 404 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 405 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 406 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x8a, 0x03, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 407 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xff, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 408 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 409 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 410 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 411 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 412 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 413 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x76, 414 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x76, 0x69, 0x72, 415 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 416 0x76, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x70, 0x12, 0x2f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 417 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 418 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x65, 0x6e, 0x76, 0x69, 419 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5a, 0x3d, 0x12, 0x3b, 0x2f, 0x76, 0x32, 0x62, 420 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 421 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 422 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 423 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x78, 0xca, 0x41, 0x19, 0x64, 0x69, 0x61, 0x6c, 424 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 425 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x59, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 426 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 427 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 428 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 429 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 430 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 431 0x77, 0x42, 0xae, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 432 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 433 0x77, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x10, 0x45, 0x6e, 0x76, 0x69, 0x72, 434 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 435 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 436 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 437 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 438 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x64, 0x69, 439 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x02, 0x44, 0x46, 440 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 441 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x56, 0x32, 0x62, 0x65, 0x74, 442 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 443} 444 445var ( 446 file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescOnce sync.Once 447 file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescData = file_google_cloud_dialogflow_v2beta1_environment_proto_rawDesc 448) 449 450func file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescGZIP() []byte { 451 file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescOnce.Do(func() { 452 file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescData) 453 }) 454 return file_google_cloud_dialogflow_v2beta1_environment_proto_rawDescData 455} 456 457var file_google_cloud_dialogflow_v2beta1_environment_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 458var file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 459var file_google_cloud_dialogflow_v2beta1_environment_proto_goTypes = []interface{}{ 460 (Environment_State)(0), // 0: google.cloud.dialogflow.v2beta1.Environment.State 461 (*Environment)(nil), // 1: google.cloud.dialogflow.v2beta1.Environment 462 (*ListEnvironmentsRequest)(nil), // 2: google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest 463 (*ListEnvironmentsResponse)(nil), // 3: google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse 464 (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp 465} 466var file_google_cloud_dialogflow_v2beta1_environment_proto_depIdxs = []int32{ 467 0, // 0: google.cloud.dialogflow.v2beta1.Environment.state:type_name -> google.cloud.dialogflow.v2beta1.Environment.State 468 4, // 1: google.cloud.dialogflow.v2beta1.Environment.update_time:type_name -> google.protobuf.Timestamp 469 1, // 2: google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse.environments:type_name -> google.cloud.dialogflow.v2beta1.Environment 470 2, // 3: google.cloud.dialogflow.v2beta1.Environments.ListEnvironments:input_type -> google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest 471 3, // 4: google.cloud.dialogflow.v2beta1.Environments.ListEnvironments:output_type -> google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse 472 4, // [4:5] is the sub-list for method output_type 473 3, // [3:4] is the sub-list for method input_type 474 3, // [3:3] is the sub-list for extension type_name 475 3, // [3:3] is the sub-list for extension extendee 476 0, // [0:3] is the sub-list for field type_name 477} 478 479func init() { file_google_cloud_dialogflow_v2beta1_environment_proto_init() } 480func file_google_cloud_dialogflow_v2beta1_environment_proto_init() { 481 if File_google_cloud_dialogflow_v2beta1_environment_proto != nil { 482 return 483 } 484 file_google_cloud_dialogflow_v2beta1_audio_config_proto_init() 485 if !protoimpl.UnsafeEnabled { 486 file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 487 switch v := v.(*Environment); i { 488 case 0: 489 return &v.state 490 case 1: 491 return &v.sizeCache 492 case 2: 493 return &v.unknownFields 494 default: 495 return nil 496 } 497 } 498 file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 499 switch v := v.(*ListEnvironmentsRequest); i { 500 case 0: 501 return &v.state 502 case 1: 503 return &v.sizeCache 504 case 2: 505 return &v.unknownFields 506 default: 507 return nil 508 } 509 } 510 file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 511 switch v := v.(*ListEnvironmentsResponse); i { 512 case 0: 513 return &v.state 514 case 1: 515 return &v.sizeCache 516 case 2: 517 return &v.unknownFields 518 default: 519 return nil 520 } 521 } 522 } 523 type x struct{} 524 out := protoimpl.TypeBuilder{ 525 File: protoimpl.DescBuilder{ 526 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 527 RawDescriptor: file_google_cloud_dialogflow_v2beta1_environment_proto_rawDesc, 528 NumEnums: 1, 529 NumMessages: 3, 530 NumExtensions: 0, 531 NumServices: 1, 532 }, 533 GoTypes: file_google_cloud_dialogflow_v2beta1_environment_proto_goTypes, 534 DependencyIndexes: file_google_cloud_dialogflow_v2beta1_environment_proto_depIdxs, 535 EnumInfos: file_google_cloud_dialogflow_v2beta1_environment_proto_enumTypes, 536 MessageInfos: file_google_cloud_dialogflow_v2beta1_environment_proto_msgTypes, 537 }.Build() 538 File_google_cloud_dialogflow_v2beta1_environment_proto = out.File 539 file_google_cloud_dialogflow_v2beta1_environment_proto_rawDesc = nil 540 file_google_cloud_dialogflow_v2beta1_environment_proto_goTypes = nil 541 file_google_cloud_dialogflow_v2beta1_environment_proto_depIdxs = nil 542} 543 544// Reference imports to suppress errors if they are not otherwise used. 545var _ context.Context 546var _ grpc.ClientConnInterface 547 548// This is a compile-time assertion to ensure that this generated file 549// is compatible with the grpc package it is being compiled against. 550const _ = grpc.SupportPackageIsVersion6 551 552// EnvironmentsClient is the client API for Environments service. 553// 554// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 555type EnvironmentsClient interface { 556 // Returns the list of all non-draft environments of the specified agent. 557 ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) 558} 559 560type environmentsClient struct { 561 cc grpc.ClientConnInterface 562} 563 564func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient { 565 return &environmentsClient{cc} 566} 567 568func (c *environmentsClient) ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) { 569 out := new(ListEnvironmentsResponse) 570 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Environments/ListEnvironments", in, out, opts...) 571 if err != nil { 572 return nil, err 573 } 574 return out, nil 575} 576 577// EnvironmentsServer is the server API for Environments service. 578type EnvironmentsServer interface { 579 // Returns the list of all non-draft environments of the specified agent. 580 ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) 581} 582 583// UnimplementedEnvironmentsServer can be embedded to have forward compatible implementations. 584type UnimplementedEnvironmentsServer struct { 585} 586 587func (*UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) { 588 return nil, status.Errorf(codes.Unimplemented, "method ListEnvironments not implemented") 589} 590 591func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer) { 592 s.RegisterService(&_Environments_serviceDesc, srv) 593} 594 595func _Environments_ListEnvironments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 596 in := new(ListEnvironmentsRequest) 597 if err := dec(in); err != nil { 598 return nil, err 599 } 600 if interceptor == nil { 601 return srv.(EnvironmentsServer).ListEnvironments(ctx, in) 602 } 603 info := &grpc.UnaryServerInfo{ 604 Server: srv, 605 FullMethod: "/google.cloud.dialogflow.v2beta1.Environments/ListEnvironments", 606 } 607 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 608 return srv.(EnvironmentsServer).ListEnvironments(ctx, req.(*ListEnvironmentsRequest)) 609 } 610 return interceptor(ctx, in, info, handler) 611} 612 613var _Environments_serviceDesc = grpc.ServiceDesc{ 614 ServiceName: "google.cloud.dialogflow.v2beta1.Environments", 615 HandlerType: (*EnvironmentsServer)(nil), 616 Methods: []grpc.MethodDesc{ 617 { 618 MethodName: "ListEnvironments", 619 Handler: _Environments_ListEnvironments_Handler, 620 }, 621 }, 622 Streams: []grpc.StreamDesc{}, 623 Metadata: "google/cloud/dialogflow/v2beta1/environment.proto", 624} 625