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 Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels with user-defined metadata.com.google.protobuf.TimestampThe time when the repository was created.com.google.protobuf.TimestampOrBuilderThe time when the repository was created.The user-provided description of the repository.com.google.protobuf.ByteStringThe user-provided description of the repository.The format of packages that are stored in the repository.intThe format of packages that are stored in the repository.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.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.TimestampThe time when the repository was last updated.com.google.protobuf.TimestampOrBuilderThe time when the repository was last updated.booleanThe time when the repository was created.booleanMaven repository config contains repository level configuration for the repositories of maven type.booleanThe time when the repository was last updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMavenConfig
boolean hasMavenConfig()Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9;- Returns:
- Whether the mavenConfig field is set.
-
getMavenConfig
Repository.MavenRepositoryConfig getMavenConfig()Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9;- Returns:
- The mavenConfig.
-
getMavenConfigOrBuilder
Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder()Maven repository config contains repository level configuration for the repositories of maven type.
.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; -
getName
String getName()The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".
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".
string name = 1;- Returns:
- The bytes for name.
-
getFormatValue
int getFormatValue()The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1beta2.Repository.Format format = 2;- Returns:
- The enum numeric value on the wire for format.
-
getFormat
Repository.Format getFormat()The format of packages that are stored in the repository.
.google.devtools.artifactregistry.v1beta2.Repository.Format format = 2;- 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
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.UsegetLabelsMap()instead. -
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
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
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()The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time when the repository was created.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time when the repository was created.
.google.protobuf.Timestamp create_time = 5; -
hasUpdateTime
boolean hasUpdateTime()The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The time when the repository was last updated.
.google.protobuf.Timestamp update_time = 6; -
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.
-
getFormatConfigCase
Repository.FormatConfigCase getFormatConfigCase()
-