Interface MavenArtifactOrBuilder (1.31.0)

public interface MavenArtifactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifactId()

public abstract String getArtifactId()

Artifact ID for the artifact.

string artifact_id = 4;

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

Artifact ID for the artifact.

string artifact_id = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getGroupId()

public abstract String getGroupId()

Group ID for the artifact. Example: com.google.guava

string group_id = 3;

Returns
TypeDescription
String

The groupId.

getGroupIdBytes()

public abstract ByteString getGroupIdBytes()

Group ID for the artifact. Example: com.google.guava

string group_id = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getVersion()

public abstract String getVersion()

Version of this artifact.

string version = 5;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Version of this artifact.

string version = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.