17
17
package com .google .api .services .artifactregistry .v1 .model ;
18
18
19
19
/**
20
- * An Attachment refers to additional metadata that can be attached to artifacts in
21
- * ArtifactRegistry . An attachment consists of one or more files.
20
+ * An Attachment refers to additional metadata that can be attached to artifacts in Artifact
21
+ * Registry . An attachment consists of one or more files.
22
22
*
23
23
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24
24
* transmitted over HTTP when working with the Artifact Registry API. For a detailed explanation
@@ -34,15 +34,15 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
34
34
/**
35
35
* Optional. User annotations. These attributes can only be set and used by the user, and not by
36
36
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
37
- * and size limitations. Client specified annotations.
37
+ * and size limitations.
38
38
* The value may be {@code null}.
39
39
*/
40
40
@ com .google .api .client .util .Key
41
41
private java .util .Map <String , java .lang .String > annotations ;
42
42
43
43
/**
44
44
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
45
- * analysis, namespace is set to artifactanalysis.googleapis.com.
45
+ * analysis, namespace is set to ` artifactanalysis.googleapis.com` .
46
46
* The value may be {@code null}.
47
47
*/
48
48
@ com .google .api .client .util .Key
@@ -56,8 +56,8 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
56
56
private String createTime ;
57
57
58
58
/**
59
- * Required. The files that blong to this Attachment . If the file ID part contains slashes, they
60
- * are escaped. E.g. " projects/p1/locations/us-central1/repositories/repo1/files/sha:" .
59
+ * Required. The files that belong to this attachment . If the file ID part contains slashes, they
60
+ * are escaped. E.g. ` projects/p1/locations/us-central1/repositories/repo1/files/sha:` .
61
61
* The value may be {@code null}.
62
62
*/
63
63
@ com .google .api .client .util .Key
@@ -72,8 +72,8 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
72
72
73
73
/**
74
74
* Output only. The name of the OCI version that this attachment created. Only populated for
75
- * Docker attachments. E.g. " projects/p1/locations/us-
76
- * central1/repositories/repo1/packages/p1/versions/v1" .
75
+ * Docker attachments. E.g. ` projects/p1/locations/us-
76
+ * central1/repositories/repo1/packages/p1/versions/v1` .
77
77
* The value may be {@code null}.
78
78
*/
79
79
@ com .google .api .client .util .Key
@@ -88,7 +88,7 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
88
88
private java .lang .String target ;
89
89
90
90
/**
91
- * Type of Attachment. E.g. application/vnd.spdx+jsonn
91
+ * Type of Attachment. E.g. ` application/vnd.spdx+json`
92
92
* The value may be {@code null}.
93
93
*/
94
94
@ com .google .api .client .util .Key
@@ -104,7 +104,7 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
104
104
/**
105
105
* Optional. User annotations. These attributes can only be set and used by the user, and not by
106
106
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
107
- * and size limitations. Client specified annotations.
107
+ * and size limitations.
108
108
* @return value or {@code null} for none
109
109
*/
110
110
public java .util .Map <String , java .lang .String > getAnnotations () {
@@ -114,7 +114,7 @@ public java.util.Map<String, java.lang.String> getAnnotations() {
114
114
/**
115
115
* Optional. User annotations. These attributes can only be set and used by the user, and not by
116
116
* Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format
117
- * and size limitations. Client specified annotations.
117
+ * and size limitations.
118
118
* @param annotations annotations or {@code null} for none
119
119
*/
120
120
public Attachment setAnnotations (java .util .Map <String , java .lang .String > annotations ) {
@@ -124,7 +124,7 @@ public Attachment setAnnotations(java.util.Map<String, java.lang.String> annotat
124
124
125
125
/**
126
126
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
127
- * analysis, namespace is set to artifactanalysis.googleapis.com.
127
+ * analysis, namespace is set to ` artifactanalysis.googleapis.com` .
128
128
* @return value or {@code null} for none
129
129
*/
130
130
public java .lang .String getAttachmentNamespace () {
@@ -133,7 +133,7 @@ public java.lang.String getAttachmentNamespace() {
133
133
134
134
/**
135
135
* The namespace this attachment belongs to. E.g. If an Attachment is created by artifact
136
- * analysis, namespace is set to artifactanalysis.googleapis.com.
136
+ * analysis, namespace is set to ` artifactanalysis.googleapis.com` .
137
137
* @param attachmentNamespace attachmentNamespace or {@code null} for none
138
138
*/
139
139
public Attachment setAttachmentNamespace (java .lang .String attachmentNamespace ) {
@@ -159,17 +159,17 @@ public Attachment setCreateTime(String createTime) {
159
159
}
160
160
161
161
/**
162
- * Required. The files that blong to this Attachment . If the file ID part contains slashes, they
163
- * are escaped. E.g. " projects/p1/locations/us-central1/repositories/repo1/files/sha:" .
162
+ * Required. The files that belong to this attachment . If the file ID part contains slashes, they
163
+ * are escaped. E.g. ` projects/p1/locations/us-central1/repositories/repo1/files/sha:` .
164
164
* @return value or {@code null} for none
165
165
*/
166
166
public java .util .List <java .lang .String > getFiles () {
167
167
return files ;
168
168
}
169
169
170
170
/**
171
- * Required. The files that blong to this Attachment . If the file ID part contains slashes, they
172
- * are escaped. E.g. " projects/p1/locations/us-central1/repositories/repo1/files/sha:" .
171
+ * Required. The files that belong to this attachment . If the file ID part contains slashes, they
172
+ * are escaped. E.g. ` projects/p1/locations/us-central1/repositories/repo1/files/sha:` .
173
173
* @param files files or {@code null} for none
174
174
*/
175
175
public Attachment setFiles (java .util .List <java .lang .String > files ) {
@@ -196,8 +196,8 @@ public Attachment setName(java.lang.String name) {
196
196
197
197
/**
198
198
* Output only. The name of the OCI version that this attachment created. Only populated for
199
- * Docker attachments. E.g. " projects/p1/locations/us-
200
- * central1/repositories/repo1/packages/p1/versions/v1" .
199
+ * Docker attachments. E.g. ` projects/p1/locations/us-
200
+ * central1/repositories/repo1/packages/p1/versions/v1` .
201
201
* @return value or {@code null} for none
202
202
*/
203
203
public java .lang .String getOciVersionName () {
@@ -206,8 +206,8 @@ public java.lang.String getOciVersionName() {
206
206
207
207
/**
208
208
* Output only. The name of the OCI version that this attachment created. Only populated for
209
- * Docker attachments. E.g. " projects/p1/locations/us-
210
- * central1/repositories/repo1/packages/p1/versions/v1" .
209
+ * Docker attachments. E.g. ` projects/p1/locations/us-
210
+ * central1/repositories/repo1/packages/p1/versions/v1` .
211
211
* @param ociVersionName ociVersionName or {@code null} for none
212
212
*/
213
213
public Attachment setOciVersionName (java .lang .String ociVersionName ) {
@@ -235,15 +235,15 @@ public Attachment setTarget(java.lang.String target) {
235
235
}
236
236
237
237
/**
238
- * Type of Attachment. E.g. application/vnd.spdx+jsonn
238
+ * Type of Attachment. E.g. ` application/vnd.spdx+json`
239
239
* @return value or {@code null} for none
240
240
*/
241
241
public java .lang .String getType () {
242
242
return type ;
243
243
}
244
244
245
245
/**
246
- * Type of Attachment. E.g. application/vnd.spdx+jsonn
246
+ * Type of Attachment. E.g. ` application/vnd.spdx+json`
247
247
* @param type type or {@code null} for none
248
248
*/
249
249
public Attachment setType (java .lang .String type ) {
0 commit comments