apis/documentai/v1alpha1/zz_generated.deepcopy.go (868 lines of code) (raw):
//go:build !ignore_autogenerated
// Copyright 2020 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 controller-gen. DO NOT EDIT.
package v1alpha1
import (
kmsv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/kms/v1alpha1"
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s/v1alpha1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessor) DeepCopyInto(out *DocumentAIProcessor) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessor.
func (in *DocumentAIProcessor) DeepCopy() *DocumentAIProcessor {
if in == nil {
return nil
}
out := new(DocumentAIProcessor)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *DocumentAIProcessor) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorList) DeepCopyInto(out *DocumentAIProcessorList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DocumentAIProcessor, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorList.
func (in *DocumentAIProcessorList) DeepCopy() *DocumentAIProcessorList {
if in == nil {
return nil
}
out := new(DocumentAIProcessorList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *DocumentAIProcessorList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorObservedState) DeepCopyInto(out *DocumentAIProcessorObservedState) {
*out = *in
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.ProcessorVersionAliases != nil {
in, out := &in.ProcessorVersionAliases, &out.ProcessorVersionAliases
*out = make([]ProcessorVersionAlias, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ProcessEndpoint != nil {
in, out := &in.ProcessEndpoint, &out.ProcessEndpoint
*out = new(string)
**out = **in
}
if in.DefaultProcessorVersion != nil {
in, out := &in.DefaultProcessorVersion, &out.DefaultProcessorVersion
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorObservedState.
func (in *DocumentAIProcessorObservedState) DeepCopy() *DocumentAIProcessorObservedState {
if in == nil {
return nil
}
out := new(DocumentAIProcessorObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorSpec) DeepCopyInto(out *DocumentAIProcessorSpec) {
*out = *in
in.CommonSpec.DeepCopyInto(&out.CommonSpec)
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.Type != nil {
in, out := &in.Type, &out.Type
*out = new(string)
**out = **in
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.KmsKeyRef != nil {
in, out := &in.KmsKeyRef, &out.KmsKeyRef
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorSpec.
func (in *DocumentAIProcessorSpec) DeepCopy() *DocumentAIProcessorSpec {
if in == nil {
return nil
}
out := new(DocumentAIProcessorSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorStatus) DeepCopyInto(out *DocumentAIProcessorStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(DocumentAIProcessorObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorStatus.
func (in *DocumentAIProcessorStatus) DeepCopy() *DocumentAIProcessorStatus {
if in == nil {
return nil
}
out := new(DocumentAIProcessorStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorVersion) DeepCopyInto(out *DocumentAIProcessorVersion) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorVersion.
func (in *DocumentAIProcessorVersion) DeepCopy() *DocumentAIProcessorVersion {
if in == nil {
return nil
}
out := new(DocumentAIProcessorVersion)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *DocumentAIProcessorVersion) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorVersionList) DeepCopyInto(out *DocumentAIProcessorVersionList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DocumentAIProcessorVersion, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorVersionList.
func (in *DocumentAIProcessorVersionList) DeepCopy() *DocumentAIProcessorVersionList {
if in == nil {
return nil
}
out := new(DocumentAIProcessorVersionList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *DocumentAIProcessorVersionList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorVersionObservedState) DeepCopyInto(out *DocumentAIProcessorVersionObservedState) {
*out = *in
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.LatestEvaluation != nil {
in, out := &in.LatestEvaluation, &out.LatestEvaluation
*out = new(EvaluationReference)
(*in).DeepCopyInto(*out)
}
if in.GoogleManaged != nil {
in, out := &in.GoogleManaged, &out.GoogleManaged
*out = new(bool)
**out = **in
}
if in.ModelType != nil {
in, out := &in.ModelType, &out.ModelType
*out = new(string)
**out = **in
}
if in.SatisfiesPzs != nil {
in, out := &in.SatisfiesPzs, &out.SatisfiesPzs
*out = new(bool)
**out = **in
}
if in.SatisfiesPzi != nil {
in, out := &in.SatisfiesPzi, &out.SatisfiesPzi
*out = new(bool)
**out = **in
}
if in.GenAiModelInfo != nil {
in, out := &in.GenAiModelInfo, &out.GenAiModelInfo
*out = new(ProcessorVersion_GenAiModelInfo)
(*in).DeepCopyInto(*out)
}
if in.DocumentSchema != nil {
in, out := &in.DocumentSchema, &out.DocumentSchema
*out = new(DocumentSchema)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorVersionObservedState.
func (in *DocumentAIProcessorVersionObservedState) DeepCopy() *DocumentAIProcessorVersionObservedState {
if in == nil {
return nil
}
out := new(DocumentAIProcessorVersionObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorVersionSpec) DeepCopyInto(out *DocumentAIProcessorVersionSpec) {
*out = *in
in.Parent.DeepCopyInto(&out.Parent)
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.DeprecationInfo != nil {
in, out := &in.DeprecationInfo, &out.DeprecationInfo
*out = new(ProcessorVersion_DeprecationInfo)
(*in).DeepCopyInto(*out)
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.KMSKeyNameRef != nil {
in, out := &in.KMSKeyNameRef, &out.KMSKeyNameRef
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
if in.KMSKeyVersionNameRef != nil {
in, out := &in.KMSKeyVersionNameRef, &out.KMSKeyVersionNameRef
*out = new(kmsv1alpha1.KMSCryptoKeyVersionRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorVersionSpec.
func (in *DocumentAIProcessorVersionSpec) DeepCopy() *DocumentAIProcessorVersionSpec {
if in == nil {
return nil
}
out := new(DocumentAIProcessorVersionSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentAIProcessorVersionStatus) DeepCopyInto(out *DocumentAIProcessorVersionStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(DocumentAIProcessorVersionObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentAIProcessorVersionStatus.
func (in *DocumentAIProcessorVersionStatus) DeepCopy() *DocumentAIProcessorVersionStatus {
if in == nil {
return nil
}
out := new(DocumentAIProcessorVersionStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentSchema) DeepCopyInto(out *DocumentSchema) {
*out = *in
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.EntityTypes != nil {
in, out := &in.EntityTypes, &out.EntityTypes
*out = make([]DocumentSchema_EntityType, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Metadata != nil {
in, out := &in.Metadata, &out.Metadata
*out = new(DocumentSchema_Metadata)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSchema.
func (in *DocumentSchema) DeepCopy() *DocumentSchema {
if in == nil {
return nil
}
out := new(DocumentSchema)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentSchema_EntityType) DeepCopyInto(out *DocumentSchema_EntityType) {
*out = *in
if in.EnumValues != nil {
in, out := &in.EnumValues, &out.EnumValues
*out = new(DocumentSchema_EntityType_EnumValues)
(*in).DeepCopyInto(*out)
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.BaseTypes != nil {
in, out := &in.BaseTypes, &out.BaseTypes
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Properties != nil {
in, out := &in.Properties, &out.Properties
*out = make([]DocumentSchema_EntityType_Property, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.EntityTypeMetadata != nil {
in, out := &in.EntityTypeMetadata, &out.EntityTypeMetadata
*out = new(EntityTypeMetadata)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSchema_EntityType.
func (in *DocumentSchema_EntityType) DeepCopy() *DocumentSchema_EntityType {
if in == nil {
return nil
}
out := new(DocumentSchema_EntityType)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentSchema_EntityType_EnumValues) DeepCopyInto(out *DocumentSchema_EntityType_EnumValues) {
*out = *in
if in.Values != nil {
in, out := &in.Values, &out.Values
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSchema_EntityType_EnumValues.
func (in *DocumentSchema_EntityType_EnumValues) DeepCopy() *DocumentSchema_EntityType_EnumValues {
if in == nil {
return nil
}
out := new(DocumentSchema_EntityType_EnumValues)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentSchema_EntityType_Property) DeepCopyInto(out *DocumentSchema_EntityType_Property) {
*out = *in
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.ValueType != nil {
in, out := &in.ValueType, &out.ValueType
*out = new(string)
**out = **in
}
if in.OccurrenceType != nil {
in, out := &in.OccurrenceType, &out.OccurrenceType
*out = new(string)
**out = **in
}
if in.PropertyMetadata != nil {
in, out := &in.PropertyMetadata, &out.PropertyMetadata
*out = new(PropertyMetadata)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSchema_EntityType_Property.
func (in *DocumentSchema_EntityType_Property) DeepCopy() *DocumentSchema_EntityType_Property {
if in == nil {
return nil
}
out := new(DocumentSchema_EntityType_Property)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DocumentSchema_Metadata) DeepCopyInto(out *DocumentSchema_Metadata) {
*out = *in
if in.DocumentSplitter != nil {
in, out := &in.DocumentSplitter, &out.DocumentSplitter
*out = new(bool)
**out = **in
}
if in.DocumentAllowMultipleLabels != nil {
in, out := &in.DocumentAllowMultipleLabels, &out.DocumentAllowMultipleLabels
*out = new(bool)
**out = **in
}
if in.PrefixedNamingOnProperties != nil {
in, out := &in.PrefixedNamingOnProperties, &out.PrefixedNamingOnProperties
*out = new(bool)
**out = **in
}
if in.SkipNamingValidation != nil {
in, out := &in.SkipNamingValidation, &out.SkipNamingValidation
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSchema_Metadata.
func (in *DocumentSchema_Metadata) DeepCopy() *DocumentSchema_Metadata {
if in == nil {
return nil
}
out := new(DocumentSchema_Metadata)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EntityTypeMetadata) DeepCopyInto(out *EntityTypeMetadata) {
*out = *in
if in.Inactive != nil {
in, out := &in.Inactive, &out.Inactive
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntityTypeMetadata.
func (in *EntityTypeMetadata) DeepCopy() *EntityTypeMetadata {
if in == nil {
return nil
}
out := new(EntityTypeMetadata)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EvaluationReference) DeepCopyInto(out *EvaluationReference) {
*out = *in
if in.Operation != nil {
in, out := &in.Operation, &out.Operation
*out = new(string)
**out = **in
}
if in.Evaluation != nil {
in, out := &in.Evaluation, &out.Evaluation
*out = new(string)
**out = **in
}
if in.AggregateMetrics != nil {
in, out := &in.AggregateMetrics, &out.AggregateMetrics
*out = new(Evaluation_Metrics)
(*in).DeepCopyInto(*out)
}
if in.AggregateMetricsExact != nil {
in, out := &in.AggregateMetricsExact, &out.AggregateMetricsExact
*out = new(Evaluation_Metrics)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluationReference.
func (in *EvaluationReference) DeepCopy() *EvaluationReference {
if in == nil {
return nil
}
out := new(EvaluationReference)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Evaluation_Metrics) DeepCopyInto(out *Evaluation_Metrics) {
*out = *in
if in.Precision != nil {
in, out := &in.Precision, &out.Precision
*out = new(float32)
**out = **in
}
if in.Recall != nil {
in, out := &in.Recall, &out.Recall
*out = new(float32)
**out = **in
}
if in.F1Score != nil {
in, out := &in.F1Score, &out.F1Score
*out = new(float32)
**out = **in
}
if in.PredictedOccurrencesCount != nil {
in, out := &in.PredictedOccurrencesCount, &out.PredictedOccurrencesCount
*out = new(int32)
**out = **in
}
if in.GroundTruthOccurrencesCount != nil {
in, out := &in.GroundTruthOccurrencesCount, &out.GroundTruthOccurrencesCount
*out = new(int32)
**out = **in
}
if in.PredictedDocumentCount != nil {
in, out := &in.PredictedDocumentCount, &out.PredictedDocumentCount
*out = new(int32)
**out = **in
}
if in.GroundTruthDocumentCount != nil {
in, out := &in.GroundTruthDocumentCount, &out.GroundTruthDocumentCount
*out = new(int32)
**out = **in
}
if in.TruePositivesCount != nil {
in, out := &in.TruePositivesCount, &out.TruePositivesCount
*out = new(int32)
**out = **in
}
if in.FalsePositivesCount != nil {
in, out := &in.FalsePositivesCount, &out.FalsePositivesCount
*out = new(int32)
**out = **in
}
if in.FalseNegativesCount != nil {
in, out := &in.FalseNegativesCount, &out.FalseNegativesCount
*out = new(int32)
**out = **in
}
if in.TotalDocumentsCount != nil {
in, out := &in.TotalDocumentsCount, &out.TotalDocumentsCount
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Evaluation_Metrics.
func (in *Evaluation_Metrics) DeepCopy() *Evaluation_Metrics {
if in == nil {
return nil
}
out := new(Evaluation_Metrics)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FieldExtractionMetadata) DeepCopyInto(out *FieldExtractionMetadata) {
*out = *in
if in.SummaryOptions != nil {
in, out := &in.SummaryOptions, &out.SummaryOptions
*out = new(SummaryOptions)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldExtractionMetadata.
func (in *FieldExtractionMetadata) DeepCopy() *FieldExtractionMetadata {
if in == nil {
return nil
}
out := new(FieldExtractionMetadata)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Parent) DeepCopyInto(out *Parent) {
*out = *in
if in.ProcessorRef != nil {
in, out := &in.ProcessorRef, &out.ProcessorRef
*out = new(ProcessorRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (in *Parent) DeepCopy() *Parent {
if in == nil {
return nil
}
out := new(Parent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorIdentity) DeepCopyInto(out *ProcessorIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(ProcessorParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorIdentity.
func (in *ProcessorIdentity) DeepCopy() *ProcessorIdentity {
if in == nil {
return nil
}
out := new(ProcessorIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorParent) DeepCopyInto(out *ProcessorParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorParent.
func (in *ProcessorParent) DeepCopy() *ProcessorParent {
if in == nil {
return nil
}
out := new(ProcessorParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorRef) DeepCopyInto(out *ProcessorRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorRef.
func (in *ProcessorRef) DeepCopy() *ProcessorRef {
if in == nil {
return nil
}
out := new(ProcessorRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersionAlias) DeepCopyInto(out *ProcessorVersionAlias) {
*out = *in
if in.Alias != nil {
in, out := &in.Alias, &out.Alias
*out = new(string)
**out = **in
}
if in.ProcessorVersion != nil {
in, out := &in.ProcessorVersion, &out.ProcessorVersion
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersionAlias.
func (in *ProcessorVersionAlias) DeepCopy() *ProcessorVersionAlias {
if in == nil {
return nil
}
out := new(ProcessorVersionAlias)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersionIdentity) DeepCopyInto(out *ProcessorVersionIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(ProcessorVersionParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersionIdentity.
func (in *ProcessorVersionIdentity) DeepCopy() *ProcessorVersionIdentity {
if in == nil {
return nil
}
out := new(ProcessorVersionIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersionParent) DeepCopyInto(out *ProcessorVersionParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersionParent.
func (in *ProcessorVersionParent) DeepCopy() *ProcessorVersionParent {
if in == nil {
return nil
}
out := new(ProcessorVersionParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersionRef) DeepCopyInto(out *ProcessorVersionRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersionRef.
func (in *ProcessorVersionRef) DeepCopy() *ProcessorVersionRef {
if in == nil {
return nil
}
out := new(ProcessorVersionRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersion_DeprecationInfo) DeepCopyInto(out *ProcessorVersion_DeprecationInfo) {
*out = *in
if in.DeprecationTime != nil {
in, out := &in.DeprecationTime, &out.DeprecationTime
*out = new(string)
**out = **in
}
if in.ReplacementProcessorVersion != nil {
in, out := &in.ReplacementProcessorVersion, &out.ReplacementProcessorVersion
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersion_DeprecationInfo.
func (in *ProcessorVersion_DeprecationInfo) DeepCopy() *ProcessorVersion_DeprecationInfo {
if in == nil {
return nil
}
out := new(ProcessorVersion_DeprecationInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersion_GenAiModelInfo) DeepCopyInto(out *ProcessorVersion_GenAiModelInfo) {
*out = *in
if in.FoundationGenAiModelInfo != nil {
in, out := &in.FoundationGenAiModelInfo, &out.FoundationGenAiModelInfo
*out = new(ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo)
(*in).DeepCopyInto(*out)
}
if in.CustomGenAiModelInfo != nil {
in, out := &in.CustomGenAiModelInfo, &out.CustomGenAiModelInfo
*out = new(ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersion_GenAiModelInfo.
func (in *ProcessorVersion_GenAiModelInfo) DeepCopy() *ProcessorVersion_GenAiModelInfo {
if in == nil {
return nil
}
out := new(ProcessorVersion_GenAiModelInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo) DeepCopyInto(out *ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo) {
*out = *in
if in.CustomModelType != nil {
in, out := &in.CustomModelType, &out.CustomModelType
*out = new(string)
**out = **in
}
if in.BaseProcessorVersionID != nil {
in, out := &in.BaseProcessorVersionID, &out.BaseProcessorVersionID
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo.
func (in *ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo) DeepCopy() *ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo {
if in == nil {
return nil
}
out := new(ProcessorVersion_GenAiModelInfo_CustomGenAiModelInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo) DeepCopyInto(out *ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo) {
*out = *in
if in.FinetuningAllowed != nil {
in, out := &in.FinetuningAllowed, &out.FinetuningAllowed
*out = new(bool)
**out = **in
}
if in.MinTrainLabeledDocuments != nil {
in, out := &in.MinTrainLabeledDocuments, &out.MinTrainLabeledDocuments
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo.
func (in *ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo) DeepCopy() *ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo {
if in == nil {
return nil
}
out := new(ProcessorVersion_GenAiModelInfo_FoundationGenAiModelInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PropertyMetadata) DeepCopyInto(out *PropertyMetadata) {
*out = *in
if in.Inactive != nil {
in, out := &in.Inactive, &out.Inactive
*out = new(bool)
**out = **in
}
if in.FieldExtractionMetadata != nil {
in, out := &in.FieldExtractionMetadata, &out.FieldExtractionMetadata
*out = new(FieldExtractionMetadata)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyMetadata.
func (in *PropertyMetadata) DeepCopy() *PropertyMetadata {
if in == nil {
return nil
}
out := new(PropertyMetadata)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SummaryOptions) DeepCopyInto(out *SummaryOptions) {
*out = *in
if in.Length != nil {
in, out := &in.Length, &out.Length
*out = new(string)
**out = **in
}
if in.Format != nil {
in, out := &in.Format, &out.Format
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SummaryOptions.
func (in *SummaryOptions) DeepCopy() *SummaryOptions {
if in == nil {
return nil
}
out := new(SummaryOptions)
in.DeepCopyInto(out)
return out
}