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/source.proto 18 19 package com.google.cloud.securitycenter.v1; 20 21 public final class SourceOuterClass { SourceOuterClass()22 private SourceOuterClass() {} 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_Source_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_securitycenter_v1_Source_fieldAccessorTable; 34 getDescriptor()35 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 36 return descriptor; 37 } 38 39 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 40 41 static { 42 java.lang.String[] descriptorData = { 43 "\n+google/cloud/securitycenter/v1/source." 44 + "proto\022\036google.cloud.securitycenter.v1\032\031g" 45 + "oogle/api/resource.proto\"\375\001\n\006Source\022\014\n\004n" 46 + "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" 47 + "iption\030\003 \001(\t\022\026\n\016canonical_name\030\016 \001(\t:\241\001\352" 48 + "A\235\001\n$securitycenter.googleapis.com/Sourc" 49 + "e\022-organizations/{organization}/sources/" 50 + "{source}\022!folders/{folder}/sources/{sour" 51 + "ce}\022#projects/{project}/sources/{source}" 52 + "B\330\001\n\"com.google.cloud.securitycenter.v1P" 53 + "\001ZJcloud.google.com/go/securitycenter/ap" 54 + "iv1/securitycenterpb;securitycenterpb\252\002\036" 55 + "Google.Cloud.SecurityCenter.V1\312\002\036Google\\" 56 + "Cloud\\SecurityCenter\\V1\352\002!Google::Cloud:" 57 + ":SecurityCenter::V1b\006proto3" 58 }; 59 descriptor = 60 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 61 descriptorData, 62 new com.google.protobuf.Descriptors.FileDescriptor[] { 63 com.google.api.ResourceProto.getDescriptor(), 64 }); 65 internal_static_google_cloud_securitycenter_v1_Source_descriptor = 66 getDescriptor().getMessageTypes().get(0); 67 internal_static_google_cloud_securitycenter_v1_Source_fieldAccessorTable = 68 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 69 internal_static_google_cloud_securitycenter_v1_Source_descriptor, 70 new java.lang.String[] { 71 "Name", "DisplayName", "Description", "CanonicalName", 72 }); 73 com.google.protobuf.ExtensionRegistry registry = 74 com.google.protobuf.ExtensionRegistry.newInstance(); 75 registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)76 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 77 descriptor, registry); com.google.api.ResourceProto.getDescriptor()78 com.google.api.ResourceProto.getDescriptor(); 79 } 80 81 // @@protoc_insertion_point(outer_class_scope) 82 } 83