cloud.google.com/go/aiplatform@v1.106.0/apiv1beta1/aiplatformpb/data_item.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/data_item.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 structpb "google.golang.org/protobuf/types/known/structpb" 28 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 // A piece of data in a Dataset. Could be an image, a video, a document or plain 41 // text. 42 type DataItem struct { 43 state protoimpl.MessageState 44 sizeCache protoimpl.SizeCache 45 unknownFields protoimpl.UnknownFields 46 47 // Output only. The resource name of the DataItem. 48 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 49 // Output only. Timestamp when this DataItem was created. 50 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 51 // Output only. Timestamp when this DataItem was last updated. 52 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 53 // Optional. The labels with user-defined metadata to organize your DataItems. 54 // 55 // Label keys and values can be no longer than 64 characters 56 // (Unicode codepoints), can only contain lowercase letters, numeric 57 // characters, underscores and dashes. International characters are allowed. 58 // No more than 64 user labels can be associated with one DataItem(System 59 // labels are excluded). 60 // 61 // See https://goo.gl/xmQnxf for more information and examples of labels. 62 // System reserved label keys are prefixed with "aiplatform.googleapis.com/" 63 // and are immutable. 64 Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 65 // Required. The data that the DataItem represents (for example, an image or a 66 // text snippet). The schema of the payload is stored in the parent Dataset's 67 // [metadata 68 // schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri] 69 // dataItemSchemaUri field. 70 Payload *structpb.Value `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` 71 // Optional. Used to perform consistent read-modify-write updates. If not set, 72 // a blind "overwrite" update happens. 73 Etag string `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"` 74 // Output only. Reserved for future use. 75 SatisfiesPzs bool `protobuf:"varint,10,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` 76 // Output only. Reserved for future use. 77 SatisfiesPzi bool `protobuf:"varint,11,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"` 78 } 79 80 func (x *DataItem) Reset() { 81 *x = DataItem{} 82 mi := &file_google_cloud_aiplatform_v1beta1_data_item_proto_msgTypes[0] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 87 func (x *DataItem) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*DataItem) ProtoMessage() {} 92 93 func (x *DataItem) ProtoReflect() protoreflect.Message { 94 mi := &file_google_cloud_aiplatform_v1beta1_data_item_proto_msgTypes[0] 95 if x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use DataItem.ProtoReflect.Descriptor instead. 106 func (*DataItem) Descriptor() ([]byte, []int) { 107 return file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescGZIP(), []int{0} 108 } 109 110 func (x *DataItem) GetName() string { 111 if x != nil { 112 return x.Name 113 } 114 return "" 115 } 116 117 func (x *DataItem) GetCreateTime() *timestamppb.Timestamp { 118 if x != nil { 119 return x.CreateTime 120 } 121 return nil 122 } 123 124 func (x *DataItem) GetUpdateTime() *timestamppb.Timestamp { 125 if x != nil { 126 return x.UpdateTime 127 } 128 return nil 129 } 130 131 func (x *DataItem) GetLabels() map[string]string { 132 if x != nil { 133 return x.Labels 134 } 135 return nil 136 } 137 138 func (x *DataItem) GetPayload() *structpb.Value { 139 if x != nil { 140 return x.Payload 141 } 142 return nil 143 } 144 145 func (x *DataItem) GetEtag() string { 146 if x != nil { 147 return x.Etag 148 } 149 return "" 150 } 151 152 func (x *DataItem) GetSatisfiesPzs() bool { 153 if x != nil { 154 return x.SatisfiesPzs 155 } 156 return false 157 } 158 159 func (x *DataItem) GetSatisfiesPzi() bool { 160 if x != nil { 161 return x.SatisfiesPzi 162 } 163 return false 164 } 165 166 var File_google_cloud_aiplatform_v1beta1_data_item_proto protoreflect.FileDescriptor 167 168 var file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDesc = []byte{ 169 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 170 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 171 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 172 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 173 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 174 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 175 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 176 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 177 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 178 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 179 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 180 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 181 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x04, 182 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 183 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 184 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 185 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 186 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 187 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 188 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 189 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 190 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 191 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 192 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 193 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 194 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 195 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 196 0x65, 0x6d, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 197 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x35, 0x0a, 0x07, 0x70, 198 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 199 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 200 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 201 0x61, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 202 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x73, 203 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x73, 0x18, 0x0a, 0x20, 0x01, 204 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 205 0x65, 0x73, 0x50, 0x7a, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 206 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x69, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 207 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x50, 0x7a, 0x69, 0x1a, 208 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 209 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 210 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 211 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 212 0x22, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 213 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x49, 214 0x74, 0x65, 0x6d, 0x12, 0x50, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 215 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 216 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 217 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x7d, 0x2f, 218 0x64, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f, 219 0x69, 0x74, 0x65, 0x6d, 0x7d, 0x42, 0xe4, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 220 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 221 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0d, 0x44, 222 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 223 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 224 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 225 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 226 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 227 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 228 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 229 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 230 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 231 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 232 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 233 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 234 0x6f, 0x74, 0x6f, 0x33, 235 } 236 237 var ( 238 file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescOnce sync.Once 239 file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDesc 240 ) 241 242 func file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescGZIP() []byte { 243 file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescOnce.Do(func() { 244 file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescData) 245 }) 246 return file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDescData 247 } 248 249 var file_google_cloud_aiplatform_v1beta1_data_item_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 250 var file_google_cloud_aiplatform_v1beta1_data_item_proto_goTypes = []any{ 251 (*DataItem)(nil), // 0: google.cloud.aiplatform.v1beta1.DataItem 252 nil, // 1: google.cloud.aiplatform.v1beta1.DataItem.LabelsEntry 253 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp 254 (*structpb.Value)(nil), // 3: google.protobuf.Value 255 } 256 var file_google_cloud_aiplatform_v1beta1_data_item_proto_depIdxs = []int32{ 257 2, // 0: google.cloud.aiplatform.v1beta1.DataItem.create_time:type_name -> google.protobuf.Timestamp 258 2, // 1: google.cloud.aiplatform.v1beta1.DataItem.update_time:type_name -> google.protobuf.Timestamp 259 1, // 2: google.cloud.aiplatform.v1beta1.DataItem.labels:type_name -> google.cloud.aiplatform.v1beta1.DataItem.LabelsEntry 260 3, // 3: google.cloud.aiplatform.v1beta1.DataItem.payload:type_name -> google.protobuf.Value 261 4, // [4:4] is the sub-list for method output_type 262 4, // [4:4] is the sub-list for method input_type 263 4, // [4:4] is the sub-list for extension type_name 264 4, // [4:4] is the sub-list for extension extendee 265 0, // [0:4] is the sub-list for field type_name 266 } 267 268 func init() { file_google_cloud_aiplatform_v1beta1_data_item_proto_init() } 269 func file_google_cloud_aiplatform_v1beta1_data_item_proto_init() { 270 if File_google_cloud_aiplatform_v1beta1_data_item_proto != nil { 271 return 272 } 273 type x struct{} 274 out := protoimpl.TypeBuilder{ 275 File: protoimpl.DescBuilder{ 276 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 277 RawDescriptor: file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDesc, 278 NumEnums: 0, 279 NumMessages: 2, 280 NumExtensions: 0, 281 NumServices: 0, 282 }, 283 GoTypes: file_google_cloud_aiplatform_v1beta1_data_item_proto_goTypes, 284 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_data_item_proto_depIdxs, 285 MessageInfos: file_google_cloud_aiplatform_v1beta1_data_item_proto_msgTypes, 286 }.Build() 287 File_google_cloud_aiplatform_v1beta1_data_item_proto = out.File 288 file_google_cloud_aiplatform_v1beta1_data_item_proto_rawDesc = nil 289 file_google_cloud_aiplatform_v1beta1_data_item_proto_goTypes = nil 290 file_google_cloud_aiplatform_v1beta1_data_item_proto_depIdxs = nil 291 }