• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/orgpolicy/v2/constraint.proto
18 
19 package com.google.cloud.orgpolicy.v2;
20 
21 public final class ConstraintProto {
ConstraintProto()22   private ConstraintProto() {}
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_orgpolicy_v2_Constraint_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_orgpolicy_v2_Constraint_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_orgpolicy_v2_Constraint_ListConstraint_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_orgpolicy_v2_Constraint_ListConstraint_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_orgpolicy_v2_Constraint_BooleanConstraint_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_orgpolicy_v2_Constraint_BooleanConstraint_fieldAccessorTable;
42 
getDescriptor()43   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
44     return descriptor;
45   }
46 
47   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
48 
49   static {
50     java.lang.String[] descriptorData = {
51       "\n*google/cloud/orgpolicy/v2/constraint.p"
52           + "roto\022\031google.cloud.orgpolicy.v2\032\037google/"
53           + "api/field_behavior.proto\032\031google/api/res"
54           + "ource.proto\032\037google/protobuf/timestamp.p"
55           + "roto\"\267\005\n\nConstraint\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\024"
56           + "\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001("
57           + "\t\022S\n\022constraint_default\030\004 \001(\01627.google.c"
58           + "loud.orgpolicy.v2.Constraint.ConstraintD"
59           + "efault\022O\n\017list_constraint\030\005 \001(\01324.google"
60           + ".cloud.orgpolicy.v2.Constraint.ListConst"
61           + "raintH\000\022U\n\022boolean_constraint\030\006 \001(\01327.go"
62           + "ogle.cloud.orgpolicy.v2.Constraint.Boole"
63           + "anConstraintH\000\032=\n\016ListConstraint\022\023\n\013supp"
64           + "orts_in\030\001 \001(\010\022\026\n\016supports_under\030\002 \001(\010\032\023\n"
65           + "\021BooleanConstraint\"L\n\021ConstraintDefault\022"
66           + "\"\n\036CONSTRAINT_DEFAULT_UNSPECIFIED\020\000\022\t\n\005A"
67           + "LLOW\020\001\022\010\n\004DENY\020\002:\270\001\352A\264\001\n#orgpolicy.googl"
68           + "eapis.com/Constraint\022+projects/{project}"
69           + "/constraints/{constraint}\022)folders/{fold"
70           + "er}/constraints/{constraint}\0225organizati"
71           + "ons/{organization}/constraints/{constrai"
72           + "nt}B\021\n\017constraint_typeB\306\001\n\035com.google.cl"
73           + "oud.orgpolicy.v2B\017ConstraintProtoP\001Z;clo"
74           + "ud.google.com/go/orgpolicy/apiv2/orgpoli"
75           + "cypb;orgpolicypb\252\002\031Google.Cloud.OrgPolic"
76           + "y.V2\312\002\031Google\\Cloud\\OrgPolicy\\V2\352\002\034Googl"
77           + "e::Cloud::OrgPolicy::V2b\006proto3"
78     };
79     descriptor =
80         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
81             descriptorData,
82             new com.google.protobuf.Descriptors.FileDescriptor[] {
83               com.google.api.FieldBehaviorProto.getDescriptor(),
84               com.google.api.ResourceProto.getDescriptor(),
85               com.google.protobuf.TimestampProto.getDescriptor(),
86             });
87     internal_static_google_cloud_orgpolicy_v2_Constraint_descriptor =
88         getDescriptor().getMessageTypes().get(0);
89     internal_static_google_cloud_orgpolicy_v2_Constraint_fieldAccessorTable =
90         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
91             internal_static_google_cloud_orgpolicy_v2_Constraint_descriptor,
92             new java.lang.String[] {
93               "Name",
94               "DisplayName",
95               "Description",
96               "ConstraintDefault",
97               "ListConstraint",
98               "BooleanConstraint",
99               "ConstraintType",
100             });
101     internal_static_google_cloud_orgpolicy_v2_Constraint_ListConstraint_descriptor =
102         internal_static_google_cloud_orgpolicy_v2_Constraint_descriptor.getNestedTypes().get(0);
103     internal_static_google_cloud_orgpolicy_v2_Constraint_ListConstraint_fieldAccessorTable =
104         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
105             internal_static_google_cloud_orgpolicy_v2_Constraint_ListConstraint_descriptor,
106             new java.lang.String[] {
107               "SupportsIn", "SupportsUnder",
108             });
109     internal_static_google_cloud_orgpolicy_v2_Constraint_BooleanConstraint_descriptor =
110         internal_static_google_cloud_orgpolicy_v2_Constraint_descriptor.getNestedTypes().get(1);
111     internal_static_google_cloud_orgpolicy_v2_Constraint_BooleanConstraint_fieldAccessorTable =
112         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
113             internal_static_google_cloud_orgpolicy_v2_Constraint_BooleanConstraint_descriptor,
114             new java.lang.String[] {});
115     com.google.protobuf.ExtensionRegistry registry =
116         com.google.protobuf.ExtensionRegistry.newInstance();
117     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
118     registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)119     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
120         descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor()121     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()122     com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()123     com.google.protobuf.TimestampProto.getDescriptor();
124   }
125 
126   // @@protoc_insertion_point(outer_class_scope)
127 }
128