Debian Codegraph @

support/apiv2beta/supportpb/comment.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/comment.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 // A comment associated with a support case.
40 //
41 // Case comments are the primary way for Google Support to communicate with a
42 // user who has opened a case. When a user responds to Google Support, the
43 // user's responses also appear as comments.
44 type Comment struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Output only. Identifier. The resource name of the comment.
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 // Output only. The time when the comment was created.
52 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
53 // Output only. The user or Google Support agent who created the comment.
54 Creator *Actor `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
55 // The full comment body.
56 //
57 // Maximum of 12800 characters.
58 Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
59 // Output only. DEPRECATED. DO NOT USE.
60 //
61 // A duplicate of the `body` field.
62 //
63 // This field is only present for legacy reasons.
64 //
65 // Deprecated: Marked as deprecated in google/cloud/support/v2beta/comment.proto.
66 PlainTextBody string `protobuf:"bytes,5,opt,name=plain_text_body,json=plainTextBody,proto3" json:"plain_text_body,omitempty"`
67 }
68
69 func (x *Comment) Reset() {
70 *x = Comment{}
71 mi := &file_google_cloud_support_v2beta_comment_proto_msgTypes[0]
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 ms.StoreMessageInfo(mi)
74 }
75
76 func (x *Comment) String() string {
77 return protoimpl.X.MessageStringOf(x)
78 }
79
80 func (*Comment) ProtoMessage() {}
81
82 func (x *Comment) ProtoReflect() protoreflect.Message {
83 mi := &file_google_cloud_support_v2beta_comment_proto_msgTypes[0]
84 if x != nil {
85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
86 if ms.LoadMessageInfo() == nil {
87 ms.StoreMessageInfo(mi)
88 }
89 return ms
90 }
91 return mi.MessageOf(x)
92 }
93
94 // Deprecated: Use Comment.ProtoReflect.Descriptor instead.
95 func (*Comment) Descriptor() ([]byte, []int) {
96 return file_google_cloud_support_v2beta_comment_proto_rawDescGZIP(), []int{0}
97 }
98
99 func (x *Comment) GetName() string {
100 if x != nil {
101 return x.Name
102 }
103 return ""
104 }
105
106 func (x *Comment) GetCreateTime() *timestamppb.Timestamp {
107 if x != nil {
108 return x.CreateTime
109 }
110 return nil
111 }
112
113 func (x *Comment) GetCreator() *Actor {
114 if x != nil {
115 return x.Creator
116 }
117 return nil
118 }
119
120 func (x *Comment) GetBody() string {
121 if x != nil {
122 return x.Body
123 }
124 return ""
125 }
126
127 // Deprecated: Marked as deprecated in google/cloud/support/v2beta/comment.proto.
128 func (x *Comment) GetPlainTextBody() string {
129 if x != nil {
130 return x.PlainTextBody
131 }
132 return ""
133 }
134
135 var File_google_cloud_support_v2beta_comment_proto protoreflect.FileDescriptor
136
137 var file_google_cloud_support_v2beta_comment_proto_rawDesc = []byte{
138 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
139 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f,
140 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f,
141 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
142 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
143 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
144 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
145 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
146 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
147 0x75, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
148 0x61, 0x2f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
149 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
150 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b,
151 0x03, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61,
152 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x08, 0xe0, 0x41, 0x03,
153 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
154 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
155 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
156 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72,
157 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61,
158 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
159 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
160 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0,
161 0x41, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x62,
162 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12,
163 0x2d, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f,
164 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xe0, 0x41, 0x03, 0x18, 0x01, 0x52,
165 0x0d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x3a, 0x9b,
166 0x01, 0xea, 0x41, 0x97, 0x01, 0x0a, 0x23, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70, 0x70,
167 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
168 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x6f, 0x72, 0x67, 0x61,
169 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e,
170 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b,
171 0x63, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b,
172 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x12, 0x32, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
173 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x61, 0x73,
174 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
175 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x42, 0xc9, 0x01, 0x0a,
176 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
177 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
178 0x42, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
179 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
180 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70,
181 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70,
182 0x62, 0x3b, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f,
183 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f,
184 0x72, 0x74, 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67,
185 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
186 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
187 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
188 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
189 }
190
191 var (
192 file_google_cloud_support_v2beta_comment_proto_rawDescOnce sync.Once
193 file_google_cloud_support_v2beta_comment_proto_rawDescData = file_google_cloud_support_v2beta_comment_proto_rawDesc
194 )
195
196 func file_google_cloud_support_v2beta_comment_proto_rawDescGZIP() []byte {
197 file_google_cloud_support_v2beta_comment_proto_rawDescOnce.Do(func() {
198 file_google_cloud_support_v2beta_comment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_support_v2beta_comment_proto_rawDescData)
199 })
200 return file_google_cloud_support_v2beta_comment_proto_rawDescData
201 }
202
203 var file_google_cloud_support_v2beta_comment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
204 var file_google_cloud_support_v2beta_comment_proto_goTypes = []any{
205 (*Comment)(nil), // 0: google.cloud.support.v2beta.Comment
206 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
207 (*Actor)(nil), // 2: google.cloud.support.v2beta.Actor
208 }
209 var file_google_cloud_support_v2beta_comment_proto_depIdxs = []int32{
210 1, // 0: google.cloud.support.v2beta.Comment.create_time:type_name -> google.protobuf.Timestamp
211 2, // 1: google.cloud.support.v2beta.Comment.creator:type_name -> google.cloud.support.v2beta.Actor
212 2, // [2:2] is the sub-list for method output_type
213 2, // [2:2] is the sub-list for method input_type
214 2, // [2:2] is the sub-list for extension type_name
215 2, // [2:2] is the sub-list for extension extendee
216 0, // [0:2] is the sub-list for field type_name
217 }
218
219 func init() { file_google_cloud_support_v2beta_comment_proto_init() }
220 func file_google_cloud_support_v2beta_comment_proto_init() {
221 if File_google_cloud_support_v2beta_comment_proto != nil {
222 return
223 }
224 file_google_cloud_support_v2beta_actor_proto_init()
225 type x struct{}
226 out := protoimpl.TypeBuilder{
227 File: protoimpl.DescBuilder{
228 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
229 RawDescriptor: file_google_cloud_support_v2beta_comment_proto_rawDesc,
230 NumEnums: 0,
231 NumMessages: 1,
232 NumExtensions: 0,
233 NumServices: 0,
234 },
235 GoTypes: file_google_cloud_support_v2beta_comment_proto_goTypes,
236 DependencyIndexes: file_google_cloud_support_v2beta_comment_proto_depIdxs,
237 MessageInfos: file_google_cloud_support_v2beta_comment_proto_msgTypes,
238 }.Build()
239 File_google_cloud_support_v2beta_comment_proto = out.File
240 file_google_cloud_support_v2beta_comment_proto_rawDesc = nil
241 file_google_cloud_support_v2beta_comment_proto_goTypes = nil
242 file_google_cloud_support_v2beta_comment_proto_depIdxs = nil
243 }