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 Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    The time when the version was created.
    com.google.protobuf.TimestampOrBuilder
    The time when the version was created.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.Struct
    Output only.
    com.google.protobuf.StructOrBuilder
    Output only.
    The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
    com.google.protobuf.ByteString
    The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
    getRelatedTags(int index)
    Output only.
    int
    Output only.
    Output only.
    Output only.
    List<? extends TagOrBuilder>
    Output only.
    com.google.protobuf.Timestamp
    The time when the version was last updated.
    com.google.protobuf.TimestampOrBuilder
    The time when the version was last updated.
    boolean
    The time when the version was created.
    boolean
    Output only.
    boolean
    The time when the version was last updated.

    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

    • 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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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 only resource in use is
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       
      .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 only resource in use is
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       
      .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 only resource in use is
       [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
       
      .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];