1// Copyright 2020 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/dataproc/v1beta2/shared.proto
20
21package dataproc
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	_ "google.golang.org/genproto/googleapis/api/annotations"
28	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30)
31
32const (
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// Cluster components that can be activated.
40type Component int32
41
42const (
43	// Unspecified component. Specifying this will cause Cluster creation to fail.
44	Component_COMPONENT_UNSPECIFIED Component = 0
45	// The Anaconda python distribution.
46	Component_ANACONDA Component = 5
47	// The Druid query engine.
48	Component_DRUID Component = 9
49	// HBase.
50	Component_HBASE Component = 11
51	// The Hive Web HCatalog (the REST service for accessing HCatalog).
52	Component_HIVE_WEBHCAT Component = 3
53	// The Jupyter Notebook.
54	Component_JUPYTER Component = 1
55	// The Kerberos security feature.
56	Component_KERBEROS Component = 7
57	// The Presto query engine.
58	Component_PRESTO Component = 6
59	// The Ranger service.
60	Component_RANGER Component = 12
61	// The Solr service.
62	Component_SOLR Component = 10
63	// The Zeppelin notebook.
64	Component_ZEPPELIN Component = 4
65	// The Zookeeper service.
66	Component_ZOOKEEPER Component = 8
67)
68
69// Enum value maps for Component.
70var (
71	Component_name = map[int32]string{
72		0:  "COMPONENT_UNSPECIFIED",
73		5:  "ANACONDA",
74		9:  "DRUID",
75		11: "HBASE",
76		3:  "HIVE_WEBHCAT",
77		1:  "JUPYTER",
78		7:  "KERBEROS",
79		6:  "PRESTO",
80		12: "RANGER",
81		10: "SOLR",
82		4:  "ZEPPELIN",
83		8:  "ZOOKEEPER",
84	}
85	Component_value = map[string]int32{
86		"COMPONENT_UNSPECIFIED": 0,
87		"ANACONDA":              5,
88		"DRUID":                 9,
89		"HBASE":                 11,
90		"HIVE_WEBHCAT":          3,
91		"JUPYTER":               1,
92		"KERBEROS":              7,
93		"PRESTO":                6,
94		"RANGER":                12,
95		"SOLR":                  10,
96		"ZEPPELIN":              4,
97		"ZOOKEEPER":             8,
98	}
99)
100
101func (x Component) Enum() *Component {
102	p := new(Component)
103	*p = x
104	return p
105}
106
107func (x Component) String() string {
108	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
109}
110
111func (Component) Descriptor() protoreflect.EnumDescriptor {
112	return file_google_cloud_dataproc_v1beta2_shared_proto_enumTypes[0].Descriptor()
113}
114
115func (Component) Type() protoreflect.EnumType {
116	return &file_google_cloud_dataproc_v1beta2_shared_proto_enumTypes[0]
117}
118
119func (x Component) Number() protoreflect.EnumNumber {
120	return protoreflect.EnumNumber(x)
121}
122
123// Deprecated: Use Component.Descriptor instead.
124func (Component) EnumDescriptor() ([]byte, []int) {
125	return file_google_cloud_dataproc_v1beta2_shared_proto_rawDescGZIP(), []int{0}
126}
127
128var File_google_cloud_dataproc_v1beta2_shared_proto protoreflect.FileDescriptor
129
130var file_google_cloud_dataproc_v1beta2_shared_proto_rawDesc = []byte{
131	0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
132	0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
133	0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f,
134	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70,
135	0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
136	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
137	0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0xb6, 0x01, 0x0a, 0x09, 0x43, 0x6f,
138	0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x4f,
139	0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
140	0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x4e, 0x41, 0x43, 0x4f, 0x4e, 0x44, 0x41, 0x10, 0x05,
141	0x12, 0x09, 0x0a, 0x05, 0x44, 0x52, 0x55, 0x49, 0x44, 0x10, 0x09, 0x12, 0x09, 0x0a, 0x05, 0x48,
142	0x42, 0x41, 0x53, 0x45, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x48, 0x49, 0x56, 0x45, 0x5f, 0x57,
143	0x45, 0x42, 0x48, 0x43, 0x41, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x55, 0x50, 0x59,
144	0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4b, 0x45, 0x52, 0x42, 0x45, 0x52, 0x4f,
145	0x53, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x10, 0x06, 0x12,
146	0x0a, 0x0a, 0x06, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x52, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x53,
147	0x4f, 0x4c, 0x52, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x5a, 0x45, 0x50, 0x50, 0x45, 0x4c, 0x49,
148	0x4e, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x5a, 0x4f, 0x4f, 0x4b, 0x45, 0x45, 0x50, 0x45, 0x52,
149	0x10, 0x08, 0x42, 0x79, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
150	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e,
151	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x50,
152	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
153	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
154	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
155	0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62,
156	0x65, 0x74, 0x61, 0x32, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x62, 0x06, 0x70,
157	0x72, 0x6f, 0x74, 0x6f, 0x33,
158}
159
160var (
161	file_google_cloud_dataproc_v1beta2_shared_proto_rawDescOnce sync.Once
162	file_google_cloud_dataproc_v1beta2_shared_proto_rawDescData = file_google_cloud_dataproc_v1beta2_shared_proto_rawDesc
163)
164
165func file_google_cloud_dataproc_v1beta2_shared_proto_rawDescGZIP() []byte {
166	file_google_cloud_dataproc_v1beta2_shared_proto_rawDescOnce.Do(func() {
167		file_google_cloud_dataproc_v1beta2_shared_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dataproc_v1beta2_shared_proto_rawDescData)
168	})
169	return file_google_cloud_dataproc_v1beta2_shared_proto_rawDescData
170}
171
172var file_google_cloud_dataproc_v1beta2_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
173var file_google_cloud_dataproc_v1beta2_shared_proto_goTypes = []interface{}{
174	(Component)(0), // 0: google.cloud.dataproc.v1beta2.Component
175}
176var file_google_cloud_dataproc_v1beta2_shared_proto_depIdxs = []int32{
177	0, // [0:0] is the sub-list for method output_type
178	0, // [0:0] is the sub-list for method input_type
179	0, // [0:0] is the sub-list for extension type_name
180	0, // [0:0] is the sub-list for extension extendee
181	0, // [0:0] is the sub-list for field type_name
182}
183
184func init() { file_google_cloud_dataproc_v1beta2_shared_proto_init() }
185func file_google_cloud_dataproc_v1beta2_shared_proto_init() {
186	if File_google_cloud_dataproc_v1beta2_shared_proto != nil {
187		return
188	}
189	type x struct{}
190	out := protoimpl.TypeBuilder{
191		File: protoimpl.DescBuilder{
192			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
193			RawDescriptor: file_google_cloud_dataproc_v1beta2_shared_proto_rawDesc,
194			NumEnums:      1,
195			NumMessages:   0,
196			NumExtensions: 0,
197			NumServices:   0,
198		},
199		GoTypes:           file_google_cloud_dataproc_v1beta2_shared_proto_goTypes,
200		DependencyIndexes: file_google_cloud_dataproc_v1beta2_shared_proto_depIdxs,
201		EnumInfos:         file_google_cloud_dataproc_v1beta2_shared_proto_enumTypes,
202	}.Build()
203	File_google_cloud_dataproc_v1beta2_shared_proto = out.File
204	file_google_cloud_dataproc_v1beta2_shared_proto_rawDesc = nil
205	file_google_cloud_dataproc_v1beta2_shared_proto_goTypes = nil
206	file_google_cloud_dataproc_v1beta2_shared_proto_depIdxs = nil
207}
208