// 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        v6.33.2
// source: google/cloud/dialogflow/cx/v3/version.proto

package cxpb

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

	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
	_ "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"
	_ "google.golang.org/protobuf/types/known/structpb"
	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 state of the version.
type Version_State int32

const (
	// Not specified. This value is not used.
	Version_STATE_UNSPECIFIED Version_State = 0
	// Version is not ready to serve (e.g. training is running).
	Version_RUNNING Version_State = 1
	// Training has succeeded and this version is ready to serve.
	Version_SUCCEEDED Version_State = 2
	// Version training failed.
	Version_FAILED Version_State = 3
)

// Enum value maps for Version_State.
var (
	Version_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "SUCCEEDED",
		3: "FAILED",
	}
	Version_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"SUCCEEDED":         2,
		"FAILED":            3,
	}
)

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

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

func (Version_State) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_version_proto_enumTypes[0].Descriptor()
}

func (Version_State) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_version_proto_enumTypes[0]
}

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

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

// Metadata associated with the long running operation for
// [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
type CreateVersionOperationMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the created version.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	Version       string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateVersionOperationMetadata) ProtoMessage() {}

func (x *CreateVersionOperationMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_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 CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.
func (*CreateVersionOperationMetadata) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{0}
}

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

// Represents a version of a flow.
type Version struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format:
	// projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
	// Version ID is a self-increasing number generated by Dialogflow upon version
	// creation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The human-readable name of the version. Limit of 64 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The description of the version. The maximum length is 500 characters. If
	// exceeded, the request is rejected.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The NLU settings of the flow at version creation.
	NluSettings *NluSettings `protobuf:"bytes,4,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"`
	// Output only. Create time of the version.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The state of this version. This field is read-only and cannot
	// be set by create and update methods.
	State         Version_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Version_State" json:"state,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Version) Reset() {
	*x = Version{}
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[1]
	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_cx_v3_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 Version.ProtoReflect.Descriptor instead.
func (*Version) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{1}
}

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

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

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

func (x *Version) GetNluSettings() *NluSettings {
	if x != nil {
		return x.NluSettings
	}
	return nil
}

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

func (x *Version) GetState() Version_State {
	if x != nil {
		return x.State
	}
	return Version_STATE_UNSPECIFIED
}

// The request message for
// [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
type ListVersionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to list all
	// versions for. Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 20 and
	// at most 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 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_cx_v3_version_proto_msgTypes[2]
	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_cx_v3_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 ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{2}
}

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.cx.v3.Versions.ListVersions].
type ListVersionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of versions. There will be a maximum number of items returned based
	// on the page_size field in the request. The list may in some cases be empty
	// or contain fewer entries than page_size even if this isn't the last page.
	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_cx_v3_version_proto_msgTypes[3]
	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_cx_v3_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 ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{3}
}

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.cx.v3.Versions.GetVersion].
type GetVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version].
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	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_cx_v3_version_proto_msgTypes[4]
	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_cx_v3_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 GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{4}
}

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

// The request message for
// [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
type CreateVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to create an
	// [Version][google.cloud.dialogflow.cx.v3.Version] for. Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	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_cx_v3_version_proto_msgTypes[5]
	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_cx_v3_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 CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{5}
}

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.cx.v3.Versions.UpdateVersion].
type UpdateVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The version to update.
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required. The mask to control which fields get updated. Currently only
	// `description` and `display_name` can be 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_cx_v3_version_proto_msgTypes[6]
	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_cx_v3_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 UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{6}
}

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.cx.v3.Versions.DeleteVersion].
type DeleteVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version]
	// to delete. Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	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_cx_v3_version_proto_msgTypes[7]
	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_cx_v3_version_proto_msgTypes[7]
	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_cx_v3_version_proto_rawDescGZIP(), []int{7}
}

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

