Debian Codegraph @

aiplatform/apiv1beta1/aiplatformpb/notebook_idle_shutdown_config.pb.go

raw symbols SCIP
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/aiplatform/v1beta1/notebook_idle_shutdown_config.proto
20
21 package aiplatformpb
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 durationpb "google.golang.org/protobuf/types/known/durationpb"
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 // The idle shutdown configuration of NotebookRuntimeTemplate, which contains
40 // the idle_timeout as required field.
41 type NotebookIdleShutdownConfig struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // Required. Duration is accurate to the second. In Notebook, Idle Timeout is
47 // accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
48 // * 60.
49 IdleTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
50 // Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
51 IdleShutdownDisabled bool `protobuf:"varint,2,opt,name=idle_shutdown_disabled,json=idleShutdownDisabled,proto3" json:"idle_shutdown_disabled,omitempty"`
52 }
53
54 func (x *NotebookIdleShutdownConfig) Reset() {
55 *x = NotebookIdleShutdownConfig{}
56 mi := &file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60
61 func (x *NotebookIdleShutdownConfig) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*NotebookIdleShutdownConfig) ProtoMessage() {}
66
67 func (x *NotebookIdleShutdownConfig) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_msgTypes[0]
69 if x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use NotebookIdleShutdownConfig.ProtoReflect.Descriptor instead.
80 func (*NotebookIdleShutdownConfig) Descriptor() ([]byte, []int) {
81 return file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *NotebookIdleShutdownConfig) GetIdleTimeout() *durationpb.Duration {
85 if x != nil {
86 return x.IdleTimeout
87 }
88 return nil
89 }
90
91 func (x *NotebookIdleShutdownConfig) GetIdleShutdownDisabled() bool {
92 if x != nil {
93 return x.IdleShutdownDisabled
94 }
95 return false
96 }
97
98 var File_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto protoreflect.FileDescriptor
99
100 var file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDesc = []byte{
101 0x0a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
102 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
103 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x5f,
104 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
105 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
106 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76,
107 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
108 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
109 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
110 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
111 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x65,
112 0x62, 0x6f, 0x6f, 0x6b, 0x49, 0x64, 0x6c, 0x65, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e,
113 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x41, 0x0a, 0x0c, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74,
114 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
115 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
116 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x64,
117 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x64, 0x6c,
118 0x65, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62,
119 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x64, 0x6c, 0x65, 0x53,
120 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42,
121 0xf6, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
122 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
123 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x1f, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f,
124 0x6b, 0x49, 0x64, 0x6c, 0x65, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6e,
125 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75,
126 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
127 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
128 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
129 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa,
130 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41,
131 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61,
132 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
133 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65,
134 0x74, 0x61, 0x31, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
135 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a,
136 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
137 }
138
139 var (
140 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescOnce sync.Once
141 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDesc
142 )
143
144 func file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescGZIP() []byte {
145 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescOnce.Do(func() {
146 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescData)
147 })
148 return file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDescData
149 }
150
151 var file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
152 var file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_goTypes = []any{
153 (*NotebookIdleShutdownConfig)(nil), // 0: google.cloud.aiplatform.v1beta1.NotebookIdleShutdownConfig
154 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
155 }
156 var file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_depIdxs = []int32{
157 1, // 0: google.cloud.aiplatform.v1beta1.NotebookIdleShutdownConfig.idle_timeout:type_name -> google.protobuf.Duration
158 1, // [1:1] is the sub-list for method output_type
159 1, // [1:1] is the sub-list for method input_type
160 1, // [1:1] is the sub-list for extension type_name
161 1, // [1:1] is the sub-list for extension extendee
162 0, // [0:1] is the sub-list for field type_name
163 }
164
165 func init() { file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_init() }
166 func file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_init() {
167 if File_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto != nil {
168 return
169 }
170 type x struct{}
171 out := protoimpl.TypeBuilder{
172 File: protoimpl.DescBuilder{
173 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
174 RawDescriptor: file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDesc,
175 NumEnums: 0,
176 NumMessages: 1,
177 NumExtensions: 0,
178 NumServices: 0,
179 },
180 GoTypes: file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_goTypes,
181 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_depIdxs,
182 MessageInfos: file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_msgTypes,
183 }.Build()
184 File_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto = out.File
185 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_rawDesc = nil
186 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_goTypes = nil
187 file_google_cloud_aiplatform_v1beta1_notebook_idle_shutdown_config_proto_depIdxs = nil
188 }