// 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/cx/v3beta1/changelog.proto

package cxpb

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"
	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 request message for
// [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs].
type ListChangelogsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent containing the changelogs.
	// Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter string. Supports filter by user_email, resource, type and
	// create_time. Some examples:
	//  1. By user email:
	//     user_email = "someone@google.com"
	//  2. By resource name:
	//     resource = "projects/123/locations/global/agents/456/flows/789"
	//  3. By resource display name:
	//     display_name = "my agent"
	//  4. By action:
	//     action = "Create"
	//  5. By type:
	//     type = "flows"
	//  6. By create time. Currently predicates on `create_time` and
	//     `create_time_epoch_seconds` are supported:
	//     create_time_epoch_seconds > 1551790877 AND create_time <=
	//     2017-01-15T01:30:15.01Z
	//  7. Combination of above filters:
	//     resource = "projects/123/locations/global/agents/456/flows/789"
	//     AND user_email = "someone@google.com"
	//     AND create_time <= 2017-01-15T01:30:15.01Z
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListChangelogsRequest) ProtoMessage() {}

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

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

func (x *ListChangelogsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

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

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

// The response message for
// [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs].
type ListChangelogsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of changelogs. There will be a maximum number of items returned
	// based on the page_size field in the request. The changelogs will be ordered
	// by timestamp.
	Changelogs []*Changelog `protobuf:"bytes,1,rep,name=changelogs,proto3" json:"changelogs,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 *ListChangelogsResponse) Reset() {
	*x = ListChangelogsResponse{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListChangelogsResponse) ProtoMessage() {}

func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_changelog_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 ListChangelogsResponse.ProtoReflect.Descriptor instead.
func (*ListChangelogsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescGZIP(), []int{1}
}

func (x *ListChangelogsResponse) GetChangelogs() []*Changelog {
	if x != nil {
		return x.Changelogs
	}
	return nil
}

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

// The request message for
// [Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog].
type GetChangelogRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the changelog to get.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/changelogs/<ChangelogID>`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetChangelogRequest) ProtoMessage() {}

func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_changelog_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 GetChangelogRequest.ProtoReflect.Descriptor instead.
func (*GetChangelogRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescGZIP(), []int{2}
}

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

