Debian Codegraph @

aiplatform/apiv1/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/v1/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_v1_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_v1_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_v1_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_v1_notebook_idle_shutdown_config_proto protoreflect.FileDescriptor
99
100 var file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDesc = []byte{
101 0x0a, 0x3e, 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, 0x2f, 0x6e, 0x6f, 0x74,
103 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64,
104 0x6f, 0x77, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
105 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
106 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
107 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
108 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67,
109 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64,
110 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x01,
111 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x49, 0x64, 0x6c, 0x65, 0x53, 0x68,
112 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x41, 0x0a, 0x0c,
113 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01,
114 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
115 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,
116 0x41, 0x02, 0x52, 0x0b, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12,
117 0x34, 0x0a, 0x16, 0x69, 0x64, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e,
118 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
119 0x14, 0x69, 0x64, 0x6c, 0x65, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x44, 0x69, 0x73,
120 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0xdd, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
121 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61,
122 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x1f, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f,
123 0x6f, 0x6b, 0x49, 0x64, 0x6c, 0x65, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x43, 0x6f,
124 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f,
125 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
126 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76,
127 0x31, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61,
128 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f,
129 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61,
130 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
131 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
132 0x72, 0x6d, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
133 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
134 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
135 }
136
137 var (
138 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescOnce sync.Once
139 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescData = file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDesc
140 )
141
142 func file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescGZIP() []byte {
143 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescOnce.Do(func() {
144 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescData)
145 })
146 return file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDescData
147 }
148
149 var file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
150 var file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_goTypes = []any{
151 (*NotebookIdleShutdownConfig)(nil), // 0: google.cloud.aiplatform.v1.NotebookIdleShutdownConfig
152 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
153 }
154 var file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_depIdxs = []int32{
155 1, // 0: google.cloud.aiplatform.v1.NotebookIdleShutdownConfig.idle_timeout:type_name -> google.protobuf.Duration
156 1, // [1:1] is the sub-list for method output_type
157 1, // [1:1] is the sub-list for method input_type
158 1, // [1:1] is the sub-list for extension type_name
159 1, // [1:1] is the sub-list for extension extendee
160 0, // [0:1] is the sub-list for field type_name
161 }
162
163 func init() { file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_init() }
164 func file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_init() {
165 if File_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto != nil {
166 return
167 }
168 type x struct{}
169 out := protoimpl.TypeBuilder{
170 File: protoimpl.DescBuilder{
171 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
172 RawDescriptor: file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDesc,
173 NumEnums: 0,
174 NumMessages: 1,
175 NumExtensions: 0,
176 NumServices: 0,
177 },
178 GoTypes: file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_goTypes,
179 DependencyIndexes: file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_depIdxs,
180 MessageInfos: file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_msgTypes,
181 }.Build()
182 File_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto = out.File
183 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_rawDesc = nil
184 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_goTypes = nil
185 file_google_cloud_aiplatform_v1_notebook_idle_shutdown_config_proto_depIdxs = nil
186 }