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 Summary
Modifier and TypeMethodDescriptionArtifactType of this image, e.g.com.google.protobuf.ByteStringArtifactType of this image, e.g.com.google.protobuf.TimestampThe time this image was built.com.google.protobuf.TimestampOrBuilderThe time this image was built.getImageManifests(int index) Optional.intOptional.Optional.getImageManifestsOrBuilder(int index) Optional.List<? extends ImageManifestOrBuilder>Optional.longCalculated size of the image.Media type of this image, e.g.com.google.protobuf.ByteStringMedia type of this image, e.g.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>`.com.google.protobuf.ByteStringRequired. 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>`.getTags(int index) Tags attached to this image.com.google.protobuf.ByteStringgetTagsBytes(int index) Tags attached to this image.intTags attached to this image.Tags attached to this image.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampTime the image was uploaded.com.google.protobuf.TimestampOrBuilderTime the image was uploaded.getUri()Required.com.google.protobuf.ByteStringRequired.booleanThe time this image was built.booleanOutput only.booleanTime the image was uploaded.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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];
-