Debian Codegraph @

automl/apiv1beta1/automlpb/temporal.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/automl/v1beta1/temporal.proto
20
21 package automlpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 durationpb "google.golang.org/protobuf/types/known/durationpb"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // A time period inside of an example that has a time dimension (e.g. video).
39 type TimeSegment struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Start of the time segment (inclusive), represented as the duration since
45 // the example start.
46 StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
47 // End of the time segment (exclusive), represented as the duration since the
48 // example start.
49 EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
50 }
51
52 func (x *TimeSegment) Reset() {
53 *x = TimeSegment{}
54 mi := &file_google_cloud_automl_v1beta1_temporal_proto_msgTypes[0]
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 ms.StoreMessageInfo(mi)
57 }
58
59 func (x *TimeSegment) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*TimeSegment) ProtoMessage() {}
64
65 func (x *TimeSegment) ProtoReflect() protoreflect.Message {
66 mi := &file_google_cloud_automl_v1beta1_temporal_proto_msgTypes[0]
67 if x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77 // Deprecated: Use TimeSegment.ProtoReflect.Descriptor instead.
78 func (*TimeSegment) Descriptor() ([]byte, []int) {
79 return file_google_cloud_automl_v1beta1_temporal_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration {
83 if x != nil {
84 return x.StartTimeOffset
85 }
86 return nil
87 }
88
89 func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration {
90 if x != nil {
91 return x.EndTimeOffset
92 }
93 return nil
94 }
95
96 var File_google_cloud_automl_v1beta1_temporal_proto protoreflect.FileDescriptor
97
98 var file_google_cloud_automl_v1beta1_temporal_proto_rawDesc = []byte{
99 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
100 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65,
101 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f,
102 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d,
103 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
104 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74,
105 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x54, 0x69,
106 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x11, 0x73, 0x74, 0x61,
107 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01,
108 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
109 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
110 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
111 0x12, 0x41, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66,
112 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
113 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,
114 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66,
115 0x73, 0x65, 0x74, 0x42, 0x9b, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
116 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
117 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64,
118 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61,
119 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
120 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
121 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
122 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
123 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
124 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
125 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
126 }
127
128 var (
129 file_google_cloud_automl_v1beta1_temporal_proto_rawDescOnce sync.Once
130 file_google_cloud_automl_v1beta1_temporal_proto_rawDescData = file_google_cloud_automl_v1beta1_temporal_proto_rawDesc
131 )
132
133 func file_google_cloud_automl_v1beta1_temporal_proto_rawDescGZIP() []byte {
134 file_google_cloud_automl_v1beta1_temporal_proto_rawDescOnce.Do(func() {
135 file_google_cloud_automl_v1beta1_temporal_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_temporal_proto_rawDescData)
136 })
137 return file_google_cloud_automl_v1beta1_temporal_proto_rawDescData
138 }
139
140 var file_google_cloud_automl_v1beta1_temporal_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
141 var file_google_cloud_automl_v1beta1_temporal_proto_goTypes = []any{
142 (*TimeSegment)(nil), // 0: google.cloud.automl.v1beta1.TimeSegment
143 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
144 }
145 var file_google_cloud_automl_v1beta1_temporal_proto_depIdxs = []int32{
146 1, // 0: google.cloud.automl.v1beta1.TimeSegment.start_time_offset:type_name -> google.protobuf.Duration
147 1, // 1: google.cloud.automl.v1beta1.TimeSegment.end_time_offset:type_name -> google.protobuf.Duration
148 2, // [2:2] is the sub-list for method output_type
149 2, // [2:2] is the sub-list for method input_type
150 2, // [2:2] is the sub-list for extension type_name
151 2, // [2:2] is the sub-list for extension extendee
152 0, // [0:2] is the sub-list for field type_name
153 }
154
155 func init() { file_google_cloud_automl_v1beta1_temporal_proto_init() }
156 func file_google_cloud_automl_v1beta1_temporal_proto_init() {
157 if File_google_cloud_automl_v1beta1_temporal_proto != nil {
158 return
159 }
160 type x struct{}
161 out := protoimpl.TypeBuilder{
162 File: protoimpl.DescBuilder{
163 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
164 RawDescriptor: file_google_cloud_automl_v1beta1_temporal_proto_rawDesc,
165 NumEnums: 0,
166 NumMessages: 1,
167 NumExtensions: 0,
168 NumServices: 0,
169 },
170 GoTypes: file_google_cloud_automl_v1beta1_temporal_proto_goTypes,
171 DependencyIndexes: file_google_cloud_automl_v1beta1_temporal_proto_depIdxs,
172 MessageInfos: file_google_cloud_automl_v1beta1_temporal_proto_msgTypes,
173 }.Build()
174 File_google_cloud_automl_v1beta1_temporal_proto = out.File
175 file_google_cloud_automl_v1beta1_temporal_proto_rawDesc = nil
176 file_google_cloud_automl_v1beta1_temporal_proto_goTypes = nil
177 file_google_cloud_automl_v1beta1_temporal_proto_depIdxs = nil
178 }