Interface AssistantContent.FileOrBuilder

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

public static interface AssistantContent.FileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    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

    • getMimeType

      String getMimeType()
       Required. The media type (MIME type) of the file.
       
      string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The mimeType.
    • getMimeTypeBytes

      com.google.protobuf.ByteString getMimeTypeBytes()
       Required. The media type (MIME type) of the file.
       
      string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for mimeType.
    • getFileId

      String getFileId()
       Required. The file ID.
       
      string file_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The fileId.
    • getFileIdBytes

      com.google.protobuf.ByteString getFileIdBytes()
       Required. The file ID.
       
      string file_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for fileId.