- 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 MavenArtifact.Builder extends GeneratedMessageV3.Builder<MavenArtifact.Builder> implements MavenArtifactOrBuilderMavenArtifact represents a maven artifact.
 Protobuf type google.devtools.artifactregistry.v1.MavenArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MavenArtifact.BuilderImplements
MavenArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MavenArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
build()
public MavenArtifact build()| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact | |
buildPartial()
public MavenArtifact buildPartial()| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact | |
clear()
public MavenArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
clearArtifactId()
public MavenArtifact.Builder clearArtifactId()Artifact ID for the artifact.
 string artifact_id = 4;
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
clearCreateTime()
public MavenArtifact.Builder clearCreateTime()Output only. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
clearField(Descriptors.FieldDescriptor field)
public MavenArtifact.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
clearGroupId()
public MavenArtifact.Builder clearGroupId()Group ID for the artifact. Example: com.google.guava
 string group_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
clearName()
public MavenArtifact.Builder clearName()Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public MavenArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
clearPomUri()
public MavenArtifact.Builder clearPomUri()Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
 string pom_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
clearUpdateTime()
public MavenArtifact.Builder clearUpdateTime()Output only. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
clearVersion()
public MavenArtifact.Builder clearVersion()Version of this artifact.
 string version = 5;
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
clone()
public MavenArtifact.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
getArtifactId()
public String getArtifactId()Artifact ID for the artifact.
 string artifact_id = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The artifactId. | 
getArtifactIdBytes()
public ByteString getArtifactIdBytes()Artifact ID for the artifact.
 string artifact_id = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for artifactId. | 
getCreateTime()
public Timestamp getCreateTime()Output only. Time the artifact 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. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public MavenArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getGroupId()
public String getGroupId()Group ID for the artifact. Example: com.google.guava
 string group_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The groupId. | 
getGroupIdBytes()
public ByteString getGroupIdBytes()Group ID for the artifact. Example: com.google.guava
 string group_id = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for groupId. | 
getName()
public String getName()Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getPomUri()
public String getPomUri()Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
 string pom_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The pomUri. | 
getPomUriBytes()
public ByteString getPomUriBytes()Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
 string pom_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for pomUri. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. Time the artifact was 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. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getVersion()
public String getVersion()Version of this artifact.
 string version = 5;
| Returns | |
|---|---|
| Type | Description | 
| String | The version. | 
getVersionBytes()
public ByteString getVersionBytes()Version of this artifact.
 string version = 5;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for version. | 
hasCreateTime()
public boolean hasCreateTime()Output only. Time the artifact 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. Time the artifact was 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 | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeCreateTime(Timestamp value)
public MavenArtifact.Builder mergeCreateTime(Timestamp value)Output only. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
mergeFrom(MavenArtifact other)
public MavenArtifact.Builder mergeFrom(MavenArtifact other)| Parameter | |
|---|---|
| Name | Description | 
| other | MavenArtifact | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MavenArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public MavenArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MavenArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
mergeUpdateTime(Timestamp value)
public MavenArtifact.Builder mergeUpdateTime(Timestamp value)Output only. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setArtifactId(String value)
public MavenArtifact.Builder setArtifactId(String value)Artifact ID for the artifact.
 string artifact_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe artifactId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setArtifactIdBytes(ByteString value)
public MavenArtifact.Builder setArtifactIdBytes(ByteString value)Artifact ID for the artifact.
 string artifact_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for artifactId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setCreateTime(Timestamp value)
public MavenArtifact.Builder setCreateTime(Timestamp value)Output only. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public MavenArtifact.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Time the artifact was created.
 
 .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public MavenArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setGroupId(String value)
public MavenArtifact.Builder setGroupId(String value)Group ID for the artifact. Example: com.google.guava
 string group_id = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe groupId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setGroupIdBytes(ByteString value)
public MavenArtifact.Builder setGroupIdBytes(ByteString value)Group ID for the artifact. Example: com.google.guava
 string group_id = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for groupId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setName(String value)
public MavenArtifact.Builder setName(String value)Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public MavenArtifact.Builder setNameBytes(ByteString value)Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setPomUri(String value)
public MavenArtifact.Builder setPomUri(String value)Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
 string pom_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe pomUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setPomUriBytes(ByteString value)
public MavenArtifact.Builder setPomUriBytes(ByteString value)Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
 string pom_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for pomUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MavenArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final MavenArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setUpdateTime(Timestamp value)
public MavenArtifact.Builder setUpdateTime(Timestamp value)Output only. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public MavenArtifact.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Time the artifact was updated.
 
 .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | |
setVersion(String value)
public MavenArtifact.Builder setVersion(String value)Version of this artifact.
 string version = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe version to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. | 
setVersionBytes(ByteString value)
public MavenArtifact.Builder setVersionBytes(ByteString value)Version of this artifact.
 string version = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for version to set. | 
| Returns | |
|---|---|
| Type | Description | 
| MavenArtifact.Builder | This builder for chaining. |