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