Class Attachment.Builder (1.53.0)

public static final class Attachment.Builder extends GeneratedMessageV3.Builder<Attachment.Builder> implements AttachmentOrBuilder

An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry. An attachment consists of one or more files.

Protobuf type google.devtools.artifactregistry.v1.Attachment

Implements

AttachmentOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFiles(Iterable<String> values)

public Attachment.Builder addAllFiles(Iterable<String> values)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The files to add.

Returns
Type Description
Attachment.Builder

This builder for chaining.

addFiles(String value)

public Attachment.Builder addFiles(String value)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The files to add.

Returns
Type Description
Attachment.Builder

This builder for chaining.

addFilesBytes(ByteString value)

public Attachment.Builder addFilesBytes(ByteString value)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the files to add.

Returns
Type Description
Attachment.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Attachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Attachment.Builder
Overrides

build()

public Attachment build()
Returns
Type Description
Attachment

buildPartial()

public Attachment buildPartial()
Returns
Type Description
Attachment

clear()

public Attachment.Builder clear()
Returns
Type Description
Attachment.Builder
Overrides

clearAnnotations()

public Attachment.Builder clearAnnotations()
Returns
Type Description
Attachment.Builder

clearAttachmentNamespace()

public Attachment.Builder clearAttachmentNamespace()

The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.

string attachment_namespace = 4;

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearCreateTime()

public Attachment.Builder clearCreateTime()

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Attachment.Builder

clearField(Descriptors.FieldDescriptor field)

public Attachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Attachment.Builder
Overrides

clearFiles()

public Attachment.Builder clearFiles()

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearName()

public Attachment.Builder clearName()

The name of the attachment. E.g. projects/p1/locations/us/repositories/repo/attachments/sbom.

string name = 1;

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearOciVersionName()

public Attachment.Builder clearOciVersionName()

Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string oci_version_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Attachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Attachment.Builder
Overrides

clearTarget()

public Attachment.Builder clearTarget()

Required. The target the attachment is for, can be a Version, Package or Repository. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearType()

public Attachment.Builder clearType()

Type of attachment. E.g. application/vnd.spdx+json

string type = 3;

Returns
Type Description
Attachment.Builder

This builder for chaining.

clearUpdateTime()

public Attachment.Builder clearUpdateTime()

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Attachment.Builder

clone()

public Attachment.Builder clone()
Returns
Type Description
Attachment.Builder
Overrides

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getAttachmentNamespace()

public String getAttachmentNamespace()

The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.

string attachment_namespace = 4;

Returns
Type Description
String

The attachmentNamespace.

getAttachmentNamespaceBytes()

public ByteString getAttachmentNamespaceBytes()

The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.

string attachment_namespace = 4;

Returns
Type Description
ByteString

The bytes for attachmentNamespace.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Attachment getDefaultInstanceForType()
Returns
Type Description
Attachment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFiles(int index)

public String getFiles(int index)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The files at the given index.

getFilesBytes(int index)

public ByteString getFilesBytes(int index)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the files at the given index.

getFilesCount()

public int getFilesCount()

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of files.

getFilesList()

public ProtocolStringList getFilesList()

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the files.

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of the attachment. E.g. projects/p1/locations/us/repositories/repo/attachments/sbom.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the attachment. E.g. projects/p1/locations/us/repositories/repo/attachments/sbom.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOciVersionName()

public String getOciVersionName()

Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string oci_version_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ociVersionName.

getOciVersionNameBytes()

public ByteString getOciVersionNameBytes()

Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string oci_version_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ociVersionName.

getTarget()

public String getTarget()

Required. The target the attachment is for, can be a Version, Package or Repository. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Required. The target the attachment is for, can be a Version, Package or Repository. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for target.

getType()

public String getType()

Type of attachment. E.g. application/vnd.spdx+json

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of attachment. E.g. application/vnd.spdx+json

string type = 3;

Returns
Type Description
ByteString

The bytes for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Attachment.Builder mergeCreateTime(Timestamp value)

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Attachment.Builder

mergeFrom(Attachment other)

public Attachment.Builder mergeFrom(Attachment other)
Parameter
Name Description
other Attachment
Returns
Type Description
Attachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Attachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Attachment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Attachment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Attachment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Attachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Attachment.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Attachment.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Attachment.Builder

putAllAnnotations(Map<String,String> values)

public Attachment.Builder putAllAnnotations(Map<String,String> values)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Attachment.Builder

putAnnotations(String key, String value)

public Attachment.Builder putAnnotations(String key, String value)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
Attachment.Builder

removeAnnotations(String key)

public Attachment.Builder removeAnnotations(String key)

Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Attachment.Builder

setAttachmentNamespace(String value)

public Attachment.Builder setAttachmentNamespace(String value)

The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.

string attachment_namespace = 4;

Parameter
Name Description
value String

The attachmentNamespace to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setAttachmentNamespaceBytes(ByteString value)

public Attachment.Builder setAttachmentNamespaceBytes(ByteString value)

The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.

string attachment_namespace = 4;

Parameter
Name Description
value ByteString

The bytes for attachmentNamespace to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Attachment.Builder setCreateTime(Timestamp value)

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Attachment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Attachment.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the attachment was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attachment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Attachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Attachment.Builder
Overrides

setFiles(int index, String value)

public Attachment.Builder setFiles(int index, String value)

Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>.

repeated string files = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The files to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setName(String value)

public Attachment.Builder setName(String value)

The name of the attachment. E.g. projects/p1/locations/us/repositories/repo/attachments/sbom.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Attachment.Builder setNameBytes(ByteString value)

The name of the attachment. E.g. projects/p1/locations/us/repositories/repo/attachments/sbom.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setOciVersionName(String value)

public Attachment.Builder setOciVersionName(String value)

Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string oci_version_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ociVersionName to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setOciVersionNameBytes(ByteString value)

public Attachment.Builder setOciVersionNameBytes(ByteString value)

Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string oci_version_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ociVersionName to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Attachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Attachment.Builder
Overrides

setTarget(String value)

public Attachment.Builder setTarget(String value)

Required. The target the attachment is for, can be a Version, Package or Repository. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The target to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setTargetBytes(ByteString value)

public Attachment.Builder setTargetBytes(ByteString value)

Required. The target the attachment is for, can be a Version, Package or Repository. E.g. projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1.

string target = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setType(String value)

public Attachment.Builder setType(String value)

Type of attachment. E.g. application/vnd.spdx+json

string type = 3;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public Attachment.Builder setTypeBytes(ByteString value)

Type of attachment. E.g. application/vnd.spdx+json

string type = 3;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
Attachment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Attachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Attachment.Builder
Overrides

setUpdateTime(Timestamp value)

public Attachment.Builder setUpdateTime(Timestamp value)

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Attachment.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Attachment.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the attachment was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Attachment.Builder