public interface MavenArtifactOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getArtifactId()
public abstract String getArtifactId()Artifact ID for the artifact.
string artifact_id = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The artifactId. |
getArtifactIdBytes()
public abstract ByteString getArtifactIdBytes()Artifact ID for the artifact.
string artifact_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactId. |
getCreateTime()
public abstract 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. |
getCreateTimeOrBuilder()
public abstract 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 |
|
getGroupId()
public abstract String getGroupId()Group ID for the artifact. Example: com.google.guava
string group_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The groupId. |
getGroupIdBytes()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getUpdateTimeOrBuilder()
public abstract 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 abstract String getVersion()Version of this artifact.
string version = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public abstract ByteString getVersionBytes()Version of this artifact.
string version = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
hasCreateTime()
public abstract 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 abstract 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. |