Package com.cognite.client.dto
Interface TimeseriesMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeseriesMetadata,TimeseriesMetadata.Builder
public interface TimeseriesMetadataOrBuilder 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 = 12;longgetAssetId()optional int64 asset_id = 8;longgetCreatedTime()optional int64 created_time = 10;longgetDataSetId()optional int64 data_set_id = 13;StringgetDescription()optional string description = 4;com.google.protobuf.ByteStringgetDescriptionBytes()optional string description = 4;StringgetExternalId()optional string external_id = 2;com.google.protobuf.ByteStringgetExternalIdBytes()optional string external_id = 2;longgetId()optional int64 id = 1;booleangetIsStep()bool is_step = 6;booleangetIsString()bool is_string = 5;longgetLastUpdatedTime()optional int64 last_updated_time = 11;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 12;Map<String,String>getMetadataMap()map<string, string> metadata = 12;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 12;StringgetMetadataOrThrow(String key)map<string, string> metadata = 12;StringgetName()optional string name = 3;com.google.protobuf.ByteStringgetNameBytes()optional string name = 3;longgetSecurityCategories(int index)repeated int64 security_categories = 9;intgetSecurityCategoriesCount()repeated int64 security_categories = 9;List<Long>getSecurityCategoriesList()repeated int64 security_categories = 9;StringgetUnit()optional string unit = 7;com.google.protobuf.ByteStringgetUnitBytes()optional string unit = 7;booleanhasAssetId()optional int64 asset_id = 8;booleanhasCreatedTime()optional int64 created_time = 10;booleanhasDataSetId()optional int64 data_set_id = 13;booleanhasDescription()optional string description = 4;booleanhasExternalId()optional string external_id = 2;booleanhasId()optional int64 id = 1;booleanhasLastUpdatedTime()optional int64 last_updated_time = 11;booleanhasName()optional string name = 3;booleanhasUnit()optional string unit = 7;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
optional int64 id = 1;- Returns:
- Whether the id field is set.
-
getId
long getId()
optional int64 id = 1;- Returns:
- The id.
-
hasExternalId
boolean hasExternalId()
optional string external_id = 2;- Returns:
- Whether the externalId field is set.
-
getExternalId
String getExternalId()
optional string external_id = 2;- Returns:
- The externalId.
-
getExternalIdBytes
com.google.protobuf.ByteString getExternalIdBytes()
optional string external_id = 2;- Returns:
- The bytes for externalId.
-
hasName
boolean hasName()
optional string name = 3;- Returns:
- Whether the name field is set.
-
getName
String getName()
optional string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
optional string name = 3;- Returns:
- The bytes for name.
-
hasDescription
boolean hasDescription()
optional string description = 4;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
optional string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 4;- Returns:
- The bytes for description.
-
getIsString
boolean getIsString()
bool is_string = 5;- Returns:
- The isString.
-
getIsStep
boolean getIsStep()
bool is_step = 6;- Returns:
- The isStep.
-
hasUnit
boolean hasUnit()
optional string unit = 7;- Returns:
- Whether the unit field is set.
-
getUnit
String getUnit()
optional string unit = 7;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()
optional string unit = 7;- Returns:
- The bytes for unit.
-
hasAssetId
boolean hasAssetId()
optional int64 asset_id = 8;- Returns:
- Whether the assetId field is set.
-
getAssetId
long getAssetId()
optional int64 asset_id = 8;- Returns:
- The assetId.
-
getSecurityCategoriesList
List<Long> getSecurityCategoriesList()
repeated int64 security_categories = 9;- Returns:
- A list containing the securityCategories.
-
getSecurityCategoriesCount
int getSecurityCategoriesCount()
repeated int64 security_categories = 9;- Returns:
- The count of securityCategories.
-
getSecurityCategories
long getSecurityCategories(int index)
repeated int64 security_categories = 9;- Parameters:
index- The index of the element to return.- Returns:
- The securityCategories at the given index.
-
hasCreatedTime
boolean hasCreatedTime()
optional int64 created_time = 10;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
long getCreatedTime()
optional int64 created_time = 10;- Returns:
- The createdTime.
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()
optional int64 last_updated_time = 11;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
long getLastUpdatedTime()
optional int64 last_updated_time = 11;- Returns:
- The lastUpdatedTime.
-
getMetadataCount
int getMetadataCount()
map<string, string> metadata = 12;
-
containsMetadata
boolean containsMetadata(String key)
map<string, string> metadata = 12;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 12;
-
hasDataSetId
boolean hasDataSetId()
optional int64 data_set_id = 13;- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
long getDataSetId()
optional int64 data_set_id = 13;- Returns:
- The dataSetId.
-
-