// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v4.25.7
// source: google/cloud/dialogflow/v2/version.proto

package dialogflowpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// The status of a version.
type Version_VersionStatus int32

const (
	// Not specified. This value is not used.
	Version_VERSION_STATUS_UNSPECIFIED Version_VersionStatus = 0
	// Version is not ready to serve (e.g. training is in progress).
	Version_IN_PROGRESS Version_VersionStatus = 1
	// Version is ready to serve.
	Version_READY Version_VersionStatus = 2
	// Version training failed.
	Version_FAILED Version_VersionStatus = 3
)

// Enum value maps for Version_VersionStatus.
var (
	Version_VersionStatus_name = map[int32]string{
		0: "VERSION_STATUS_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "READY",
		3: "FAILED",
	}
	Version_VersionStatus_value = map[string]int32{
		"VERSION_STATUS_UNSPECIFIED": 0,
		"IN_PROGRESS":                1,
		"READY":                      2,
		"FAILED":                     3,
	}
)

func (x Version_VersionStatus) Enum() *Version_VersionStatus {
	p := new(Version_VersionStatus)
	*p = x
	return p
}

func (x Version_VersionStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Version_VersionStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_v2_version_proto_enumTypes[0].Descriptor()
}

func (Version_VersionStatus) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_v2_version_proto_enumTypes[0]
}

func (x Version_VersionStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Version_VersionStatus.Descriptor instead.
func (Version_VersionStatus) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{0, 0}
}

// You can create multiple versions of your agent and publish them to separate
// environments.
//
// When you edit an agent, you are editing the draft agent. At any point, you
// can save the draft agent as an agent version, which is an immutable snapshot
// of your agent.
//
// When you save the draft agent, it is published to the default environment.
// When you create agent versions, you can publish them to custom environments.
// You can create a variety of custom environments for:
//
// - testing
// - development
// - production
// - etc.
//
// For more information, see the [versions and environments
// guide](https://cloud.google.com/dialogflow/docs/agents-versions).
type Version struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The unique identifier of this agent version.
	// Supported formats:
	//
	//   - `projects/<Project ID>/agent/versions/<Version ID>`
	//   - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
	//     ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The developer-provided description of this version.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The sequential number of this version. This field is read-only
	// which means it cannot be set by create and update methods.
	VersionNumber int32 `protobuf:"varint,3,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"`
	// Output only. The creation time of this version. This field is read-only,
	// i.e., it cannot be set by create and update methods.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The status of this version. This field is read-only and cannot
	// be set by create and update methods.
	Status        Version_VersionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.cloud.dialogflow.v2.Version_VersionStatus" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Version) Reset() {
	*x = Version{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Version) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Version) ProtoMessage() {}

func (x *Version) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{0}
}

func (x *Version) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Version) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Version) GetVersionNumber() int32 {
	if x != nil {
		return x.VersionNumber
	}
	return 0
}

func (x *Version) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Version) GetStatus() Version_VersionStatus {
	if x != nil {
		return x.Status
	}
	return Version_VERSION_STATUS_UNSPECIFIED
}

// The request message for
// [Versions.ListVersions][google.cloud.dialogflow.v2.Versions.ListVersions].
type ListVersionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent to list all versions from.
	// Supported formats:
	//
	// - `projects/<Project ID>/agent`
	// - `projects/<Project ID>/locations/<Location ID>/agent`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return in a single page. By
	// default 100 and at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The next_page_token value returned from a previous list request.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListVersionsRequest) Reset() {
	*x = ListVersionsRequest{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListVersionsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListVersionsRequest) ProtoMessage() {}

func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{1}
}

func (x *ListVersionsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListVersionsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListVersionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

// The response message for
// [Versions.ListVersions][google.cloud.dialogflow.v2.Versions.ListVersions].
type ListVersionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of agent versions. There will be a maximum number of items
	// returned based on the page_size field in the request.
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListVersionsResponse) Reset() {
	*x = ListVersionsResponse{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListVersionsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListVersionsResponse) ProtoMessage() {}

func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{2}
}

