- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 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 static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
Protobuf type google.devtools.artifactregistry.v1.Version
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Version.BuilderImplements
VersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRelatedTags(Iterable<? extends Tag> values)
public Version.Builder addAllRelatedTags(Iterable<? extends Tag> values)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.devtools.artifactregistry.v1.Tag> |
Returns | |
---|---|
Type | Description |
Version.Builder |
addRelatedTags(Tag value)
public Version.Builder addRelatedTags(Tag value)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
value |
Tag |
Returns | |
---|---|
Type | Description |
Version.Builder |
addRelatedTags(Tag.Builder builderForValue)
public Version.Builder addRelatedTags(Tag.Builder builderForValue)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
Tag.Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
addRelatedTags(int index, Tag value)
public Version.Builder addRelatedTags(int index, Tag value)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Tag |
Returns | |
---|---|
Type | Description |
Version.Builder |
addRelatedTags(int index, Tag.Builder builderForValue)
public Version.Builder addRelatedTags(int index, Tag.Builder builderForValue)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Tag.Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
addRelatedTagsBuilder()
public Tag.Builder addRelatedTagsBuilder()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
Tag.Builder |
addRelatedTagsBuilder(int index)
public Tag.Builder addRelatedTagsBuilder(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tag.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
build()
public Version build()
Returns | |
---|---|
Type | Description |
Version |
buildPartial()
public Version buildPartial()
Returns | |
---|---|
Type | Description |
Version |
clear()
public Version.Builder clear()
Returns | |
---|---|
Type | Description |
Version.Builder |
clearAnnotations()
public Version.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Version.Builder |
clearCreateTime()
public Version.Builder clearCreateTime()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Version.Builder |
clearDescription()
public Version.Builder clearDescription()
Optional. Description of the version, as specified in its metadata.
string description = 3;
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Version.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearMetadata()
public Version.Builder clearMetadata()
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Version.Builder |
clearName()
public Version.Builder clearName()
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
string name = 1;
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Version.Builder |
clearRelatedTags()
public Version.Builder clearRelatedTags()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
Version.Builder |
clearUpdateTime()
public Version.Builder clearUpdateTime()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Returns | |
---|---|
Type | Description |
Version.Builder |
clone()
public Version.Builder clone()
Returns | |
---|---|
Type | Description |
Version.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.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. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.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. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Version |
getDescription()
public String getDescription()
Optional. Description of the version, as specified in its metadata.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the version, as specified in its metadata.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadata()
public Struct getMetadata()
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Struct |
The metadata. |
getMetadataBuilder()
public Struct.Builder getMetadataBuilder()
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getMetadataOrBuilder()
public StructOrBuilder getMetadataOrBuilder()
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
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 version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRelatedTags(int index)
public Tag getRelatedTags(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tag |
getRelatedTagsBuilder(int index)
public Tag.Builder getRelatedTagsBuilder(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Tag.Builder |
getRelatedTagsBuilderList()
public List<Tag.Builder> getRelatedTagsBuilderList()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRelatedTagsCount()
public int getRelatedTagsCount()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
int |
getRelatedTagsList()
public List<Tag> getRelatedTagsList()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
List<Tag> |
getRelatedTagsOrBuilder(int index)
public TagOrBuilder getRelatedTagsOrBuilder(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TagOrBuilder |
getRelatedTagsOrBuilderList()
public List<? extends TagOrBuilder> getRelatedTagsOrBuilderList()
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Returns | |
---|---|
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.TagOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasMetadata()
public boolean hasMetadata()
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the metadata field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Version.Builder mergeCreateTime(Timestamp value)
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(Version other)
public Version.Builder mergeFrom(Version other)
Parameter | |
---|---|
Name | Description |
other |
Version |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Version.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Version.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeMetadata(Struct value)
public Version.Builder mergeMetadata(Struct value)
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |
mergeUpdateTime(Timestamp value)
public Version.Builder mergeUpdateTime(Timestamp value)
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
putAllAnnotations(Map<String,String> values)
public Version.Builder putAllAnnotations(Map<String,String> values)
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Version.Builder |
putAnnotations(String key, String value)
public Version.Builder putAnnotations(String key, String value)
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Version.Builder |
removeAnnotations(String key)
public Version.Builder removeAnnotations(String key)
Optional. Client specified annotations.
map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Version.Builder |
removeRelatedTags(int index)
public Version.Builder removeRelatedTags(int index)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp value)
public Version.Builder setCreateTime(Timestamp value)
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Version.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the version was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setDescription(String value)
public Version.Builder setDescription(String value)
Optional. Description of the version, as specified in its metadata.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Version.Builder setDescriptionBytes(ByteString value)
Optional. Description of the version, as specified in its metadata.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setMetadata(Struct value)
public Version.Builder setMetadata(Struct value)
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
Version.Builder |
setMetadata(Struct.Builder builderForValue)
public Version.Builder setMetadata(Struct.Builder builderForValue)
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact
.google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setName(String value)
public Version.Builder setName(String value)
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Version.Builder setNameBytes(ByteString value)
The name of the version, for example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1
.
If the package or version ID parts contain slashes, the slashes are
escaped.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Version.Builder |
This builder for chaining. |
setRelatedTags(int index, Tag value)
public Version.Builder setRelatedTags(int index, Tag value)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Tag |
Returns | |
---|---|
Type | Description |
Version.Builder |
setRelatedTags(int index, Tag.Builder builderForValue)
public Version.Builder setRelatedTags(int index, Tag.Builder builderForValue)
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Tag.Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUpdateTime(Timestamp value)
public Version.Builder setUpdateTime(Timestamp value)
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Version.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Version.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time when the version was last updated.
.google.protobuf.Timestamp update_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Version.Builder |