Debian Codegraph @

support/apiv2beta/supportpb/email_message.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/email_message.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
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 // An email associated with a support case.
40 type EmailMessage struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Identifier. Resource name for the email message.
46 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
47 // Output only. Time when this email message object was created.
48 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
49 // Output only. The user or Google Support agent that created this email
50 // message. This is inferred from the headers on the email message.
51 Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
52 // Output only. Subject of the email.
53 Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
54 // Output only. Email addresses the email was sent to.
55 RecipientEmailAddresses []string `protobuf:"bytes,5,rep,name=recipient_email_addresses,json=recipientEmailAddresses,proto3" json:"recipient_email_addresses,omitempty"`
56 // Output only. Email addresses CCed on the email.
57 CcEmailAddresses []string `protobuf:"bytes,6,rep,name=cc_email_addresses,json=ccEmailAddresses,proto3" json:"cc_email_addresses,omitempty"`
58 // Output only. The full email message body. A best-effort attempt is made to
59 // remove extraneous reply threads.
60 BodyContent *TextContent `protobuf:"bytes,8,opt,name=body_content,json=bodyContent,proto3" json:"body_content,omitempty"`
61 }
62
63 func (x *EmailMessage) Reset() {
64 *x = EmailMessage{}
65 mi := &file_google_cloud_support_v2beta_email_message_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69
70 func (x *EmailMessage) String() string {
71 return protoimpl.X.MessageStringOf(x)
72 }
73
74 func (*EmailMessage) ProtoMessage() {}
75
76 func (x *EmailMessage) ProtoReflect() protoreflect.Message {
77 mi := &file_google_cloud_support_v2beta_email_message_proto_msgTypes[0]
78 if 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 EmailMessage.ProtoReflect.Descriptor instead.
89 func (*EmailMessage) Descriptor() ([]byte, []int) {
90 return file_google_cloud_support_v2beta_email_message_proto_rawDescGZIP(), []int{0}
91 }
92
93 func (x *EmailMessage) GetName() string {
94 if x != nil {
95 return x.Name
96 }
97 return ""
98 }
99
100 func (x *EmailMessage) GetCreateTime() *timestamppb.Timestamp {
101 if x != nil {
102 return x.CreateTime
103 }
104 return nil
105 }
106
107 func (x *EmailMessage) GetActor() *Actor {
108 if x != nil {
109 return x.Actor
110 }
111 return nil
112 }
113
114 func (x *EmailMessage) GetSubject() string {
115 if x != nil {
116 return x.Subject
117 }
118 return ""
119 }
120
121 func (x *EmailMessage) GetRecipientEmailAddresses() []string {
122 if x != nil {
123 return x.RecipientEmailAddresses
124 }
125 return nil
126 }
127
128 func (x *EmailMessage) GetCcEmailAddresses() []string {
129 if x != nil {
130 return x.CcEmailAddresses
131 }
132 return nil
133 }
134
135 func (x *EmailMessage) GetBodyContent() *TextContent {
136 if x != nil {
137 return x.BodyContent
138 }
139 return nil
140 }
141
142 var File_google_cloud_support_v2beta_email_message_proto protoreflect.FileDescriptor
143
144 var file_google_cloud_support_v2beta_email_message_proto_rawDesc = []byte{
145 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
146 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x65, 0x6d,
147 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
148 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
149 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f,
150 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
151 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
152 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
153 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67,
154 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
155 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
156 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
157 0x64, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
158 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
159 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
160 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
161 0xe3, 0x04, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
162 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
163 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65,
164 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
165 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
166 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
167 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x61,
168 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
169 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
170 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03,
171 0xe0, 0x41, 0x03, 0x52, 0x05, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x75,
172 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
173 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x19, 0x72, 0x65, 0x63,
174 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64,
175 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
176 0x03, 0x52, 0x17, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69,
177 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x12, 0x63, 0x63,
178 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
179 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x63, 0x63, 0x45,
180 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x50, 0x0a,
181 0x0c, 0x62, 0x6f, 0x64, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,
182 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
183 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
184 0x61, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0,
185 0x41, 0x03, 0x52, 0x0b, 0x62, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x3a,
186 0xd3, 0x01, 0xea, 0x41, 0xcf, 0x01, 0x0a, 0x28, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70,
187 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
188 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
189 0x12, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
190 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x73, 0x65,
191 0x7d, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f,
192 0x7b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x7d, 0x12,
193 0x47, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
194 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61,
195 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c,
196 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f,
197 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x7d, 0x2a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x4d,
198 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x32, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x4d, 0x65,
199 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0xce, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
200 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f,
201 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x45, 0x6d, 0x61, 0x69, 0x6c,
202 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39,
203 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
204 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76,
205 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0x3b,
206 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67,
207 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
208 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
209 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5c, 0x56,
210 0x32, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
211 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x3a,
212 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
213 }
214
215 var (
216 file_google_cloud_support_v2beta_email_message_proto_rawDescOnce sync.Once
217 file_google_cloud_support_v2beta_email_message_proto_rawDescData = file_google_cloud_support_v2beta_email_message_proto_rawDesc
218 )
219
220 func file_google_cloud_support_v2beta_email_message_proto_rawDescGZIP() []byte {
221 file_google_cloud_support_v2beta_email_message_proto_rawDescOnce.Do(func() {
222 file_google_cloud_support_v2beta_email_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_support_v2beta_email_message_proto_rawDescData)
223 })
224 return file_google_cloud_support_v2beta_email_message_proto_rawDescData
225 }
226
227 var file_google_cloud_support_v2beta_email_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
228 var file_google_cloud_support_v2beta_email_message_proto_goTypes = []any{
229 (*EmailMessage)(nil), // 0: google.cloud.support.v2beta.EmailMessage
230 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
231 (*Actor)(nil), // 2: google.cloud.support.v2beta.Actor
232 (*TextContent)(nil), // 3: google.cloud.support.v2beta.TextContent
233 }
234 var file_google_cloud_support_v2beta_email_message_proto_depIdxs = []int32{
235 1, // 0: google.cloud.support.v2beta.EmailMessage.create_time:type_name -> google.protobuf.Timestamp
236 2, // 1: google.cloud.support.v2beta.EmailMessage.actor:type_name -> google.cloud.support.v2beta.Actor
237 3, // 2: google.cloud.support.v2beta.EmailMessage.body_content:type_name -> google.cloud.support.v2beta.TextContent
238 3, // [3:3] is the sub-list for method output_type
239 3, // [3:3] is the sub-list for method input_type
240 3, // [3:3] is the sub-list for extension type_name
241 3, // [3:3] is the sub-list for extension extendee
242 0, // [0:3] is the sub-list for field type_name
243 }
244
245 func init() { file_google_cloud_support_v2beta_email_message_proto_init() }
246 func file_google_cloud_support_v2beta_email_message_proto_init() {
247 if File_google_cloud_support_v2beta_email_message_proto != nil {
248 return
249 }
250 file_google_cloud_support_v2beta_actor_proto_init()
251 file_google_cloud_support_v2beta_content_proto_init()
252 type x struct{}
253 out := protoimpl.TypeBuilder{
254 File: protoimpl.DescBuilder{
255 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
256 RawDescriptor: file_google_cloud_support_v2beta_email_message_proto_rawDesc,
257 NumEnums: 0,
258 NumMessages: 1,
259 NumExtensions: 0,
260 NumServices: 0,
261 },
262 GoTypes: file_google_cloud_support_v2beta_email_message_proto_goTypes,
263 DependencyIndexes: file_google_cloud_support_v2beta_email_message_proto_depIdxs,
264 MessageInfos: file_google_cloud_support_v2beta_email_message_proto_msgTypes,
265 }.Build()
266 File_google_cloud_support_v2beta_email_message_proto = out.File
267 file_google_cloud_support_v2beta_email_message_proto_rawDesc = nil
268 file_google_cloud_support_v2beta_email_message_proto_goTypes = nil
269 file_google_cloud_support_v2beta_email_message_proto_depIdxs = nil
270 }