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()
        optional string external_id = 1;
        Returns:
        Whether the externalId field is set.
      • getExternalId

        String getExternalId()
        optional string external_id = 1;
        Returns:
        The externalId.
      • getExternalIdBytes

        com.google.protobuf.ByteString getExternalIdBytes()
        optional string external_id = 1;
        Returns:
        The bytes for externalId.
      • hasName

        boolean hasName()
        optional string name = 2;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
        optional string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        optional string name = 2;
        Returns:
        The bytes for name.
      • hasDirectory

        boolean hasDirectory()
        optional string directory = 3;
        Returns:
        Whether the directory field is set.
      • getDirectory

        String getDirectory()
        optional string directory = 3;
        Returns:
        The directory.
      • getDirectoryBytes

        com.google.protobuf.ByteString getDirectoryBytes()
        optional string directory = 3;
        Returns:
        The bytes for directory.
      • hasSource

        boolean hasSource()
        optional string source = 4;
        Returns:
        Whether the source field is set.
      • getSource

        String getSource()
        optional string source = 4;
        Returns:
        The source.
      • getSourceBytes

        com.google.protobuf.ByteString getSourceBytes()
        optional string source = 4;
        Returns:
        The bytes for source.
      • hasMimeType

        boolean hasMimeType()
        optional string mime_type = 5;
        Returns:
        Whether the mimeType field is set.
      • getMimeType

        String getMimeType()
        optional string mime_type = 5;
        Returns:
        The mimeType.
      • getMimeTypeBytes

        com.google.protobuf.ByteString getMimeTypeBytes()
        optional string mime_type = 5;
        Returns:
        The bytes for mimeType.
      • 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()
        optional int64 id = 8;
        Returns:
        Whether the id field is set.
      • getId

        long getId()
        optional int64 id = 8;
        Returns:
        The id.
      • getUploaded

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

        boolean hasUploadedTime()
        optional int64 uploaded_time = 10;
        Returns:
        Whether the uploadedTime field is set.
      • getUploadedTime

        long getUploadedTime()
        optional int64 uploaded_time = 10;
        Returns:
        The uploadedTime.
      • hasCreatedTime

        boolean hasCreatedTime()
        optional int64 created_time = 11;
        Returns:
        Whether the createdTime field is set.
      • getCreatedTime

        long getCreatedTime()
        optional int64 created_time = 11;
        Returns:
        The createdTime.
      • hasLastUpdatedTime

        boolean hasLastUpdatedTime()
        optional int64 last_updated_time = 12;
        Returns:
        Whether the lastUpdatedTime field is set.
      • getLastUpdatedTime

        long getLastUpdatedTime()
        optional int64 last_updated_time = 12;
        Returns:
        The lastUpdatedTime.
      • hasSourceCreatedTime

        boolean hasSourceCreatedTime()
        optional int64 source_created_time = 13;
        Returns:
        Whether the sourceCreatedTime field is set.
      • getSourceCreatedTime

        long getSourceCreatedTime()
        optional int64 source_created_time = 13;
        Returns:
        The sourceCreatedTime.
      • hasSourceModifiedTime

        boolean hasSourceModifiedTime()
        optional int64 source_modified_time = 14;
        Returns:
        Whether the sourceModifiedTime field is set.
      • getSourceModifiedTime

        long getSourceModifiedTime()
        optional int64 source_modified_time = 14;
        Returns:
        The sourceModifiedTime.
      • hasDataSetId

        boolean hasDataSetId()
        optional int64 data_set_id = 15;
        Returns:
        Whether the dataSetId field is set.
      • getDataSetId

        long getDataSetId()
        optional int64 data_set_id = 15;
        Returns:
        The dataSetId.
      • 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.
      • hasGeoLocation

        boolean hasGeoLocation()
        optional .com.cognite.client.dto.geo.Feature geo_location = 18;
        Returns:
        Whether the geoLocation field is set.
      • getGeoLocation

        Feature getGeoLocation()
        optional .com.cognite.client.dto.geo.Feature geo_location = 18;
        Returns:
        The geoLocation.
      • getGeoLocationOrBuilder

        FeatureOrBuilder getGeoLocationOrBuilder()
        optional .com.cognite.client.dto.geo.Feature geo_location = 18;