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

    Modifier and Type
    Method
    Description
    boolean
    The repository with this flag will allow publishing the same snapshot versions.
    Version policy defines the versions that the registry will accept.
    int
    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 Details

    • 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

       Version policy defines the versions that the registry will accept.
       
      .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;
      Returns:
      The versionPolicy.