1// Copyright 2021 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.26.0
18// 	protoc        v3.12.2
19// source: google/cloud/notebooks/v1/instance_config.proto
20
21package notebooks
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29)
30
31const (
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// Notebook instance configurations that can be updated.
39type InstanceConfig struct {
40	state         protoimpl.MessageState
41	sizeCache     protoimpl.SizeCache
42	unknownFields protoimpl.UnknownFields
43
44	// Cron expression in UTC timezone, used to schedule instance auto upgrade.
45	// Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
46	NotebookUpgradeSchedule string `protobuf:"bytes,1,opt,name=notebook_upgrade_schedule,json=notebookUpgradeSchedule,proto3" json:"notebook_upgrade_schedule,omitempty"`
47	// Verifies core internal services are running. More info: go/notebooks-health
48	EnableHealthMonitoring bool `protobuf:"varint,2,opt,name=enable_health_monitoring,json=enableHealthMonitoring,proto3" json:"enable_health_monitoring,omitempty"`
49}
50
51func (x *InstanceConfig) Reset() {
52	*x = InstanceConfig{}
53	if protoimpl.UnsafeEnabled {
54		mi := &file_google_cloud_notebooks_v1_instance_config_proto_msgTypes[0]
55		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56		ms.StoreMessageInfo(mi)
57	}
58}
59
60func (x *InstanceConfig) String() string {
61	return protoimpl.X.MessageStringOf(x)
62}
63
64func (*InstanceConfig) ProtoMessage() {}
65
66func (x *InstanceConfig) ProtoReflect() protoreflect.Message {
67	mi := &file_google_cloud_notebooks_v1_instance_config_proto_msgTypes[0]
68	if protoimpl.UnsafeEnabled && x != nil {
69		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70		if ms.LoadMessageInfo() == nil {
71			ms.StoreMessageInfo(mi)
72		}
73		return ms
74	}
75	return mi.MessageOf(x)
76}
77
78// Deprecated: Use InstanceConfig.ProtoReflect.Descriptor instead.
79func (*InstanceConfig) Descriptor() ([]byte, []int) {
80	return file_google_cloud_notebooks_v1_instance_config_proto_rawDescGZIP(), []int{0}
81}
82
83func (x *InstanceConfig) GetNotebookUpgradeSchedule() string {
84	if x != nil {
85		return x.NotebookUpgradeSchedule
86	}
87	return ""
88}
89
90func (x *InstanceConfig) GetEnableHealthMonitoring() bool {
91	if x != nil {
92		return x.EnableHealthMonitoring
93	}
94	return false
95}
96
97var File_google_cloud_notebooks_v1_instance_config_proto protoreflect.FileDescriptor
98
99var file_google_cloud_notebooks_v1_instance_config_proto_rawDesc = []byte{
100	0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e,
101	0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x73, 0x74,
102	0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
103	0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
104	0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x86, 0x01, 0x0a,
105	0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
106	0x3a, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x70, 0x67, 0x72,
107	0x61, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
108	0x28, 0x09, 0x52, 0x17, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x67, 0x72,
109	0x61, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x65,
110	0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x6d, 0x6f, 0x6e,
111	0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65,
112	0x6e, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
113	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x42, 0xd1, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
114	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62,
115	0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
116	0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42,
117	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
118	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
119	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x6f, 0x74, 0x65,
120	0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f,
121	0x6b, 0x73, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
122	0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
123	0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x6f,
124	0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f,
125	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x6f, 0x74, 0x65,
126	0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
127	0x33,
128}
129
130var (
131	file_google_cloud_notebooks_v1_instance_config_proto_rawDescOnce sync.Once
132	file_google_cloud_notebooks_v1_instance_config_proto_rawDescData = file_google_cloud_notebooks_v1_instance_config_proto_rawDesc
133)
134
135func file_google_cloud_notebooks_v1_instance_config_proto_rawDescGZIP() []byte {
136	file_google_cloud_notebooks_v1_instance_config_proto_rawDescOnce.Do(func() {
137		file_google_cloud_notebooks_v1_instance_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_notebooks_v1_instance_config_proto_rawDescData)
138	})
139	return file_google_cloud_notebooks_v1_instance_config_proto_rawDescData
140}
141
142var file_google_cloud_notebooks_v1_instance_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
143var file_google_cloud_notebooks_v1_instance_config_proto_goTypes = []interface{}{
144	(*InstanceConfig)(nil), // 0: google.cloud.notebooks.v1.InstanceConfig
145}
146var file_google_cloud_notebooks_v1_instance_config_proto_depIdxs = []int32{
147	0, // [0:0] is the sub-list for method output_type
148	0, // [0:0] is the sub-list for method input_type
149	0, // [0:0] is the sub-list for extension type_name
150	0, // [0:0] is the sub-list for extension extendee
151	0, // [0:0] is the sub-list for field type_name
152}
153
154func init() { file_google_cloud_notebooks_v1_instance_config_proto_init() }
155func file_google_cloud_notebooks_v1_instance_config_proto_init() {
156	if File_google_cloud_notebooks_v1_instance_config_proto != nil {
157		return
158	}
159	if !protoimpl.UnsafeEnabled {
160		file_google_cloud_notebooks_v1_instance_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
161			switch v := v.(*InstanceConfig); i {
162			case 0:
163				return &v.state
164			case 1:
165				return &v.sizeCache
166			case 2:
167				return &v.unknownFields
168			default:
169				return nil
170			}
171		}
172	}
173	type x struct{}
174	out := protoimpl.TypeBuilder{
175		File: protoimpl.DescBuilder{
176			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
177			RawDescriptor: file_google_cloud_notebooks_v1_instance_config_proto_rawDesc,
178			NumEnums:      0,
179			NumMessages:   1,
180			NumExtensions: 0,
181			NumServices:   0,
182		},
183		GoTypes:           file_google_cloud_notebooks_v1_instance_config_proto_goTypes,
184		DependencyIndexes: file_google_cloud_notebooks_v1_instance_config_proto_depIdxs,
185		MessageInfos:      file_google_cloud_notebooks_v1_instance_config_proto_msgTypes,
186	}.Build()
187	File_google_cloud_notebooks_v1_instance_config_proto = out.File
188	file_google_cloud_notebooks_v1_instance_config_proto_rawDesc = nil
189	file_google_cloud_notebooks_v1_instance_config_proto_goTypes = nil
190	file_google_cloud_notebooks_v1_instance_config_proto_depIdxs = nil
191}
192