- 1.77.0 (latest)
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.69.0
 - 1.67.0
 - 1.66.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 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 GenericArtifact.Builder extends GeneratedMessageV3.Builder<GenericArtifact.Builder> implements GenericArtifactOrBuilderGenericArtifact represents a generic artifact
 Protobuf type google.devtools.artifactregistry.v1.GenericArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenericArtifact.BuilderImplements
GenericArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenericArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
build()
public GenericArtifact build()| Returns | |
|---|---|
| Type | Description | 
GenericArtifact | 
        |
buildPartial()
public GenericArtifact buildPartial()| Returns | |
|---|---|
| Type | Description | 
GenericArtifact | 
        |
clear()
public GenericArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
clearCreateTime()
public GenericArtifact.Builder clearCreateTime()Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public GenericArtifact.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
clearName()
public GenericArtifact.Builder clearName()Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. "projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public GenericArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
clearUpdateTime()
public GenericArtifact.Builder clearUpdateTime()Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
clearVersion()
public GenericArtifact.Builder clearVersion()The version of the generic artifact.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  | 
      
clone()
public GenericArtifact.Builder clone()| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public GenericArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
GenericArtifact | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getName()
public String getName()Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. "projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. "projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getVersion()
public String getVersion()The version of the generic artifact.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The version.  | 
      
getVersionBytes()
public ByteString getVersionBytes()The version of the generic artifact.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for version.  | 
      
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.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 Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.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 | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCreateTime(Timestamp value)
public GenericArtifact.Builder mergeCreateTime(Timestamp value)Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
mergeFrom(GenericArtifact other)
public GenericArtifact.Builder mergeFrom(GenericArtifact other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        GenericArtifact | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenericArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public GenericArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenericArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
mergeUpdateTime(Timestamp value)
public GenericArtifact.Builder mergeUpdateTime(Timestamp value)Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setCreateTime(Timestamp value)
public GenericArtifact.Builder setCreateTime(Timestamp value)Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public GenericArtifact.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the Generic module is created.
 
 .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public GenericArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setName(String value)
public GenericArtifact.Builder setName(String value)Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. "projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public GenericArtifact.Builder setNameBytes(ByteString value)Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. "projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenericArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenericArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setUpdateTime(Timestamp value)
public GenericArtifact.Builder setUpdateTime(Timestamp value)Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public GenericArtifact.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The time when the Generic module is updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        |
setVersion(String value)
public GenericArtifact.Builder setVersion(String value)The version of the generic artifact.
 string version = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe version to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  | 
      
setVersionBytes(ByteString value)
public GenericArtifact.Builder setVersionBytes(ByteString value)The version of the generic artifact.
 string version = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for version to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GenericArtifact.Builder | 
        This builder for chaining.  |