// Copyright 2025 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/aiplatform/v1beta1/feature_monitor_job.proto

package aiplatformpb

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

	_ "google.golang.org/genproto/googleapis/api/annotations"
	status "google.golang.org/genproto/googleapis/rpc/status"
	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)
)

// Choices of the trigger type.
type FeatureMonitorJob_FeatureMonitorJobTrigger int32

const (
	// Trigger type unspecified.
	FeatureMonitorJob_FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED FeatureMonitorJob_FeatureMonitorJobTrigger = 0
	// Triggered by periodic schedule.
	FeatureMonitorJob_FEATURE_MONITOR_JOB_TRIGGER_PERIODIC FeatureMonitorJob_FeatureMonitorJobTrigger = 1
	// Triggered on demand by CreateFeatureMonitorJob request.
	FeatureMonitorJob_FEATURE_MONITOR_JOB_TRIGGER_ON_DEMAND FeatureMonitorJob_FeatureMonitorJobTrigger = 2
)

// Enum value maps for FeatureMonitorJob_FeatureMonitorJobTrigger.
var (
	FeatureMonitorJob_FeatureMonitorJobTrigger_name = map[int32]string{
		0: "FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED",
		1: "FEATURE_MONITOR_JOB_TRIGGER_PERIODIC",
		2: "FEATURE_MONITOR_JOB_TRIGGER_ON_DEMAND",
	}
	FeatureMonitorJob_FeatureMonitorJobTrigger_value = map[string]int32{
		"FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED": 0,
		"FEATURE_MONITOR_JOB_TRIGGER_PERIODIC":    1,
		"FEATURE_MONITOR_JOB_TRIGGER_ON_DEMAND":   2,
	}
)

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

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

func (FeatureMonitorJob_FeatureMonitorJobTrigger) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_enumTypes[0].Descriptor()
}

func (FeatureMonitorJob_FeatureMonitorJobTrigger) Type() protoreflect.EnumType {
	return &file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_enumTypes[0]
}

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

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

// Vertex AI Feature Monitor Job.
type FeatureMonitorJob struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Identifier. Name of the FeatureMonitorJob. Format:
	// `projects/{project}/locations/{location}/featureGroups/{feature_group}/featureMonitors/{feature_monitor}/featureMonitorJobs/{feature_monitor_job}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Timestamp when this FeatureMonitorJob was created. Creation of
	// a FeatureMonitorJob means that the job is pending / waiting for sufficient
	// resources but may not have started running yet.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Final status of the FeatureMonitorJob.
	FinalStatus *status.Status `protobuf:"bytes,3,opt,name=final_status,json=finalStatus,proto3" json:"final_status,omitempty"`
	// Output only. Summary from the FeatureMonitorJob.
	JobSummary *FeatureMonitorJob_JobSummary `protobuf:"bytes,4,opt,name=job_summary,json=jobSummary,proto3" json:"job_summary,omitempty"`
	// Optional. The labels with user-defined metadata to organize your
	// FeatureMonitorJob.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	//
	// See https://goo.gl/xmQnxf for more information on and examples of labels.
	// No more than 64 user labels can be associated with one
	// FeatureMonitor(System labels are excluded)." System reserved label keys
	// are prefixed with "aiplatform.googleapis.com/" and are immutable.
	Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. Description of the FeatureMonitor.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. FeatureMonitorJob ID comparing to which the drift is
	// calculated.
	DriftBaseFeatureMonitorJobId int64 `protobuf:"varint,7,opt,name=drift_base_feature_monitor_job_id,json=driftBaseFeatureMonitorJobId,proto3" json:"drift_base_feature_monitor_job_id,omitempty"`
	// Output only. Data snapshot time comparing to which the drift is calculated.
	DriftBaseSnapshotTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=drift_base_snapshot_time,json=driftBaseSnapshotTime,proto3" json:"drift_base_snapshot_time,omitempty"`
	// Output only. Feature selection config used when creating FeatureMonitorJob.
	FeatureSelectionConfig *FeatureSelectionConfig `protobuf:"bytes,9,opt,name=feature_selection_config,json=featureSelectionConfig,proto3" json:"feature_selection_config,omitempty"`
	// Output only. Trigger type of the Feature Monitor Job.
	TriggerType   FeatureMonitorJob_FeatureMonitorJobTrigger `protobuf:"varint,10,opt,name=trigger_type,json=triggerType,proto3,enum=google.cloud.aiplatform.v1beta1.FeatureMonitorJob_FeatureMonitorJobTrigger" json:"trigger_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FeatureMonitorJob) ProtoMessage() {}

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

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

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

func (x *FeatureMonitorJob) GetFinalStatus() *status.Status {
	if x != nil {
		return x.FinalStatus
	}
	return nil
}

func (x *FeatureMonitorJob) GetJobSummary() *FeatureMonitorJob_JobSummary {
	if x != nil {
		return x.JobSummary
	}
	return nil
}

func (x *FeatureMonitorJob) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

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

func (x *FeatureMonitorJob) GetDriftBaseFeatureMonitorJobId() int64 {
	if x != nil {
		return x.DriftBaseFeatureMonitorJobId
	}
	return 0
}

func (x *FeatureMonitorJob) GetDriftBaseSnapshotTime() *timestamppb.Timestamp {
	if x != nil {
		return x.DriftBaseSnapshotTime
	}
	return nil
}

func (x *FeatureMonitorJob) GetFeatureSelectionConfig() *FeatureSelectionConfig {
	if x != nil {
		return x.FeatureSelectionConfig
	}
	return nil
}

func (x *FeatureMonitorJob) GetTriggerType() FeatureMonitorJob_FeatureMonitorJobTrigger {
	if x != nil {
		return x.TriggerType
	}
	return FeatureMonitorJob_FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED
}

// Summary from the FeatureMonitorJob.
type FeatureMonitorJob_JobSummary struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. BigQuery slot milliseconds consumed.
	TotalSlotMs int64 `protobuf:"varint,1,opt,name=total_slot_ms,json=totalSlotMs,proto3" json:"total_slot_ms,omitempty"`
	// Output only. Features and their stats and anomalies
	FeatureStatsAndAnomalies []*FeatureStatsAndAnomaly `protobuf:"bytes,2,rep,name=feature_stats_and_anomalies,json=featureStatsAndAnomalies,proto3" json:"feature_stats_and_anomalies,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

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

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

