Skip to content

Commit 89eb28f

Browse files
chore: remove unused proto imports (#256)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 468735472 Source-Link: googleapis/googleapis@cfa1b37 Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9
1 parent 5727a1a commit 89eb28f

File tree

4 files changed

+190
-198
lines changed

4 files changed

+190
-198
lines changed

java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java

Lines changed: 94 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -14354,101 +14354,100 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
1435414354
+ "sources.proto\022#google.cloud.binaryauthor"
1435514355
+ "ization.v1\032\037google/api/field_behavior.pr"
1435614356
+ "oto\032\031google/api/resource.proto\032\037google/p"
14357-
+ "rotobuf/timestamp.proto\032\034google/api/anno"
14358-
+ "tations.proto\"\370\014\n\006Policy\022\021\n\004name\030\001 \001(\tB\003"
14359-
+ "\340A\003\022\030\n\013description\030\006 \001(\tB\003\340A\001\022r\n\035global_"
14360-
+ "policy_evaluation_mode\030\007 \001(\0162F.google.cl"
14361-
+ "oud.binaryauthorization.v1.Policy.Global"
14362-
+ "PolicyEvaluationModeB\003\340A\001\022i\n\034admission_w"
14363-
+ "hitelist_patterns\030\002 \003(\0132>.google.cloud.b"
14364-
+ "inaryauthorization.v1.AdmissionWhitelist"
14365-
+ "PatternB\003\340A\001\022l\n\027cluster_admission_rules\030"
14366-
+ "\003 \003(\0132F.google.cloud.binaryauthorization"
14367-
+ ".v1.Policy.ClusterAdmissionRulesEntryB\003\340"
14368-
+ "A\001\022\205\001\n$kubernetes_namespace_admission_ru"
14369-
+ "les\030\n \003(\0132R.google.cloud.binaryauthoriza"
14370-
+ "tion.v1.Policy.KubernetesNamespaceAdmiss"
14371-
+ "ionRulesEntryB\003\340A\001\022\220\001\n*kubernetes_servic"
14372-
+ "e_account_admission_rules\030\010 \003(\0132W.google"
14373-
+ ".cloud.binaryauthorization.v1.Policy.Kub"
14374-
+ "ernetesServiceAccountAdmissionRulesEntry"
14375-
+ "B\003\340A\001\022\210\001\n&istio_service_identity_admissi"
14376-
+ "on_rules\030\t \003(\0132S.google.cloud.binaryauth"
14377-
+ "orization.v1.Policy.IstioServiceIdentity"
14378-
+ "AdmissionRulesEntryB\003\340A\001\022W\n\026default_admi"
14379-
+ "ssion_rule\030\004 \001(\01322.google.cloud.binaryau"
14380-
+ "thorization.v1.AdmissionRuleB\003\340A\002\0224\n\013upd"
14381-
+ "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta"
14382-
+ "mpB\003\340A\003\032p\n\032ClusterAdmissionRulesEntry\022\013\n"
14383-
+ "\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud"
14384-
+ ".binaryauthorization.v1.AdmissionRule:\0028"
14385-
+ "\001\032|\n&KubernetesNamespaceAdmissionRulesEn"
14386-
+ "try\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google"
14387-
+ ".cloud.binaryauthorization.v1.AdmissionR"
14388-
+ "ule:\0028\001\032\201\001\n+KubernetesServiceAccountAdmi"
14389-
+ "ssionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 "
14390-
+ "\001(\01322.google.cloud.binaryauthorization.v"
14391-
+ "1.AdmissionRule:\0028\001\032}\n\'IstioServiceIdent"
14392-
+ "ityAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005v"
14393-
+ "alue\030\002 \001(\01322.google.cloud.binaryauthoriz"
14394-
+ "ation.v1.AdmissionRule:\0028\001\"d\n\032GlobalPoli"
14395-
+ "cyEvaluationMode\022-\n)GLOBAL_POLICY_EVALUA"
14396-
+ "TION_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE\020\001\022\013\n\007D"
14397-
+ "ISABLE\020\002:f\352Ac\n)binaryauthorization.googl"
14398-
+ "eapis.com/Policy\022\031projects/{project}/pol"
14399-
+ "icy\022\033locations/{location}/policy\"1\n\031Admi"
14400-
+ "ssionWhitelistPattern\022\024\n\014name_pattern\030\001 "
14401-
+ "\001(\t\"\332\003\n\rAdmissionRule\022_\n\017evaluation_mode"
14402-
+ "\030\001 \001(\0162A.google.cloud.binaryauthorizatio"
14403-
+ "n.v1.AdmissionRule.EvaluationModeB\003\340A\002\022$"
14404-
+ "\n\027require_attestations_by\030\002 \003(\tB\003\340A\001\022a\n\020"
14405-
+ "enforcement_mode\030\003 \001(\0162B.google.cloud.bi"
14406-
+ "naryauthorization.v1.AdmissionRule.Enfor"
14407-
+ "cementModeB\003\340A\002\"m\n\016EvaluationMode\022\037\n\033EVA"
14408-
+ "LUATION_MODE_UNSPECIFIED\020\000\022\020\n\014ALWAYS_ALL"
14409-
+ "OW\020\001\022\027\n\023REQUIRE_ATTESTATION\020\002\022\017\n\013ALWAYS_"
14410-
+ "DENY\020\003\"p\n\017EnforcementMode\022 \n\034ENFORCEMENT"
14411-
+ "_MODE_UNSPECIFIED\020\000\022 \n\034ENFORCED_BLOCK_AN"
14412-
+ "D_AUDIT_LOG\020\001\022\031\n\025DRYRUN_AUDIT_LOG_ONLY\020\002"
14413-
+ "\"\267\002\n\010Attestor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\030\n\013desc"
14414-
+ "ription\030\006 \001(\tB\003\340A\001\022\\\n\027user_owned_grafeas"
14415-
+ "_note\030\003 \001(\01329.google.cloud.binaryauthori"
14416-
+ "zation.v1.UserOwnedGrafeasNoteH\000\0224\n\013upda"
14417-
+ "te_time\030\004 \001(\0132\032.google.protobuf.Timestam"
14418-
+ "pB\003\340A\003:Y\352AV\n+binaryauthorization.googlea"
14419-
+ "pis.com/Attestor\022\'projects/{project}/att"
14420-
+ "estors/{attestor}B\017\n\rattestor_type\"\264\001\n\024U"
14421-
+ "serOwnedGrafeasNote\022\033\n\016note_reference\030\001 "
14422-
+ "\001(\tB\003\340A\002\022P\n\013public_keys\030\002 \003(\01326.google.c"
14423-
+ "loud.binaryauthorization.v1.AttestorPubl"
14424-
+ "icKeyB\003\340A\001\022-\n delegation_service_account"
14425-
+ "_email\030\003 \001(\tB\003\340A\003\"\277\004\n\rPkixPublicKey\022\026\n\016p"
14426-
+ "ublic_key_pem\030\001 \001(\t\022b\n\023signature_algorit"
14427-
+ "hm\030\002 \001(\0162E.google.cloud.binaryauthorizat"
14428-
+ "ion.v1.PkixPublicKey.SignatureAlgorithm\""
14429-
+ "\261\003\n\022SignatureAlgorithm\022#\n\037SIGNATURE_ALGO"
14430-
+ "RITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA2"
14431-
+ "56\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022\027\n\023RSA_PSS"
14432-
+ "_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004\022"
14433-
+ "\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_S"
14434-
+ "IGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PKCS"
14435-
+ "1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_S"
14436-
+ "HA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t\022\027\n\023EC_SIG"
14437-
+ "N_P256_SHA256\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022\027"
14438-
+ "\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECDSA_P521_SH"
14439-
+ "A512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020\013\032\002\020\001\"\272\001\n\021"
14440-
+ "AttestorPublicKey\022\024\n\007comment\030\001 \001(\tB\003\340A\001\022"
14441-
+ "\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_pgp_public_"
14442-
+ "key\030\003 \001(\tH\000\022M\n\017pkix_public_key\030\005 \001(\01322.g"
14443-
+ "oogle.cloud.binaryauthorization.v1.PkixP"
14444-
+ "ublicKeyH\000B\014\n\npublic_keyB\211\002\n5com.google."
14445-
+ "protos.google.cloud.binaryauthorization."
14446-
+ "v1P\000ZVgoogle.golang.org/genproto/googlea"
14447-
+ "pis/cloud/binaryauthorization/v1;binarya"
14448-
+ "uthorization\370\001\001\252\002#Google.Cloud.BinaryAut"
14449-
+ "horization.V1\312\002#Google\\Cloud\\BinaryAutho"
14450-
+ "rization\\V1\352\002&Google::Cloud::BinaryAutho"
14451-
+ "rization::V1b\006proto3"
14357+
+ "rotobuf/timestamp.proto\"\370\014\n\006Policy\022\021\n\004na"
14358+
+ "me\030\001 \001(\tB\003\340A\003\022\030\n\013description\030\006 \001(\tB\003\340A\001\022"
14359+
+ "r\n\035global_policy_evaluation_mode\030\007 \001(\0162F"
14360+
+ ".google.cloud.binaryauthorization.v1.Pol"
14361+
+ "icy.GlobalPolicyEvaluationModeB\003\340A\001\022i\n\034a"
14362+
+ "dmission_whitelist_patterns\030\002 \003(\0132>.goog"
14363+
+ "le.cloud.binaryauthorization.v1.Admissio"
14364+
+ "nWhitelistPatternB\003\340A\001\022l\n\027cluster_admiss"
14365+
+ "ion_rules\030\003 \003(\0132F.google.cloud.binaryaut"
14366+
+ "horization.v1.Policy.ClusterAdmissionRul"
14367+
+ "esEntryB\003\340A\001\022\205\001\n$kubernetes_namespace_ad"
14368+
+ "mission_rules\030\n \003(\0132R.google.cloud.binar"
14369+
+ "yauthorization.v1.Policy.KubernetesNames"
14370+
+ "paceAdmissionRulesEntryB\003\340A\001\022\220\001\n*kuberne"
14371+
+ "tes_service_account_admission_rules\030\010 \003("
14372+
+ "\0132W.google.cloud.binaryauthorization.v1."
14373+
+ "Policy.KubernetesServiceAccountAdmission"
14374+
+ "RulesEntryB\003\340A\001\022\210\001\n&istio_service_identi"
14375+
+ "ty_admission_rules\030\t \003(\0132S.google.cloud."
14376+
+ "binaryauthorization.v1.Policy.IstioServi"
14377+
+ "ceIdentityAdmissionRulesEntryB\003\340A\001\022W\n\026de"
14378+
+ "fault_admission_rule\030\004 \001(\01322.google.clou"
14379+
+ "d.binaryauthorization.v1.AdmissionRuleB\003"
14380+
+ "\340A\002\0224\n\013update_time\030\005 \001(\0132\032.google.protob"
14381+
+ "uf.TimestampB\003\340A\003\032p\n\032ClusterAdmissionRul"
14382+
+ "esEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.go"
14383+
+ "ogle.cloud.binaryauthorization.v1.Admiss"
14384+
+ "ionRule:\0028\001\032|\n&KubernetesNamespaceAdmiss"
14385+
+ "ionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001("
14386+
+ "\01322.google.cloud.binaryauthorization.v1."
14387+
+ "AdmissionRule:\0028\001\032\201\001\n+KubernetesServiceA"
14388+
+ "ccountAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A"
14389+
+ "\n\005value\030\002 \001(\01322.google.cloud.binaryautho"
14390+
+ "rization.v1.AdmissionRule:\0028\001\032}\n\'IstioSe"
14391+
+ "rviceIdentityAdmissionRulesEntry\022\013\n\003key\030"
14392+
+ "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.bina"
14393+
+ "ryauthorization.v1.AdmissionRule:\0028\001\"d\n\032"
14394+
+ "GlobalPolicyEvaluationMode\022-\n)GLOBAL_POL"
14395+
+ "ICY_EVALUATION_MODE_UNSPECIFIED\020\000\022\n\n\006ENA"
14396+
+ "BLE\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binaryauthoriza"
14397+
+ "tion.googleapis.com/Policy\022\031projects/{pr"
14398+
+ "oject}/policy\022\033locations/{location}/poli"
14399+
+ "cy\"1\n\031AdmissionWhitelistPattern\022\024\n\014name_"
14400+
+ "pattern\030\001 \001(\t\"\332\003\n\rAdmissionRule\022_\n\017evalu"
14401+
+ "ation_mode\030\001 \001(\0162A.google.cloud.binaryau"
14402+
+ "thorization.v1.AdmissionRule.EvaluationM"
14403+
+ "odeB\003\340A\002\022$\n\027require_attestations_by\030\002 \003("
14404+
+ "\tB\003\340A\001\022a\n\020enforcement_mode\030\003 \001(\0162B.googl"
14405+
+ "e.cloud.binaryauthorization.v1.Admission"
14406+
+ "Rule.EnforcementModeB\003\340A\002\"m\n\016EvaluationM"
14407+
+ "ode\022\037\n\033EVALUATION_MODE_UNSPECIFIED\020\000\022\020\n\014"
14408+
+ "ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTESTATION\020\002\022"
14409+
+ "\017\n\013ALWAYS_DENY\020\003\"p\n\017EnforcementMode\022 \n\034E"
14410+
+ "NFORCEMENT_MODE_UNSPECIFIED\020\000\022 \n\034ENFORCE"
14411+
+ "D_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRYRUN_AUDIT_"
14412+
+ "LOG_ONLY\020\002\"\267\002\n\010Attestor\022\021\n\004name\030\001 \001(\tB\003\340"
14413+
+ "A\002\022\030\n\013description\030\006 \001(\tB\003\340A\001\022\\\n\027user_own"
14414+
+ "ed_grafeas_note\030\003 \001(\01329.google.cloud.bin"
14415+
+ "aryauthorization.v1.UserOwnedGrafeasNote"
14416+
+ "H\000\0224\n\013update_time\030\004 \001(\0132\032.google.protobu"
14417+
+ "f.TimestampB\003\340A\003:Y\352AV\n+binaryauthorizati"
14418+
+ "on.googleapis.com/Attestor\022\'projects/{pr"
14419+
+ "oject}/attestors/{attestor}B\017\n\rattestor_"
14420+
+ "type\"\264\001\n\024UserOwnedGrafeasNote\022\033\n\016note_re"
14421+
+ "ference\030\001 \001(\tB\003\340A\002\022P\n\013public_keys\030\002 \003(\0132"
14422+
+ "6.google.cloud.binaryauthorization.v1.At"
14423+
+ "testorPublicKeyB\003\340A\001\022-\n delegation_servi"
14424+
+ "ce_account_email\030\003 \001(\tB\003\340A\003\"\277\004\n\rPkixPubl"
14425+
+ "icKey\022\026\n\016public_key_pem\030\001 \001(\t\022b\n\023signatu"
14426+
+ "re_algorithm\030\002 \001(\0162E.google.cloud.binary"
14427+
+ "authorization.v1.PkixPublicKey.Signature"
14428+
+ "Algorithm\"\261\003\n\022SignatureAlgorithm\022#\n\037SIGN"
14429+
+ "ATURE_ALGORITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS"
14430+
+ "_2048_SHA256\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022"
14431+
+ "\027\n\023RSA_PSS_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096"
14432+
+ "_SHA512\020\004\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020"
14433+
+ "\005\022\036\n\032RSA_SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA"
14434+
+ "_SIGN_PKCS1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PK"
14435+
+ "CS1_4096_SHA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t"
14436+
+ "\022\027\n\023EC_SIGN_P256_SHA256\020\t\022\025\n\021ECDSA_P384_"
14437+
+ "SHA384\020\n\022\027\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECD"
14438+
+ "SA_P521_SHA512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020"
14439+
+ "\013\032\002\020\001\"\272\001\n\021AttestorPublicKey\022\024\n\007comment\030\001"
14440+
+ " \001(\tB\003\340A\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_p"
14441+
+ "gp_public_key\030\003 \001(\tH\000\022M\n\017pkix_public_key"
14442+
+ "\030\005 \001(\01322.google.cloud.binaryauthorizatio"
14443+
+ "n.v1.PkixPublicKeyH\000B\014\n\npublic_keyB\211\002\n5c"
14444+
+ "om.google.protos.google.cloud.binaryauth"
14445+
+ "orization.v1P\000ZVgoogle.golang.org/genpro"
14446+
+ "to/googleapis/cloud/binaryauthorization/"
14447+
+ "v1;binaryauthorization\370\001\001\252\002#Google.Cloud"
14448+
+ ".BinaryAuthorization.V1\312\002#Google\\Cloud\\B"
14449+
+ "inaryAuthorization\\V1\352\002&Google::Cloud::B"
14450+
+ "inaryAuthorization::V1b\006proto3"
1445214451
};
1445314452
descriptor =
1445414453
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -14457,7 +14456,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
1445714456
com.google.api.FieldBehaviorProto.getDescriptor(),
1445814457
com.google.api.ResourceProto.getDescriptor(),
1445914458
com.google.protobuf.TimestampProto.getDescriptor(),
14460-
com.google.api.AnnotationsProto.getDescriptor(),
1446114459
});
1446214460
internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor =
1446314461
getDescriptor().getMessageTypes().get(0);
@@ -14573,7 +14571,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
1457314571
com.google.api.FieldBehaviorProto.getDescriptor();
1457414572
com.google.api.ResourceProto.getDescriptor();
1457514573
com.google.protobuf.TimestampProto.getDescriptor();
14576-
com.google.api.AnnotationsProto.getDescriptor();
1457714574
}
1457814575

1457914576
// @@protoc_insertion_point(outer_class_scope)

java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package google.cloud.binaryauthorization.v1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121
import "google/protobuf/timestamp.proto";
22-
import "google/api/annotations.proto";
2322

2423
option cc_enable_arenas = true;
2524
option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1";

0 commit comments

Comments
 (0)