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/actions/sdk/v2/release_channel.proto
20
21package sdk
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// Definition of release channel resource.
40type ReleaseChannel struct {
41	state         protoimpl.MessageState
42	sizeCache     protoimpl.SizeCache
43	unknownFields protoimpl.UnknownFields
44
45	// The unique name of the release channel in the following format.
46	// `projects/{project}/releaseChannels/{release_channel}`.
47	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48	// Version currently deployed to this release channel in the following format:
49	// `projects/{project}/versions/{version}`.
50	CurrentVersion string `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
51	// Version to be deployed to this release channel in the following format:
52	// `projects/{project}/versions/{version}`.
53	PendingVersion string `protobuf:"bytes,3,opt,name=pending_version,json=pendingVersion,proto3" json:"pending_version,omitempty"`
54}
55
56func (x *ReleaseChannel) Reset() {
57	*x = ReleaseChannel{}
58	if protoimpl.UnsafeEnabled {
59		mi := &file_google_actions_sdk_v2_release_channel_proto_msgTypes[0]
60		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61		ms.StoreMessageInfo(mi)
62	}
63}
64
65func (x *ReleaseChannel) String() string {
66	return protoimpl.X.MessageStringOf(x)
67}
68
69func (*ReleaseChannel) ProtoMessage() {}
70
71func (x *ReleaseChannel) ProtoReflect() protoreflect.Message {
72	mi := &file_google_actions_sdk_v2_release_channel_proto_msgTypes[0]
73	if protoimpl.UnsafeEnabled && x != nil {
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		if ms.LoadMessageInfo() == nil {
76			ms.StoreMessageInfo(mi)
77		}
78		return ms
79	}
80	return mi.MessageOf(x)
81}
82
83// Deprecated: Use ReleaseChannel.ProtoReflect.Descriptor instead.
84func (*ReleaseChannel) Descriptor() ([]byte, []int) {
85	return file_google_actions_sdk_v2_release_channel_proto_rawDescGZIP(), []int{0}
86}
87
88func (x *ReleaseChannel) GetName() string {
89	if x != nil {
90		return x.Name
91	}
92	return ""
93}
94
95func (x *ReleaseChannel) GetCurrentVersion() string {
96	if x != nil {
97		return x.CurrentVersion
98	}
99	return ""
100}
101
102func (x *ReleaseChannel) GetPendingVersion() string {
103	if x != nil {
104		return x.PendingVersion
105	}
106	return ""
107}
108
109var File_google_actions_sdk_v2_release_channel_proto protoreflect.FileDescriptor
110
111var file_google_actions_sdk_v2_release_channel_proto_rawDesc = []byte{
112	0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
113	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f,
114	0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67,
115	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
116	0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
117	0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
118	0xd8, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
119	0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
120	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
121	0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
122	0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
123	0x27, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
124	0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
125	0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x60, 0xea, 0x41, 0x5d, 0x0a, 0x25, 0x61,
126	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
127	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61,
128	0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x34, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
129	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
130	0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
131	0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x42, 0x6c, 0x0a, 0x19, 0x63, 0x6f,
132	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
133	0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
134	0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38,
135	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
136	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
137	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64,
138	0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
139}
140
141var (
142	file_google_actions_sdk_v2_release_channel_proto_rawDescOnce sync.Once
143	file_google_actions_sdk_v2_release_channel_proto_rawDescData = file_google_actions_sdk_v2_release_channel_proto_rawDesc
144)
145
146func file_google_actions_sdk_v2_release_channel_proto_rawDescGZIP() []byte {
147	file_google_actions_sdk_v2_release_channel_proto_rawDescOnce.Do(func() {
148		file_google_actions_sdk_v2_release_channel_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_release_channel_proto_rawDescData)
149	})
150	return file_google_actions_sdk_v2_release_channel_proto_rawDescData
151}
152
153var file_google_actions_sdk_v2_release_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
154var file_google_actions_sdk_v2_release_channel_proto_goTypes = []interface{}{
155	(*ReleaseChannel)(nil), // 0: google.actions.sdk.v2.ReleaseChannel
156}
157var file_google_actions_sdk_v2_release_channel_proto_depIdxs = []int32{
158	0, // [0:0] is the sub-list for method output_type
159	0, // [0:0] is the sub-list for method input_type
160	0, // [0:0] is the sub-list for extension type_name
161	0, // [0:0] is the sub-list for extension extendee
162	0, // [0:0] is the sub-list for field type_name
163}
164
165func init() { file_google_actions_sdk_v2_release_channel_proto_init() }
166func file_google_actions_sdk_v2_release_channel_proto_init() {
167	if File_google_actions_sdk_v2_release_channel_proto != nil {
168		return
169	}
170	if !protoimpl.UnsafeEnabled {
171		file_google_actions_sdk_v2_release_channel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
172			switch v := v.(*ReleaseChannel); i {
173			case 0:
174				return &v.state
175			case 1:
176				return &v.sizeCache
177			case 2:
178				return &v.unknownFields
179			default:
180				return nil
181			}
182		}
183	}
184	type x struct{}
185	out := protoimpl.TypeBuilder{
186		File: protoimpl.DescBuilder{
187			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
188			RawDescriptor: file_google_actions_sdk_v2_release_channel_proto_rawDesc,
189			NumEnums:      0,
190			NumMessages:   1,
191			NumExtensions: 0,
192			NumServices:   0,
193		},
194		GoTypes:           file_google_actions_sdk_v2_release_channel_proto_goTypes,
195		DependencyIndexes: file_google_actions_sdk_v2_release_channel_proto_depIdxs,
196		MessageInfos:      file_google_actions_sdk_v2_release_channel_proto_msgTypes,
197	}.Build()
198	File_google_actions_sdk_v2_release_channel_proto = out.File
199	file_google_actions_sdk_v2_release_channel_proto_rawDesc = nil
200	file_google_actions_sdk_v2_release_channel_proto_goTypes = nil
201	file_google_actions_sdk_v2_release_channel_proto_depIdxs = nil
202}
203