func (*FeatureMonitorJob_JobSummary) ProtoMessage() {}

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

func (x *FeatureMonitorJob_JobSummary) GetTotalSlotMs() int64 {
	if x != nil {
		return x.TotalSlotMs
	}
	return 0
}

func (x *FeatureMonitorJob_JobSummary) GetFeatureStatsAndAnomalies() []*FeatureStatsAndAnomaly {
	if x != nil {
		return x.FeatureStatsAndAnomalies
	}
	return nil
}

var File_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDesc = "" +
	"\n" +
	"9google/cloud/aiplatform/v1beta1/feature_monitor_job.proto\x12\x1fgoogle.cloud.aiplatform.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a5google/cloud/aiplatform/v1beta1/feature_monitor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa5\v\n" +
	"\x11FeatureMonitorJob\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x12@\n" +
	"\vcreate_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12:\n" +
	"\ffinal_status\x18\x03 \x01(\v2\x12.google.rpc.StatusB\x03\xe0A\x03R\vfinalStatus\x12c\n" +
	"\vjob_summary\x18\x04 \x01(\v2=.google.cloud.aiplatform.v1beta1.FeatureMonitorJob.JobSummaryB\x03\xe0A\x03R\n" +
	"jobSummary\x12[\n" +
	"\x06labels\x18\x05 \x03(\v2>.google.cloud.aiplatform.v1beta1.FeatureMonitorJob.LabelsEntryB\x03\xe0A\x01R\x06labels\x12%\n" +
	"\vdescription\x18\x06 \x01(\tB\x03\xe0A\x01R\vdescription\x12L\n" +
	"!drift_base_feature_monitor_job_id\x18\a \x01(\x03B\x03\xe0A\x03R\x1cdriftBaseFeatureMonitorJobId\x12X\n" +
	"\x18drift_base_snapshot_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\x15driftBaseSnapshotTime\x12v\n" +
	"\x18feature_selection_config\x18\t \x01(\v27.google.cloud.aiplatform.v1beta1.FeatureSelectionConfigB\x03\xe0A\x03R\x16featureSelectionConfig\x12s\n" +
	"\ftrigger_type\x18\n" +
	" \x01(\x0e2K.google.cloud.aiplatform.v1beta1.FeatureMonitorJob.FeatureMonitorJobTriggerB\x03\xe0A\x03R\vtriggerType\x1a\xb2\x01\n" +
	"\n" +
	"JobSummary\x12'\n" +
	"\rtotal_slot_ms\x18\x01 \x01(\x03B\x03\xe0A\x03R\vtotalSlotMs\x12{\n" +
	"\x1bfeature_stats_and_anomalies\x18\x02 \x03(\v27.google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomalyB\x03\xe0A\x03R\x18featureStatsAndAnomalies\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9c\x01\n" +
	"\x18FeatureMonitorJobTrigger\x12+\n" +
	"'FEATURE_MONITOR_JOB_TRIGGER_UNSPECIFIED\x10\x00\x12(\n" +
	"$FEATURE_MONITOR_JOB_TRIGGER_PERIODIC\x10\x01\x12)\n" +
	"%FEATURE_MONITOR_JOB_TRIGGER_ON_DEMAND\x10\x02:\xeb\x01\xeaA\xe7\x01\n" +
	"+aiplatform.googleapis.com/FeatureMonitorJob\x12\x90\x01projects/{project}/locations/{location}/featureGroups/{feature_group}/featureMonitors/{feature_monitor}/featureMonitorJobs/{feature_monitor_job}*\x12featureMonitorJobs2\x11featureMonitorJobB\xed\x01\n" +
	"#com.google.cloud.aiplatform.v1beta1B\x16FeatureMonitorJobProtoP\x01ZCcloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb\xaa\x02\x1fGoogle.Cloud.AIPlatform.V1Beta1\xca\x02\x1fGoogle\\Cloud\\AIPlatform\\V1beta1\xea\x02\"Google::Cloud::AIPlatform::V1beta1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDescData
}

