Interface Document.BlobAssetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Document.BlobAsset, Document.BlobAsset.Builder
Enclosing class:
Document

public static interface Document.BlobAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The mime type of the blob asset.
    com.google.protobuf.ByteString
    The mime type of the blob asset.

    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

    • getAssetId

      String getAssetId()
       Optional. The id of the blob asset.
       
      string asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The assetId.
    • getAssetIdBytes

      com.google.protobuf.ByteString getAssetIdBytes()
       Optional. The id of the blob asset.
       
      string asset_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for assetId.
    • getContent

      com.google.protobuf.ByteString getContent()
       Optional. The content of the blob asset, for example, image bytes.
       
      bytes content = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The content.
    • getMimeType

      String getMimeType()
       The mime type of the blob asset.
       An IANA published [media type (MIME
       type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
       
      string mime_type = 3;
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       The mime type of the blob asset.
       An IANA published [media type (MIME
       type)](https://www.iana.org/assignments/media-types/media-types.xhtml).
       
      string mime_type = 3;
      Returns:
      The bytes for mimeType.