Debian Codegraph @

support/apiv2beta/supportpb/actor.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/support/v2beta/actor.proto
20
21 package supportpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
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 // An Actor represents an entity that performed an action. For example, an actor
39 // could be a user who posted a comment on a support case, a user who
40 // uploaded an attachment, or a service account that created a support case.
41 type Actor struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The name to display for the actor. If not provided, it is inferred from
47 // credentials supplied during case creation. When an email is provided, a
48 // display name must also be provided. This will be obfuscated if the user
49 // is a Google Support agent.
50 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
51 // The email address of the actor. If not provided, it is inferred from the
52 // credentials supplied during case creation. When a name is provided, an
53 // email must also be provided. If the user is a Google Support agent, this is
54 // obfuscated.
55 //
56 // This field is deprecated. Use `username` instead.
57 //
58 // Deprecated: Marked as deprecated in google/cloud/support/v2beta/actor.proto.
59 Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
60 // Output only. Whether the actor is a Google support actor.
61 GoogleSupport bool `protobuf:"varint,4,opt,name=google_support,json=googleSupport,proto3" json:"google_support,omitempty"`
62 // Output only. The username of the actor. It may look like an email or other
63 // format provided by the identity provider. If not provided, it is inferred
64 // from the credentials supplied. When a name is provided, a username must
65 // also be provided. If the user is a Google Support agent, this will not be
66 // set.
67 Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
68 }
69
70 func (x *Actor) Reset() {
71 *x = Actor{}
72 mi := &file_google_cloud_support_v2beta_actor_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76
77 func (x *Actor) String() string {
78 return protoimpl.X.MessageStringOf(x)
79 }
80
81 func (*Actor) ProtoMessage() {}
82
83 func (x *Actor) ProtoReflect() protoreflect.Message {
84 mi := &file_google_cloud_support_v2beta_actor_proto_msgTypes[0]
85 if x != nil {
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 if ms.LoadMessageInfo() == nil {
88 ms.StoreMessageInfo(mi)
89 }
90 return ms
91 }
92 return mi.MessageOf(x)
93 }
94
95 // Deprecated: Use Actor.ProtoReflect.Descriptor instead.
96 func (*Actor) Descriptor() ([]byte, []int) {
97 return file_google_cloud_support_v2beta_actor_proto_rawDescGZIP(), []int{0}
98 }
99
100 func (x *Actor) GetDisplayName() string {
101 if x != nil {
102 return x.DisplayName
103 }
104 return ""
105 }
106
107 // Deprecated: Marked as deprecated in google/cloud/support/v2beta/actor.proto.
108 func (x *Actor) GetEmail() string {
109 if x != nil {
110 return x.Email
111 }
112 return ""
113 }
114
115 func (x *Actor) GetGoogleSupport() bool {
116 if x != nil {
117 return x.GoogleSupport
118 }
119 return false
120 }
121
122 func (x *Actor) GetUsername() string {
123 if x != nil {
124 return x.Username
125 }
126 return ""
127 }
128
129 var File_google_cloud_support_v2beta_actor_proto protoreflect.FileDescriptor
130
131 var file_google_cloud_support_v2beta_actor_proto_rawDesc = []byte{
132 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
133 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63,
134 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
135 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e,
136 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
137 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
138 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x05, 0x41, 0x63, 0x74, 0x6f,
139 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
140 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
141 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20,
142 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2a,
143 0x0a, 0x0e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
144 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x67, 0x6f, 0x6f,
145 0x67, 0x6c, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73,
146 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
147 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xc7, 0x01, 0x0a, 0x1f,
148 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
149 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42,
150 0x0a, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63,
151 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
152 0x67, 0x6f, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32,
153 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0x3b, 0x73,
154 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
155 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e,
156 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
157 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5c, 0x56, 0x32,
158 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
159 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x3a, 0x56,
160 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
161 }
162
163 var (
164 file_google_cloud_support_v2beta_actor_proto_rawDescOnce sync.Once
165 file_google_cloud_support_v2beta_actor_proto_rawDescData = file_google_cloud_support_v2beta_actor_proto_rawDesc
166 )
167
168 func file_google_cloud_support_v2beta_actor_proto_rawDescGZIP() []byte {
169 file_google_cloud_support_v2beta_actor_proto_rawDescOnce.Do(func() {
170 file_google_cloud_support_v2beta_actor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_support_v2beta_actor_proto_rawDescData)
171 })
172 return file_google_cloud_support_v2beta_actor_proto_rawDescData
173 }
174
175 var file_google_cloud_support_v2beta_actor_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
176 var file_google_cloud_support_v2beta_actor_proto_goTypes = []any{
177 (*Actor)(nil), // 0: google.cloud.support.v2beta.Actor
178 }
179 var file_google_cloud_support_v2beta_actor_proto_depIdxs = []int32{
180 0, // [0:0] is the sub-list for method output_type
181 0, // [0:0] is the sub-list for method input_type
182 0, // [0:0] is the sub-list for extension type_name
183 0, // [0:0] is the sub-list for extension extendee
184 0, // [0:0] is the sub-list for field type_name
185 }
186
187 func init() { file_google_cloud_support_v2beta_actor_proto_init() }
188 func file_google_cloud_support_v2beta_actor_proto_init() {
189 if File_google_cloud_support_v2beta_actor_proto != nil {
190 return
191 }
192 type x struct{}
193 out := protoimpl.TypeBuilder{
194 File: protoimpl.DescBuilder{
195 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
196 RawDescriptor: file_google_cloud_support_v2beta_actor_proto_rawDesc,
197 NumEnums: 0,
198 NumMessages: 1,
199 NumExtensions: 0,
200 NumServices: 0,
201 },
202 GoTypes: file_google_cloud_support_v2beta_actor_proto_goTypes,
203 DependencyIndexes: file_google_cloud_support_v2beta_actor_proto_depIdxs,
204 MessageInfos: file_google_cloud_support_v2beta_actor_proto_msgTypes,
205 }.Build()
206 File_google_cloud_support_v2beta_actor_proto = out.File
207 file_google_cloud_support_v2beta_actor_proto_rawDesc = nil
208 file_google_cloud_support_v2beta_actor_proto_goTypes = nil
209 file_google_cloud_support_v2beta_actor_proto_depIdxs = nil
210 }