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.25.0-devel
18// 	protoc        v3.13.0
19// source: google/cloud/aiplatform/v1beta1/env_var.proto
20
21package aiplatform
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// Represents an environment variable present in a Container or Python Module.
45type EnvVar struct {
46	state         protoimpl.MessageState
47	sizeCache     protoimpl.SizeCache
48	unknownFields protoimpl.UnknownFields
49
50	// Required. Name of the environment variable. Must be a valid C identifier.
51	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
52	// Required. Variables that reference a $(VAR_NAME) are expanded
53	// using the previous defined environment variables in the container and
54	// any service environment variables. If a variable cannot be resolved,
55	// the reference in the input string will be unchanged. The $(VAR_NAME)
56	// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
57	// references will never be expanded, regardless of whether the variable
58	// exists or not.
59	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
60}
61
62func (x *EnvVar) Reset() {
63	*x = EnvVar{}
64	if protoimpl.UnsafeEnabled {
65		mi := &file_google_cloud_aiplatform_v1beta1_env_var_proto_msgTypes[0]
66		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67		ms.StoreMessageInfo(mi)
68	}
69}
70
71func (x *EnvVar) String() string {
72	return protoimpl.X.MessageStringOf(x)
73}
74
75func (*EnvVar) ProtoMessage() {}
76
77func (x *EnvVar) ProtoReflect() protoreflect.Message {
78	mi := &file_google_cloud_aiplatform_v1beta1_env_var_proto_msgTypes[0]
79	if protoimpl.UnsafeEnabled && x != nil {
80		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81		if ms.LoadMessageInfo() == nil {
82			ms.StoreMessageInfo(mi)
83		}
84		return ms
85	}
86	return mi.MessageOf(x)
87}
88
89// Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.
90func (*EnvVar) Descriptor() ([]byte, []int) {
91	return file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescGZIP(), []int{0}
92}
93
94func (x *EnvVar) GetName() string {
95	if x != nil {
96		return x.Name
97	}
98	return ""
99}
100
101func (x *EnvVar) GetValue() string {
102	if x != nil {
103		return x.Value
104	}
105	return ""
106}
107
108var File_google_cloud_aiplatform_v1beta1_env_var_proto protoreflect.FileDescriptor
109
110var file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDesc = []byte{
111	0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
112	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
113	0x31, 0x2f, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
114	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69,
115	0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
116	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
117	0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
118	0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
119	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
120	0x3c, 0x0a, 0x06, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
121	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61,
122	0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
123	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x7f, 0x0a,
124	0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
125	0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62,
126	0x65, 0x74, 0x61, 0x31, 0x42, 0x0b, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x74,
127	0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
128	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
129	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
130	0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65,
131	0x74, 0x61, 0x31, 0x3b, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x62, 0x06,
132	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
133}
134
135var (
136	file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescOnce sync.Once
137	file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDesc
138)
139
140func file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescGZIP() []byte {
141	file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescOnce.Do(func() {
142		file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescData)
143	})
144	return file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDescData
145}
146
147var file_google_cloud_aiplatform_v1beta1_env_var_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148var file_google_cloud_aiplatform_v1beta1_env_var_proto_goTypes = []interface{}{
149	(*EnvVar)(nil), // 0: google.cloud.aiplatform.v1beta1.EnvVar
150}
151var file_google_cloud_aiplatform_v1beta1_env_var_proto_depIdxs = []int32{
152	0, // [0:0] is the sub-list for method output_type
153	0, // [0:0] is the sub-list for method input_type
154	0, // [0:0] is the sub-list for extension type_name
155	0, // [0:0] is the sub-list for extension extendee
156	0, // [0:0] is the sub-list for field type_name
157}
158
159func init() { file_google_cloud_aiplatform_v1beta1_env_var_proto_init() }
160func file_google_cloud_aiplatform_v1beta1_env_var_proto_init() {
161	if File_google_cloud_aiplatform_v1beta1_env_var_proto != nil {
162		return
163	}
164	if !protoimpl.UnsafeEnabled {
165		file_google_cloud_aiplatform_v1beta1_env_var_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
166			switch v := v.(*EnvVar); i {
167			case 0:
168				return &v.state
169			case 1:
170				return &v.sizeCache
171			case 2:
172				return &v.unknownFields
173			default:
174				return nil
175			}
176		}
177	}
178	type x struct{}
179	out := protoimpl.TypeBuilder{
180		File: protoimpl.DescBuilder{
181			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
182			RawDescriptor: file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDesc,
183			NumEnums:      0,
184			NumMessages:   1,
185			NumExtensions: 0,
186			NumServices:   0,
187		},
188		GoTypes:           file_google_cloud_aiplatform_v1beta1_env_var_proto_goTypes,
189		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_env_var_proto_depIdxs,
190		MessageInfos:      file_google_cloud_aiplatform_v1beta1_env_var_proto_msgTypes,
191	}.Build()
192	File_google_cloud_aiplatform_v1beta1_env_var_proto = out.File
193	file_google_cloud_aiplatform_v1beta1_env_var_proto_rawDesc = nil
194	file_google_cloud_aiplatform_v1beta1_env_var_proto_goTypes = nil
195	file_google_cloud_aiplatform_v1beta1_env_var_proto_depIdxs = nil
196}
197