cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/annotation_spec.pb.go (about)

     1  // Copyright 2025 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.35.2
    18  // 	protoc        v4.25.7
    19  // source: google/cloud/aiplatform/v1beta1/annotation_spec.proto
    20  
    21  package aiplatformpb
    22  
    23  import (
    24  	_ "google.golang.org/genproto/googleapis/api/annotations"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    28  	reflect "reflect"
    29  	sync "sync"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Identifies a concept with which DataItems may be annotated with.
    40  type AnnotationSpec struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Output only. Resource name of the AnnotationSpec.
    46  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    47  	// Required. The user-defined name of the AnnotationSpec.
    48  	// The name can be up to 128 characters long and can consist of any UTF-8
    49  	// characters.
    50  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    51  	// Output only. Timestamp when this AnnotationSpec was created.
    52  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    53  	// Output only. Timestamp when AnnotationSpec was last updated.
    54  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    55  	// Optional. Used to perform consistent read-modify-write updates. If not set,
    56  	// a blind "overwrite" update happens.
    57  	Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
    58  }
    59  
    60  func (x *AnnotationSpec) Reset() {
    61  	*x = AnnotationSpec{}
    62  	mi := &file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes[0]
    63  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  	ms.StoreMessageInfo(mi)
    65  }
    66  
    67  func (x *AnnotationSpec) String() string {
    68  	return protoimpl.X.MessageStringOf(x)
    69  }
    70  
    71  func (*AnnotationSpec) ProtoMessage() {}
    72  
    73  func (x *AnnotationSpec) ProtoReflect() protoreflect.Message {
    74  	mi := &file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes[0]
    75  	if x != nil {
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		if ms.LoadMessageInfo() == nil {
    78  			ms.StoreMessageInfo(mi)
    79  		}
    80  		return ms
    81  	}
    82  	return mi.MessageOf(x)
    83  }
    84  
    85  // Deprecated: Use AnnotationSpec.ProtoReflect.Descriptor instead.
    86  func (*AnnotationSpec) Descriptor() ([]byte, []int) {
    87  	return file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescGZIP(), []int{0}
    88  }
    89  
    90  func (x *AnnotationSpec) GetName() string {
    91  	if x != nil {
    92  		return x.Name
    93  	}
    94  	return ""
    95  }
    96  
    97  func (x *AnnotationSpec) GetDisplayName() string {
    98  	if x != nil {
    99  		return x.DisplayName
   100  	}
   101  	return ""
   102  }
   103  
   104  func (x *AnnotationSpec) GetCreateTime() *timestamppb.Timestamp {
   105  	if x != nil {
   106  		return x.CreateTime
   107  	}
   108  	return nil
   109  }
   110  
   111  func (x *AnnotationSpec) GetUpdateTime() *timestamppb.Timestamp {
   112  	if x != nil {
   113  		return x.UpdateTime
   114  	}
   115  	return nil
   116  }
   117  
   118  func (x *AnnotationSpec) GetEtag() string {
   119  	if x != nil {
   120  		return x.Etag
   121  	}
   122  	return ""
   123  }
   124  
   125  var File_google_cloud_aiplatform_v1beta1_annotation_spec_proto protoreflect.FileDescriptor
   126  
   127  var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc = []byte{
   128  	0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   129  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   130  	0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65,
   131  	0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   132  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   133  	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   134  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
   135  	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   136  	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
   137  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
   138  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
   139  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x02, 0x0a, 0x0e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   140  	0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   141  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   142  	0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
   143  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69,
   144  	0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65,
   145  	0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   146  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   147  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
   148  	0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75,
   149  	0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
   150  	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   151  	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
   152  	0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a,
   153  	0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
   154  	0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x3a, 0x8c, 0x01, 0xea, 0x41, 0x88, 0x01, 0x0a, 0x28, 0x61,
   155  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   156  	0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   157  	0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   158  	0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
   159  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d,
   160  	0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73,
   161  	0x65, 0x74, 0x7d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70,
   162  	0x65, 0x63, 0x73, 0x2f, 0x7b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
   163  	0x73, 0x70, 0x65, 0x63, 0x7d, 0x42, 0xea, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   164  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61,
   165  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x41,
   166  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x6f,
   167  	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   168  	0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
   169  	0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
   170  	0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70,
   171  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67,
   172  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66,
   173  	0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f,
   174  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61,
   175  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22,
   176  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41,
   177  	0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74,
   178  	0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   179  }
   180  
   181  var (
   182  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescOnce sync.Once
   183  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc
   184  )
   185  
   186  func file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescGZIP() []byte {
   187  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescOnce.Do(func() {
   188  		file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData)
   189  	})
   190  	return file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData
   191  }
   192  
   193  var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   194  var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes = []any{
   195  	(*AnnotationSpec)(nil),        // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec
   196  	(*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
   197  }
   198  var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs = []int32{
   199  	1, // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec.create_time:type_name -> google.protobuf.Timestamp
   200  	1, // 1: google.cloud.aiplatform.v1beta1.AnnotationSpec.update_time:type_name -> google.protobuf.Timestamp
   201  	2, // [2:2] is the sub-list for method output_type
   202  	2, // [2:2] is the sub-list for method input_type
   203  	2, // [2:2] is the sub-list for extension type_name
   204  	2, // [2:2] is the sub-list for extension extendee
   205  	0, // [0:2] is the sub-list for field type_name
   206  }
   207  
   208  func init() { file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_init() }
   209  func file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_init() {
   210  	if File_google_cloud_aiplatform_v1beta1_annotation_spec_proto != nil {
   211  		return
   212  	}
   213  	type x struct{}
   214  	out := protoimpl.TypeBuilder{
   215  		File: protoimpl.DescBuilder{
   216  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   217  			RawDescriptor: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc,
   218  			NumEnums:      0,
   219  			NumMessages:   1,
   220  			NumExtensions: 0,
   221  			NumServices:   0,
   222  		},
   223  		GoTypes:           file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes,
   224  		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs,
   225  		MessageInfos:      file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes,
   226  	}.Build()
   227  	File_google_cloud_aiplatform_v1beta1_annotation_spec_proto = out.File
   228  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc = nil
   229  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes = nil
   230  	file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs = nil
   231  }