func (x *ListVersionsResponse) GetVersions() []*Version {
	if x != nil {
		return x.Versions
	}
	return nil
}

func (x *ListVersionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// The request message for
// [Versions.GetVersion][google.cloud.dialogflow.v2.Versions.GetVersion].
type GetVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the version.
	// Supported formats:
	//
	//   - `projects/<Project ID>/agent/versions/<Version ID>`
	//   - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
	//     ID>`
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetVersionRequest) Reset() {
	*x = GetVersionRequest{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetVersionRequest) ProtoMessage() {}

func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{3}
}

func (x *GetVersionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The request message for
// [Versions.CreateVersion][google.cloud.dialogflow.v2.Versions.CreateVersion].
type CreateVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent to create a version for.
	// Supported formats:
	//
	// - `projects/<Project ID>/agent`
	// - `projects/<Project ID>/locations/<Location ID>/agent`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The version to create.
	Version       *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateVersionRequest) Reset() {
	*x = CreateVersionRequest{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateVersionRequest) ProtoMessage() {}

func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{4}
}

func (x *CreateVersionRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateVersionRequest) GetVersion() *Version {
	if x != nil {
		return x.Version
	}
	return nil
}

// The request message for
// [Versions.UpdateVersion][google.cloud.dialogflow.v2.Versions.UpdateVersion].
type UpdateVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The version to update.
	// Supported formats:
	//
	//   - `projects/<Project ID>/agent/versions/<Version ID>`
	//   - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
	//     ID>`
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required. The mask to control which fields get updated.
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateVersionRequest) Reset() {
	*x = UpdateVersionRequest{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateVersionRequest) ProtoMessage() {}

func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{5}
}

func (x *UpdateVersionRequest) GetVersion() *Version {
	if x != nil {
		return x.Version
	}
	return nil
}

func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// The request message for
// [Versions.DeleteVersion][google.cloud.dialogflow.v2.Versions.DeleteVersion].
type DeleteVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the version to delete.
	// Supported formats:
	//
	//   - `projects/<Project ID>/agent/versions/<Version ID>`
	//   - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version
	//     ID>`
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteVersionRequest) Reset() {
	*x = DeleteVersionRequest{}
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteVersionRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteVersionRequest) ProtoMessage() {}

func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_version_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP(), []int{6}
}

