cloud.google.com/go/aiplatform@v1.106.0/apiv1/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/v1/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_v1_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_v1_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_v1_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_v1_annotation_spec_proto protoreflect.FileDescriptor 126 127 var file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDesc = []byte{ 128 0x0a, 0x30, 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, 0x2f, 0x61, 0x6e, 0x6e, 130 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 131 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 132 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 133 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 134 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 135 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 136 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 137 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 138 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x02, 0x0a, 0x0e, 139 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x17, 140 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 141 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 142 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 143 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 144 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 145 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 146 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 147 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 148 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 149 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 150 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 151 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 152 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 153 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x3a, 0x8c, 0x01, 0xea, 154 0x41, 0x88, 0x01, 0x0a, 0x28, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 155 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 156 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5c, 0x70, 157 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 158 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 159 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 160 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x7d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 161 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x7b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 162 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x7d, 0x42, 0xd1, 0x01, 0x0a, 0x1e, 163 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 164 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x13, 165 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 166 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 167 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 168 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 169 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 170 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 171 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 172 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 173 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 174 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 175 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 176 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 177 } 178 179 var ( 180 file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescOnce sync.Once 181 file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescData = file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDesc 182 ) 183 184 func file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescGZIP() []byte { 185 file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescOnce.Do(func() { 186 file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescData) 187 }) 188 return file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDescData 189 } 190 191 var file_google_cloud_aiplatform_v1_annotation_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 192 var file_google_cloud_aiplatform_v1_annotation_spec_proto_goTypes = []any{ 193 (*AnnotationSpec)(nil), // 0: google.cloud.aiplatform.v1.AnnotationSpec 194 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp 195 } 196 var file_google_cloud_aiplatform_v1_annotation_spec_proto_depIdxs = []int32{ 197 1, // 0: google.cloud.aiplatform.v1.AnnotationSpec.create_time:type_name -> google.protobuf.Timestamp 198 1, // 1: google.cloud.aiplatform.v1.AnnotationSpec.update_time:type_name -> google.protobuf.Timestamp 199 2, // [2:2] is the sub-list for method output_type 200 2, // [2:2] is the sub-list for method input_type 201 2, // [2:2] is the sub-list for extension type_name 202 2, // [2:2] is the sub-list for extension extendee 203 0, // [0:2] is the sub-list for field type_name 204 } 205 206 func init() { file_google_cloud_aiplatform_v1_annotation_spec_proto_init() } 207 func file_google_cloud_aiplatform_v1_annotation_spec_proto_init() { 208 if File_google_cloud_aiplatform_v1_annotation_spec_proto != nil { 209 return 210 } 211 type x struct{} 212 out := protoimpl.TypeBuilder{ 213 File: protoimpl.DescBuilder{ 214 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 215 RawDescriptor: file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDesc, 216 NumEnums: 0, 217 NumMessages: 1, 218 NumExtensions: 0, 219 NumServices: 0, 220 }, 221 GoTypes: file_google_cloud_aiplatform_v1_annotation_spec_proto_goTypes, 222 DependencyIndexes: file_google_cloud_aiplatform_v1_annotation_spec_proto_depIdxs, 223 MessageInfos: file_google_cloud_aiplatform_v1_annotation_spec_proto_msgTypes, 224 }.Build() 225 File_google_cloud_aiplatform_v1_annotation_spec_proto = out.File 226 file_google_cloud_aiplatform_v1_annotation_spec_proto_rawDesc = nil 227 file_google_cloud_aiplatform_v1_annotation_spec_proto_goTypes = nil 228 file_google_cloud_aiplatform_v1_annotation_spec_proto_depIdxs = nil 229 }