Package com.cognite.client.dto
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 6;longgetAssetIds(int index)repeated int64 asset_ids = 7;intgetAssetIdsCount()repeated int64 asset_ids = 7;List<Long>getAssetIdsList()repeated int64 asset_ids = 7;longgetCreatedTime()optional int64 created_time = 11;longgetDataSetId()optional int64 data_set_id = 15;StringgetDirectory()optional string directory = 3;com.google.protobuf.ByteStringgetDirectoryBytes()optional string directory = 3;StringgetExternalId()optional string external_id = 1;com.google.protobuf.ByteStringgetExternalIdBytes()optional string external_id = 1;FeaturegetGeoLocation()optional .com.cognite.client.dto.geo.Feature geo_location = 18;FeatureOrBuildergetGeoLocationOrBuilder()optional .com.cognite.client.dto.geo.Feature geo_location = 18;longgetId()optional int64 id = 8;StringgetLabels(int index)repeated string labels = 17;com.google.protobuf.ByteStringgetLabelsBytes(int index)repeated string labels = 17;intgetLabelsCount()repeated string labels = 17;List<String>getLabelsList()repeated string labels = 17;longgetLastUpdatedTime()optional int64 last_updated_time = 12;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 6;Map<String,String>getMetadataMap()map<string, string> metadata = 6;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 6;StringgetMetadataOrThrow(String key)map<string, string> metadata = 6;StringgetMimeType()optional string mime_type = 5;com.google.protobuf.ByteStringgetMimeTypeBytes()optional string mime_type = 5;StringgetName()optional string name = 2;com.google.protobuf.ByteStringgetNameBytes()optional string name = 2;longgetSecurityCategories(int index)repeated int64 security_categories = 16;intgetSecurityCategoriesCount()repeated int64 security_categories = 16;List<Long>getSecurityCategoriesList()repeated int64 security_categories = 16;StringgetSource()optional string source = 4;com.google.protobuf.ByteStringgetSourceBytes()optional string source = 4;longgetSourceCreatedTime()optional int64 source_created_time = 13;longgetSourceModifiedTime()optional int64 source_modified_time = 14;booleangetUploaded()bool uploaded = 9;longgetUploadedTime()optional int64 uploaded_time = 10;booleanhasCreatedTime()optional int64 created_time = 11;booleanhasDataSetId()optional int64 data_set_id = 15;booleanhasDirectory()optional string directory = 3;booleanhasExternalId()optional string external_id = 1;booleanhasGeoLocation()optional .com.cognite.client.dto.geo.Feature geo_location = 18;booleanhasId()optional int64 id = 8;booleanhasLastUpdatedTime()optional int64 last_updated_time = 12;booleanhasMimeType()optional string mime_type = 5;booleanhasName()optional string name = 2;booleanhasSource()optional string source = 4;booleanhasSourceCreatedTime()optional int64 source_created_time = 13;booleanhasSourceModifiedTime()optional int64 source_modified_time = 14;booleanhasUploadedTime()optional int64 uploaded_time = 10;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
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;
-
-