Interface VersionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Version, Version.Builder

@Generated public interface VersionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The name of the version, for example:
       `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`.
       If the package or version ID parts contain slashes, the slashes are
       escaped.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the version, for example:
       `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`.
       If the package or version ID parts contain slashes, the slashes are
       escaped.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
       Optional. Description of the version, as specified in its metadata.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the version, as specified in its metadata.
       
      string description = 3;
      Returns:
      The bytes for description.
    • hasCreateTime

      boolean hasCreateTime()
       The time when the version 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 version was created.
       
      .google.protobuf.Timestamp create_time = 5;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time when the version was created.
       
      .google.protobuf.Timestamp create_time = 5;
    • hasUpdateTime

      boolean hasUpdateTime()
       The time when the version 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 version was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The time when the version was last updated.
       
      .google.protobuf.Timestamp update_time = 6;
    • getRelatedTagsList

      List<Tag> getRelatedTagsList()
       Output only. A list of related tags. Will contain up to 100 tags that
       reference this version.
       
      repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    • getRelatedTags

      Tag getRelatedTags(int index)
       Output only. A list of related tags. Will contain up to 100 tags that
       reference this version.
       
      repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    • getRelatedTagsCount

      int getRelatedTagsCount()
       Output only. A list of related tags. Will contain up to 100 tags that
       reference this version.
       
      repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    • getRelatedTagsOrBuilderList

      List<? extends TagOrBuilder> getRelatedTagsOrBuilderList()
       Output only. A list of related tags. Will contain up to 100 tags that
       reference this version.
       
      repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    • getRelatedTagsOrBuilder

      TagOrBuilder getRelatedTagsOrBuilder(int index)
       Output only. A list of related tags. Will contain up to 100 tags that
       reference this version.
       
      repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    • hasMetadata

      boolean hasMetadata()
       Output only. Repository-specific Metadata stored against this version.
       The fields returned are defined by the underlying repository-specific
       resource. Currently, the resources could be:
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
       
      .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the metadata field is set.
    • getMetadata

      com.google.protobuf.Struct getMetadata()
       Output only. Repository-specific Metadata stored against this version.
       The fields returned are defined by the underlying repository-specific
       resource. Currently, the resources could be:
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
       
      .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The metadata.
    • getMetadataOrBuilder

      com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       Output only. Repository-specific Metadata stored against this version.
       The fields returned are defined by the underlying repository-specific
       resource. Currently, the resources could be:
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       [MavenArtifact][google.devtools.artifactregistry.v1.MavenArtifact]
       
      .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. Client specified annotations.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Client specified annotations.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getFingerprintsList

      List<Hash> getFingerprintsList()
       Output only. Immutable reference for the version, calculated based on the
       version's content. Currently we only support dirsum_sha256 hash algorithm.
       Additional hash algorithms may be added in the future.
       
      repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFingerprints

      Hash getFingerprints(int index)
       Output only. Immutable reference for the version, calculated based on the
       version's content. Currently we only support dirsum_sha256 hash algorithm.
       Additional hash algorithms may be added in the future.
       
      repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFingerprintsCount

      int getFingerprintsCount()
       Output only. Immutable reference for the version, calculated based on the
       version's content. Currently we only support dirsum_sha256 hash algorithm.
       Additional hash algorithms may be added in the future.
       
      repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFingerprintsOrBuilderList

      List<? extends HashOrBuilder> getFingerprintsOrBuilderList()
       Output only. Immutable reference for the version, calculated based on the
       version's content. Currently we only support dirsum_sha256 hash algorithm.
       Additional hash algorithms may be added in the future.
       
      repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFingerprintsOrBuilder

      HashOrBuilder getFingerprintsOrBuilder(int index)
       Output only. Immutable reference for the version, calculated based on the
       version's content. Currently we only support dirsum_sha256 hash algorithm.
       Additional hash algorithms may be added in the future.
       
      repeated .google.devtools.artifactregistry.v1.Hash fingerprints = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];