Interface ArtifactOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Unique identifier (e.g.
    com.google.protobuf.ByteString
    Unique identifier (e.g.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    getExtensions(int index)
    The URIs of extensions that are present or contributed to this Artifact.
    com.google.protobuf.ByteString
    getExtensionsBytes(int index)
    The URIs of extensions that are present or contributed to this Artifact.
    int
    The URIs of extensions that are present or contributed to this Artifact.
    The URIs of extensions that are present or contributed to this Artifact.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    A human readable name for the artifact.
    com.google.protobuf.ByteString
    A human readable name for the artifact.
    getParts(int index)
    The content of the artifact.
    int
    The content of the artifact.
    The content of the artifact.
    getPartsOrBuilder(int index)
    The content of the artifact.
    List<? extends PartOrBuilder>
    The content of the artifact.
    boolean
    Optional.

    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

    • getArtifactId

      String getArtifactId()
       Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
       
      string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The artifactId.
    • getArtifactIdBytes

      com.google.protobuf.ByteString getArtifactIdBytes()
       Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
       
      string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for artifactId.
    • getName

      String getName()
       A human readable name for the artifact.
       
      string name = 2;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       A human readable name for the artifact.
       
      string name = 2;
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
       Optional. A human readable description of the artifact.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A human readable description of the artifact.
       
      string description = 3;
      Returns:
      The bytes for description.
    • getPartsList

      List<Part> getPartsList()
       The content of the artifact. Must contain at least one part.
       
      repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED];
    • getParts

      Part getParts(int index)
       The content of the artifact. Must contain at least one part.
       
      repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED];
    • getPartsCount

      int getPartsCount()
       The content of the artifact. Must contain at least one part.
       
      repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED];
    • getPartsOrBuilderList

      List<? extends PartOrBuilder> getPartsOrBuilderList()
       The content of the artifact. Must contain at least one part.
       
      repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED];
    • getPartsOrBuilder

      PartOrBuilder getPartsOrBuilder(int index)
       The content of the artifact. Must contain at least one part.
       
      repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED];
    • hasMetadata

      boolean hasMetadata()
       Optional. Metadata included with the artifact.
       
      .google.protobuf.Struct metadata = 5;
      Returns:
      Whether the metadata field is set.
    • getMetadata

      com.google.protobuf.Struct getMetadata()
       Optional. Metadata included with the artifact.
       
      .google.protobuf.Struct metadata = 5;
      Returns:
      The metadata.
    • getMetadataOrBuilder

      com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       Optional. Metadata included with the artifact.
       
      .google.protobuf.Struct metadata = 5;
    • getExtensionsList

      List<String> getExtensionsList()
       The URIs of extensions that are present or contributed to this Artifact.
       
      repeated string extensions = 6;
      Returns:
      A list containing the extensions.
    • getExtensionsCount

      int getExtensionsCount()
       The URIs of extensions that are present or contributed to this Artifact.
       
      repeated string extensions = 6;
      Returns:
      The count of extensions.
    • getExtensions

      String getExtensions(int index)
       The URIs of extensions that are present or contributed to this Artifact.
       
      repeated string extensions = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The extensions at the given index.
    • getExtensionsBytes

      com.google.protobuf.ByteString getExtensionsBytes(int index)
       The URIs of extensions that are present or contributed to this Artifact.
       
      repeated string extensions = 6;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the extensions at the given index.