Interface Repository.MavenRepositoryConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Repository.MavenRepositoryConfig
,Repository.MavenRepositoryConfig.Builder
- Enclosing class:
- Repository
public static interface Repository.MavenRepositoryConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowSnapshotOverwrites()
The repository with this flag will allow publishing the same snapshot versions.Repository.MavenRepositoryConfig.VersionPolicy
getVersionPolicy()
Version policy defines the versions that the registry will accept.int
getVersionPolicyValue()
Version policy defines the versions that the registry will accept.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllowSnapshotOverwrites
boolean getAllowSnapshotOverwrites()
The repository with this flag will allow publishing the same snapshot versions.
bool allow_snapshot_overwrites = 1;
- Returns:
- The allowSnapshotOverwrites.
-
getVersionPolicyValue
int getVersionPolicyValue()
Version policy defines the versions that the registry will accept.
.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;
- Returns:
- The enum numeric value on the wire for versionPolicy.
-
getVersionPolicy
Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy()
Version policy defines the versions that the registry will accept.
.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;
- Returns:
- The versionPolicy.
-
-