Interface DockerImageOrBuilder

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

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

    • getName

      String getName()
       Required. registry_location, project_id, repository_name and image id forms
       a unique image
       name:`projects/<project_id>/locations/<location>/repositories/<repository_name>/dockerImages/<docker_image>`.
       For example,
       "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/
       nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf",
       where "us-west4" is the registry_location, "test-project" is the
       project_id, "test-repo" is the repository_name and
       "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf"
       is the image's digest.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. registry_location, project_id, repository_name and image id forms
       a unique image
       name:`projects/<project_id>/locations/<location>/repositories/<repository_name>/dockerImages/<docker_image>`.
       For example,
       "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/
       nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf",
       where "us-west4" is the registry_location, "test-project" is the
       project_id, "test-repo" is the repository_name and
       "nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf"
       is the image's digest.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getUri

      String getUri()
       Required. URL to access the image.
       Example:
       us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       Required. URL to access the image.
       Example:
       us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
       
      string uri = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for uri.
    • getTagsList

      List<String> getTagsList()
       Tags attached to this image.
       
      repeated string tags = 3;
      Returns:
      A list containing the tags.
    • getTagsCount

      int getTagsCount()
       Tags attached to this image.
       
      repeated string tags = 3;
      Returns:
      The count of tags.
    • getTags

      String getTags(int index)
       Tags attached to this image.
       
      repeated string tags = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      com.google.protobuf.ByteString getTagsBytes(int index)
       Tags attached to this image.
       
      repeated string tags = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getImageSizeBytes

      long getImageSizeBytes()
       Calculated size of the image.
       This field is returned as the 'metadata.imageSizeBytes' field in the
       Version resource.
       
      int64 image_size_bytes = 4;
      Returns:
      The imageSizeBytes.
    • hasUploadTime

      boolean hasUploadTime()
       Time the image was uploaded.
       
      .google.protobuf.Timestamp upload_time = 5;
      Returns:
      Whether the uploadTime field is set.
    • getUploadTime

      com.google.protobuf.Timestamp getUploadTime()
       Time the image was uploaded.
       
      .google.protobuf.Timestamp upload_time = 5;
      Returns:
      The uploadTime.
    • getUploadTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder()
       Time the image was uploaded.
       
      .google.protobuf.Timestamp upload_time = 5;
    • getMediaType

      String getMediaType()
       Media type of this image, e.g.
       "application/vnd.docker.distribution.manifest.v2+json".
       This field is returned as the 'metadata.mediaType' field in the
       Version resource.
       
      string media_type = 6;
      Returns:
      The mediaType.
    • getMediaTypeBytes

      com.google.protobuf.ByteString getMediaTypeBytes()
       Media type of this image, e.g.
       "application/vnd.docker.distribution.manifest.v2+json".
       This field is returned as the 'metadata.mediaType' field in the
       Version resource.
       
      string media_type = 6;
      Returns:
      The bytes for mediaType.
    • hasBuildTime

      boolean hasBuildTime()
       The time this image was built.
       This field is returned as the 'metadata.buildTime' field in the
       Version resource.
       The build time is returned to the client as an RFC 3339 string, which can
       be easily used with the JavaScript Date constructor.
       
      .google.protobuf.Timestamp build_time = 7;
      Returns:
      Whether the buildTime field is set.
    • getBuildTime

      com.google.protobuf.Timestamp getBuildTime()
       The time this image was built.
       This field is returned as the 'metadata.buildTime' field in the
       Version resource.
       The build time is returned to the client as an RFC 3339 string, which can
       be easily used with the JavaScript Date constructor.
       
      .google.protobuf.Timestamp build_time = 7;
      Returns:
      The buildTime.
    • getBuildTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder()
       The time this image was built.
       This field is returned as the 'metadata.buildTime' field in the
       Version resource.
       The build time is returned to the client as an RFC 3339 string, which can
       be easily used with the JavaScript Date constructor.
       
      .google.protobuf.Timestamp build_time = 7;
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The time when the docker image was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the docker image was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the docker image was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getArtifactType

      String getArtifactType()
       ArtifactType of this image, e.g. "application/vnd.example+type".
       If the `subject_digest` is set and no `artifact_type` is given, the
       `media_type` will be considered as the `artifact_type`. This field is
       returned as the `metadata.artifactType` field in the Version resource.
       
      string artifact_type = 9;
      Returns:
      The artifactType.
    • getArtifactTypeBytes

      com.google.protobuf.ByteString getArtifactTypeBytes()
       ArtifactType of this image, e.g. "application/vnd.example+type".
       If the `subject_digest` is set and no `artifact_type` is given, the
       `media_type` will be considered as the `artifact_type`. This field is
       returned as the `metadata.artifactType` field in the Version resource.
       
      string artifact_type = 9;
      Returns:
      The bytes for artifactType.
    • getImageManifestsList

      List<ImageManifest> getImageManifestsList()
       Optional. For multi-arch images (manifest lists), this field contains the
       list of image manifests.
       
      repeated .google.devtools.artifactregistry.v1.ImageManifest image_manifests = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getImageManifests

      ImageManifest getImageManifests(int index)
       Optional. For multi-arch images (manifest lists), this field contains the
       list of image manifests.
       
      repeated .google.devtools.artifactregistry.v1.ImageManifest image_manifests = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getImageManifestsCount

      int getImageManifestsCount()
       Optional. For multi-arch images (manifest lists), this field contains the
       list of image manifests.
       
      repeated .google.devtools.artifactregistry.v1.ImageManifest image_manifests = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getImageManifestsOrBuilderList

      List<? extends ImageManifestOrBuilder> getImageManifestsOrBuilderList()
       Optional. For multi-arch images (manifest lists), this field contains the
       list of image manifests.
       
      repeated .google.devtools.artifactregistry.v1.ImageManifest image_manifests = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getImageManifestsOrBuilder

      ImageManifestOrBuilder getImageManifestsOrBuilder(int index)
       Optional. For multi-arch images (manifest lists), this field contains the
       list of image manifests.
       
      repeated .google.devtools.artifactregistry.v1.ImageManifest image_manifests = 11 [(.google.api.field_behavior) = OPTIONAL];