// The request message for
// [Versions.LoadVersion][google.cloud.dialogflow.cx.v3.Versions.LoadVersion].
type LoadVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded
	// to draft flow. Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field is used to prevent accidental overwrite of other agent
	// resources, which can potentially impact other flow's behavior. If
	// `allow_override_agent_resources` is false, conflicted agent-level resources
	// will not be overridden (i.e. intents, entities, webhooks).
	AllowOverrideAgentResources bool `protobuf:"varint,2,opt,name=allow_override_agent_resources,json=allowOverrideAgentResources,proto3" json:"allow_override_agent_resources,omitempty"`
	unknownFields               protoimpl.UnknownFields
	sizeCache                   protoimpl.SizeCache
}

func (x *LoadVersionRequest) Reset() {
	*x = LoadVersionRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*LoadVersionRequest) ProtoMessage() {}

func (x *LoadVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[8]
	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 LoadVersionRequest.ProtoReflect.Descriptor instead.
func (*LoadVersionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{8}
}

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

func (x *LoadVersionRequest) GetAllowOverrideAgentResources() bool {
	if x != nil {
		return x.AllowOverrideAgentResources
	}
	return false
}

// The request message for
// [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
type CompareVersionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the base flow version to compare with the target version.
	// Use version ID `0` to indicate the draft version of the specified flow.
	//
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	BaseVersion string `protobuf:"bytes,1,opt,name=base_version,json=baseVersion,proto3" json:"base_version,omitempty"`
	// Required. Name of the target flow version to compare with the
	// base version. Use version ID `0` to indicate the draft version of the
	// specified flow. Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
	TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	// The language to compare the flow versions for.
	//
	// If not specified, the agent's default language is used.
	// [Many
	// languages](https://cloud.google.com/dialogflow/docs/reference/language) are
	// supported. Note: languages must be enabled in the agent before they can be
	// used.
	LanguageCode  string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CompareVersionsRequest) Reset() {
	*x = CompareVersionsRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CompareVersionsRequest) ProtoMessage() {}

func (x *CompareVersionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[9]
	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 CompareVersionsRequest.ProtoReflect.Descriptor instead.
func (*CompareVersionsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{9}
}

func (x *CompareVersionsRequest) GetBaseVersion() string {
	if x != nil {
		return x.BaseVersion
	}
	return ""
}

func (x *CompareVersionsRequest) GetTargetVersion() string {
	if x != nil {
		return x.TargetVersion
	}
	return ""
}

func (x *CompareVersionsRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The response message for
// [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
type CompareVersionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// JSON representation of the base version content.
	BaseVersionContentJson string `protobuf:"bytes,1,opt,name=base_version_content_json,json=baseVersionContentJson,proto3" json:"base_version_content_json,omitempty"`
	// JSON representation of the target version content.
	TargetVersionContentJson string `protobuf:"bytes,2,opt,name=target_version_content_json,json=targetVersionContentJson,proto3" json:"target_version_content_json,omitempty"`
	// The timestamp when the two version compares.
	CompareTime   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CompareVersionsResponse) Reset() {
	*x = CompareVersionsResponse{}
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CompareVersionsResponse) ProtoMessage() {}

func (x *CompareVersionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes[10]
	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 CompareVersionsResponse.ProtoReflect.Descriptor instead.
func (*CompareVersionsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP(), []int{10}
}

func (x *CompareVersionsResponse) GetBaseVersionContentJson() string {
	if x != nil {
		return x.BaseVersionContentJson
	}
	return ""
}

func (x *CompareVersionsResponse) GetTargetVersionContentJson() string {
	if x != nil {
		return x.TargetVersionContentJson
	}
	return ""
}

func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CompareTime
	}
	return nil
}

