Debian Codegraph @

automl/apiv1beta1/automlpb/ranges.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/ranges.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 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // A range between two double numbers.
38 type DoubleRange struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Start of the range, inclusive.
44 Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"`
45 // End of the range, exclusive.
46 End float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"`
47 }
48
49 func (x *DoubleRange) Reset() {
50 *x = DoubleRange{}
51 mi := &file_google_cloud_automl_v1beta1_ranges_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55
56 func (x *DoubleRange) String() string {
57 return protoimpl.X.MessageStringOf(x)
58 }
59
60 func (*DoubleRange) ProtoMessage() {}
61
62 func (x *DoubleRange) ProtoReflect() protoreflect.Message {
63 mi := &file_google_cloud_automl_v1beta1_ranges_proto_msgTypes[0]
64 if x != nil {
65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66 if ms.LoadMessageInfo() == nil {
67 ms.StoreMessageInfo(mi)
68 }
69 return ms
70 }
71 return mi.MessageOf(x)
72 }
73
74 // Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.
75 func (*DoubleRange) Descriptor() ([]byte, []int) {
76 return file_google_cloud_automl_v1beta1_ranges_proto_rawDescGZIP(), []int{0}
77 }
78
79 func (x *DoubleRange) GetStart() float64 {
80 if x != nil {
81 return x.Start
82 }
83 return 0
84 }
85
86 func (x *DoubleRange) GetEnd() float64 {
87 if x != nil {
88 return x.End
89 }
90 return 0
91 }
92
93 var File_google_cloud_automl_v1beta1_ranges_proto protoreflect.FileDescriptor
94
95 var file_google_cloud_automl_v1beta1_ranges_proto_rawDesc = []byte{
96 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
97 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x61,
98 0x6e, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
99 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
100 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x35, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c,
101 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
102 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03,
103 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x42, 0xa8,
104 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
105 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
106 0x61, 0x31, 0x42, 0x0b, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
107 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
108 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70,
109 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70,
110 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f,
111 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c,
112 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
113 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c,
114 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
115 0x33,
116 }
117
118 var (
119 file_google_cloud_automl_v1beta1_ranges_proto_rawDescOnce sync.Once
120 file_google_cloud_automl_v1beta1_ranges_proto_rawDescData = file_google_cloud_automl_v1beta1_ranges_proto_rawDesc
121 )
122
123 func file_google_cloud_automl_v1beta1_ranges_proto_rawDescGZIP() []byte {
124 file_google_cloud_automl_v1beta1_ranges_proto_rawDescOnce.Do(func() {
125 file_google_cloud_automl_v1beta1_ranges_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_ranges_proto_rawDescData)
126 })
127 return file_google_cloud_automl_v1beta1_ranges_proto_rawDescData
128 }
129
130 var file_google_cloud_automl_v1beta1_ranges_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
131 var file_google_cloud_automl_v1beta1_ranges_proto_goTypes = []any{
132 (*DoubleRange)(nil), // 0: google.cloud.automl.v1beta1.DoubleRange
133 }
134 var file_google_cloud_automl_v1beta1_ranges_proto_depIdxs = []int32{
135 0, // [0:0] is the sub-list for method output_type
136 0, // [0:0] is the sub-list for method input_type
137 0, // [0:0] is the sub-list for extension type_name
138 0, // [0:0] is the sub-list for extension extendee
139 0, // [0:0] is the sub-list for field type_name
140 }
141
142 func init() { file_google_cloud_automl_v1beta1_ranges_proto_init() }
143 func file_google_cloud_automl_v1beta1_ranges_proto_init() {
144 if File_google_cloud_automl_v1beta1_ranges_proto != nil {
145 return
146 }
147 type x struct{}
148 out := protoimpl.TypeBuilder{
149 File: protoimpl.DescBuilder{
150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
151 RawDescriptor: file_google_cloud_automl_v1beta1_ranges_proto_rawDesc,
152 NumEnums: 0,
153 NumMessages: 1,
154 NumExtensions: 0,
155 NumServices: 0,
156 },
157 GoTypes: file_google_cloud_automl_v1beta1_ranges_proto_goTypes,
158 DependencyIndexes: file_google_cloud_automl_v1beta1_ranges_proto_depIdxs,
159 MessageInfos: file_google_cloud_automl_v1beta1_ranges_proto_msgTypes,
160 }.Build()
161 File_google_cloud_automl_v1beta1_ranges_proto = out.File
162 file_google_cloud_automl_v1beta1_ranges_proto_rawDesc = nil
163 file_google_cloud_automl_v1beta1_ranges_proto_goTypes = nil
164 file_google_cloud_automl_v1beta1_ranges_proto_depIdxs = nil
165 }