Class Repository
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.artifactregistry.v1.Repository
- All Implemented Interfaces:
RepositoryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Repository
extends com.google.protobuf.GeneratedMessage
implements RepositoryOrBuilder
A Repository for storing artifacts with a specific format.Protobuf type
google.devtools.artifactregistry.v1.Repository- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Repository for storing artifacts with a specific format.static final classDockerRepositoryConfig is docker related repository details.static interfacestatic enumA package format.static enumstatic final classMavenRepositoryConfig is maven related repository details.static interfacestatic enumThe mode configures the repository to serve artifacts from different sources.static enumstatic final classConfig on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Labels with user-defined metadata.booleanDeprecated.intOptional.Optional.getCleanupPoliciesOrDefault(String key, CleanupPolicy defaultValue) Optional.Optional.booleanOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static RepositoryThe user-provided description of the repository.com.google.protobuf.ByteStringThe user-provided description of the repository.static final com.google.protobuf.Descriptors.DescriptorbooleanOptional.Docker repository config contains repository level configuration for the repositories of docker type.Docker repository config contains repository level configuration for the repositories of docker type.Optional.intOptional.The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.com.google.protobuf.ByteStringThe Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.Deprecated.intLabels with user-defined metadata.Labels with user-defined metadata.getLabelsOrDefault(String key, String defaultValue) Labels with user-defined metadata.getLabelsOrThrow(String key) Labels with user-defined metadata.Maven repository config contains repository level configuration for the repositories of maven type.Maven repository config contains repository level configuration for the repositories of maven type.getMode()Optional.intOptional.getName()The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.com.google.protobuf.ByteStringThe name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.com.google.protobuf.Parser<Repository>Output only.com.google.protobuf.ByteStringOutput only.Configuration specific for a Remote Repository.Configuration specific for a Remote Repository.booleanOutput only.booleanOutput only.intlongOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Configuration specific for a Virtual Repository.Configuration specific for a Virtual Repository.Optional.Optional.booleanOutput only.booleanDocker repository config contains repository level configuration for the repositories of docker type.inthashCode()booleanMaven repository config contains repository level configuration for the repositories of maven type.booleanConfiguration specific for a Remote Repository.booleanOutput only.booleanConfiguration specific for a Virtual Repository.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Repository.Builderstatic Repository.BuildernewBuilder(Repository prototype) protected Repository.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RepositoryparseDelimitedFrom(InputStream input) static RepositoryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(byte[] data) static RepositoryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(com.google.protobuf.ByteString data) static RepositoryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(com.google.protobuf.CodedInputStream input) static RepositoryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(InputStream input) static RepositoryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RepositoryparseFrom(ByteBuffer data) static RepositoryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Repository>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MAVEN_CONFIG_FIELD_NUMBER
public static final int MAVEN_CONFIG_FIELD_NUMBER- See Also:
-
DOCKER_CONFIG_FIELD_NUMBER
public static final int DOCKER_CONFIG_FIELD_NUMBER- See Also:
-
VIRTUAL_REPOSITORY_CONFIG_FIELD_NUMBER
public static final int VIRTUAL_REPOSITORY_CONFIG_FIELD_NUMBER- See Also:
-
REMOTE_REPOSITORY_CONFIG_FIELD_NUMBER
public static final int REMOTE_REPOSITORY_CONFIG_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER- See Also:
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- See Also:
-
CLEANUP_POLICIES_FIELD_NUMBER
public static final int CLEANUP_POLICIES_FIELD_NUMBER- See Also:
-
SIZE_BYTES_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
CLEANUP_POLICY_DRY_RUN_FIELD_NUMBER
public static final int CLEANUP_POLICY_DRY_RUN_FIELD_NUMBER- See Also:
-
VULNERABILITY_SCANNING_CONFIG_FIELD_NUMBER
public static final int VULNERABILITY_SCANNING_CONFIG_FIELD_NUMBER- See Also:
-
DISALLOW_UNSPECIFIED_MODE_FIELD_NUMBER
public static final int DISALLOW_UNSPECIFIED_MODE_FIELD_NUMBER- See Also:
-
SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER- See Also:
-
REGISTRY_URI_FIELD_NUMBER
public static final int REGISTRY_URI_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getFormatConfigCase
- Specified by:
getFormatConfigCasein interfaceRepositoryOrBuilder
-
getModeConfigCase
- Specified by:
getModeConfigCasein interfaceRepositoryOrBuilder
-
hasMavenConfig
public boolean hasMavenConfig()Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9;- Specified by:
hasMavenConfigin interfaceRepositoryOrBuilder- 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;- Specified by:
getMavenConfigin interfaceRepositoryOrBuilder- 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;- Specified by:
getMavenConfigOrBuilderin interfaceRepositoryOrBuilder
-
hasDockerConfig
public boolean hasDockerConfig()Docker repository config contains repository level configuration for the repositories of docker type.
.google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;- Specified by:
hasDockerConfigin interfaceRepositoryOrBuilder- 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;- Specified by:
getDockerConfigin interfaceRepositoryOrBuilder- Returns:
- The dockerConfig.
-
getDockerConfigOrBuilder
Docker repository config contains repository level configuration for the repositories of docker type.
.google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig docker_config = 17;- Specified by:
getDockerConfigOrBuilderin interfaceRepositoryOrBuilder
-
hasVirtualRepositoryConfig
public boolean hasVirtualRepositoryConfig()Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;- Specified by:
hasVirtualRepositoryConfigin interfaceRepositoryOrBuilder- Returns:
- Whether the virtualRepositoryConfig field is set.
-
getVirtualRepositoryConfig
Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;- Specified by:
getVirtualRepositoryConfigin interfaceRepositoryOrBuilder- Returns:
- The virtualRepositoryConfig.
-
getVirtualRepositoryConfigOrBuilder
Configuration specific for a Virtual Repository.
.google.devtools.artifactregistry.v1.VirtualRepositoryConfig virtual_repository_config = 14;- Specified by:
getVirtualRepositoryConfigOrBuilderin interfaceRepositoryOrBuilder
-
hasRemoteRepositoryConfig
public boolean hasRemoteRepositoryConfig()Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;- Specified by:
hasRemoteRepositoryConfigin interfaceRepositoryOrBuilder- Returns:
- Whether the remoteRepositoryConfig field is set.
-
getRemoteRepositoryConfig
Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;- Specified by:
getRemoteRepositoryConfigin interfaceRepositoryOrBuilder- Returns:
- The remoteRepositoryConfig.
-
getRemoteRepositoryConfigOrBuilder
Configuration specific for a Remote Repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig remote_repository_config = 15;- Specified by:
getRemoteRepositoryConfigOrBuilderin interfaceRepositoryOrBuilder
-
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;- Specified by:
getNamein interfaceRepositoryOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for name.
-
getFormatValue
public 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];- Specified by:
getFormatValuein interfaceRepositoryOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getFormatin interfaceRepositoryOrBuilder- Returns:
- The format.
-
getDescription
The user-provided description of the repository.
string description = 3;- Specified by:
getDescriptionin interfaceRepositoryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The user-provided description of the repository.
string description = 3;- Specified by:
getDescriptionBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:RepositoryOrBuilderLabels 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;- Specified by:
getLabelsCountin interfaceRepositoryOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceRepositoryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRepositoryOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceRepositoryOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceRepositoryOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceRepositoryOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the repository was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceRepositoryOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceRepositoryOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceRepositoryOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceRepositoryOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceRepositoryOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceRepositoryOrBuilder
-
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;- Specified by:
getKmsKeyNamein interfaceRepositoryOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public 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;- Specified by:
getKmsKeyNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getModeValue
public int getModeValue()Optional. The mode of the repository.
.google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModeValuein interfaceRepositoryOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
getMode
Optional. The mode of the repository.
.google.devtools.artifactregistry.v1.Repository.Mode mode = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getModein interfaceRepositoryOrBuilder- Returns:
- The mode.
-
getCleanupPoliciesCount
public int getCleanupPoliciesCount()Description copied from interface:RepositoryOrBuilderOptional. 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];- Specified by:
getCleanupPoliciesCountin interfaceRepositoryOrBuilder
-
containsCleanupPolicies
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];- Specified by:
containsCleanupPoliciesin interfaceRepositoryOrBuilder
-
getCleanupPolicies
Deprecated.UsegetCleanupPoliciesMap()instead.- Specified by:
getCleanupPoliciesin interfaceRepositoryOrBuilder
-
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];- Specified by:
getCleanupPoliciesMapin interfaceRepositoryOrBuilder
-
getCleanupPoliciesOrDefault
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];- Specified by:
getCleanupPoliciesOrDefaultin interfaceRepositoryOrBuilder
-
getCleanupPoliciesOrThrow
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];- Specified by:
getCleanupPoliciesOrThrowin interfaceRepositoryOrBuilder
-
getSizeBytes
public 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];- Specified by:
getSizeBytesin interfaceRepositoryOrBuilder- Returns:
- The sizeBytes.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Whether or not this repository satisfies PZS.
bool satisfies_pzs = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceRepositoryOrBuilder- Returns:
- The satisfiesPzs.
-
getCleanupPolicyDryRun
public 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];- Specified by:
getCleanupPolicyDryRunin interfaceRepositoryOrBuilder- Returns:
- The cleanupPolicyDryRun.
-
hasVulnerabilityScanningConfig
public 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];- Specified by:
hasVulnerabilityScanningConfigin interfaceRepositoryOrBuilder- Returns:
- Whether the vulnerabilityScanningConfig field is set.
-
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];- Specified by:
getVulnerabilityScanningConfigin interfaceRepositoryOrBuilder- Returns:
- The vulnerabilityScanningConfig.
-
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];- Specified by:
getVulnerabilityScanningConfigOrBuilderin interfaceRepositoryOrBuilder
-
getDisallowUnspecifiedMode
public 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];- Specified by:
getDisallowUnspecifiedModein interfaceRepositoryOrBuilder- Returns:
- The disallowUnspecifiedMode.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Whether or not this repository satisfies PZI.
bool satisfies_pzi = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceRepositoryOrBuilder- Returns:
- The satisfiesPzi.
-
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];- Specified by:
getRegistryUriin interfaceRepositoryOrBuilder- Returns:
- The registryUri.
-
getRegistryUriBytes
public 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];- Specified by:
getRegistryUriBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for registryUri.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Repository parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Repository parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Repository parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Repository parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Repository parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Repository parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Repository parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Repository parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Repository.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-