var File_google_cloud_dialogflow_cx_v3_version_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_cx_v3_version_proto_rawDesc = "" +
	"\n" +
	"+google/cloud/dialogflow/cx/v3/version.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"b\n" +
	"\x1eCreateVersionOperationMetadata\x12@\n" +
	"\aversion\x18\x01 \x01(\tB&\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\aversion\"\x8e\x04\n" +
	"\aVersion\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x02R\vdisplayName\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12R\n" +
	"\fnlu_settings\x18\x04 \x01(\v2*.google.cloud.dialogflow.cx.v3.NluSettingsB\x03\xe0A\x03R\vnluSettings\x12@\n" +
	"\vcreate_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12G\n" +
	"\x05state\x18\x06 \x01(\x0e2,.google.cloud.dialogflow.cx.v3.Version.StateB\x03\xe0A\x03R\x05state\"F\n" +
	"\x05State\x12\x15\n" +
	"\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aRUNNING\x10\x01\x12\r\n" +
	"\tSUCCEEDED\x10\x02\x12\n" +
	"\n" +
	"\x06FAILED\x10\x03:~\xeaA{\n" +
	"!dialogflow.googleapis.com/Version\x12Vprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}\"\x94\x01\n" +
	"\x13ListVersionsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\x12!dialogflow.googleapis.com/VersionR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x82\x01\n" +
	"\x14ListVersionsResponse\x12B\n" +
	"\bversions\x18\x01 \x03(\v2&.google.cloud.dialogflow.cx.v3.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\"\xa0\x01\n" +
	"\x14CreateVersionRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\x12!dialogflow.googleapis.com/VersionR\x06parent\x12E\n" +
	"\aversion\x18\x02 \x01(\v2&.google.cloud.dialogflow.cx.v3.VersionB\x03\xe0A\x02R\aversion\"\x9f\x01\n" +
	"\x14UpdateVersionRequest\x12E\n" +
	"\aversion\x18\x01 \x01(\v2&.google.cloud.dialogflow.cx.v3.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\x04name\"\x98\x01\n" +
	"\x12LoadVersionRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\x04name\x12C\n" +
	"\x1eallow_override_agent_resources\x18\x02 \x01(\bR\x1ballowOverrideAgentResources\"\xdd\x01\n" +
	"\x16CompareVersionsRequest\x12L\n" +
	"\fbase_version\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\vbaseVersion\x12P\n" +
	"\x0etarget_version\x18\x02 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!dialogflow.googleapis.com/VersionR\rtargetVersion\x12#\n" +
	"\rlanguage_code\x18\x03 \x01(\tR\flanguageCode\"\xd2\x01\n" +
	"\x17CompareVersionsResponse\x129\n" +
	"\x19base_version_content_json\x18\x01 \x01(\tR\x16baseVersionContentJson\x12=\n" +
	"\x1btarget_version_content_json\x18\x02 \x01(\tR\x18targetVersionContentJson\x12=\n" +
	"\fcompare_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\vcompareTime2\xe2\f\n" +
	"\bVersions\x12\xc7\x01\n" +
	"\fListVersions\x122.google.cloud.dialogflow.cx.v3.ListVersionsRequest\x1a3.google.cloud.dialogflow.cx.v3.ListVersionsResponse\"N\xdaA\x06parent\x82\xd3\xe4\x93\x02?\x12=/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions\x12\xb4\x01\n" +
	"\n" +
	"GetVersion\x120.google.cloud.dialogflow.cx.v3.GetVersionRequest\x1a&.google.cloud.dialogflow.cx.v3.Version\"L\xdaA\x04name\x82\xd3\xe4\x93\x02?\x12=/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}\x12\xf1\x01\n" +
	"\rCreateVersion\x123.google.cloud.dialogflow.cx.v3.CreateVersionRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xcaA)\n" +
	"\aVersion\x12\x1eCreateVersionOperationMetadata\xdaA\x0eparent,version\x82\xd3\xe4\x93\x02H:\aversion\"=/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions\x12\xda\x01\n" +
	"\rUpdateVersion\x123.google.cloud.dialogflow.cx.v3.UpdateVersionRequest\x1a&.google.cloud.dialogflow.cx.v3.Version\"l\xdaA\x13version,update_mask\x82\xd3\xe4\x93\x02P:\aversion2E/v3/{version.name=projects/*/locations/*/agents/*/flows/*/versions/*}\x12\xaa\x01\n" +
	"\rDeleteVersion\x123.google.cloud.dialogflow.cx.v3.DeleteVersionRequest\x1a\x16.google.protobuf.Empty\"L\xdaA\x04name\x82\xd3\xe4\x93\x02?*=/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}\x12\xe8\x01\n" +
	"\vLoadVersion\x121.google.cloud.dialogflow.cx.v3.LoadVersionRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xcaA/\n" +
	"\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\xdaA\x04name\x82\xd3\xe4\x93\x02G:\x01*\"B/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load\x12\xf1\x01\n" +
	"\x0fCompareVersions\x125.google.cloud.dialogflow.cx.v3.CompareVersionsRequest\x1a6.google.cloud.dialogflow.cx.v3.CompareVersionsResponse\"o\xdaA\fbase_version\x82\xd3\xe4\x93\x02Z:\x01*\"U/v3/{base_version=projects/*/locations/*/agents/*/flows/*/versions/*}:compareVersions\x1ax\xcaA\x19dialogflow.googleapis.com\xd2AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xaf\x01\n" +
	"!com.google.cloud.dialogflow.cx.v3B\fVersionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02DF\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"

