| 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/securitycenter/v1/valued_resource.proto |
| 20 |
|
| 21 |
package securitycenterpb |
| 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 |
// How valuable the resource is. |
| 39 |
type ValuedResource_ResourceValue int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// The resource value isn't specified. |
| 43 |
ValuedResource_RESOURCE_VALUE_UNSPECIFIED ValuedResource_ResourceValue = 0 |
| 44 |
// This is a low-value resource. |
| 45 |
ValuedResource_RESOURCE_VALUE_LOW ValuedResource_ResourceValue = 1 |
| 46 |
// This is a medium-value resource. |
| 47 |
ValuedResource_RESOURCE_VALUE_MEDIUM ValuedResource_ResourceValue = 2 |
| 48 |
// This is a high-value resource. |
| 49 |
ValuedResource_RESOURCE_VALUE_HIGH ValuedResource_ResourceValue = 3 |
| 50 |
) |
| 51 |
|
| 52 |
// Enum value maps for ValuedResource_ResourceValue. |
| 53 |
var ( |
| 54 |
ValuedResource_ResourceValue_name = map[int32]string{ |
| 55 |
0: "RESOURCE_VALUE_UNSPECIFIED", |
| 56 |
1: "RESOURCE_VALUE_LOW", |
| 57 |
2: "RESOURCE_VALUE_MEDIUM", |
| 58 |
3: "RESOURCE_VALUE_HIGH", |
| 59 |
} |
| 60 |
ValuedResource_ResourceValue_value = map[string]int32{ |
| 61 |
"RESOURCE_VALUE_UNSPECIFIED": 0, |
| 62 |
"RESOURCE_VALUE_LOW": 1, |
| 63 |
"RESOURCE_VALUE_MEDIUM": 2, |
| 64 |
"RESOURCE_VALUE_HIGH": 3, |
| 65 |
} |
| 66 |
) |
| 67 |
|
| 68 |
func (x ValuedResource_ResourceValue) Enum() *ValuedResource_ResourceValue { |
| 69 |
p := new(ValuedResource_ResourceValue) |
| 70 |
*p = x |
| 71 |
return p |
| 72 |
} |
| 73 |
|
| 74 |
func (x ValuedResource_ResourceValue) String() string { |
| 75 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 76 |
} |
| 77 |
|
| 78 |
func (ValuedResource_ResourceValue) Descriptor() protoreflect.EnumDescriptor { |
| 79 |
return file_google_cloud_securitycenter_v1_valued_resource_proto_enumTypes[0].Descriptor() |
| 80 |
} |
| 81 |
|
| 82 |
func (ValuedResource_ResourceValue) Type() protoreflect.EnumType { |
| 83 |
return &file_google_cloud_securitycenter_v1_valued_resource_proto_enumTypes[0] |
| 84 |
} |
| 85 |
|
| 86 |
func (x ValuedResource_ResourceValue) Number() protoreflect.EnumNumber { |
| 87 |
return protoreflect.EnumNumber(x) |
| 88 |
} |
| 89 |
|
| 90 |
// Deprecated: Use ValuedResource_ResourceValue.Descriptor instead. |
| 91 |
func (ValuedResource_ResourceValue) EnumDescriptor() ([]byte, []int) { |
| 92 |
return file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescGZIP(), []int{0, 0} |
| 93 |
} |
| 94 |
|
| 95 |
// A resource that is determined to have value to a user's system |
| 96 |
type ValuedResource struct { |
| 97 |
state protoimpl.MessageState |
| 98 |
sizeCache protoimpl.SizeCache |
| 99 |
unknownFields protoimpl.UnknownFields |
| 100 |
|
| 101 |
// Valued resource name, for example, |
| 102 |
// |
| 103 |
// e.g.: |
| 104 |
// `organizations/123/simulations/456/valuedResources/789` |
| 105 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 106 |
// The |
| 107 |
// [full resource |
| 108 |
// name](https://cloud.google.com/apis/design/resource_names#full_resource_name) |
| 109 |
// of the valued resource. |
| 110 |
Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` |
| 111 |
// The [resource |
| 112 |
// type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) |
| 113 |
// of the valued resource. |
| 114 |
ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` |
| 115 |
// Human-readable name of the valued resource. |
| 116 |
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 117 |
// How valuable this resource is. |
| 118 |
ResourceValue ValuedResource_ResourceValue `protobuf:"varint,5,opt,name=resource_value,json=resourceValue,proto3,enum=google.cloud.securitycenter.v1.ValuedResource_ResourceValue" json:"resource_value,omitempty"` |
| 119 |
// Exposed score for this valued resource. A value of 0 means no exposure was |
| 120 |
// detected exposure. |
| 121 |
ExposedScore float64 `protobuf:"fixed64,6,opt,name=exposed_score,json=exposedScore,proto3" json:"exposed_score,omitempty"` |
| 122 |
// List of resource value configurations' metadata used to determine the value |
| 123 |
// of this resource. Maximum of 100. |
| 124 |
ResourceValueConfigsUsed []*ResourceValueConfigMetadata `protobuf:"bytes,7,rep,name=resource_value_configs_used,json=resourceValueConfigsUsed,proto3" json:"resource_value_configs_used,omitempty"` |
| 125 |
} |
| 126 |
|
| 127 |
func (x *ValuedResource) Reset() { |
| 128 |
*x = ValuedResource{} |
| 129 |
mi := &file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes[0] |
| 130 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 131 |
ms.StoreMessageInfo(mi) |
| 132 |
} |
| 133 |
|
| 134 |
func (x *ValuedResource) String() string { |
| 135 |
return protoimpl.X.MessageStringOf(x) |
| 136 |
} |
| 137 |
|
| 138 |
func (*ValuedResource) ProtoMessage() {} |
| 139 |
|
| 140 |
func (x *ValuedResource) ProtoReflect() protoreflect.Message { |
| 141 |
mi := &file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes[0] |
| 142 |
if x != nil { |
| 143 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 144 |
if ms.LoadMessageInfo() == nil { |
| 145 |
ms.StoreMessageInfo(mi) |
| 146 |
} |
| 147 |
return ms |
| 148 |
} |
| 149 |
return mi.MessageOf(x) |
| 150 |
} |
| 151 |
|
| 152 |
// Deprecated: Use ValuedResource.ProtoReflect.Descriptor instead. |
| 153 |
func (*ValuedResource) Descriptor() ([]byte, []int) { |
| 154 |
return file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescGZIP(), []int{0} |
| 155 |
} |
| 156 |
|
| 157 |
func (x *ValuedResource) GetName() string { |
| 158 |
if x != nil { |
| 159 |
return x.Name |
| 160 |
} |
| 161 |
return "" |
| 162 |
} |
| 163 |
|
| 164 |
func (x *ValuedResource) GetResource() string { |
| 165 |
if x != nil { |
| 166 |
return x.Resource |
| 167 |
} |
| 168 |
return "" |
| 169 |
} |
| 170 |
|
| 171 |
func (x *ValuedResource) GetResourceType() string { |
| 172 |
if x != nil { |
| 173 |
return x.ResourceType |
| 174 |
} |
| 175 |
return "" |
| 176 |
} |
| 177 |
|
| 178 |
func (x *ValuedResource) GetDisplayName() string { |
| 179 |
if x != nil { |
| 180 |
return x.DisplayName |
| 181 |
} |
| 182 |
return "" |
| 183 |
} |
| 184 |
|
| 185 |
func (x *ValuedResource) GetResourceValue() ValuedResource_ResourceValue { |
| 186 |
if x != nil { |
| 187 |
return x.ResourceValue |
| 188 |
} |
| 189 |
return ValuedResource_RESOURCE_VALUE_UNSPECIFIED |
| 190 |
} |
| 191 |
|
| 192 |
func (x *ValuedResource) GetExposedScore() float64 { |
| 193 |
if x != nil { |
| 194 |
return x.ExposedScore |
| 195 |
} |
| 196 |
return 0 |
| 197 |
} |
| 198 |
|
| 199 |
func (x *ValuedResource) GetResourceValueConfigsUsed() []*ResourceValueConfigMetadata { |
| 200 |
if x != nil { |
| 201 |
return x.ResourceValueConfigsUsed |
| 202 |
} |
| 203 |
return nil |
| 204 |
} |
| 205 |
|
| 206 |
// Metadata about a ResourceValueConfig. For example, id and name. |
| 207 |
type ResourceValueConfigMetadata struct { |
| 208 |
state protoimpl.MessageState |
| 209 |
sizeCache protoimpl.SizeCache |
| 210 |
unknownFields protoimpl.UnknownFields |
| 211 |
|
| 212 |
// Resource value config name |
| 213 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 214 |
} |
| 215 |
|
| 216 |
func (x *ResourceValueConfigMetadata) Reset() { |
| 217 |
*x = ResourceValueConfigMetadata{} |
| 218 |
mi := &file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes[1] |
| 219 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 220 |
ms.StoreMessageInfo(mi) |
| 221 |
} |
| 222 |
|
| 223 |
func (x *ResourceValueConfigMetadata) String() string { |
| 224 |
return protoimpl.X.MessageStringOf(x) |
| 225 |
} |
| 226 |
|
| 227 |
func (*ResourceValueConfigMetadata) ProtoMessage() {} |
| 228 |
|
| 229 |
func (x *ResourceValueConfigMetadata) ProtoReflect() protoreflect.Message { |
| 230 |
mi := &file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes[1] |
| 231 |
if x != nil { |
| 232 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 233 |
if ms.LoadMessageInfo() == nil { |
| 234 |
ms.StoreMessageInfo(mi) |
| 235 |
} |
| 236 |
return ms |
| 237 |
} |
| 238 |
return mi.MessageOf(x) |
| 239 |
} |
| 240 |
|
| 241 |
// Deprecated: Use ResourceValueConfigMetadata.ProtoReflect.Descriptor instead. |
| 242 |
func (*ResourceValueConfigMetadata) Descriptor() ([]byte, []int) { |
| 243 |
return file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescGZIP(), []int{1} |
| 244 |
} |
| 245 |
|
| 246 |
func (x *ResourceValueConfigMetadata) GetName() string { |
| 247 |
if x != nil { |
| 248 |
return x.Name |
| 249 |
} |
| 250 |
return "" |
| 251 |
} |
| 252 |
|
| 253 |
var File_google_cloud_securitycenter_v1_valued_resource_proto protoreflect.FileDescriptor |
| 254 |
|
| 255 |
var file_google_cloud_securitycenter_v1_valued_resource_proto_rawDesc = []byte{ |
| 256 |
0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 257 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, |
| 258 |
0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 259 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 260 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, |
| 261 |
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 262 |
0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 263 |
0x6f, 0x22, 0xba, 0x05, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, |
| 264 |
0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 265 |
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, |
| 266 |
0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, |
| 267 |
0x75, 0x72, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 268 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, |
| 269 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, |
| 270 |
0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 271 |
0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x63, 0x0a, 0x0e, |
| 272 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, |
| 273 |
0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 274 |
0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, |
| 275 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, |
| 276 |
0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, |
| 277 |
0x75, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, |
| 278 |
0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x6f, |
| 279 |
0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, |
| 280 |
0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x7a, 0x0a, 0x1b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 281 |
0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, |
| 282 |
0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, |
| 283 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, |
| 284 |
0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, |
| 285 |
0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 286 |
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 287 |
0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x55, 0x73, |
| 288 |
0x65, 0x64, 0x22, 0x7b, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, |
| 289 |
0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, |
| 290 |
0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 291 |
0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, |
| 292 |
0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, |
| 293 |
0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4d, 0x45, |
| 294 |
0x44, 0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, |
| 295 |
0x43, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x10, 0x03, 0x3a, |
| 296 |
0xac, 0x01, 0xea, 0x41, 0xa8, 0x01, 0x0a, 0x2c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, |
| 297 |
0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 298 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, |
| 299 |
0x75, 0x72, 0x63, 0x65, 0x12, 0x57, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, |
| 300 |
0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, |
| 301 |
0x6e, 0x7d, 0x2f, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, |
| 302 |
0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x76, 0x61, 0x6c, 0x75, |
| 303 |
0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x61, 0x6c, |
| 304 |
0x75, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2a, 0x0f, 0x76, |
| 305 |
0x61, 0x6c, 0x75, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x32, 0x0e, |
| 306 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x31, |
| 307 |
0x0a, 0x1b, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, |
| 308 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, |
| 309 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 310 |
0x65, 0x42, 0xed, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 311 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, |
| 312 |
0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x64, |
| 313 |
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 314 |
0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, |
| 315 |
0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, |
| 316 |
0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, |
| 317 |
0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, |
| 318 |
0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, |
| 319 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, |
| 320 |
0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, |
| 321 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, |
| 322 |
0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, |
| 323 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, |
| 324 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, |
| 325 |
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 326 |
} |
| 327 |
|
| 328 |
var ( |
| 329 |
file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescOnce sync.Once |
| 330 |
file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescData = file_google_cloud_securitycenter_v1_valued_resource_proto_rawDesc |
| 331 |
) |
| 332 |
|
| 333 |
func file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescGZIP() []byte { |
| 334 |
file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescOnce.Do(func() { |
| 335 |
file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescData) |
| 336 |
}) |
| 337 |
return file_google_cloud_securitycenter_v1_valued_resource_proto_rawDescData |
| 338 |
} |
| 339 |
|
| 340 |
var file_google_cloud_securitycenter_v1_valued_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 341 |
var file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 342 |
var file_google_cloud_securitycenter_v1_valued_resource_proto_goTypes = []any{ |
| 343 |
(ValuedResource_ResourceValue)(0), // 0: google.cloud.securitycenter.v1.ValuedResource.ResourceValue |
| 344 |
(*ValuedResource)(nil), // 1: google.cloud.securitycenter.v1.ValuedResource |
| 345 |
(*ResourceValueConfigMetadata)(nil), // 2: google.cloud.securitycenter.v1.ResourceValueConfigMetadata |
| 346 |
} |
| 347 |
var file_google_cloud_securitycenter_v1_valued_resource_proto_depIdxs = []int32{ |
| 348 |
0, // 0: google.cloud.securitycenter.v1.ValuedResource.resource_value:type_name -> google.cloud.securitycenter.v1.ValuedResource.ResourceValue |
| 349 |
2, // 1: google.cloud.securitycenter.v1.ValuedResource.resource_value_configs_used:type_name -> google.cloud.securitycenter.v1.ResourceValueConfigMetadata |
| 350 |
2, // [2:2] is the sub-list for method output_type |
| 351 |
2, // [2:2] is the sub-list for method input_type |
| 352 |
2, // [2:2] is the sub-list for extension type_name |
| 353 |
2, // [2:2] is the sub-list for extension extendee |
| 354 |
0, // [0:2] is the sub-list for field type_name |
| 355 |
} |
| 356 |
|
| 357 |
func init() { file_google_cloud_securitycenter_v1_valued_resource_proto_init() } |
| 358 |
func file_google_cloud_securitycenter_v1_valued_resource_proto_init() { |
| 359 |
if File_google_cloud_securitycenter_v1_valued_resource_proto != nil { |
| 360 |
return |
| 361 |
} |
| 362 |
type x struct{} |
| 363 |
out := protoimpl.TypeBuilder{ |
| 364 |
File: protoimpl.DescBuilder{ |
| 365 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 366 |
RawDescriptor: file_google_cloud_securitycenter_v1_valued_resource_proto_rawDesc, |
| 367 |
NumEnums: 1, |
| 368 |
NumMessages: 2, |
| 369 |
NumExtensions: 0, |
| 370 |
NumServices: 0, |
| 371 |
}, |
| 372 |
GoTypes: file_google_cloud_securitycenter_v1_valued_resource_proto_goTypes, |
| 373 |
DependencyIndexes: file_google_cloud_securitycenter_v1_valued_resource_proto_depIdxs, |
| 374 |
EnumInfos: file_google_cloud_securitycenter_v1_valued_resource_proto_enumTypes, |
| 375 |
MessageInfos: file_google_cloud_securitycenter_v1_valued_resource_proto_msgTypes, |
| 376 |
}.Build() |
| 377 |
File_google_cloud_securitycenter_v1_valued_resource_proto = out.File |
| 378 |
file_google_cloud_securitycenter_v1_valued_resource_proto_rawDesc = nil |
| 379 |
file_google_cloud_securitycenter_v1_valued_resource_proto_goTypes = nil |
| 380 |
file_google_cloud_securitycenter_v1_valued_resource_proto_depIdxs = nil |
| 381 |
} |