All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto Maven / Gradle / Ivy

There is a newer version: 0.53.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/binaryauthorization/v1beta1/resources.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.binaryauthorization.v1beta1;

public final class BinaryAuthorizationResourcesProto {
  private BinaryAuthorizationResourcesProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n8google/cloud/binaryauthorization/v1bet"
          + "a1/resources.proto\022(google.cloud.binarya"
          + "uthorization.v1beta1\032\037google/api/field_b"
          + "ehavior.proto\032\031google/api/resource.proto"
          + "\032\037google/protobuf/timestamp.proto\"\261\r\n\006Po"
          + "licy\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\030\n\013description\030\006"
          + " \001(\tB\003\340A\001\022w\n\035global_policy_evaluation_mo"
          + "de\030\007 \001(\0162K.google.cloud.binaryauthorizat"
          + "ion.v1beta1.Policy.GlobalPolicyEvaluatio"
          + "nModeB\003\340A\001\022n\n\034admission_whitelist_patter"
          + "ns\030\002 \003(\0132C.google.cloud.binaryauthorizat"
          + "ion.v1beta1.AdmissionWhitelistPatternB\003\340"
          + "A\001\022q\n\027cluster_admission_rules\030\003 \003(\0132K.go"
          + "ogle.cloud.binaryauthorization.v1beta1.P"
          + "olicy.ClusterAdmissionRulesEntryB\003\340A\001\022\212\001"
          + "\n$kubernetes_namespace_admission_rules\030\n"
          + " \003(\0132W.google.cloud.binaryauthorization."
          + "v1beta1.Policy.KubernetesNamespaceAdmiss"
          + "ionRulesEntryB\003\340A\001\022\225\001\n*kubernetes_servic"
          + "e_account_admission_rules\030\010 \003(\0132\\.google"
          + ".cloud.binaryauthorization.v1beta1.Polic"
          + "y.KubernetesServiceAccountAdmissionRules"
          + "EntryB\003\340A\001\022\215\001\n&istio_service_identity_ad"
          + "mission_rules\030\t \003(\0132X.google.cloud.binar"
          + "yauthorization.v1beta1.Policy.IstioServi"
          + "ceIdentityAdmissionRulesEntryB\003\340A\001\022\\\n\026de"
          + "fault_admission_rule\030\004 \001(\01327.google.clou"
          + "d.binaryauthorization.v1beta1.AdmissionR"
          + "uleB\003\340A\002\0224\n\013update_time\030\005 \001(\0132\032.google.p"
          + "rotobuf.TimestampB\003\340A\003\032u\n\032ClusterAdmissi"
          + "onRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\013"
          + "27.google.cloud.binaryauthorization.v1be"
          + "ta1.AdmissionRule:\0028\001\032\201\001\n&KubernetesName"
          + "spaceAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n"
          + "\005value\030\002 \001(\01327.google.cloud.binaryauthor"
          + "ization.v1beta1.AdmissionRule:\0028\001\032\206\001\n+Ku"
          + "bernetesServiceAccountAdmissionRulesEntr"
          + "y\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google.c"
          + "loud.binaryauthorization.v1beta1.Admissi"
          + "onRule:\0028\001\032\202\001\n\'IstioServiceIdentityAdmis"
          + "sionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001"
          + "(\01327.google.cloud.binaryauthorization.v1"
          + "beta1.AdmissionRule:\0028\001\"d\n\032GlobalPolicyE"
          + "valuationMode\022-\n)GLOBAL_POLICY_EVALUATIO"
          + "N_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE\020\001\022\013\n\007DISA"
          + "BLE\020\002:f\352Ac\n)binaryauthorization.googleap"
          + "is.com/Policy\022\031projects/{project}/policy"
          + "\022\033locations/{location}/policy\"1\n\031Admissi"
          + "onWhitelistPattern\022\024\n\014name_pattern\030\001 \001(\t"
          + "\"\344\003\n\rAdmissionRule\022d\n\017evaluation_mode\030\001 "
          + "\001(\0162F.google.cloud.binaryauthorization.v"
          + "1beta1.AdmissionRule.EvaluationModeB\003\340A\002"
          + "\022$\n\027require_attestations_by\030\002 \003(\tB\003\340A\001\022f"
          + "\n\020enforcement_mode\030\003 \001(\0162G.google.cloud."
          + "binaryauthorization.v1beta1.AdmissionRul"
          + "e.EnforcementModeB\003\340A\002\"m\n\016EvaluationMode"
          + "\022\037\n\033EVALUATION_MODE_UNSPECIFIED\020\000\022\020\n\014ALW"
          + "AYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTESTATION\020\002\022\017\n\013"
          + "ALWAYS_DENY\020\003\"p\n\017EnforcementMode\022 \n\034ENFO"
          + "RCEMENT_MODE_UNSPECIFIED\020\000\022 \n\034ENFORCED_B"
          + "LOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRYRUN_AUDIT_LOG"
          + "_ONLY\020\002\"\274\002\n\010Attestor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022"
          + "\030\n\013description\030\006 \001(\tB\003\340A\001\022a\n\027user_owned_"
          + "drydock_note\030\003 \001(\0132>.google.cloud.binary"
          + "authorization.v1beta1.UserOwnedDrydockNo"
          + "teH\000\0224\n\013update_time\030\004 \001(\0132\032.google.proto"
          + "buf.TimestampB\003\340A\003:Y\352AV\n+binaryauthoriza"
          + "tion.googleapis.com/Attestor\022\'projects/{"
          + "project}/attestors/{attestor}B\017\n\rattesto"
          + "r_type\"\271\001\n\024UserOwnedDrydockNote\022\033\n\016note_"
          + "reference\030\001 \001(\tB\003\340A\002\022U\n\013public_keys\030\002 \003("
          + "\0132;.google.cloud.binaryauthorization.v1b"
          + "eta1.AttestorPublicKeyB\003\340A\001\022-\n delegatio"
          + "n_service_account_email\030\003 \001(\tB\003\340A\003\"\304\004\n\rP"
          + "kixPublicKey\022\026\n\016public_key_pem\030\001 \001(\t\022g\n\023"
          + "signature_algorithm\030\002 \001(\0162J.google.cloud"
          + ".binaryauthorization.v1beta1.PkixPublicK"
          + "ey.SignatureAlgorithm\"\261\003\n\022SignatureAlgor"
          + "ithm\022#\n\037SIGNATURE_ALGORITHM_UNSPECIFIED\020"
          + "\000\022\027\n\023RSA_PSS_2048_SHA256\020\001\022\027\n\023RSA_PSS_30"
          + "72_SHA256\020\002\022\027\n\023RSA_PSS_4096_SHA256\020\003\022\027\n\023"
          + "RSA_PSS_4096_SHA512\020\004\022\036\n\032RSA_SIGN_PKCS1_"
          + "2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3072_SHA"
          + "256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA256\020\007\022\036\n"
          + "\032RSA_SIGN_PKCS1_4096_SHA512\020\010\022\025\n\021ECDSA_P"
          + "256_SHA256\020\t\022\027\n\023EC_SIGN_P256_SHA256\020\t\022\025\n"
          + "\021ECDSA_P384_SHA384\020\n\022\027\n\023EC_SIGN_P384_SHA"
          + "384\020\n\022\025\n\021ECDSA_P521_SHA512\020\013\022\027\n\023EC_SIGN_"
          + "P521_SHA512\020\013\032\002\020\001\"\277\001\n\021AttestorPublicKey\022"
          + "\024\n\007comment\030\001 \001(\tB\003\340A\001\022\n\n\002id\030\002 \001(\t\022&\n\034asc"
          + "ii_armored_pgp_public_key\030\003 \001(\tH\000\022R\n\017pki"
          + "x_public_key\030\005 \001(\01327.google.cloud.binary"
          + "authorization.v1beta1.PkixPublicKeyH\000B\014\n"
          + "\npublic_keyB\272\002\n,com.google.cloud.binarya"
          + "uthorization.v1beta1B!BinaryAuthorizatio"
          + "nResourcesProtoP\001Z^cloud.google.com/go/b"
          + "inaryauthorization/apiv1beta1/binaryauth"
          + "orizationpb;binaryauthorizationpb\370\001\001\252\002(G"
          + "oogle.Cloud.BinaryAuthorization.V1Beta1\312"
          + "\002(Google\\Cloud\\BinaryAuthorization\\V1bet"
          + "a1\352\002+Google::Cloud::BinaryAuthorization:"
          + ":V1beta1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor,
            new java.lang.String[] {
              "Name",
              "Description",
              "GlobalPolicyEvaluationMode",
              "AdmissionWhitelistPatterns",
              "ClusterAdmissionRules",
              "KubernetesNamespaceAdmissionRules",
              "KubernetesServiceAccountAdmissionRules",
              "IstioServiceIdentityAdmissionRules",
              "DefaultAdmissionRule",
              "UpdateTime",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor =
        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor =
        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
            .getNestedTypes()
            .get(1);
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor =
        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
            .getNestedTypes()
            .get(2);
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor =
        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
            .getNestedTypes()
            .get(3);
    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor,
            new java.lang.String[] {
              "NamePattern",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor,
            new java.lang.String[] {
              "EvaluationMode", "RequireAttestationsBy", "EnforcementMode",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor,
            new java.lang.String[] {
              "Name", "Description", "UserOwnedDrydockNote", "UpdateTime", "AttestorType",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor,
            new java.lang.String[] {
              "NoteReference", "PublicKeys", "DelegationServiceAccountEmail",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor,
            new java.lang.String[] {
              "PublicKeyPem", "SignatureAlgorithm",
            });
    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor,
            new java.lang.String[] {
              "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy