Interface CreateArtifactRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CreateArtifactRequest, CreateArtifactRequest.Builder

    public interface CreateArtifactRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getParent

        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:
        The parent.
      • getParentBytes

        com.google.protobuf.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:
        The bytes for parent.
      • hasArtifact

        boolean hasArtifact()
         Required. The artifact to create.
         
        .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the artifact field is set.
      • getArtifact

        Artifact getArtifact()
         Required. The artifact to create.
         
        .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The artifact.
      • getArtifactOrBuilder

        ArtifactOrBuilder getArtifactOrBuilder()
         Required. The artifact to create.
         
        .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
      • getArtifactId

        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][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The artifactId.
      • getArtifactIdBytes

        com.google.protobuf.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][0-9]-/.
        
         Following AIP-162, IDs must not have the form of a UUID.
         
        string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for artifactId.