1717package com .google .api .services .artifactregistry .v1 .model ;
1818
1919/**
20- * PrewarmedArtifact represents a streamed artifact. This is not a request message, so
21- * field_behavior annotations are not required.
20+ * PrewarmedArtifact represents a streamed artifact.
2221 *
2322 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2423 * transmitted over HTTP when working with the Artifact Registry API. For a detailed explanation
3130@ SuppressWarnings ("javadoc" )
3231public final class PrewarmedArtifact extends com .google .api .client .json .GenericJson {
3332
33+ /**
34+ * Output only. The time the artifact was first prewarmed.
35+ * The value may be {@code null}.
36+ */
37+ @ com .google .api .client .util .Key
38+ private String createTime ;
39+
40+ /**
41+ * Output only. The error message if the state is `FAILED`.
42+ * The value may be {@code null}.
43+ */
44+ @ com .google .api .client .util .Key
45+ private java .lang .String errorMessage ;
46+
3447 /**
3548 * The expiration time of the prewarmed artifact.
3649 * The value may be {@code null}.
@@ -45,6 +58,21 @@ public final class PrewarmedArtifact extends com.google.api.client.json.GenericJ
4558 @ com .google .api .client .util .Key
4659 private java .lang .String location ;
4760
61+ /**
62+ * Output only. The compressed size of the prewarmed artifact in bytes. This is the size counted
63+ * against the prewarm storage quota.
64+ * The value may be {@code null}.
65+ */
66+ @ com .google .api .client .util .Key @ com .google .api .client .json .JsonString
67+ private java .lang .Long sizeBytes ;
68+
69+ /**
70+ * Output only. The caching state of the prewarmed artifact.
71+ * The value may be {@code null}.
72+ */
73+ @ com .google .api .client .util .Key
74+ private java .lang .String state ;
75+
4876 /**
4977 * URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-
5078 * repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
@@ -53,6 +81,40 @@ public final class PrewarmedArtifact extends com.google.api.client.json.GenericJ
5381 @ com .google .api .client .util .Key
5482 private java .lang .String uri ;
5583
84+ /**
85+ * Output only. The time the artifact was first prewarmed.
86+ * @return value or {@code null} for none
87+ */
88+ public String getCreateTime () {
89+ return createTime ;
90+ }
91+
92+ /**
93+ * Output only. The time the artifact was first prewarmed.
94+ * @param createTime createTime or {@code null} for none
95+ */
96+ public PrewarmedArtifact setCreateTime (String createTime ) {
97+ this .createTime = createTime ;
98+ return this ;
99+ }
100+
101+ /**
102+ * Output only. The error message if the state is `FAILED`.
103+ * @return value or {@code null} for none
104+ */
105+ public java .lang .String getErrorMessage () {
106+ return errorMessage ;
107+ }
108+
109+ /**
110+ * Output only. The error message if the state is `FAILED`.
111+ * @param errorMessage errorMessage or {@code null} for none
112+ */
113+ public PrewarmedArtifact setErrorMessage (java .lang .String errorMessage ) {
114+ this .errorMessage = errorMessage ;
115+ return this ;
116+ }
117+
56118 /**
57119 * The expiration time of the prewarmed artifact.
58120 * @return value or {@code null} for none
@@ -87,6 +149,42 @@ public PrewarmedArtifact setLocation(java.lang.String location) {
87149 return this ;
88150 }
89151
152+ /**
153+ * Output only. The compressed size of the prewarmed artifact in bytes. This is the size counted
154+ * against the prewarm storage quota.
155+ * @return value or {@code null} for none
156+ */
157+ public java .lang .Long getSizeBytes () {
158+ return sizeBytes ;
159+ }
160+
161+ /**
162+ * Output only. The compressed size of the prewarmed artifact in bytes. This is the size counted
163+ * against the prewarm storage quota.
164+ * @param sizeBytes sizeBytes or {@code null} for none
165+ */
166+ public PrewarmedArtifact setSizeBytes (java .lang .Long sizeBytes ) {
167+ this .sizeBytes = sizeBytes ;
168+ return this ;
169+ }
170+
171+ /**
172+ * Output only. The caching state of the prewarmed artifact.
173+ * @return value or {@code null} for none
174+ */
175+ public java .lang .String getState () {
176+ return state ;
177+ }
178+
179+ /**
180+ * Output only. The caching state of the prewarmed artifact.
181+ * @param state state or {@code null} for none
182+ */
183+ public PrewarmedArtifact setState (java .lang .String state ) {
184+ this .state = state ;
185+ return this ;
186+ }
187+
90188 /**
91189 * URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-
92190 * repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
0 commit comments