- 1.50.0 (latest)
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public interface DockerImageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBuildTime()
public abstract 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;
Type | Description |
Timestamp | The buildTime. |
getBuildTimeOrBuilder()
public abstract 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;
Type | Description |
TimestampOrBuilder |
getImageSizeBytes()
public abstract 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;
Type | Description |
long | The imageSizeBytes. |
getMediaType()
public abstract 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;
Type | Description |
String | The mediaType. |
getMediaTypeBytes()
public abstract 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;
Type | Description |
ByteString | The bytes for mediaType. |
getName()
public abstract String getName()
Required. registry_location, project_id, repository_name and image id forms a unique
image
name:projects/<project_id>/locations/<location>/repository/<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];
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. registry_location, project_id, repository_name and image id forms a unique
image
name:projects/<project_id>/locations/<location>/repository/<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];
Type | Description |
ByteString | The bytes for name. |
getTags(int index)
public abstract String getTags(int index)
Tags attached to this image.
repeated string tags = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public abstract ByteString getTagsBytes(int index)
Tags attached to this image.
repeated string tags = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public abstract int getTagsCount()
Tags attached to this image.
repeated string tags = 3;
Type | Description |
int | The count of tags. |
getTagsList()
public abstract List<String> getTagsList()
Tags attached to this image.
repeated string tags = 3;
Type | Description |
List<String> | A list containing the tags. |
getUploadTime()
public abstract Timestamp getUploadTime()
Time the image was uploaded.
.google.protobuf.Timestamp upload_time = 5;
Type | Description |
Timestamp | The uploadTime. |
getUploadTimeOrBuilder()
public abstract TimestampOrBuilder getUploadTimeOrBuilder()
Time the image was uploaded.
.google.protobuf.Timestamp upload_time = 5;
Type | Description |
TimestampOrBuilder |
getUri()
public abstract 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];
Type | Description |
String | The uri. |
getUriBytes()
public abstract 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];
Type | Description |
ByteString | The bytes for uri. |
hasBuildTime()
public abstract 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;
Type | Description |
boolean | Whether the buildTime field is set. |
hasUploadTime()
public abstract boolean hasUploadTime()
Time the image was uploaded.
.google.protobuf.Timestamp upload_time = 5;
Type | Description |
boolean | Whether the uploadTime field is set. |