java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1alpha.FileView
All Implemented Interfaces:
FileViewOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FileView extends com.google.protobuf.GeneratedMessage implements FileViewOrBuilder
 Represents a specific alternate version or "view" of a file object,
 such as a summary, a thumbnail, a translated version, etc.
 
Protobuf type google.cloud.discoveryengine.v1alpha.FileView
See Also:
  • Field Details

    • IMAGE_CHARACTERISTICS_FIELD_NUMBER

      public static final int IMAGE_CHARACTERISTICS_FIELD_NUMBER
      See Also:
    • VIDEO_CHARACTERISTICS_FIELD_NUMBER

      public static final int VIDEO_CHARACTERISTICS_FIELD_NUMBER
      See Also:
    • FILE_CHARACTERISTICS_FIELD_NUMBER

      public static final int FILE_CHARACTERISTICS_FIELD_NUMBER
      See Also:
    • VIEW_ID_FIELD_NUMBER

      public static final int VIEW_ID_FIELD_NUMBER
      See Also:
    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      See Also:
    • MIME_TYPE_FIELD_NUMBER

      public static final int MIME_TYPE_FIELD_NUMBER
      See Also:
    • BYTE_SIZE_FIELD_NUMBER

      public static final int BYTE_SIZE_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCharacteristicsCase

      public FileView.CharacteristicsCase getCharacteristicsCase()
      Specified by:
      getCharacteristicsCase in interface FileViewOrBuilder
    • hasImageCharacteristics

      public boolean hasImageCharacteristics()
       Output only. Characteristics of an image media view.
       
      .google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasImageCharacteristics in interface FileViewOrBuilder
      Returns:
      Whether the imageCharacteristics field is set.
    • getImageCharacteristics

      public ImageCharacteristics getImageCharacteristics()
       Output only. Characteristics of an image media view.
       
      .google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImageCharacteristics in interface FileViewOrBuilder
      Returns:
      The imageCharacteristics.
    • getImageCharacteristicsOrBuilder

      public ImageCharacteristicsOrBuilder getImageCharacteristicsOrBuilder()
       Output only. Characteristics of an image media view.
       
      .google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImageCharacteristicsOrBuilder in interface FileViewOrBuilder
    • hasVideoCharacteristics

      public boolean hasVideoCharacteristics()
       Output only. Characteristics of a video media view.
       
      .google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasVideoCharacteristics in interface FileViewOrBuilder
      Returns:
      Whether the videoCharacteristics field is set.
    • getVideoCharacteristics

      public VideoCharacteristics getVideoCharacteristics()
       Output only. Characteristics of a video media view.
       
      .google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVideoCharacteristics in interface FileViewOrBuilder
      Returns:
      The videoCharacteristics.
    • getVideoCharacteristicsOrBuilder

      public VideoCharacteristicsOrBuilder getVideoCharacteristicsOrBuilder()
       Output only. Characteristics of a video media view.
       
      .google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVideoCharacteristicsOrBuilder in interface FileViewOrBuilder
    • hasFileCharacteristics

      public boolean hasFileCharacteristics()
       Output only. Characteristics of other file types.
       
      .google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasFileCharacteristics in interface FileViewOrBuilder
      Returns:
      Whether the fileCharacteristics field is set.
    • getFileCharacteristics

      public FileCharacteristics getFileCharacteristics()
       Output only. Characteristics of other file types.
       
      .google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFileCharacteristics in interface FileViewOrBuilder
      Returns:
      The fileCharacteristics.
    • getFileCharacteristicsOrBuilder

      public FileCharacteristicsOrBuilder getFileCharacteristicsOrBuilder()
       Output only. Characteristics of other file types.
       
      .google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFileCharacteristicsOrBuilder in interface FileViewOrBuilder
    • getViewId

      public String getViewId()
       Output only. Globally Unique id for this specific view.
       
      string view_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViewId in interface FileViewOrBuilder
      Returns:
      The viewId.
    • getViewIdBytes

      public com.google.protobuf.ByteString getViewIdBytes()
       Output only. Globally Unique id for this specific view.
       
      string view_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViewIdBytes in interface FileViewOrBuilder
      Returns:
      The bytes for viewId.
    • getUri

      public String getUri()
       Output only. The URI to access this media view.
       
      string uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUri in interface FileViewOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Output only. The URI to access this media view.
       
      string uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUriBytes in interface FileViewOrBuilder
      Returns:
      The bytes for uri.
    • getMimeType

      public String getMimeType()
       Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain",
       "video/mp4")
       
      string mime_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMimeType in interface FileViewOrBuilder
      Returns:
      The mimeType.
    • getMimeTypeBytes

      public com.google.protobuf.ByteString getMimeTypeBytes()
       Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain",
       "video/mp4")
       
      string mime_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMimeTypeBytes in interface FileViewOrBuilder
      Returns:
      The bytes for mimeType.
    • getByteSize

      public long getByteSize()
       Output only. The size of the view in bytes.
       
      int64 byte_size = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getByteSize in interface FileViewOrBuilder
      Returns:
      The byteSize.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the view was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface FileViewOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the view was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface FileViewOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the view was created.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface FileViewOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FileView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileView parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileView parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FileView parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FileView parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileView parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileView parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FileView.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FileView.Builder newBuilder()
    • newBuilder

      public static FileView.Builder newBuilder(FileView prototype)
    • toBuilder

      public FileView.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FileView.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FileView getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FileView> parser()
    • getParserForType

      public com.google.protobuf.Parser<FileView> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FileView getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder