1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto 18 19 package com.google.cloud.securitycenter.v1; 20 21 public final class SecurityHealthAnalyticsCustomConfigProto { SecurityHealthAnalyticsCustomConfigProto()22 private SecurityHealthAnalyticsCustomConfigProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_securitycenter_v1_CustomConfig_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_securitycenter_v1_CustomConfig_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_Property_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_Property_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_securitycenter_v1_CustomConfig_ResourceSelector_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_securitycenter_v1_CustomConfig_ResourceSelector_fieldAccessorTable; 46 getDescriptor()47 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 48 return descriptor; 49 } 50 51 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 52 53 static { 54 java.lang.String[] descriptorData = { 55 "\nLgoogle/cloud/securitycenter/v1/securit" 56 + "y_health_analytics_custom_config.proto\022\036" 57 + "google.cloud.securitycenter.v1\032\026google/t" 58 + "ype/expr.proto\"\221\005\n\014CustomConfig\022$\n\tpredi" 59 + "cate\030\001 \001(\0132\021.google.type.Expr\022T\n\rcustom_" 60 + "output\030\002 \001(\0132=.google.cloud.securitycent" 61 + "er.v1.CustomConfig.CustomOutputSpec\022X\n\021r" 62 + "esource_selector\030\003 \001(\0132=.google.cloud.se" 63 + "curitycenter.v1.CustomConfig.ResourceSel" 64 + "ector\022G\n\010severity\030\004 \001(\01625.google.cloud.s" 65 + "ecuritycenter.v1.CustomConfig.Severity\022\023" 66 + "\n\013description\030\005 \001(\t\022\026\n\016recommendation\030\006 " 67 + "\001(\t\032\265\001\n\020CustomOutputSpec\022Z\n\nproperties\030\001" 68 + " \003(\0132F.google.cloud.securitycenter.v1.Cu" 69 + "stomConfig.CustomOutputSpec.Property\032E\n\010" 70 + "Property\022\014\n\004name\030\001 \001(\t\022+\n\020value_expressi" 71 + "on\030\002 \001(\0132\021.google.type.Expr\032*\n\020ResourceS" 72 + "elector\022\026\n\016resource_types\030\001 \003(\t\"Q\n\010Sever" 73 + "ity\022\030\n\024SEVERITY_UNSPECIFIED\020\000\022\014\n\010CRITICA" 74 + "L\020\001\022\010\n\004HIGH\020\002\022\n\n\006MEDIUM\020\003\022\007\n\003LOW\020\004B\202\002\n\"c" 75 + "om.google.cloud.securitycenter.v1B(Secur" 76 + "ityHealthAnalyticsCustomConfigProtoP\001ZJc" 77 + "loud.google.com/go/securitycenter/apiv1/" 78 + "securitycenterpb;securitycenterpb\252\002\036Goog" 79 + "le.Cloud.SecurityCenter.V1\312\002\036Google\\Clou" 80 + "d\\SecurityCenter\\V1\352\002!Google::Cloud::Sec" 81 + "urityCenter::V1b\006proto3" 82 }; 83 descriptor = 84 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 85 descriptorData, 86 new com.google.protobuf.Descriptors.FileDescriptor[] { 87 com.google.type.ExprProto.getDescriptor(), 88 }); 89 internal_static_google_cloud_securitycenter_v1_CustomConfig_descriptor = 90 getDescriptor().getMessageTypes().get(0); 91 internal_static_google_cloud_securitycenter_v1_CustomConfig_fieldAccessorTable = 92 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 93 internal_static_google_cloud_securitycenter_v1_CustomConfig_descriptor, 94 new java.lang.String[] { 95 "Predicate", 96 "CustomOutput", 97 "ResourceSelector", 98 "Severity", 99 "Description", 100 "Recommendation", 101 }); 102 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_descriptor = 103 internal_static_google_cloud_securitycenter_v1_CustomConfig_descriptor 104 .getNestedTypes() 105 .get(0); 106 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_fieldAccessorTable = 107 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 108 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_descriptor, 109 new java.lang.String[] { 110 "Properties", 111 }); 112 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_Property_descriptor = 113 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_descriptor 114 .getNestedTypes() 115 .get(0); 116 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_Property_fieldAccessorTable = 117 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 118 internal_static_google_cloud_securitycenter_v1_CustomConfig_CustomOutputSpec_Property_descriptor, 119 new java.lang.String[] { 120 "Name", "ValueExpression", 121 }); 122 internal_static_google_cloud_securitycenter_v1_CustomConfig_ResourceSelector_descriptor = 123 internal_static_google_cloud_securitycenter_v1_CustomConfig_descriptor 124 .getNestedTypes() 125 .get(1); 126 internal_static_google_cloud_securitycenter_v1_CustomConfig_ResourceSelector_fieldAccessorTable = 127 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 128 internal_static_google_cloud_securitycenter_v1_CustomConfig_ResourceSelector_descriptor, 129 new java.lang.String[] { 130 "ResourceTypes", 131 }); com.google.type.ExprProto.getDescriptor()132 com.google.type.ExprProto.getDescriptor(); 133 } 134 135 // @@protoc_insertion_point(outer_class_scope) 136 } 137