Debian Codegraph @

datacatalog/apiv1/datacatalogpb/timestamps.pb.go

raw
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/datacatalog/v1/timestamps.proto
20
21 package datacatalogpb
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 // Timestamps associated with this resource in a particular system.
40 type SystemTimestamps struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Creation timestamp of the resource within the given system.
46 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
47 // Timestamp of the last modification of the resource or its metadata within
48 // a given system.
49 //
50 // Note: Depending on the source system, not every modification updates this
51 // timestamp.
52 // For example, BigQuery timestamps every metadata modification but not data
53 // or permission changes.
54 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
55 // Output only. Expiration timestamp of the resource within the given system.
56 //
57 // Currently only applicable to BigQuery resources.
58 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
59 }
60
61 func (x *SystemTimestamps) Reset() {
62 *x = SystemTimestamps{}
63 mi := &file_google_cloud_datacatalog_v1_timestamps_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67
68 func (x *SystemTimestamps) String() string {
69 return protoimpl.X.MessageStringOf(x)
70 }
71
72 func (*SystemTimestamps) ProtoMessage() {}
73
74 func (x *SystemTimestamps) ProtoReflect() protoreflect.Message {
75 mi := &file_google_cloud_datacatalog_v1_timestamps_proto_msgTypes[0]
76 if x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84 }
85
86 // Deprecated: Use SystemTimestamps.ProtoReflect.Descriptor instead.
87 func (*SystemTimestamps) Descriptor() ([]byte, []int) {
88 return file_google_cloud_datacatalog_v1_timestamps_proto_rawDescGZIP(), []int{0}
89 }
90
91 func (x *SystemTimestamps) GetCreateTime() *timestamppb.Timestamp {
92 if x != nil {
93 return x.CreateTime
94 }
95 return nil
96 }
97
98 func (x *SystemTimestamps) GetUpdateTime() *timestamppb.Timestamp {
99 if x != nil {
100 return x.UpdateTime
101 }
102 return nil
103 }
104
105 func (x *SystemTimestamps) GetExpireTime() *timestamppb.Timestamp {
106 if x != nil {
107 return x.ExpireTime
108 }
109 return nil
110 }
111
112 var File_google_cloud_datacatalog_v1_timestamps_proto protoreflect.FileDescriptor
113
114 var file_google_cloud_datacatalog_v1_timestamps_proto_rawDesc = []byte{
115 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
116 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x69,
117 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
118 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74,
119 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
120 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
121 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
122 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
123 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x01,
124 0x0a, 0x10, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
125 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
126 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
127 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
128 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
129 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,
130 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
131 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
132 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b,
133 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
134 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
135 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
136 0x41, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xc3,
137 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
138 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e,
139 0x76, 0x31, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
140 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61,
141 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61,
142 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61,
143 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
144 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c,
145 0x6f, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
146 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
147 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
148 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
149 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
150 }
151
152 var (
153 file_google_cloud_datacatalog_v1_timestamps_proto_rawDescOnce sync.Once
154 file_google_cloud_datacatalog_v1_timestamps_proto_rawDescData = file_google_cloud_datacatalog_v1_timestamps_proto_rawDesc
155 )
156
157 func file_google_cloud_datacatalog_v1_timestamps_proto_rawDescGZIP() []byte {
158 file_google_cloud_datacatalog_v1_timestamps_proto_rawDescOnce.Do(func() {
159 file_google_cloud_datacatalog_v1_timestamps_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_timestamps_proto_rawDescData)
160 })
161 return file_google_cloud_datacatalog_v1_timestamps_proto_rawDescData
162 }
163
164 var file_google_cloud_datacatalog_v1_timestamps_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
165 var file_google_cloud_datacatalog_v1_timestamps_proto_goTypes = []any{
166 (*SystemTimestamps)(nil), // 0: google.cloud.datacatalog.v1.SystemTimestamps
167 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
168 }
169 var file_google_cloud_datacatalog_v1_timestamps_proto_depIdxs = []int32{
170 1, // 0: google.cloud.datacatalog.v1.SystemTimestamps.create_time:type_name -> google.protobuf.Timestamp
171 1, // 1: google.cloud.datacatalog.v1.SystemTimestamps.update_time:type_name -> google.protobuf.Timestamp
172 1, // 2: google.cloud.datacatalog.v1.SystemTimestamps.expire_time:type_name -> google.protobuf.Timestamp
173 3, // [3:3] is the sub-list for method output_type
174 3, // [3:3] is the sub-list for method input_type
175 3, // [3:3] is the sub-list for extension type_name
176 3, // [3:3] is the sub-list for extension extendee
177 0, // [0:3] is the sub-list for field type_name
178 }
179
180 func init() { file_google_cloud_datacatalog_v1_timestamps_proto_init() }
181 func file_google_cloud_datacatalog_v1_timestamps_proto_init() {
182 if File_google_cloud_datacatalog_v1_timestamps_proto != nil {
183 return
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_google_cloud_datacatalog_v1_timestamps_proto_rawDesc,
190 NumEnums: 0,
191 NumMessages: 1,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_google_cloud_datacatalog_v1_timestamps_proto_goTypes,
196 DependencyIndexes: file_google_cloud_datacatalog_v1_timestamps_proto_depIdxs,
197 MessageInfos: file_google_cloud_datacatalog_v1_timestamps_proto_msgTypes,
198 }.Build()
199 File_google_cloud_datacatalog_v1_timestamps_proto = out.File
200 file_google_cloud_datacatalog_v1_timestamps_proto_rawDesc = nil
201 file_google_cloud_datacatalog_v1_timestamps_proto_goTypes = nil
202 file_google_cloud_datacatalog_v1_timestamps_proto_depIdxs = nil
203 }