// Changelogs represents a change made to a given agent.
type Changelog struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The unique identifier of the changelog.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/changelogs/<ChangelogID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Email address of the authenticated user.
	UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
	// The affected resource display name of the change.
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The action of the change.
	Action string `protobuf:"bytes,11,opt,name=action,proto3" json:"action,omitempty"`
	// The affected resource type.
	Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	// The affected resource name of the change.
	Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// The timestamp of the change.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The affected language code of the change.
	LanguageCode  string `protobuf:"bytes,14,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Changelog) ProtoMessage() {}

func (x *Changelog) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_changelog_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 Changelog.ProtoReflect.Descriptor instead.
func (*Changelog) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescGZIP(), []int{3}
}

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

func (x *Changelog) GetUserEmail() string {
	if x != nil {
		return x.UserEmail
	}
	return ""
}

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

func (x *Changelog) GetAction() string {
	if x != nil {
		return x.Action
	}
	return ""
}

func (x *Changelog) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *Changelog) GetResource() string {
	if x != nil {
		return x.Resource
	}
	return ""
}

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

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

var File_google_cloud_dialogflow_cx_v3beta1_changelog_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDesc = "" +
	"\n" +
	"2google/cloud/dialogflow/cx/v3beta1/changelog.proto\x12\"google.cloud.dialogflow.cx.v3beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb0\x01\n" +
	"\x15ListChangelogsRequest\x12C\n" +
	"\x06parent\x18\x01 \x01(\tB+\xe0A\x02\xfaA%\x12#dialogflow.googleapis.com/ChangelogR\x06parent\x12\x16\n" +
	"\x06filter\x18\x02 \x01(\tR\x06filter\x12\x1b\n" +
	"\tpage_size\x18\x03 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x04 \x01(\tR\tpageToken\"\x8f\x01\n" +
	"\x16ListChangelogsResponse\x12M\n" +
	"\n" +
	"changelogs\x18\x01 \x03(\v2-.google.cloud.dialogflow.cx.v3beta1.ChangelogR\n" +
	"changelogs\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"V\n" +
	"\x13GetChangelogRequest\x12?\n" +
	"\x04name\x18\x01 \x01(\tB+\xe0A\x02\xfaA%\n" +
	"#dialogflow.googleapis.com/ChangelogR\x04name\"\x84\x03\n" +
	"\tChangelog\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"user_email\x18\x02 \x01(\tR\tuserEmail\x12!\n" +
	"\fdisplay_name\x18\a \x01(\tR\vdisplayName\x12\x16\n" +
	"\x06action\x18\v \x01(\tR\x06action\x12\x12\n" +
	"\x04type\x18\b \x01(\tR\x04type\x12\x1a\n" +
	"\bresource\x18\x03 \x01(\tR\bresource\x12;\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"createTime\x12#\n" +
	"\rlanguage_code\x18\x0e \x01(\tR\flanguageCode:w\xeaAt\n" +
	"#dialogflow.googleapis.com/Changelog\x12Mprojects/{project}/locations/{location}/agents/{agent}/changelogs/{changelog}2\xa5\x04\n" +
	"\n" +
	"Changelogs\x12\xd6\x01\n" +
	"\x0eListChangelogs\x129.google.cloud.dialogflow.cx.v3beta1.ListChangelogsRequest\x1a:.google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse\"M\xdaA\x06parent\x82\xd3\xe4\x93\x02>\x12</v3beta1/{parent=projects/*/locations/*/agents/*}/changelogs\x12\xc3\x01\n" +
	"\fGetChangelog\x127.google.cloud.dialogflow.cx.v3beta1.GetChangelogRequest\x1a-.google.cloud.dialogflow.cx.v3beta1.Changelog\"K\xdaA\x04name\x82\xd3\xe4\x93\x02>\x12</v3beta1/{name=projects/*/locations/*/agents/*/changelogs/*}\x1ax\xcaA\x19dialogflow.googleapis.com\xd2AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xc5\x01\n" +
	"&com.google.cloud.dialogflow.cx.v3beta1B\x0eChangelogProtoP\x01Z6cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb\xa2\x02\x02DF\xaa\x02\"Google.Cloud.Dialogflow.Cx.V3Beta1\xea\x02&Google::Cloud::Dialogflow::CX::V3beta1b\x06proto3"

var (
	file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDescData
}

var file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_goTypes = []any{
	(*ListChangelogsRequest)(nil),  // 0: google.cloud.dialogflow.cx.v3beta1.ListChangelogsRequest
	(*ListChangelogsResponse)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse
	(*GetChangelogRequest)(nil),    // 2: google.cloud.dialogflow.cx.v3beta1.GetChangelogRequest
	(*Changelog)(nil),              // 3: google.cloud.dialogflow.cx.v3beta1.Changelog
	(*timestamppb.Timestamp)(nil),  // 4: google.protobuf.Timestamp
}
var file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_depIdxs = []int32{
	3, // 0: google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse.changelogs:type_name -> google.cloud.dialogflow.cx.v3beta1.Changelog
	4, // 1: google.cloud.dialogflow.cx.v3beta1.Changelog.create_time:type_name -> google.protobuf.Timestamp
	0, // 2: google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs:input_type -> google.cloud.dialogflow.cx.v3beta1.ListChangelogsRequest
	2, // 3: google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog:input_type -> google.cloud.dialogflow.cx.v3beta1.GetChangelogRequest
	1, // 4: google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs:output_type -> google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse
	3, // 5: google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog:output_type -> google.cloud.dialogflow.cx.v3beta1.Changelog
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_init() }
func file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_init() {
	if File_google_cloud_dialogflow_cx_v3beta1_changelog_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_cx_v3beta1_changelog_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_depIdxs,
		MessageInfos:      file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_cx_v3beta1_changelog_proto = out.File
	file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_goTypes = nil
	file_google_cloud_dialogflow_cx_v3beta1_changelog_proto_depIdxs = nil
}
