Interface RepositoryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Repository, Repository.Builder

@Generated public interface RepositoryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasMavenConfig

      boolean hasMavenConfig()
       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
      Returns:
      Whether the mavenConfig field is set.
    • getMavenConfig

       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
      Returns:
      The mavenConfig.
    • getMavenConfigOrBuilder

       Maven repository config contains repository level configuration
       for the repositories of maven type.
       
      .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
    • hasDockerConfig

      boolean hasDockerConfig()
       Docker repository config contains repository level configuration
       for the repositories of docker type.
       
      .google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;
      Returns:
      Whether the dockerConfig field is set.
    • getDockerConfig

       Docker repository config contains repository level configuration
       for the repositories of docker type.
       
      .google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;
      Returns:
      The dockerConfig.
    • getDockerConfigOrBuilder

      Repository.DockerRepositoryConfigOrBuilder getDockerConfigOrBuilder()
       Docker repository config contains repository level configuration
       for the repositories of docker type.
       
      .google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;
    • hasVirtualRepositoryConfig

      boolean hasVirtualRepositoryConfig()
       Configuration specific for a Virtual Repository.
       
      .google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
      Returns:
      Whether the virtualRepositoryConfig field is set.
    • getVirtualRepositoryConfig

      VirtualRepositoryConfig getVirtualRepositoryConfig()
       Configuration specific for a Virtual Repository.
       
      .google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
      Returns:
      The virtualRepositoryConfig.
    • getVirtualRepositoryConfigOrBuilder

      VirtualRepositoryConfigOrBuilder getVirtualRepositoryConfigOrBuilder()
       Configuration specific for a Virtual Repository.
       
      .google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
    • hasRemoteRepositoryConfig

      boolean hasRemoteRepositoryConfig()
       Configuration specific for a Remote Repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
      Returns:
      Whether the remoteRepositoryConfig field is set.
    • getRemoteRepositoryConfig

      RemoteRepositoryConfig getRemoteRepositoryConfig()
       Configuration specific for a Remote Repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
      Returns:
      The remoteRepositoryConfig.
    • getRemoteRepositoryConfigOrBuilder

      RemoteRepositoryConfigOrBuilder getRemoteRepositoryConfigOrBuilder()
       Configuration specific for a Remote Repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
    • getName

      String getName()
       The name of the repository, for example:
       `projects/p1/locations/us-central1/repositories/repo1`. For each location
       in a project, repository names must be unique.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the repository, for example:
       `projects/p1/locations/us-central1/repositories/repo1`. For each location
       in a project, repository names must be unique.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getFormatValue

      int getFormatValue()
       Optional. The format of packages that are stored in the repository.
       
      .google.devtools.artifactregistry.v1.Repository.Format format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for format.
    • getFormat

      Repository.Format getFormat()
       Optional. The format of packages that are stored in the repository.
       
      .google.devtools.artifactregistry.v1.Repository.Format format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The format.
    • getDescription

      String getDescription()
       The user-provided description of the repository.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       The user-provided description of the repository.
       
      string description = 3;
      Returns:
      The bytes for description.
    • getLabelsCount

      int getLabelsCount()
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
    • containsLabels

      boolean containsLabels(String key)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels with user-defined metadata.
       This field may contain up to 64 entries. Label keys and values may be no
       longer than 63 characters. Label keys must begin with a lowercase letter
       and may only contain lowercase letters, numeric characters, underscores,
       and dashes.
       
      map<string, string> labels = 4;
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the repository was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the repository was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getKmsKeyName

      String getKmsKeyName()
       The Cloud KMS resource name of the customer managed encryption key that's
       used to encrypt the contents of the Repository. Has the form:
       `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
       This value may not be changed after the Repository has been created.
       
      string kms_key_name = 8;
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      com.google.protobuf.ByteString getKmsKeyNameBytes()
       The Cloud KMS resource name of the customer managed encryption key that's
       used to encrypt the contents of the Repository. Has the form:
       `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
       This value may not be changed after the Repository has been created.
       
      string kms_key_name = 8;
      Returns:
      The bytes for kmsKeyName.
    • getModeValue

      int getModeValue()
       Optional. The mode of the repository.
       
      .google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

      Repository.Mode getMode()
       Optional. The mode of the repository.
       
      .google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mode.
    • getCleanupPoliciesCount

      int getCleanupPoliciesCount()
       Optional. Cleanup policies for this repository. Cleanup policies indicate
       when certain package versions can be automatically deleted. Map keys are
       policy IDs supplied by users during policy creation. They must unique
       within a repository and be under 128 characters in length.
       
      map<string, .google.devtools.artifactregistry.v1.CleanupPolicy> cleanup_policies = 12 [(.google.api.field_behavior) = OPTIONAL];
    • containsCleanupPolicies

      boolean containsCleanupPolicies(String key)
       Optional. Cleanup policies for this repository. Cleanup policies indicate
       when certain package versions can be automatically deleted. Map keys are
       policy IDs supplied by users during policy creation. They must unique
       within a repository and be under 128 characters in length.
       
      map<string, .google.devtools.artifactregistry.v1.CleanupPolicy> cleanup_policies = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getCleanupPolicies

      @Deprecated Map<String,CleanupPolicy> getCleanupPolicies()
      Deprecated.
    • getCleanupPoliciesMap

      Map<String,CleanupPolicy> getCleanupPoliciesMap()
       Optional. Cleanup policies for this repository. Cleanup policies indicate
       when certain package versions can be automatically deleted. Map keys are
       policy IDs supplied by users during policy creation. They must unique
       within a repository and be under 128 characters in length.
       
      map<string, .google.devtools.artifactregistry.v1.CleanupPolicy> cleanup_policies = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getCleanupPoliciesOrDefault

      CleanupPolicy getCleanupPoliciesOrDefault(String key, CleanupPolicy defaultValue)
       Optional. Cleanup policies for this repository. Cleanup policies indicate
       when certain package versions can be automatically deleted. Map keys are
       policy IDs supplied by users during policy creation. They must unique
       within a repository and be under 128 characters in length.
       
      map<string, .google.devtools.artifactregistry.v1.CleanupPolicy> cleanup_policies = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getCleanupPoliciesOrThrow

      CleanupPolicy getCleanupPoliciesOrThrow(String key)
       Optional. Cleanup policies for this repository. Cleanup policies indicate
       when certain package versions can be automatically deleted. Map keys are
       policy IDs supplied by users during policy creation. They must unique
       within a repository and be under 128 characters in length.
       
      map<string, .google.devtools.artifactregistry.v1.CleanupPolicy> cleanup_policies = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getSizeBytes

      long getSizeBytes()
       Output only. The size, in bytes, of all artifact storage in this
       repository. Repositories that are generally available or in public preview
       use this to calculate storage costs.
       
      int64 size_bytes = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The sizeBytes.
    • getSatisfiesPzs

      boolean getSatisfiesPzs()
       Output only. Whether or not this repository satisfies PZS.
       
      bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzs.
    • getCleanupPolicyDryRun

      boolean getCleanupPolicyDryRun()
       Optional. If true, the cleanup pipeline is prevented from deleting versions
       in this repository.
       
      bool cleanup_policy_dry_run = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The cleanupPolicyDryRun.
    • hasVulnerabilityScanningConfig

      boolean hasVulnerabilityScanningConfig()
       Optional. Config and state for vulnerability scanning of resources within
       this Repository.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig vulnerability_scanning_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the vulnerabilityScanningConfig field is set.
    • getVulnerabilityScanningConfig

      Repository.VulnerabilityScanningConfig getVulnerabilityScanningConfig()
       Optional. Config and state for vulnerability scanning of resources within
       this Repository.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig vulnerability_scanning_config = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The vulnerabilityScanningConfig.
    • getVulnerabilityScanningConfigOrBuilder

      Repository.VulnerabilityScanningConfigOrBuilder getVulnerabilityScanningConfigOrBuilder()
       Optional. Config and state for vulnerability scanning of resources within
       this Repository.
       
      .google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig vulnerability_scanning_config = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getDisallowUnspecifiedMode

      boolean getDisallowUnspecifiedMode()
       Optional. If this is true, an unspecified repo type will be treated as
       error rather than defaulting to standard.
       
      bool disallow_unspecified_mode = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The disallowUnspecifiedMode.
    • getSatisfiesPzi

      boolean getSatisfiesPzi()
       Output only. Whether or not this repository satisfies PZI.
       
      bool satisfies_pzi = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzi.
    • getRegistryUri

      String getRegistryUri()
       Output only. The repository endpoint, for example:
       `us-docker.pkg.dev/my-proj/my-repo`.
       
      string registry_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The registryUri.
    • getRegistryUriBytes

      com.google.protobuf.ByteString getRegistryUriBytes()
       Output only. The repository endpoint, for example:
       `us-docker.pkg.dev/my-proj/my-repo`.
       
      string registry_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for registryUri.
    • getFormatConfigCase

      Repository.FormatConfigCase getFormatConfigCase()
    • getModeConfigCase

      Repository.ModeConfigCase getModeConfigCase()