- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public interface RepositoryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsCleanupPolicies(String key)
public abstract 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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCleanupPolicies() (deprecated)
public abstract Map<String,CleanupPolicy> getCleanupPolicies()
Use #getCleanupPoliciesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,CleanupPolicy> |
getCleanupPoliciesCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getCleanupPoliciesMap()
public abstract 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];
Returns | |
---|---|
Type | Description |
Map<String,CleanupPolicy> |
getCleanupPoliciesOrDefault(String key, CleanupPolicy defaultValue)
public abstract 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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
CleanupPolicy |
Returns | |
---|---|
Type | Description |
CleanupPolicy |
getCleanupPoliciesOrThrow(String key)
public abstract 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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
CleanupPolicy |
getCleanupPolicyDryRun()
public abstract 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 | |
---|---|
Type | Description |
boolean |
The cleanupPolicyDryRun. |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The time when the repository was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the repository was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
The user-provided description of the repository.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
The user-provided description of the repository.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDisallowUnspecifiedMode()
public abstract 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 | |
---|---|
Type | Description |
boolean |
The disallowUnspecifiedMode. |
getDockerConfig()
public abstract Repository.DockerRepositoryConfig getDockerConfig()
Docker repository config contains repository level configuration for the repositories of docker type.
.google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;
Returns | |
---|---|
Type | Description |
Repository.DockerRepositoryConfig |
The dockerConfig. |
getDockerConfigOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
Repository.DockerRepositoryConfigOrBuilder |
getFormat()
public abstract 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 | |
---|---|
Type | Description |
Repository.Format |
The format. |
getFormatConfigCase()
public abstract Repository.FormatConfigCase getFormatConfigCase()
Returns | |
---|---|
Type | Description |
Repository.FormatConfigCase |
getFormatValue()
public abstract 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 | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for format. |
getKmsKeyName()
public abstract 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 | |
---|---|
Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for kmsKeyName. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMavenConfig()
public abstract Repository.MavenRepositoryConfig getMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
Returns | |
---|---|
Type | Description |
Repository.MavenRepositoryConfig |
The mavenConfig. |
getMavenConfigOrBuilder()
public abstract Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;
Returns | |
---|---|
Type | Description |
Repository.MavenRepositoryConfigOrBuilder |
getMode()
public abstract Repository.Mode getMode()
Optional. The mode of the repository.
.google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Repository.Mode |
The mode. |
getModeConfigCase()
public abstract Repository.ModeConfigCase getModeConfigCase()
Returns | |
---|---|
Type | Description |
Repository.ModeConfigCase |
getModeValue()
public abstract int getModeValue()
Optional. The mode of the repository.
.google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for mode. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRemoteRepositoryConfig()
public abstract RemoteRepositoryConfig getRemoteRepositoryConfig()
Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig |
The remoteRepositoryConfig. |
getRemoteRepositoryConfigOrBuilder()
public abstract RemoteRepositoryConfigOrBuilder getRemoteRepositoryConfigOrBuilder()
Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfigOrBuilder |
getSatisfiesPzi()
public abstract boolean getSatisfiesPzi()
Output only. If set, the repository satisfies physical zone isolation.
bool satisfies_pzi = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzi. |
getSatisfiesPzs()
public abstract boolean getSatisfiesPzs()
Output only. If set, the repository satisfies physical zone separation.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzs. |
getSizeBytes()
public abstract 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 | |
---|---|
Type | Description |
long |
The sizeBytes. |
getUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVirtualRepositoryConfig()
public abstract VirtualRepositoryConfig getVirtualRepositoryConfig()
Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
Returns | |
---|---|
Type | Description |
VirtualRepositoryConfig |
The virtualRepositoryConfig. |
getVirtualRepositoryConfigOrBuilder()
public abstract VirtualRepositoryConfigOrBuilder getVirtualRepositoryConfigOrBuilder()
Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
Returns | |
---|---|
Type | Description |
VirtualRepositoryConfigOrBuilder |
getVulnerabilityScanningConfig()
public abstract 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 | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfig |
The vulnerabilityScanningConfig. |
getVulnerabilityScanningConfigOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
Repository.VulnerabilityScanningConfigOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The time when the repository was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDockerConfig()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the dockerConfig field is set. |
hasMavenConfig()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the mavenConfig field is set. |
hasRemoteRepositoryConfig()
public abstract boolean hasRemoteRepositoryConfig()
Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;
Returns | |
---|---|
Type | Description |
boolean |
Whether the remoteRepositoryConfig field is set. |
hasUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
hasVirtualRepositoryConfig()
public abstract boolean hasVirtualRepositoryConfig()
Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the virtualRepositoryConfig field is set. |
hasVulnerabilityScanningConfig()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the vulnerabilityScanningConfig field is set. |