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