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 boolean
containsMetadata(String key)
map<string, string> metadata = 6;
long
getAssetIds(int index)
repeated int64 asset_ids = 7;
int
getAssetIdsCount()
repeated int64 asset_ids = 7;
List<Long>
getAssetIdsList()
repeated int64 asset_ids = 7;
Int64Value
getCreatedTime()
.google.protobuf.Int64Value created_time = 11;
Int64ValueOrBuilder
getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 11;
Int64Value
getDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
Int64ValueOrBuilder
getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 15;
StringValue
getDirectory()
.google.protobuf.StringValue directory = 3;
StringValueOrBuilder
getDirectoryOrBuilder()
.google.protobuf.StringValue directory = 3;
StringValue
getExternalId()
.google.protobuf.StringValue external_id = 1;
StringValueOrBuilder
getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 1;
Int64Value
getId()
.google.protobuf.Int64Value id = 8;
Int64ValueOrBuilder
getIdOrBuilder()
.google.protobuf.Int64Value id = 8;
String
getLabels(int index)
repeated string labels = 17;
com.google.protobuf.ByteString
getLabelsBytes(int index)
repeated string labels = 17;
int
getLabelsCount()
repeated string labels = 17;
List<String>
getLabelsList()
repeated string labels = 17;
Int64Value
getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
Int64ValueOrBuilder
getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 12;
Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
map<string, string> metadata = 6;
Map<String,String>
getMetadataMap()
map<string, string> metadata = 6;
String
getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 6;
String
getMetadataOrThrow(String key)
map<string, string> metadata = 6;
StringValue
getMimeType()
.google.protobuf.StringValue mime_type = 5;
StringValueOrBuilder
getMimeTypeOrBuilder()
.google.protobuf.StringValue mime_type = 5;
StringValue
getName()
.google.protobuf.StringValue name = 2;
StringValueOrBuilder
getNameOrBuilder()
.google.protobuf.StringValue name = 2;
long
getSecurityCategories(int index)
repeated int64 security_categories = 16;
int
getSecurityCategoriesCount()
repeated int64 security_categories = 16;
List<Long>
getSecurityCategoriesList()
repeated int64 security_categories = 16;
StringValue
getSource()
.google.protobuf.StringValue source = 4;
Int64Value
getSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
Int64ValueOrBuilder
getSourceCreatedTimeOrBuilder()
.google.protobuf.Int64Value source_created_time = 13;
Int64Value
getSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
Int64ValueOrBuilder
getSourceModifiedTimeOrBuilder()
.google.protobuf.Int64Value source_modified_time = 14;
StringValueOrBuilder
getSourceOrBuilder()
.google.protobuf.StringValue source = 4;
boolean
getUploaded()
bool uploaded = 9;
Int64Value
getUploadedTime()
.google.protobuf.Int64Value uploaded_time = 10;
Int64ValueOrBuilder
getUploadedTimeOrBuilder()
.google.protobuf.Int64Value uploaded_time = 10;
boolean
hasCreatedTime()
.google.protobuf.Int64Value created_time = 11;
boolean
hasDataSetId()
.google.protobuf.Int64Value data_set_id = 15;
boolean
hasDirectory()
.google.protobuf.StringValue directory = 3;
boolean
hasExternalId()
.google.protobuf.StringValue external_id = 1;
boolean
hasId()
.google.protobuf.Int64Value id = 8;
boolean
hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;
boolean
hasMimeType()
.google.protobuf.StringValue mime_type = 5;
boolean
hasName()
.google.protobuf.StringValue name = 2;
boolean
hasSource()
.google.protobuf.StringValue source = 4;
boolean
hasSourceCreatedTime()
.google.protobuf.Int64Value source_created_time = 13;
boolean
hasSourceModifiedTime()
.google.protobuf.Int64Value source_modified_time = 14;
boolean
hasUploadedTime()
.google.protobuf.Int64Value 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()
.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.
-
getNameOrBuilder
StringValueOrBuilder getNameOrBuilder()
.google.protobuf.StringValue name = 2;
-
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;
-
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()
.google.protobuf.Int64Value id = 8;
- Returns:
- Whether the id field is set.
-
getId
Int64Value getId()
.google.protobuf.Int64Value id = 8;
- Returns:
- The id.
-
getIdOrBuilder
Int64ValueOrBuilder getIdOrBuilder()
.google.protobuf.Int64Value id = 8;
-
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.
-
-