Interface FileMetadataOrBuilder

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

    public interface FileMetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasExternalId

        boolean hasExternalId()
        .google.protobuf.StringValue external_id = 1;
        Returns:
        Whether the externalId field is set.
      • getExternalId

        StringValue getExternalId()
        .google.protobuf.StringValue external_id = 1;
        Returns:
        The externalId.
      • getExternalIdOrBuilder

        StringValueOrBuilder getExternalIdOrBuilder()
        .google.protobuf.StringValue external_id = 1;
      • hasName

        boolean hasName()
        .google.protobuf.StringValue name = 2;
        Returns:
        Whether the name field is set.
      • getName

        StringValue getName()
        .google.protobuf.StringValue name = 2;
        Returns:
        The name.
      • hasDirectory

        boolean hasDirectory()
        .google.protobuf.StringValue directory = 3;
        Returns:
        Whether the directory field is set.
      • getDirectory

        StringValue getDirectory()
        .google.protobuf.StringValue directory = 3;
        Returns:
        The directory.
      • getDirectoryOrBuilder

        StringValueOrBuilder getDirectoryOrBuilder()
        .google.protobuf.StringValue directory = 3;
      • hasSource

        boolean hasSource()
        .google.protobuf.StringValue source = 4;
        Returns:
        Whether the source field is set.
      • getSource

        StringValue getSource()
        .google.protobuf.StringValue source = 4;
        Returns:
        The source.
      • getSourceOrBuilder

        StringValueOrBuilder getSourceOrBuilder()
        .google.protobuf.StringValue source = 4;
      • hasMimeType

        boolean hasMimeType()
        .google.protobuf.StringValue mime_type = 5;
        Returns:
        Whether the mimeType field is set.
      • getMimeType

        StringValue getMimeType()
        .google.protobuf.StringValue mime_type = 5;
        Returns:
        The mimeType.
      • getMimeTypeOrBuilder

        StringValueOrBuilder getMimeTypeOrBuilder()
        .google.protobuf.StringValue mime_type = 5;
      • getMetadataCount

        int getMetadataCount()
        map<string, string> metadata = 6;
      • containsMetadata

        boolean containsMetadata​(String key)
        map<string, string> metadata = 6;
      • getMetadataMap

        Map<String,​String> getMetadataMap()
        map<string, string> metadata = 6;
      • getMetadataOrDefault

        String getMetadataOrDefault​(String key,
                                    String defaultValue)
        map<string, string> metadata = 6;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
        map<string, string> metadata = 6;
      • getAssetIdsList

        List<Long> getAssetIdsList()
        repeated int64 asset_ids = 7;
        Returns:
        A list containing the assetIds.
      • getAssetIdsCount

        int getAssetIdsCount()
        repeated int64 asset_ids = 7;
        Returns:
        The count of assetIds.
      • getAssetIds

        long getAssetIds​(int index)
        repeated int64 asset_ids = 7;
        Parameters:
        index - The index of the element to return.
        Returns:
        The assetIds at the given index.
      • hasId

        boolean hasId()
        .google.protobuf.Int64Value id = 8;
        Returns:
        Whether the id field is set.
      • getId

        Int64Value getId()
        .google.protobuf.Int64Value id = 8;
        Returns:
        The id.
      • getUploaded

        boolean getUploaded()
        bool uploaded = 9;
        Returns:
        The uploaded.
      • hasUploadedTime

        boolean hasUploadedTime()
        .google.protobuf.Int64Value uploaded_time = 10;
        Returns:
        Whether the uploadedTime field is set.
      • getUploadedTime

        Int64Value getUploadedTime()
        .google.protobuf.Int64Value uploaded_time = 10;
        Returns:
        The uploadedTime.
      • getUploadedTimeOrBuilder

        Int64ValueOrBuilder getUploadedTimeOrBuilder()
        .google.protobuf.Int64Value uploaded_time = 10;
      • hasCreatedTime

        boolean hasCreatedTime()
        .google.protobuf.Int64Value created_time = 11;
        Returns:
        Whether the createdTime field is set.
      • getCreatedTime

        Int64Value getCreatedTime()
        .google.protobuf.Int64Value created_time = 11;
        Returns:
        The createdTime.
      • getCreatedTimeOrBuilder

        Int64ValueOrBuilder getCreatedTimeOrBuilder()
        .google.protobuf.Int64Value created_time = 11;
      • hasLastUpdatedTime

        boolean hasLastUpdatedTime()
        .google.protobuf.Int64Value last_updated_time = 12;
        Returns:
        Whether the lastUpdatedTime field is set.
      • getLastUpdatedTime

        Int64Value getLastUpdatedTime()
        .google.protobuf.Int64Value last_updated_time = 12;
        Returns:
        The lastUpdatedTime.
      • getLastUpdatedTimeOrBuilder

        Int64ValueOrBuilder getLastUpdatedTimeOrBuilder()
        .google.protobuf.Int64Value last_updated_time = 12;
      • hasSourceCreatedTime

        boolean hasSourceCreatedTime()
        .google.protobuf.Int64Value source_created_time = 13;
        Returns:
        Whether the sourceCreatedTime field is set.
      • getSourceCreatedTime

        Int64Value getSourceCreatedTime()
        .google.protobuf.Int64Value source_created_time = 13;
        Returns:
        The sourceCreatedTime.
      • getSourceCreatedTimeOrBuilder

        Int64ValueOrBuilder getSourceCreatedTimeOrBuilder()
        .google.protobuf.Int64Value source_created_time = 13;
      • hasSourceModifiedTime

        boolean hasSourceModifiedTime()
        .google.protobuf.Int64Value source_modified_time = 14;
        Returns:
        Whether the sourceModifiedTime field is set.
      • getSourceModifiedTime

        Int64Value getSourceModifiedTime()
        .google.protobuf.Int64Value source_modified_time = 14;
        Returns:
        The sourceModifiedTime.
      • getSourceModifiedTimeOrBuilder

        Int64ValueOrBuilder getSourceModifiedTimeOrBuilder()
        .google.protobuf.Int64Value source_modified_time = 14;
      • hasDataSetId

        boolean hasDataSetId()
        .google.protobuf.Int64Value data_set_id = 15;
        Returns:
        Whether the dataSetId field is set.
      • getDataSetId

        Int64Value getDataSetId()
        .google.protobuf.Int64Value data_set_id = 15;
        Returns:
        The dataSetId.
      • getDataSetIdOrBuilder

        Int64ValueOrBuilder getDataSetIdOrBuilder()
        .google.protobuf.Int64Value data_set_id = 15;
      • getSecurityCategoriesList

        List<Long> getSecurityCategoriesList()
        repeated int64 security_categories = 16;
        Returns:
        A list containing the securityCategories.
      • getSecurityCategoriesCount

        int getSecurityCategoriesCount()
        repeated int64 security_categories = 16;
        Returns:
        The count of securityCategories.
      • getSecurityCategories

        long getSecurityCategories​(int index)
        repeated int64 security_categories = 16;
        Parameters:
        index - The index of the element to return.
        Returns:
        The securityCategories at the given index.
      • getLabelsList

        List<String> getLabelsList()
        repeated string labels = 17;
        Returns:
        A list containing the labels.
      • getLabelsCount

        int getLabelsCount()
        repeated string labels = 17;
        Returns:
        The count of labels.
      • getLabels

        String getLabels​(int index)
        repeated string labels = 17;
        Parameters:
        index - The index of the element to return.
        Returns:
        The labels at the given index.
      • getLabelsBytes

        com.google.protobuf.ByteString getLabelsBytes​(int index)
        repeated string labels = 17;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the labels at the given index.