Interface Repository.MavenRepositoryConfigOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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.