var file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_goTypes = []any{
	(FeatureMonitorJob_FeatureMonitorJobTrigger)(0), // 0: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.FeatureMonitorJobTrigger
	(*FeatureMonitorJob)(nil),                       // 1: google.cloud.aiplatform.v1beta1.FeatureMonitorJob
	(*FeatureMonitorJob_JobSummary)(nil),            // 2: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.JobSummary
	nil,                                             // 3: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.LabelsEntry
	(*timestamppb.Timestamp)(nil),                   // 4: google.protobuf.Timestamp
	(*status.Status)(nil),                           // 5: google.rpc.Status
	(*FeatureSelectionConfig)(nil),                  // 6: google.cloud.aiplatform.v1beta1.FeatureSelectionConfig
	(*FeatureStatsAndAnomaly)(nil),                  // 7: google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly
}
var file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_depIdxs = []int32{
	4, // 0: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.create_time:type_name -> google.protobuf.Timestamp
	5, // 1: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.final_status:type_name -> google.rpc.Status
	2, // 2: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.job_summary:type_name -> google.cloud.aiplatform.v1beta1.FeatureMonitorJob.JobSummary
	3, // 3: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.labels:type_name -> google.cloud.aiplatform.v1beta1.FeatureMonitorJob.LabelsEntry
	4, // 4: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.drift_base_snapshot_time:type_name -> google.protobuf.Timestamp
	6, // 5: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.feature_selection_config:type_name -> google.cloud.aiplatform.v1beta1.FeatureSelectionConfig
	0, // 6: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.trigger_type:type_name -> google.cloud.aiplatform.v1beta1.FeatureMonitorJob.FeatureMonitorJobTrigger
	7, // 7: google.cloud.aiplatform.v1beta1.FeatureMonitorJob.JobSummary.feature_stats_and_anomalies:type_name -> google.cloud.aiplatform.v1beta1.FeatureStatsAndAnomaly
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] 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_aiplatform_v1beta1_feature_monitor_job_proto_init() }
func file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_init() {
	if File_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1beta1_feature_monitor_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_depIdxs,
		EnumInfos:         file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_enumTypes,
		MessageInfos:      file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto = out.File
	file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_goTypes = nil
	file_google_cloud_aiplatform_v1beta1_feature_monitor_job_proto_depIdxs = nil
}
