Interface ArtifactOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getContents()
      Input only.
      com.google.protobuf.Timestamp getCreateTime()
      Output only.
      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      Output only.
      String getHash()
      Output only.
      com.google.protobuf.ByteString getHashBytes()
      Output only.
      String getMimeType()
      A content type specifier for the artifact.
      com.google.protobuf.ByteString getMimeTypeBytes()
      A content type specifier for the artifact.
      String getName()
      Resource name.
      com.google.protobuf.ByteString getNameBytes()
      Resource name.
      int getSizeBytes()
      Output only.
      com.google.protobuf.Timestamp getUpdateTime()
      Output only.
      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
      Output only.
      boolean hasCreateTime()
      Output only.
      boolean hasUpdateTime()
      Output only.
      • 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 Detail

      • getName

        String getName()
         Resource name.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Resource name.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Creation timestamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Last update timestamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMimeType

        String getMimeType()
         A content type specifier for the artifact.
         Content type specifiers are Media Types
         (https://en.wikipedia.org/wiki/Media_type) with a possible "schema"
         parameter that specifies a schema for the stored information.
         Content types can specify compression. Currently only GZip compression is
         supported (indicated with "+gzip").
         
        string mime_type = 4;
        Returns:
        The mimeType.
      • getMimeTypeBytes

        com.google.protobuf.ByteString getMimeTypeBytes()
         A content type specifier for the artifact.
         Content type specifiers are Media Types
         (https://en.wikipedia.org/wiki/Media_type) with a possible "schema"
         parameter that specifies a schema for the stored information.
         Content types can specify compression. Currently only GZip compression is
         supported (indicated with "+gzip").
         
        string mime_type = 4;
        Returns:
        The bytes for mimeType.
      • getSizeBytes

        int getSizeBytes()
         Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
         the size of the uncompressed artifact.
         
        int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The sizeBytes.
      • getHash

        String getHash()
         Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
         this is the hash of the uncompressed artifact.
         
        string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The hash.
      • getHashBytes

        com.google.protobuf.ByteString getHashBytes()
         Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
         this is the hash of the uncompressed artifact.
         
        string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for hash.
      • getContents

        com.google.protobuf.ByteString getContents()
         Input only. The contents of the artifact.
         Provided by API callers when artifacts are created or replaced.
         To access the contents of an artifact, use GetArtifactContents.
         
        bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The contents.