func (x *DeleteVersionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

var File_google_cloud_dialogflow_v2_version_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_v2_version_proto_rawDesc = "" +
	"\n" +
	"(google/cloud/dialogflow/v2/version.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x03\n" +
	"\aVersion\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x03R\x04name\x12%\n" +
	"\vdescription\x18\x02 \x01(\tB\x03\xe0A\x01R\vdescription\x12*\n" +
	"\x0eversion_number\x18\x03 \x01(\x05B\x03\xe0A\x03R\rversionNumber\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12N\n" +
	"\x06status\x18\x06 \x01(\x0e21.google.cloud.dialogflow.v2.Version.VersionStatusB\x03\xe0A\x03R\x06status\"W\n" +
	"\rVersionStatus\x12\x1e\n" +
	"\x1aVERSION_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n" +
	"\vIN_PROGRESS\x10\x01\x12\t\n" +
	"\x05READY\x10\x02\x12\n" +
	"\n" +
	"\x06FAILED\x10\x03:\x96\x01\xeaA\x92\x01\n" +
	"!dialogflow.googleapis.com/Version\x12+projects/{project}/agent/versions/{version}\x12@projects/{project}/locations/{location}/agent/versions/{version}\"\x9e\x01\n" +
	"\x13ListVersionsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\x12!dialogflow.googleapis.com/VersionR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\"\x7f\n" +
	"\x14ListVersionsResponse\x12?\n" +
	"\bversions\x18\x01 \x03(\v2#.google.cloud.dialogflow.v2.VersionR\bversions\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"R\n" +
	"\x11GetVersionRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\x04name\"\x9d\x01\n" +
	"\x14CreateVersionRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\x12!dialogflow.googleapis.com/VersionR\x06parent\x12B\n" +
	"\aversion\x18\x02 \x01(\v2#.google.cloud.dialogflow.v2.VersionB\x03\xe0A\x02R\aversion\"\x9c\x01\n" +
	"\x14UpdateVersionRequest\x12B\n" +
	"\aversion\x18\x01 \x01(\v2#.google.cloud.dialogflow.v2.VersionB\x03\xe0A\x02R\aversion\x12@\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\"U\n" +
	"\x14DeleteVersionRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\x04name2\xfc\t\n" +
	"\bVersions\x12\xe0\x01\n" +
	"\fListVersions\x12/.google.cloud.dialogflow.v2.ListVersionsRequest\x1a0.google.cloud.dialogflow.v2.ListVersionsResponse\"m\xdaA\x06parent\x82\xd3\xe4\x93\x02^Z4\x122/v2/{parent=projects/*/locations/*/agent}/versions\x12&/v2/{parent=projects/*/agent}/versions\x12\xcd\x01\n" +
	"\n" +
	"GetVersion\x12-.google.cloud.dialogflow.v2.GetVersionRequest\x1a#.google.cloud.dialogflow.v2.Version\"k\xdaA\x04name\x82\xd3\xe4\x93\x02^Z4\x122/v2/{name=projects/*/locations/*/agent/versions/*}\x12&/v2/{name=projects/*/agent/versions/*}\x12\xf0\x01\n" +
	"\rCreateVersion\x120.google.cloud.dialogflow.v2.CreateVersionRequest\x1a#.google.cloud.dialogflow.v2.Version\"\x87\x01\xdaA\x0eparent,version\x82\xd3\xe4\x93\x02p:\aversionZ=:\aversion\"2/v2/{parent=projects/*/locations/*/agent}/versions\"&/v2/{parent=projects/*/agent}/versions\x12\x86\x02\n" +
	"\rUpdateVersion\x120.google.cloud.dialogflow.v2.UpdateVersionRequest\x1a#.google.cloud.dialogflow.v2.Version\"\x9d\x01\xdaA\x13version,update_mask\x82\xd3\xe4\x93\x02\x80\x01:\aversionZE:\aversion2:/v2/{version.name=projects/*/locations/*/agent/versions/*}2./v2/{version.name=projects/*/agent/versions/*}\x12\xc6\x01\n" +
	"\rDeleteVersion\x120.google.cloud.dialogflow.v2.DeleteVersionRequest\x1a\x16.google.protobuf.Empty\"k\xdaA\x04name\x82\xd3\xe4\x93\x02^Z4*2/v2/{name=projects/*/locations/*/agent/versions/*}*&/v2/{name=projects/*/agent/versions/*}\x1ax\xcaA\x19dialogflow.googleapis.com\xd2AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x92\x01\n" +
	"\x1ecom.google.cloud.dialogflow.v2B\fVersionProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02DF\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"

var (
	file_google_cloud_dialogflow_v2_version_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_v2_version_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_v2_version_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_v2_version_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_v2_version_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2_version_proto_rawDesc), len(file_google_cloud_dialogflow_v2_version_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_v2_version_proto_rawDescData
}

var file_google_cloud_dialogflow_v2_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_dialogflow_v2_version_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_google_cloud_dialogflow_v2_version_proto_goTypes = []any{
	(Version_VersionStatus)(0),    // 0: google.cloud.dialogflow.v2.Version.VersionStatus
	(*Version)(nil),               // 1: google.cloud.dialogflow.v2.Version
	(*ListVersionsRequest)(nil),   // 2: google.cloud.dialogflow.v2.ListVersionsRequest
	(*ListVersionsResponse)(nil),  // 3: google.cloud.dialogflow.v2.ListVersionsResponse
	(*GetVersionRequest)(nil),     // 4: google.cloud.dialogflow.v2.GetVersionRequest
	(*CreateVersionRequest)(nil),  // 5: google.cloud.dialogflow.v2.CreateVersionRequest
	(*UpdateVersionRequest)(nil),  // 6: google.cloud.dialogflow.v2.UpdateVersionRequest
	(*DeleteVersionRequest)(nil),  // 7: google.cloud.dialogflow.v2.DeleteVersionRequest
	(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
	(*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask
	(*emptypb.Empty)(nil),         // 10: google.protobuf.Empty
}
var file_google_cloud_dialogflow_v2_version_proto_depIdxs = []int32{
	8,  // 0: google.cloud.dialogflow.v2.Version.create_time:type_name -> google.protobuf.Timestamp
	0,  // 1: google.cloud.dialogflow.v2.Version.status:type_name -> google.cloud.dialogflow.v2.Version.VersionStatus
	1,  // 2: google.cloud.dialogflow.v2.ListVersionsResponse.versions:type_name -> google.cloud.dialogflow.v2.Version
	1,  // 3: google.cloud.dialogflow.v2.CreateVersionRequest.version:type_name -> google.cloud.dialogflow.v2.Version
	1,  // 4: google.cloud.dialogflow.v2.UpdateVersionRequest.version:type_name -> google.cloud.dialogflow.v2.Version
	9,  // 5: google.cloud.dialogflow.v2.UpdateVersionRequest.update_mask:type_name -> google.protobuf.FieldMask
	2,  // 6: google.cloud.dialogflow.v2.Versions.ListVersions:input_type -> google.cloud.dialogflow.v2.ListVersionsRequest
	4,  // 7: google.cloud.dialogflow.v2.Versions.GetVersion:input_type -> google.cloud.dialogflow.v2.GetVersionRequest
	5,  // 8: google.cloud.dialogflow.v2.Versions.CreateVersion:input_type -> google.cloud.dialogflow.v2.CreateVersionRequest
	6,  // 9: google.cloud.dialogflow.v2.Versions.UpdateVersion:input_type -> google.cloud.dialogflow.v2.UpdateVersionRequest
	7,  // 10: google.cloud.dialogflow.v2.Versions.DeleteVersion:input_type -> google.cloud.dialogflow.v2.DeleteVersionRequest
	3,  // 11: google.cloud.dialogflow.v2.Versions.ListVersions:output_type -> google.cloud.dialogflow.v2.ListVersionsResponse
	1,  // 12: google.cloud.dialogflow.v2.Versions.GetVersion:output_type -> google.cloud.dialogflow.v2.Version
	1,  // 13: google.cloud.dialogflow.v2.Versions.CreateVersion:output_type -> google.cloud.dialogflow.v2.Version
	1,  // 14: google.cloud.dialogflow.v2.Versions.UpdateVersion:output_type -> google.cloud.dialogflow.v2.Version
	10, // 15: google.cloud.dialogflow.v2.Versions.DeleteVersion:output_type -> google.protobuf.Empty
	11, // [11:16] is the sub-list for method output_type
	6,  // [6:11] is the sub-list for method input_type
	6,  // [6:6] is the sub-list for extension type_name
	6,  // [6:6] is the sub-list for extension extendee
	0,  // [0:6] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_v2_version_proto_init() }
func file_google_cloud_dialogflow_v2_version_proto_init() {
	if File_google_cloud_dialogflow_v2_version_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2_version_proto_rawDesc), len(file_google_cloud_dialogflow_v2_version_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_dialogflow_v2_version_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_v2_version_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_v2_version_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_v2_version_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_v2_version_proto = out.File
	file_google_cloud_dialogflow_v2_version_proto_goTypes = nil
	file_google_cloud_dialogflow_v2_version_proto_depIdxs = nil
}
