Interface CreateArtifactRequestOrBuilder

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

@Generated public interface CreateArtifactRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.