1// Copyright 2021 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.26.0 18// protoc v3.12.2 19// source: google/cloud/aiplatform/v1beta1/annotation_spec.proto 20 21package aiplatform 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 31) 32 33const ( 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// Identifies a concept with which DataItems may be annotated with. 41type AnnotationSpec struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 // Output only. Resource name of the AnnotationSpec. 47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 48 // Required. The user-defined name of the AnnotationSpec. 49 // The name can be up to 128 characters long and can be consist of any UTF-8 50 // characters. 51 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 52 // Output only. Timestamp when this AnnotationSpec was created. 53 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 54 // Output only. Timestamp when AnnotationSpec was last updated. 55 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 56 // Optional. Used to perform consistent read-modify-write updates. If not set, a blind 57 // "overwrite" update happens. 58 Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` 59} 60 61func (x *AnnotationSpec) Reset() { 62 *x = AnnotationSpec{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *AnnotationSpec) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*AnnotationSpec) ProtoMessage() {} 75 76func (x *AnnotationSpec) ProtoReflect() protoreflect.Message { 77 mi := &file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use AnnotationSpec.ProtoReflect.Descriptor instead. 89func (*AnnotationSpec) Descriptor() ([]byte, []int) { 90 return file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *AnnotationSpec) GetName() string { 94 if x != nil { 95 return x.Name 96 } 97 return "" 98} 99 100func (x *AnnotationSpec) GetDisplayName() string { 101 if x != nil { 102 return x.DisplayName 103 } 104 return "" 105} 106 107func (x *AnnotationSpec) GetCreateTime() *timestamppb.Timestamp { 108 if x != nil { 109 return x.CreateTime 110 } 111 return nil 112} 113 114func (x *AnnotationSpec) GetUpdateTime() *timestamppb.Timestamp { 115 if x != nil { 116 return x.UpdateTime 117 } 118 return nil 119} 120 121func (x *AnnotationSpec) GetEtag() string { 122 if x != nil { 123 return x.Etag 124 } 125 return "" 126} 127 128var File_google_cloud_aiplatform_v1beta1_annotation_spec_proto protoreflect.FileDescriptor 129 130var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc = []byte{ 131 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 132 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 133 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 134 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 135 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 136 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 137 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 138 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 139 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 140 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 141 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 142 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 143 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 144 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x02, 0x0a, 0x0e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 145 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 146 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 147 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 148 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 149 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 150 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 151 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 152 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 153 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 154 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 155 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 156 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 157 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x65, 158 0x74, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 159 0x65, 0x74, 0x61, 0x67, 0x3a, 0x8c, 0x01, 0xea, 0x41, 0x88, 0x01, 0x0a, 0x28, 0x61, 0x69, 0x70, 160 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 161 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 162 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 163 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 164 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 165 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 166 0x7d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 167 0x73, 0x2f, 0x7b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 168 0x65, 0x63, 0x7d, 0x42, 0xf0, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 169 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 170 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x41, 0x6e, 0x6e, 171 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 172 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 173 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 174 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 175 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 176 0x61, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0xaa, 0x02, 0x1f, 177 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 178 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 179 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 180 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 181 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 182 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 183 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 184} 185 186var ( 187 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescOnce sync.Once 188 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc 189) 190 191func file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescGZIP() []byte { 192 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescOnce.Do(func() { 193 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData) 194 }) 195 return file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDescData 196} 197 198var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 199var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes = []interface{}{ 200 (*AnnotationSpec)(nil), // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec 201 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp 202} 203var file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs = []int32{ 204 1, // 0: google.cloud.aiplatform.v1beta1.AnnotationSpec.create_time:type_name -> google.protobuf.Timestamp 205 1, // 1: google.cloud.aiplatform.v1beta1.AnnotationSpec.update_time:type_name -> google.protobuf.Timestamp 206 2, // [2:2] is the sub-list for method output_type 207 2, // [2:2] is the sub-list for method input_type 208 2, // [2:2] is the sub-list for extension type_name 209 2, // [2:2] is the sub-list for extension extendee 210 0, // [0:2] is the sub-list for field type_name 211} 212 213func init() { file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_init() } 214func file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_init() { 215 if File_google_cloud_aiplatform_v1beta1_annotation_spec_proto != nil { 216 return 217 } 218 if !protoimpl.UnsafeEnabled { 219 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 220 switch v := v.(*AnnotationSpec); i { 221 case 0: 222 return &v.state 223 case 1: 224 return &v.sizeCache 225 case 2: 226 return &v.unknownFields 227 default: 228 return nil 229 } 230 } 231 } 232 type x struct{} 233 out := protoimpl.TypeBuilder{ 234 File: protoimpl.DescBuilder{ 235 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 236 RawDescriptor: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc, 237 NumEnums: 0, 238 NumMessages: 1, 239 NumExtensions: 0, 240 NumServices: 0, 241 }, 242 GoTypes: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes, 243 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs, 244 MessageInfos: file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_msgTypes, 245 }.Build() 246 File_google_cloud_aiplatform_v1beta1_annotation_spec_proto = out.File 247 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_rawDesc = nil 248 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_goTypes = nil 249 file_google_cloud_aiplatform_v1beta1_annotation_spec_proto_depIdxs = nil 250} 251