Interface CreateArtifactRequestOrBuilder (0.11.0)

public interface CreateArtifactRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifact()

public abstract Artifact getArtifact()

Required. The artifact to create.

.google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Artifact

The artifact.

getArtifactId()

public abstract String getArtifactId()

Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.

string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.

string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for artifactId.

getArtifactOrBuilder()

public abstract ArtifactOrBuilder getArtifactOrBuilder()

Required. The artifact to create.

.google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ArtifactOrBuilder

getParent()

public abstract String getParent()

Required. The parent, which owns this collection of artifacts. Format: {parent}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent, which owns this collection of artifacts. Format: {parent}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasArtifact()

public abstract boolean hasArtifact()

Required. The artifact to create.

.google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the artifact field is set.