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
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 6;longgetAssetIds(int index) repeated int64 asset_ids = 7;intrepeated int64 asset_ids = 7;repeated int64 asset_ids = 7;longoptional int64 created_time = 11;longoptional int64 data_set_id = 15;optional string directory = 3;com.google.protobuf.ByteStringoptional string directory = 3;optional string external_id = 1;com.google.protobuf.ByteStringoptional string external_id = 1;optional .com.cognite.client.dto.geo.Feature geo_location = 18;optional .com.cognite.client.dto.geo.Feature geo_location = 18;longgetId()optional int64 id = 8;getLabels(int index) repeated string labels = 17;com.google.protobuf.ByteStringgetLabelsBytes(int index) repeated string labels = 17;intrepeated string labels = 17;repeated string labels = 17;longoptional int64 last_updated_time = 12;Deprecated.intmap<string, string> metadata = 6;map<string, string> metadata = 6;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 6;getMetadataOrThrow(String key) map<string, string> metadata = 6;optional string mime_type = 5;com.google.protobuf.ByteStringoptional string mime_type = 5;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;longgetSecurityCategories(int index) repeated int64 security_categories = 16;intrepeated int64 security_categories = 16;repeated int64 security_categories = 16;optional string source = 4;com.google.protobuf.ByteStringoptional string source = 4;longoptional int64 source_created_time = 13;longoptional int64 source_modified_time = 14;booleanbool uploaded = 9;longoptional int64 uploaded_time = 10;booleanoptional int64 created_time = 11;booleanoptional int64 data_set_id = 15;booleanoptional string directory = 3;booleanoptional string external_id = 1;booleanoptional .com.cognite.client.dto.geo.Feature geo_location = 18;booleanhasId()optional int64 id = 8;booleanoptional int64 last_updated_time = 12;booleanoptional string mime_type = 5;booleanhasName()optional string name = 2;booleanoptional string source = 4;booleanoptional int64 source_created_time = 13;booleanoptional int64 source_modified_time = 14;booleanoptional int64 uploaded_time = 10;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
map<string, string> metadata = 6; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 6; -
getMetadataOrDefault
map<string, string> metadata = 6; -
getMetadataOrThrow
map<string, string> metadata = 6; -
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
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
repeated string labels = 17;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()repeated string labels = 17;- Returns:
- The count of labels.
-
getLabels
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;
-