var (
	file_google_cloud_dialogflow_cx_v3_version_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_cx_v3_version_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_cx_v3_version_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_cx_v3_version_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_cx_v3_version_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3_version_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_version_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_cx_v3_version_proto_rawDescData
}

var file_google_cloud_dialogflow_cx_v3_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_google_cloud_dialogflow_cx_v3_version_proto_goTypes = []any{
	(Version_State)(0),                     // 0: google.cloud.dialogflow.cx.v3.Version.State
	(*CreateVersionOperationMetadata)(nil), // 1: google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata
	(*Version)(nil),                        // 2: google.cloud.dialogflow.cx.v3.Version
	(*ListVersionsRequest)(nil),            // 3: google.cloud.dialogflow.cx.v3.ListVersionsRequest
	(*ListVersionsResponse)(nil),           // 4: google.cloud.dialogflow.cx.v3.ListVersionsResponse
	(*GetVersionRequest)(nil),              // 5: google.cloud.dialogflow.cx.v3.GetVersionRequest
	(*CreateVersionRequest)(nil),           // 6: google.cloud.dialogflow.cx.v3.CreateVersionRequest
	(*UpdateVersionRequest)(nil),           // 7: google.cloud.dialogflow.cx.v3.UpdateVersionRequest
	(*DeleteVersionRequest)(nil),           // 8: google.cloud.dialogflow.cx.v3.DeleteVersionRequest
	(*LoadVersionRequest)(nil),             // 9: google.cloud.dialogflow.cx.v3.LoadVersionRequest
	(*CompareVersionsRequest)(nil),         // 10: google.cloud.dialogflow.cx.v3.CompareVersionsRequest
	(*CompareVersionsResponse)(nil),        // 11: google.cloud.dialogflow.cx.v3.CompareVersionsResponse
	(*NluSettings)(nil),                    // 12: google.cloud.dialogflow.cx.v3.NluSettings
	(*timestamppb.Timestamp)(nil),          // 13: google.protobuf.Timestamp
	(*fieldmaskpb.FieldMask)(nil),          // 14: google.protobuf.FieldMask
	(*longrunningpb.Operation)(nil),        // 15: google.longrunning.Operation
	(*emptypb.Empty)(nil),                  // 16: google.protobuf.Empty
}
var file_google_cloud_dialogflow_cx_v3_version_proto_depIdxs = []int32{
	12, // 0: google.cloud.dialogflow.cx.v3.Version.nlu_settings:type_name -> google.cloud.dialogflow.cx.v3.NluSettings
	13, // 1: google.cloud.dialogflow.cx.v3.Version.create_time:type_name -> google.protobuf.Timestamp
	0,  // 2: google.cloud.dialogflow.cx.v3.Version.state:type_name -> google.cloud.dialogflow.cx.v3.Version.State
	2,  // 3: google.cloud.dialogflow.cx.v3.ListVersionsResponse.versions:type_name -> google.cloud.dialogflow.cx.v3.Version
	2,  // 4: google.cloud.dialogflow.cx.v3.CreateVersionRequest.version:type_name -> google.cloud.dialogflow.cx.v3.Version
	2,  // 5: google.cloud.dialogflow.cx.v3.UpdateVersionRequest.version:type_name -> google.cloud.dialogflow.cx.v3.Version
	14, // 6: google.cloud.dialogflow.cx.v3.UpdateVersionRequest.update_mask:type_name -> google.protobuf.FieldMask
	13, // 7: google.cloud.dialogflow.cx.v3.CompareVersionsResponse.compare_time:type_name -> google.protobuf.Timestamp
	3,  // 8: google.cloud.dialogflow.cx.v3.Versions.ListVersions:input_type -> google.cloud.dialogflow.cx.v3.ListVersionsRequest
	5,  // 9: google.cloud.dialogflow.cx.v3.Versions.GetVersion:input_type -> google.cloud.dialogflow.cx.v3.GetVersionRequest
	6,  // 10: google.cloud.dialogflow.cx.v3.Versions.CreateVersion:input_type -> google.cloud.dialogflow.cx.v3.CreateVersionRequest
	7,  // 11: google.cloud.dialogflow.cx.v3.Versions.UpdateVersion:input_type -> google.cloud.dialogflow.cx.v3.UpdateVersionRequest
	8,  // 12: google.cloud.dialogflow.cx.v3.Versions.DeleteVersion:input_type -> google.cloud.dialogflow.cx.v3.DeleteVersionRequest
	9,  // 13: google.cloud.dialogflow.cx.v3.Versions.LoadVersion:input_type -> google.cloud.dialogflow.cx.v3.LoadVersionRequest
	10, // 14: google.cloud.dialogflow.cx.v3.Versions.CompareVersions:input_type -> google.cloud.dialogflow.cx.v3.CompareVersionsRequest
	4,  // 15: google.cloud.dialogflow.cx.v3.Versions.ListVersions:output_type -> google.cloud.dialogflow.cx.v3.ListVersionsResponse
	2,  // 16: google.cloud.dialogflow.cx.v3.Versions.GetVersion:output_type -> google.cloud.dialogflow.cx.v3.Version
	15, // 17: google.cloud.dialogflow.cx.v3.Versions.CreateVersion:output_type -> google.longrunning.Operation
	2,  // 18: google.cloud.dialogflow.cx.v3.Versions.UpdateVersion:output_type -> google.cloud.dialogflow.cx.v3.Version
	16, // 19: google.cloud.dialogflow.cx.v3.Versions.DeleteVersion:output_type -> google.protobuf.Empty
	15, // 20: google.cloud.dialogflow.cx.v3.Versions.LoadVersion:output_type -> google.longrunning.Operation
	11, // 21: google.cloud.dialogflow.cx.v3.Versions.CompareVersions:output_type -> google.cloud.dialogflow.cx.v3.CompareVersionsResponse
	15, // [15:22] is the sub-list for method output_type
	8,  // [8:15] is the sub-list for method input_type
	8,  // [8:8] is the sub-list for extension type_name
	8,  // [8:8] is the sub-list for extension extendee
	0,  // [0:8] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_cx_v3_version_proto_init() }
func file_google_cloud_dialogflow_cx_v3_version_proto_init() {
	if File_google_cloud_dialogflow_cx_v3_version_proto != nil {
		return
	}
	file_google_cloud_dialogflow_cx_v3_flow_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3_version_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_version_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_dialogflow_cx_v3_version_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_cx_v3_version_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_cx_v3_version_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_cx_v3_version_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_cx_v3_version_proto = out.File
	file_google_cloud_dialogflow_cx_v3_version_proto_goTypes = nil
	file_google_cloud_dialogflow_cx_v3_version_proto_depIdxs = nil
}
