| 1 |
// Copyright 2022 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/contentwarehouse/v1/document_schema.proto |
| 20 |
|
| 21 |
package contentwarehouse |
| 22 |
|
| 23 |
import ( |
| 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 |
|
| 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 document schema used to define document structure. |
| 41 |
type DocumentSchema struct { |
| 42 |
state protoimpl.MessageState |
| 43 |
sizeCache protoimpl.SizeCache |
| 44 |
unknownFields protoimpl.UnknownFields |
| 45 |
|
| 46 |
// The resource name of the document schema. |
| 47 |
// Format: |
| 48 |
// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. |
| 49 |
// |
| 50 |
// The name is ignored when creating a document schema. |
| 51 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 52 |
// Required. Name of the schema given by the user. Must be unique per customer. |
| 53 |
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 54 |
// Document details. |
| 55 |
PropertyDefinitions []*PropertyDefinition `protobuf:"bytes,3,rep,name=property_definitions,json=propertyDefinitions,proto3" json:"property_definitions,omitempty"` |
| 56 |
// Document Type, true refers the document is a folder, otherwise it is |
| 57 |
// a typical document. |
| 58 |
DocumentIsFolder bool `protobuf:"varint,4,opt,name=document_is_folder,json=documentIsFolder,proto3" json:"document_is_folder,omitempty"` |
| 59 |
// Output only. The time when the document schema is last updated. |
| 60 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 61 |
// Output only. The time when the document schema is created. |
| 62 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 63 |
// Schema description. |
| 64 |
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` |
| 65 |
} |
| 66 |
|
| 67 |
func (x *DocumentSchema) Reset() { |
| 68 |
*x = DocumentSchema{} |
| 69 |
if protoimpl.UnsafeEnabled { |
| 70 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[0] |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
func (x *DocumentSchema) String() string { |
| 77 |
return protoimpl.X.MessageStringOf(x) |
| 78 |
} |
| 79 |
|
| 80 |
func (*DocumentSchema) ProtoMessage() {} |
| 81 |
|
| 82 |
func (x *DocumentSchema) ProtoReflect() protoreflect.Message { |
| 83 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[0] |
| 84 |
if protoimpl.UnsafeEnabled && x != nil { |
| 85 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 86 |
if ms.LoadMessageInfo() == nil { |
| 87 |
ms.StoreMessageInfo(mi) |
| 88 |
} |
| 89 |
return ms |
| 90 |
} |
| 91 |
return mi.MessageOf(x) |
| 92 |
} |
| 93 |
|
| 94 |
// Deprecated: Use DocumentSchema.ProtoReflect.Descriptor instead. |
| 95 |
func (*DocumentSchema) Descriptor() ([]byte, []int) { |
| 96 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{0} |
| 97 |
} |
| 98 |
|
| 99 |
func (x *DocumentSchema) GetName() string { |
| 100 |
if x != nil { |
| 101 |
return x.Name |
| 102 |
} |
| 103 |
return "" |
| 104 |
} |
| 105 |
|
| 106 |
func (x *DocumentSchema) GetDisplayName() string { |
| 107 |
if x != nil { |
| 108 |
return x.DisplayName |
| 109 |
} |
| 110 |
return "" |
| 111 |
} |
| 112 |
|
| 113 |
func (x *DocumentSchema) GetPropertyDefinitions() []*PropertyDefinition { |
| 114 |
if x != nil { |
| 115 |
return x.PropertyDefinitions |
| 116 |
} |
| 117 |
return nil |
| 118 |
} |
| 119 |
|
| 120 |
func (x *DocumentSchema) GetDocumentIsFolder() bool { |
| 121 |
if x != nil { |
| 122 |
return x.DocumentIsFolder |
| 123 |
} |
| 124 |
return false |
| 125 |
} |
| 126 |
|
| 127 |
func (x *DocumentSchema) GetUpdateTime() *timestamppb.Timestamp { |
| 128 |
if x != nil { |
| 129 |
return x.UpdateTime |
| 130 |
} |
| 131 |
return nil |
| 132 |
} |
| 133 |
|
| 134 |
func (x *DocumentSchema) GetCreateTime() *timestamppb.Timestamp { |
| 135 |
if x != nil { |
| 136 |
return x.CreateTime |
| 137 |
} |
| 138 |
return nil |
| 139 |
} |
| 140 |
|
| 141 |
func (x *DocumentSchema) GetDescription() string { |
| 142 |
if x != nil { |
| 143 |
return x.Description |
| 144 |
} |
| 145 |
return "" |
| 146 |
} |
| 147 |
|
| 148 |
// Defines the metadata for a schema property. |
| 149 |
type PropertyDefinition struct { |
| 150 |
state protoimpl.MessageState |
| 151 |
sizeCache protoimpl.SizeCache |
| 152 |
unknownFields protoimpl.UnknownFields |
| 153 |
|
| 154 |
// Required. The name of the metadata property. |
| 155 |
// Must be unique within a document schema and is case insensitive. |
| 156 |
// Names must be non-blank, start with a letter, and can contain alphanumeric |
| 157 |
// characters and: /, :, -, _, and . |
| 158 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 159 |
// The display-name for the property, used for front-end. |
| 160 |
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 161 |
// Whether the property can have multiple values. |
| 162 |
IsRepeatable bool `protobuf:"varint,2,opt,name=is_repeatable,json=isRepeatable,proto3" json:"is_repeatable,omitempty"` |
| 163 |
// Whether the property can be filtered. If this is a sub-property, all the |
| 164 |
// parent properties must be marked filterable. |
| 165 |
IsFilterable bool `protobuf:"varint,3,opt,name=is_filterable,json=isFilterable,proto3" json:"is_filterable,omitempty"` |
| 166 |
// Indicates that the property should be included in a global search. |
| 167 |
IsSearchable bool `protobuf:"varint,4,opt,name=is_searchable,json=isSearchable,proto3" json:"is_searchable,omitempty"` |
| 168 |
// Whether the property is user supplied metadata. |
| 169 |
IsMetadata bool `protobuf:"varint,5,opt,name=is_metadata,json=isMetadata,proto3" json:"is_metadata,omitempty"` |
| 170 |
// Whether the property is mandatory. |
| 171 |
// Default is 'false', i.e. populating property value can be skipped. |
| 172 |
// If 'true' then user must populate the value for this property. |
| 173 |
IsRequired bool `protobuf:"varint,14,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"` |
| 174 |
// Type of the property. |
| 175 |
// |
| 176 |
// Types that are assignable to ValueTypeOptions: |
| 177 |
// |
| 178 |
// *PropertyDefinition_IntegerTypeOptions |
| 179 |
// *PropertyDefinition_FloatTypeOptions |
| 180 |
// *PropertyDefinition_TextTypeOptions |
| 181 |
// *PropertyDefinition_PropertyTypeOptions |
| 182 |
// *PropertyDefinition_EnumTypeOptions |
| 183 |
// *PropertyDefinition_DateTimeTypeOptions |
| 184 |
// *PropertyDefinition_MapTypeOptions |
| 185 |
// *PropertyDefinition_TimestampTypeOptions |
| 186 |
ValueTypeOptions isPropertyDefinition_ValueTypeOptions `protobuf_oneof:"value_type_options"` |
| 187 |
} |
| 188 |
|
| 189 |
func (x *PropertyDefinition) Reset() { |
| 190 |
*x = PropertyDefinition{} |
| 191 |
if protoimpl.UnsafeEnabled { |
| 192 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[1] |
| 193 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 194 |
ms.StoreMessageInfo(mi) |
| 195 |
} |
| 196 |
} |
| 197 |
|
| 198 |
func (x *PropertyDefinition) String() string { |
| 199 |
return protoimpl.X.MessageStringOf(x) |
| 200 |
} |
| 201 |
|
| 202 |
func (*PropertyDefinition) ProtoMessage() {} |
| 203 |
|
| 204 |
func (x *PropertyDefinition) ProtoReflect() protoreflect.Message { |
| 205 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[1] |
| 206 |
if protoimpl.UnsafeEnabled && x != nil { |
| 207 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 208 |
if ms.LoadMessageInfo() == nil { |
| 209 |
ms.StoreMessageInfo(mi) |
| 210 |
} |
| 211 |
return ms |
| 212 |
} |
| 213 |
return mi.MessageOf(x) |
| 214 |
} |
| 215 |
|
| 216 |
// Deprecated: Use PropertyDefinition.ProtoReflect.Descriptor instead. |
| 217 |
func (*PropertyDefinition) Descriptor() ([]byte, []int) { |
| 218 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{1} |
| 219 |
} |
| 220 |
|
| 221 |
func (x *PropertyDefinition) GetName() string { |
| 222 |
if x != nil { |
| 223 |
return x.Name |
| 224 |
} |
| 225 |
return "" |
| 226 |
} |
| 227 |
|
| 228 |
func (x *PropertyDefinition) GetDisplayName() string { |
| 229 |
if x != nil { |
| 230 |
return x.DisplayName |
| 231 |
} |
| 232 |
return "" |
| 233 |
} |
| 234 |
|
| 235 |
func (x *PropertyDefinition) GetIsRepeatable() bool { |
| 236 |
if x != nil { |
| 237 |
return x.IsRepeatable |
| 238 |
} |
| 239 |
return false |
| 240 |
} |
| 241 |
|
| 242 |
func (x *PropertyDefinition) GetIsFilterable() bool { |
| 243 |
if x != nil { |
| 244 |
return x.IsFilterable |
| 245 |
} |
| 246 |
return false |
| 247 |
} |
| 248 |
|
| 249 |
func (x *PropertyDefinition) GetIsSearchable() bool { |
| 250 |
if x != nil { |
| 251 |
return x.IsSearchable |
| 252 |
} |
| 253 |
return false |
| 254 |
} |
| 255 |
|
| 256 |
func (x *PropertyDefinition) GetIsMetadata() bool { |
| 257 |
if x != nil { |
| 258 |
return x.IsMetadata |
| 259 |
} |
| 260 |
return false |
| 261 |
} |
| 262 |
|
| 263 |
func (x *PropertyDefinition) GetIsRequired() bool { |
| 264 |
if x != nil { |
| 265 |
return x.IsRequired |
| 266 |
} |
| 267 |
return false |
| 268 |
} |
| 269 |
|
| 270 |
func (m *PropertyDefinition) GetValueTypeOptions() isPropertyDefinition_ValueTypeOptions { |
| 271 |
if m != nil { |
| 272 |
return m.ValueTypeOptions |
| 273 |
} |
| 274 |
return nil |
| 275 |
} |
| 276 |
|
| 277 |
func (x *PropertyDefinition) GetIntegerTypeOptions() *IntegerTypeOptions { |
| 278 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_IntegerTypeOptions); ok { |
| 279 |
return x.IntegerTypeOptions |
| 280 |
} |
| 281 |
return nil |
| 282 |
} |
| 283 |
|
| 284 |
func (x *PropertyDefinition) GetFloatTypeOptions() *FloatTypeOptions { |
| 285 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_FloatTypeOptions); ok { |
| 286 |
return x.FloatTypeOptions |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
func (x *PropertyDefinition) GetTextTypeOptions() *TextTypeOptions { |
| 292 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_TextTypeOptions); ok { |
| 293 |
return x.TextTypeOptions |
| 294 |
} |
| 295 |
return nil |
| 296 |
} |
| 297 |
|
| 298 |
func (x *PropertyDefinition) GetPropertyTypeOptions() *PropertyTypeOptions { |
| 299 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_PropertyTypeOptions); ok { |
| 300 |
return x.PropertyTypeOptions |
| 301 |
} |
| 302 |
return nil |
| 303 |
} |
| 304 |
|
| 305 |
func (x *PropertyDefinition) GetEnumTypeOptions() *EnumTypeOptions { |
| 306 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_EnumTypeOptions); ok { |
| 307 |
return x.EnumTypeOptions |
| 308 |
} |
| 309 |
return nil |
| 310 |
} |
| 311 |
|
| 312 |
func (x *PropertyDefinition) GetDateTimeTypeOptions() *DateTimeTypeOptions { |
| 313 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_DateTimeTypeOptions); ok { |
| 314 |
return x.DateTimeTypeOptions |
| 315 |
} |
| 316 |
return nil |
| 317 |
} |
| 318 |
|
| 319 |
func (x *PropertyDefinition) GetMapTypeOptions() *MapTypeOptions { |
| 320 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_MapTypeOptions); ok { |
| 321 |
return x.MapTypeOptions |
| 322 |
} |
| 323 |
return nil |
| 324 |
} |
| 325 |
|
| 326 |
func (x *PropertyDefinition) GetTimestampTypeOptions() *TimestampTypeOptions { |
| 327 |
if x, ok := x.GetValueTypeOptions().(*PropertyDefinition_TimestampTypeOptions); ok { |
| 328 |
return x.TimestampTypeOptions |
| 329 |
} |
| 330 |
return nil |
| 331 |
} |
| 332 |
|
| 333 |
type isPropertyDefinition_ValueTypeOptions interface { |
| 334 |
isPropertyDefinition_ValueTypeOptions() |
| 335 |
} |
| 336 |
|
| 337 |
type PropertyDefinition_IntegerTypeOptions struct { |
| 338 |
// Integer property. |
| 339 |
IntegerTypeOptions *IntegerTypeOptions `protobuf:"bytes,7,opt,name=integer_type_options,json=integerTypeOptions,proto3,oneof"` |
| 340 |
} |
| 341 |
|
| 342 |
type PropertyDefinition_FloatTypeOptions struct { |
| 343 |
// Float property. |
| 344 |
FloatTypeOptions *FloatTypeOptions `protobuf:"bytes,8,opt,name=float_type_options,json=floatTypeOptions,proto3,oneof"` |
| 345 |
} |
| 346 |
|
| 347 |
type PropertyDefinition_TextTypeOptions struct { |
| 348 |
// Text/string property. |
| 349 |
TextTypeOptions *TextTypeOptions `protobuf:"bytes,9,opt,name=text_type_options,json=textTypeOptions,proto3,oneof"` |
| 350 |
} |
| 351 |
|
| 352 |
type PropertyDefinition_PropertyTypeOptions struct { |
| 353 |
// Nested structured data property. |
| 354 |
PropertyTypeOptions *PropertyTypeOptions `protobuf:"bytes,10,opt,name=property_type_options,json=propertyTypeOptions,proto3,oneof"` |
| 355 |
} |
| 356 |
|
| 357 |
type PropertyDefinition_EnumTypeOptions struct { |
| 358 |
// Enum/categorical property. |
| 359 |
EnumTypeOptions *EnumTypeOptions `protobuf:"bytes,11,opt,name=enum_type_options,json=enumTypeOptions,proto3,oneof"` |
| 360 |
} |
| 361 |
|
| 362 |
type PropertyDefinition_DateTimeTypeOptions struct { |
| 363 |
// Date time property. |
| 364 |
// It is not supported by CMEK compliant deployment. |
| 365 |
DateTimeTypeOptions *DateTimeTypeOptions `protobuf:"bytes,13,opt,name=date_time_type_options,json=dateTimeTypeOptions,proto3,oneof"` |
| 366 |
} |
| 367 |
|
| 368 |
type PropertyDefinition_MapTypeOptions struct { |
| 369 |
// Map property. |
| 370 |
MapTypeOptions *MapTypeOptions `protobuf:"bytes,15,opt,name=map_type_options,json=mapTypeOptions,proto3,oneof"` |
| 371 |
} |
| 372 |
|
| 373 |
type PropertyDefinition_TimestampTypeOptions struct { |
| 374 |
// Timestamp property. |
| 375 |
// It is not supported by CMEK compliant deployment. |
| 376 |
TimestampTypeOptions *TimestampTypeOptions `protobuf:"bytes,16,opt,name=timestamp_type_options,json=timestampTypeOptions,proto3,oneof"` |
| 377 |
} |
| 378 |
|
| 379 |
func (*PropertyDefinition_IntegerTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 380 |
|
| 381 |
func (*PropertyDefinition_FloatTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 382 |
|
| 383 |
func (*PropertyDefinition_TextTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 384 |
|
| 385 |
func (*PropertyDefinition_PropertyTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 386 |
|
| 387 |
func (*PropertyDefinition_EnumTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 388 |
|
| 389 |
func (*PropertyDefinition_DateTimeTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 390 |
|
| 391 |
func (*PropertyDefinition_MapTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 392 |
|
| 393 |
func (*PropertyDefinition_TimestampTypeOptions) isPropertyDefinition_ValueTypeOptions() {} |
| 394 |
|
| 395 |
// Configurations for an integer property. |
| 396 |
type IntegerTypeOptions struct { |
| 397 |
state protoimpl.MessageState |
| 398 |
sizeCache protoimpl.SizeCache |
| 399 |
unknownFields protoimpl.UnknownFields |
| 400 |
} |
| 401 |
|
| 402 |
func (x *IntegerTypeOptions) Reset() { |
| 403 |
*x = IntegerTypeOptions{} |
| 404 |
if protoimpl.UnsafeEnabled { |
| 405 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[2] |
| 406 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 407 |
ms.StoreMessageInfo(mi) |
| 408 |
} |
| 409 |
} |
| 410 |
|
| 411 |
func (x *IntegerTypeOptions) String() string { |
| 412 |
return protoimpl.X.MessageStringOf(x) |
| 413 |
} |
| 414 |
|
| 415 |
func (*IntegerTypeOptions) ProtoMessage() {} |
| 416 |
|
| 417 |
func (x *IntegerTypeOptions) ProtoReflect() protoreflect.Message { |
| 418 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[2] |
| 419 |
if protoimpl.UnsafeEnabled && x != nil { |
| 420 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 421 |
if ms.LoadMessageInfo() == nil { |
| 422 |
ms.StoreMessageInfo(mi) |
| 423 |
} |
| 424 |
return ms |
| 425 |
} |
| 426 |
return mi.MessageOf(x) |
| 427 |
} |
| 428 |
|
| 429 |
// Deprecated: Use IntegerTypeOptions.ProtoReflect.Descriptor instead. |
| 430 |
func (*IntegerTypeOptions) Descriptor() ([]byte, []int) { |
| 431 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{2} |
| 432 |
} |
| 433 |
|
| 434 |
// Configurations for a float property. |
| 435 |
type FloatTypeOptions struct { |
| 436 |
state protoimpl.MessageState |
| 437 |
sizeCache protoimpl.SizeCache |
| 438 |
unknownFields protoimpl.UnknownFields |
| 439 |
} |
| 440 |
|
| 441 |
func (x *FloatTypeOptions) Reset() { |
| 442 |
*x = FloatTypeOptions{} |
| 443 |
if protoimpl.UnsafeEnabled { |
| 444 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[3] |
| 445 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 446 |
ms.StoreMessageInfo(mi) |
| 447 |
} |
| 448 |
} |
| 449 |
|
| 450 |
func (x *FloatTypeOptions) String() string { |
| 451 |
return protoimpl.X.MessageStringOf(x) |
| 452 |
} |
| 453 |
|
| 454 |
func (*FloatTypeOptions) ProtoMessage() {} |
| 455 |
|
| 456 |
func (x *FloatTypeOptions) ProtoReflect() protoreflect.Message { |
| 457 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[3] |
| 458 |
if protoimpl.UnsafeEnabled && x != nil { |
| 459 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 460 |
if ms.LoadMessageInfo() == nil { |
| 461 |
ms.StoreMessageInfo(mi) |
| 462 |
} |
| 463 |
return ms |
| 464 |
} |
| 465 |
return mi.MessageOf(x) |
| 466 |
} |
| 467 |
|
| 468 |
// Deprecated: Use FloatTypeOptions.ProtoReflect.Descriptor instead. |
| 469 |
func (*FloatTypeOptions) Descriptor() ([]byte, []int) { |
| 470 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{3} |
| 471 |
} |
| 472 |
|
| 473 |
// Configurations for a text property. |
| 474 |
type TextTypeOptions struct { |
| 475 |
state protoimpl.MessageState |
| 476 |
sizeCache protoimpl.SizeCache |
| 477 |
unknownFields protoimpl.UnknownFields |
| 478 |
} |
| 479 |
|
| 480 |
func (x *TextTypeOptions) Reset() { |
| 481 |
*x = TextTypeOptions{} |
| 482 |
if protoimpl.UnsafeEnabled { |
| 483 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[4] |
| 484 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 485 |
ms.StoreMessageInfo(mi) |
| 486 |
} |
| 487 |
} |
| 488 |
|
| 489 |
func (x *TextTypeOptions) String() string { |
| 490 |
return protoimpl.X.MessageStringOf(x) |
| 491 |
} |
| 492 |
|
| 493 |
func (*TextTypeOptions) ProtoMessage() {} |
| 494 |
|
| 495 |
func (x *TextTypeOptions) ProtoReflect() protoreflect.Message { |
| 496 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[4] |
| 497 |
if protoimpl.UnsafeEnabled && x != nil { |
| 498 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 499 |
if ms.LoadMessageInfo() == nil { |
| 500 |
ms.StoreMessageInfo(mi) |
| 501 |
} |
| 502 |
return ms |
| 503 |
} |
| 504 |
return mi.MessageOf(x) |
| 505 |
} |
| 506 |
|
| 507 |
// Deprecated: Use TextTypeOptions.ProtoReflect.Descriptor instead. |
| 508 |
func (*TextTypeOptions) Descriptor() ([]byte, []int) { |
| 509 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{4} |
| 510 |
} |
| 511 |
|
| 512 |
// Configurations for a date time property. |
| 513 |
type DateTimeTypeOptions struct { |
| 514 |
state protoimpl.MessageState |
| 515 |
sizeCache protoimpl.SizeCache |
| 516 |
unknownFields protoimpl.UnknownFields |
| 517 |
} |
| 518 |
|
| 519 |
func (x *DateTimeTypeOptions) Reset() { |
| 520 |
*x = DateTimeTypeOptions{} |
| 521 |
if protoimpl.UnsafeEnabled { |
| 522 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[5] |
| 523 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 524 |
ms.StoreMessageInfo(mi) |
| 525 |
} |
| 526 |
} |
| 527 |
|
| 528 |
func (x *DateTimeTypeOptions) String() string { |
| 529 |
return protoimpl.X.MessageStringOf(x) |
| 530 |
} |
| 531 |
|
| 532 |
func (*DateTimeTypeOptions) ProtoMessage() {} |
| 533 |
|
| 534 |
func (x *DateTimeTypeOptions) ProtoReflect() protoreflect.Message { |
| 535 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[5] |
| 536 |
if protoimpl.UnsafeEnabled && x != nil { |
| 537 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 538 |
if ms.LoadMessageInfo() == nil { |
| 539 |
ms.StoreMessageInfo(mi) |
| 540 |
} |
| 541 |
return ms |
| 542 |
} |
| 543 |
return mi.MessageOf(x) |
| 544 |
} |
| 545 |
|
| 546 |
// Deprecated: Use DateTimeTypeOptions.ProtoReflect.Descriptor instead. |
| 547 |
func (*DateTimeTypeOptions) Descriptor() ([]byte, []int) { |
| 548 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{5} |
| 549 |
} |
| 550 |
|
| 551 |
// Configurations for a Map property. |
| 552 |
type MapTypeOptions struct { |
| 553 |
state protoimpl.MessageState |
| 554 |
sizeCache protoimpl.SizeCache |
| 555 |
unknownFields protoimpl.UnknownFields |
| 556 |
} |
| 557 |
|
| 558 |
func (x *MapTypeOptions) Reset() { |
| 559 |
*x = MapTypeOptions{} |
| 560 |
if protoimpl.UnsafeEnabled { |
| 561 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[6] |
| 562 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 563 |
ms.StoreMessageInfo(mi) |
| 564 |
} |
| 565 |
} |
| 566 |
|
| 567 |
func (x *MapTypeOptions) String() string { |
| 568 |
return protoimpl.X.MessageStringOf(x) |
| 569 |
} |
| 570 |
|
| 571 |
func (*MapTypeOptions) ProtoMessage() {} |
| 572 |
|
| 573 |
func (x *MapTypeOptions) ProtoReflect() protoreflect.Message { |
| 574 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[6] |
| 575 |
if protoimpl.UnsafeEnabled && x != nil { |
| 576 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 577 |
if ms.LoadMessageInfo() == nil { |
| 578 |
ms.StoreMessageInfo(mi) |
| 579 |
} |
| 580 |
return ms |
| 581 |
} |
| 582 |
return mi.MessageOf(x) |
| 583 |
} |
| 584 |
|
| 585 |
// Deprecated: Use MapTypeOptions.ProtoReflect.Descriptor instead. |
| 586 |
func (*MapTypeOptions) Descriptor() ([]byte, []int) { |
| 587 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{6} |
| 588 |
} |
| 589 |
|
| 590 |
// Configurations for a timestamp property. |
| 591 |
type TimestampTypeOptions struct { |
| 592 |
state protoimpl.MessageState |
| 593 |
sizeCache protoimpl.SizeCache |
| 594 |
unknownFields protoimpl.UnknownFields |
| 595 |
} |
| 596 |
|
| 597 |
func (x *TimestampTypeOptions) Reset() { |
| 598 |
*x = TimestampTypeOptions{} |
| 599 |
if protoimpl.UnsafeEnabled { |
| 600 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[7] |
| 601 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 602 |
ms.StoreMessageInfo(mi) |
| 603 |
} |
| 604 |
} |
| 605 |
|
| 606 |
func (x *TimestampTypeOptions) String() string { |
| 607 |
return protoimpl.X.MessageStringOf(x) |
| 608 |
} |
| 609 |
|
| 610 |
func (*TimestampTypeOptions) ProtoMessage() {} |
| 611 |
|
| 612 |
func (x *TimestampTypeOptions) ProtoReflect() protoreflect.Message { |
| 613 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[7] |
| 614 |
if protoimpl.UnsafeEnabled && x != nil { |
| 615 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 616 |
if ms.LoadMessageInfo() == nil { |
| 617 |
ms.StoreMessageInfo(mi) |
| 618 |
} |
| 619 |
return ms |
| 620 |
} |
| 621 |
return mi.MessageOf(x) |
| 622 |
} |
| 623 |
|
| 624 |
// Deprecated: Use TimestampTypeOptions.ProtoReflect.Descriptor instead. |
| 625 |
func (*TimestampTypeOptions) Descriptor() ([]byte, []int) { |
| 626 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{7} |
| 627 |
} |
| 628 |
|
| 629 |
// Configurations for a nested structured data property. |
| 630 |
type PropertyTypeOptions struct { |
| 631 |
state protoimpl.MessageState |
| 632 |
sizeCache protoimpl.SizeCache |
| 633 |
unknownFields protoimpl.UnknownFields |
| 634 |
|
| 635 |
// Required. List of property definitions. |
| 636 |
PropertyDefinitions []*PropertyDefinition `protobuf:"bytes,1,rep,name=property_definitions,json=propertyDefinitions,proto3" json:"property_definitions,omitempty"` |
| 637 |
} |
| 638 |
|
| 639 |
func (x *PropertyTypeOptions) Reset() { |
| 640 |
*x = PropertyTypeOptions{} |
| 641 |
if protoimpl.UnsafeEnabled { |
| 642 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[8] |
| 643 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 644 |
ms.StoreMessageInfo(mi) |
| 645 |
} |
| 646 |
} |
| 647 |
|
| 648 |
func (x *PropertyTypeOptions) String() string { |
| 649 |
return protoimpl.X.MessageStringOf(x) |
| 650 |
} |
| 651 |
|
| 652 |
func (*PropertyTypeOptions) ProtoMessage() {} |
| 653 |
|
| 654 |
func (x *PropertyTypeOptions) ProtoReflect() protoreflect.Message { |
| 655 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[8] |
| 656 |
if protoimpl.UnsafeEnabled && x != nil { |
| 657 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 658 |
if ms.LoadMessageInfo() == nil { |
| 659 |
ms.StoreMessageInfo(mi) |
| 660 |
} |
| 661 |
return ms |
| 662 |
} |
| 663 |
return mi.MessageOf(x) |
| 664 |
} |
| 665 |
|
| 666 |
// Deprecated: Use PropertyTypeOptions.ProtoReflect.Descriptor instead. |
| 667 |
func (*PropertyTypeOptions) Descriptor() ([]byte, []int) { |
| 668 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{8} |
| 669 |
} |
| 670 |
|
| 671 |
func (x *PropertyTypeOptions) GetPropertyDefinitions() []*PropertyDefinition { |
| 672 |
if x != nil { |
| 673 |
return x.PropertyDefinitions |
| 674 |
} |
| 675 |
return nil |
| 676 |
} |
| 677 |
|
| 678 |
// Configurations for an enum/categorical property. |
| 679 |
type EnumTypeOptions struct { |
| 680 |
state protoimpl.MessageState |
| 681 |
sizeCache protoimpl.SizeCache |
| 682 |
unknownFields protoimpl.UnknownFields |
| 683 |
|
| 684 |
// Required. List of possible enum values. |
| 685 |
PossibleValues []string `protobuf:"bytes,1,rep,name=possible_values,json=possibleValues,proto3" json:"possible_values,omitempty"` |
| 686 |
// Make sure the Enum property value provided in the document is in the |
| 687 |
// possile value list during document creation. The validation check runs by |
| 688 |
// default. |
| 689 |
ValidationCheckDisabled bool `protobuf:"varint,2,opt,name=validation_check_disabled,json=validationCheckDisabled,proto3" json:"validation_check_disabled,omitempty"` |
| 690 |
} |
| 691 |
|
| 692 |
func (x *EnumTypeOptions) Reset() { |
| 693 |
*x = EnumTypeOptions{} |
| 694 |
if protoimpl.UnsafeEnabled { |
| 695 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[9] |
| 696 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 697 |
ms.StoreMessageInfo(mi) |
| 698 |
} |
| 699 |
} |
| 700 |
|
| 701 |
func (x *EnumTypeOptions) String() string { |
| 702 |
return protoimpl.X.MessageStringOf(x) |
| 703 |
} |
| 704 |
|
| 705 |
func (*EnumTypeOptions) ProtoMessage() {} |
| 706 |
|
| 707 |
func (x *EnumTypeOptions) ProtoReflect() protoreflect.Message { |
| 708 |
mi := &file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[9] |
| 709 |
if protoimpl.UnsafeEnabled && x != nil { |
| 710 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 711 |
if ms.LoadMessageInfo() == nil { |
| 712 |
ms.StoreMessageInfo(mi) |
| 713 |
} |
| 714 |
return ms |
| 715 |
} |
| 716 |
return mi.MessageOf(x) |
| 717 |
} |
| 718 |
|
| 719 |
// Deprecated: Use EnumTypeOptions.ProtoReflect.Descriptor instead. |
| 720 |
func (*EnumTypeOptions) Descriptor() ([]byte, []int) { |
| 721 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP(), []int{9} |
| 722 |
} |
| 723 |
|
| 724 |
func (x *EnumTypeOptions) GetPossibleValues() []string { |
| 725 |
if x != nil { |
| 726 |
return x.PossibleValues |
| 727 |
} |
| 728 |
return nil |
| 729 |
} |
| 730 |
|
| 731 |
func (x *EnumTypeOptions) GetValidationCheckDisabled() bool { |
| 732 |
if x != nil { |
| 733 |
return x.ValidationCheckDisabled |
| 734 |
} |
| 735 |
return false |
| 736 |
} |
| 737 |
|
| 738 |
var File_google_cloud_contentwarehouse_v1_document_schema_proto protoreflect.FileDescriptor |
| 739 |
|
| 740 |
var file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDesc = []byte{ |
| 741 |
0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 742 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, |
| 743 |
0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, |
| 744 |
0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 745 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, |
| 746 |
0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, |
| 747 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, |
| 748 |
0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, |
| 749 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 750 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 751 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 752 |
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x04, 0x0a, 0x0e, 0x44, 0x6f, 0x63, 0x75, |
| 753 |
0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, |
| 754 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, |
| 755 |
0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, |
| 756 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, |
| 757 |
0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, |
| 758 |
0x74, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, |
| 759 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 760 |
0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, |
| 761 |
0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, |
| 762 |
0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x70, |
| 763 |
0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, |
| 764 |
0x2c, 0x0a, 0x12, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x73, 0x5f, 0x66, |
| 765 |
0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x6f, 0x63, |
| 766 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x73, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, |
| 767 |
0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 768 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 769 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, |
| 770 |
0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 771 |
0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, |
| 772 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 773 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 774 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 775 |
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 776 |
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 777 |
0x69, 0x6f, 0x6e, 0x3a, 0x7e, 0xea, 0x41, 0x7b, 0x0a, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 778 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 779 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 780 |
0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x49, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 781 |
0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, |
| 782 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 783 |
0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 784 |
0x73, 0x2f, 0x7b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, |
| 785 |
0x6d, 0x61, 0x7d, 0x22, 0xd0, 0x08, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, |
| 786 |
0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, |
| 787 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, |
| 788 |
0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, |
| 789 |
0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, |
| 790 |
0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, |
| 791 |
0x65, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, |
| 792 |
0x73, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, |
| 793 |
0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, |
| 794 |
0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, |
| 795 |
0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, |
| 796 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x53, 0x65, 0x61, 0x72, 0x63, |
| 797 |
0x68, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, |
| 798 |
0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4d, 0x65, |
| 799 |
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x71, |
| 800 |
0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, |
| 801 |
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x67, |
| 802 |
0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 803 |
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 804 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 805 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, |
| 806 |
0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, 0x69, |
| 807 |
0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 808 |
0x73, 0x12, 0x62, 0x0a, 0x12, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, |
| 809 |
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, |
| 810 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, |
| 811 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, |
| 812 |
0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 813 |
0x73, 0x48, 0x00, 0x52, 0x10, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, |
| 814 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x11, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, |
| 815 |
0x70, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, |
| 816 |
0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 817 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 818 |
0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, |
| 819 |
0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, |
| 820 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6b, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, |
| 821 |
0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 822 |
0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 823 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 824 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, |
| 825 |
0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x13, |
| 826 |
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, |
| 827 |
0x6f, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x11, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 828 |
0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, |
| 829 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, |
| 830 |
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, |
| 831 |
0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 832 |
0x73, 0x48, 0x00, 0x52, 0x0f, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, |
| 833 |
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6c, 0x0a, 0x16, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, |
| 834 |
0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, |
| 835 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 836 |
0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, |
| 837 |
0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, |
| 838 |
0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x13, 0x64, |
| 839 |
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, |
| 840 |
0x6e, 0x73, 0x12, 0x5c, 0x0a, 0x10, 0x6d, 0x61, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6f, |
| 841 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, |
| 842 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 843 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 844 |
0x4d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, |
| 845 |
0x52, 0x0e, 0x6d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 846 |
0x12, 0x6e, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x74, 0x79, |
| 847 |
0x70, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, |
| 848 |
0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 849 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 850 |
0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, |
| 851 |
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, |
| 852 |
0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 853 |
0x42, 0x14, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6f, |
| 854 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, |
| 855 |
0x72, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x12, 0x0a, 0x10, |
| 856 |
0x46, 0x6c, 0x6f, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 857 |
0x22, 0x11, 0x0a, 0x0f, 0x54, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, |
| 858 |
0x6f, 0x6e, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x54, |
| 859 |
0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4d, 0x61, |
| 860 |
0x70, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x16, 0x0a, 0x14, |
| 861 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, |
| 862 |
0x69, 0x6f, 0x6e, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, |
| 863 |
0x79, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6c, 0x0a, 0x14, |
| 864 |
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, |
| 865 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, |
| 866 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 867 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, |
| 868 |
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 869 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, |
| 870 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x0f, 0x45, 0x6e, |
| 871 |
0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, |
| 872 |
0x0f, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, |
| 873 |
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x70, 0x6f, 0x73, |
| 874 |
0x73, 0x69, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x76, |
| 875 |
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, |
| 876 |
0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, |
| 877 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x44, |
| 878 |
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x8f, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, |
| 879 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, |
| 880 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, |
| 881 |
0x42, 0x13, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, |
| 882 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 883 |
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, |
| 884 |
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, |
| 885 |
0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 886 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 887 |
0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 888 |
0x33, |
| 889 |
} |
| 890 |
|
| 891 |
var ( |
| 892 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescOnce sync.Once |
| 893 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescData = file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDesc |
| 894 |
) |
| 895 |
|
| 896 |
func file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescGZIP() []byte { |
| 897 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescOnce.Do(func() { |
| 898 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescData) |
| 899 |
}) |
| 900 |
return file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDescData |
| 901 |
} |
| 902 |
|
| 903 |
var file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 10) |
| 904 |
var file_google_cloud_contentwarehouse_v1_document_schema_proto_goTypes = []interface{}{ |
| 905 |
(*DocumentSchema)(nil), // 0: google.cloud.contentwarehouse.v1.DocumentSchema |
| 906 |
(*PropertyDefinition)(nil), // 1: google.cloud.contentwarehouse.v1.PropertyDefinition |
| 907 |
(*IntegerTypeOptions)(nil), // 2: google.cloud.contentwarehouse.v1.IntegerTypeOptions |
| 908 |
(*FloatTypeOptions)(nil), // 3: google.cloud.contentwarehouse.v1.FloatTypeOptions |
| 909 |
(*TextTypeOptions)(nil), // 4: google.cloud.contentwarehouse.v1.TextTypeOptions |
| 910 |
(*DateTimeTypeOptions)(nil), // 5: google.cloud.contentwarehouse.v1.DateTimeTypeOptions |
| 911 |
(*MapTypeOptions)(nil), // 6: google.cloud.contentwarehouse.v1.MapTypeOptions |
| 912 |
(*TimestampTypeOptions)(nil), // 7: google.cloud.contentwarehouse.v1.TimestampTypeOptions |
| 913 |
(*PropertyTypeOptions)(nil), // 8: google.cloud.contentwarehouse.v1.PropertyTypeOptions |
| 914 |
(*EnumTypeOptions)(nil), // 9: google.cloud.contentwarehouse.v1.EnumTypeOptions |
| 915 |
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| 916 |
} |
| 917 |
var file_google_cloud_contentwarehouse_v1_document_schema_proto_depIdxs = []int32{ |
| 918 |
1, // 0: google.cloud.contentwarehouse.v1.DocumentSchema.property_definitions:type_name -> google.cloud.contentwarehouse.v1.PropertyDefinition |
| 919 |
10, // 1: google.cloud.contentwarehouse.v1.DocumentSchema.update_time:type_name -> google.protobuf.Timestamp |
| 920 |
10, // 2: google.cloud.contentwarehouse.v1.DocumentSchema.create_time:type_name -> google.protobuf.Timestamp |
| 921 |
2, // 3: google.cloud.contentwarehouse.v1.PropertyDefinition.integer_type_options:type_name -> google.cloud.contentwarehouse.v1.IntegerTypeOptions |
| 922 |
3, // 4: google.cloud.contentwarehouse.v1.PropertyDefinition.float_type_options:type_name -> google.cloud.contentwarehouse.v1.FloatTypeOptions |
| 923 |
4, // 5: google.cloud.contentwarehouse.v1.PropertyDefinition.text_type_options:type_name -> google.cloud.contentwarehouse.v1.TextTypeOptions |
| 924 |
8, // 6: google.cloud.contentwarehouse.v1.PropertyDefinition.property_type_options:type_name -> google.cloud.contentwarehouse.v1.PropertyTypeOptions |
| 925 |
9, // 7: google.cloud.contentwarehouse.v1.PropertyDefinition.enum_type_options:type_name -> google.cloud.contentwarehouse.v1.EnumTypeOptions |
| 926 |
5, // 8: google.cloud.contentwarehouse.v1.PropertyDefinition.date_time_type_options:type_name -> google.cloud.contentwarehouse.v1.DateTimeTypeOptions |
| 927 |
6, // 9: google.cloud.contentwarehouse.v1.PropertyDefinition.map_type_options:type_name -> google.cloud.contentwarehouse.v1.MapTypeOptions |
| 928 |
7, // 10: google.cloud.contentwarehouse.v1.PropertyDefinition.timestamp_type_options:type_name -> google.cloud.contentwarehouse.v1.TimestampTypeOptions |
| 929 |
1, // 11: google.cloud.contentwarehouse.v1.PropertyTypeOptions.property_definitions:type_name -> google.cloud.contentwarehouse.v1.PropertyDefinition |
| 930 |
12, // [12:12] is the sub-list for method output_type |
| 931 |
12, // [12:12] is the sub-list for method input_type |
| 932 |
12, // [12:12] is the sub-list for extension type_name |
| 933 |
12, // [12:12] is the sub-list for extension extendee |
| 934 |
0, // [0:12] is the sub-list for field type_name |
| 935 |
} |
| 936 |
|
| 937 |
func init() { file_google_cloud_contentwarehouse_v1_document_schema_proto_init() } |
| 938 |
func file_google_cloud_contentwarehouse_v1_document_schema_proto_init() { |
| 939 |
if File_google_cloud_contentwarehouse_v1_document_schema_proto != nil { |
| 940 |
return |
| 941 |
} |
| 942 |
if !protoimpl.UnsafeEnabled { |
| 943 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 944 |
switch v := v.(*DocumentSchema); i { |
| 945 |
case 0: |
| 946 |
return &v.state |
| 947 |
case 1: |
| 948 |
return &v.sizeCache |
| 949 |
case 2: |
| 950 |
return &v.unknownFields |
| 951 |
default: |
| 952 |
return nil |
| 953 |
} |
| 954 |
} |
| 955 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 956 |
switch v := v.(*PropertyDefinition); i { |
| 957 |
case 0: |
| 958 |
return &v.state |
| 959 |
case 1: |
| 960 |
return &v.sizeCache |
| 961 |
case 2: |
| 962 |
return &v.unknownFields |
| 963 |
default: |
| 964 |
return nil |
| 965 |
} |
| 966 |
} |
| 967 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 968 |
switch v := v.(*IntegerTypeOptions); i { |
| 969 |
case 0: |
| 970 |
return &v.state |
| 971 |
case 1: |
| 972 |
return &v.sizeCache |
| 973 |
case 2: |
| 974 |
return &v.unknownFields |
| 975 |
default: |
| 976 |
return nil |
| 977 |
} |
| 978 |
} |
| 979 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 980 |
switch v := v.(*FloatTypeOptions); i { |
| 981 |
case 0: |
| 982 |
return &v.state |
| 983 |
case 1: |
| 984 |
return &v.sizeCache |
| 985 |
case 2: |
| 986 |
return &v.unknownFields |
| 987 |
default: |
| 988 |
return nil |
| 989 |
} |
| 990 |
} |
| 991 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 992 |
switch v := v.(*TextTypeOptions); i { |
| 993 |
case 0: |
| 994 |
return &v.state |
| 995 |
case 1: |
| 996 |
return &v.sizeCache |
| 997 |
case 2: |
| 998 |
return &v.unknownFields |
| 999 |
default: |
| 1000 |
return nil |
| 1001 |
} |
| 1002 |
} |
| 1003 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1004 |
switch v := v.(*DateTimeTypeOptions); i { |
| 1005 |
case 0: |
| 1006 |
return &v.state |
| 1007 |
case 1: |
| 1008 |
return &v.sizeCache |
| 1009 |
case 2: |
| 1010 |
return &v.unknownFields |
| 1011 |
default: |
| 1012 |
return nil |
| 1013 |
} |
| 1014 |
} |
| 1015 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1016 |
switch v := v.(*MapTypeOptions); i { |
| 1017 |
case 0: |
| 1018 |
return &v.state |
| 1019 |
case 1: |
| 1020 |
return &v.sizeCache |
| 1021 |
case 2: |
| 1022 |
return &v.unknownFields |
| 1023 |
default: |
| 1024 |
return nil |
| 1025 |
} |
| 1026 |
} |
| 1027 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1028 |
switch v := v.(*TimestampTypeOptions); i { |
| 1029 |
case 0: |
| 1030 |
return &v.state |
| 1031 |
case 1: |
| 1032 |
return &v.sizeCache |
| 1033 |
case 2: |
| 1034 |
return &v.unknownFields |
| 1035 |
default: |
| 1036 |
return nil |
| 1037 |
} |
| 1038 |
} |
| 1039 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1040 |
switch v := v.(*PropertyTypeOptions); i { |
| 1041 |
case 0: |
| 1042 |
return &v.state |
| 1043 |
case 1: |
| 1044 |
return &v.sizeCache |
| 1045 |
case 2: |
| 1046 |
return &v.unknownFields |
| 1047 |
default: |
| 1048 |
return nil |
| 1049 |
} |
| 1050 |
} |
| 1051 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1052 |
switch v := v.(*EnumTypeOptions); i { |
| 1053 |
case 0: |
| 1054 |
return &v.state |
| 1055 |
case 1: |
| 1056 |
return &v.sizeCache |
| 1057 |
case 2: |
| 1058 |
return &v.unknownFields |
| 1059 |
default: |
| 1060 |
return nil |
| 1061 |
} |
| 1062 |
} |
| 1063 |
} |
| 1064 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 1065 |
(*PropertyDefinition_IntegerTypeOptions)(nil), |
| 1066 |
(*PropertyDefinition_FloatTypeOptions)(nil), |
| 1067 |
(*PropertyDefinition_TextTypeOptions)(nil), |
| 1068 |
(*PropertyDefinition_PropertyTypeOptions)(nil), |
| 1069 |
(*PropertyDefinition_EnumTypeOptions)(nil), |
| 1070 |
(*PropertyDefinition_DateTimeTypeOptions)(nil), |
| 1071 |
(*PropertyDefinition_MapTypeOptions)(nil), |
| 1072 |
(*PropertyDefinition_TimestampTypeOptions)(nil), |
| 1073 |
} |
| 1074 |
type x struct{} |
| 1075 |
out := protoimpl.TypeBuilder{ |
| 1076 |
File: protoimpl.DescBuilder{ |
| 1077 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1078 |
RawDescriptor: file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDesc, |
| 1079 |
NumEnums: 0, |
| 1080 |
NumMessages: 10, |
| 1081 |
NumExtensions: 0, |
| 1082 |
NumServices: 0, |
| 1083 |
}, |
| 1084 |
GoTypes: file_google_cloud_contentwarehouse_v1_document_schema_proto_goTypes, |
| 1085 |
DependencyIndexes: file_google_cloud_contentwarehouse_v1_document_schema_proto_depIdxs, |
| 1086 |
MessageInfos: file_google_cloud_contentwarehouse_v1_document_schema_proto_msgTypes, |
| 1087 |
}.Build() |
| 1088 |
File_google_cloud_contentwarehouse_v1_document_schema_proto = out.File |
| 1089 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_rawDesc = nil |
| 1090 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_goTypes = nil |
| 1091 |
file_google_cloud_contentwarehouse_v1_document_schema_proto_depIdxs = nil |
| 1092 |
} |