Interface RepositoryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Repository
,Repository.Builder
public interface RepositoryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels with user-defined metadata.com.google.protobuf.Timestamp
getCreateTime()
The time when the repository was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time when the repository was created.String
getDescription()
The user-provided description of the repository.com.google.protobuf.ByteString
getDescriptionBytes()
The user-provided description of the repository.Repository.Format
getFormat()
The format of packages that are stored in the repository.Repository.FormatConfigCase
getFormatConfigCase()
int
getFormatValue()
The format of packages that are stored in the repository.String
getKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository.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.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels with user-defined metadata.Map<String,String>
getLabelsMap()
Labels with user-defined metadata.String
getLabelsOrDefault(String key, String defaultValue)
Labels with user-defined metadata.String
getLabelsOrThrow(String key)
Labels with user-defined metadata.Repository.MavenRepositoryConfig
getMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.Repository.MavenRepositoryConfigOrBuilder
getMavenConfigOrBuilder()
Maven repository config contains repository level configuration for the repositories of maven type.String
getName()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.ByteString
getNameBytes()
The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".com.google.protobuf.Timestamp
getUpdateTime()
The time when the repository was last updated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The time when the repository was last updated.boolean
hasCreateTime()
The time when the repository was created.boolean
hasMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven type.boolean
hasUpdateTime()
The time when the repository was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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:
- The mavenConfig.
-
getMavenConfigOrBuilder
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;
-
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.v1.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.v1.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
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 Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
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()
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()
-
-