Debian Codegraph @

googleapis/cloud/visualinspection/v1beta1/common.pb.go

raw
1 // Copyright 2020 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.25.0
18 // protoc v3.13.0
19 // source: google/cloud/visualinspection/v1beta1/common.proto
20
21 package visualinspection
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 proto "github.com/golang/protobuf/proto"
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // This is a compile-time assertion that a sufficiently up-to-date version
42 // of the legacy proto package is being used.
43 const _ = proto.ProtoPackageIsVersion4
44
45 // Common operation metadata across Visual Inspection AI operations.
46 type CommonOperationMetadata struct {
47 state protoimpl.MessageState
48 sizeCache protoimpl.SizeCache
49 unknownFields protoimpl.UnknownFields
50
51 // Output only. Operation creation timestamp.
52 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
53 // Output only. Operation last updated timestamp.
54 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
55 // Output only. Resource name that this operation is directly associated with.
56 // For Create calls, this would be the parent resource.
57 // For others (Update, Delete, etc.) this would be the resource on which the
58 // method has been invoked.
59 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
60 }
61
62 func (x *CommonOperationMetadata) Reset() {
63 *x = CommonOperationMetadata{}
64 if protoimpl.UnsafeEnabled {
65 mi := &file_google_cloud_visualinspection_v1beta1_common_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69 }
70
71 func (x *CommonOperationMetadata) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*CommonOperationMetadata) ProtoMessage() {}
76
77 func (x *CommonOperationMetadata) ProtoReflect() protoreflect.Message {
78 mi := &file_google_cloud_visualinspection_v1beta1_common_proto_msgTypes[0]
79 if protoimpl.UnsafeEnabled && x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89 // Deprecated: Use CommonOperationMetadata.ProtoReflect.Descriptor instead.
90 func (*CommonOperationMetadata) Descriptor() ([]byte, []int) {
91 return file_google_cloud_visualinspection_v1beta1_common_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *CommonOperationMetadata) GetCreateTime() *timestamppb.Timestamp {
95 if x != nil {
96 return x.CreateTime
97 }
98 return nil
99 }
100
101 func (x *CommonOperationMetadata) GetUpdateTime() *timestamppb.Timestamp {
102 if x != nil {
103 return x.UpdateTime
104 }
105 return nil
106 }
107
108 func (x *CommonOperationMetadata) GetTarget() string {
109 if x != nil {
110 return x.Target
111 }
112 return ""
113 }
114
115 var File_google_cloud_visualinspection_v1beta1_common_proto protoreflect.FileDescriptor
116
117 var file_google_cloud_visualinspection_v1beta1_common_proto_rawDesc = []byte{
118 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
119 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
120 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
121 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
122 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
123 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
124 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
125 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
126 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
127 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
128 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
129 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
130 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
131 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
132 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
133 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
134 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
135 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
136 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
137 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
138 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
139 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
140 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
141 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
142 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x74, 0x61, 0x72,
143 0x67, 0x65, 0x74, 0x42, 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
144 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69,
145 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
146 0x31, 0x50, 0x01, 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
147 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
148 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
149 0x2f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f,
150 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c,
151 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f,
152 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c,
153 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74,
154 0x61, 0x31, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
155 0x64, 0x5c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69,
156 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f,
157 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75,
158 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31,
159 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
160 }
161
162 var (
163 file_google_cloud_visualinspection_v1beta1_common_proto_rawDescOnce sync.Once
164 file_google_cloud_visualinspection_v1beta1_common_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_common_proto_rawDesc
165 )
166
167 func file_google_cloud_visualinspection_v1beta1_common_proto_rawDescGZIP() []byte {
168 file_google_cloud_visualinspection_v1beta1_common_proto_rawDescOnce.Do(func() {
169 file_google_cloud_visualinspection_v1beta1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_common_proto_rawDescData)
170 })
171 return file_google_cloud_visualinspection_v1beta1_common_proto_rawDescData
172 }
173
174 var file_google_cloud_visualinspection_v1beta1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
175 var file_google_cloud_visualinspection_v1beta1_common_proto_goTypes = []interface{}{
176 (*CommonOperationMetadata)(nil), // 0: google.cloud.visualinspection.v1beta1.CommonOperationMetadata
177 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
178 }
179 var file_google_cloud_visualinspection_v1beta1_common_proto_depIdxs = []int32{
180 1, // 0: google.cloud.visualinspection.v1beta1.CommonOperationMetadata.create_time:type_name -> google.protobuf.Timestamp
181 1, // 1: google.cloud.visualinspection.v1beta1.CommonOperationMetadata.update_time:type_name -> google.protobuf.Timestamp
182 2, // [2:2] is the sub-list for method output_type
183 2, // [2:2] is the sub-list for method input_type
184 2, // [2:2] is the sub-list for extension type_name
185 2, // [2:2] is the sub-list for extension extendee
186 0, // [0:2] is the sub-list for field type_name
187 }
188
189 func init() { file_google_cloud_visualinspection_v1beta1_common_proto_init() }
190 func file_google_cloud_visualinspection_v1beta1_common_proto_init() {
191 if File_google_cloud_visualinspection_v1beta1_common_proto != nil {
192 return
193 }
194 if !protoimpl.UnsafeEnabled {
195 file_google_cloud_visualinspection_v1beta1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
196 switch v := v.(*CommonOperationMetadata); i {
197 case 0:
198 return &v.state
199 case 1:
200 return &v.sizeCache
201 case 2:
202 return &v.unknownFields
203 default:
204 return nil
205 }
206 }
207 }
208 type x struct{}
209 out := protoimpl.TypeBuilder{
210 File: protoimpl.DescBuilder{
211 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
212 RawDescriptor: file_google_cloud_visualinspection_v1beta1_common_proto_rawDesc,
213 NumEnums: 0,
214 NumMessages: 1,
215 NumExtensions: 0,
216 NumServices: 0,
217 },
218 GoTypes: file_google_cloud_visualinspection_v1beta1_common_proto_goTypes,
219 DependencyIndexes: file_google_cloud_visualinspection_v1beta1_common_proto_depIdxs,
220 MessageInfos: file_google_cloud_visualinspection_v1beta1_common_proto_msgTypes,
221 }.Build()
222 File_google_cloud_visualinspection_v1beta1_common_proto = out.File
223 file_google_cloud_visualinspection_v1beta1_common_proto_rawDesc = nil
224 file_google_cloud_visualinspection_v1beta1_common_proto_goTypes = nil
225 file_google_cloud_visualinspection_v1beta1_common_proto_depIdxs = nil
226 }