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
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 12;longoptional int64 asset_id = 8;longoptional int64 created_time = 10;longoptional int64 data_set_id = 13;optional string description = 4;com.google.protobuf.ByteStringoptional string description = 4;optional string external_id = 2;com.google.protobuf.ByteStringoptional string external_id = 2;longgetId()optional int64 id = 1;booleanbool is_step = 6;booleanbool is_string = 5;longoptional int64 last_updated_time = 11;Deprecated.intmap<string, string> metadata = 12;map<string, string> metadata = 12;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 12;getMetadataOrThrow(String key) map<string, string> metadata = 12;getName()optional string name = 3;com.google.protobuf.ByteStringoptional string name = 3;longgetSecurityCategories(int index) repeated int64 security_categories = 9;intrepeated int64 security_categories = 9;repeated int64 security_categories = 9;getUnit()optional string unit = 7;com.google.protobuf.ByteStringoptional string unit = 7;booleanoptional int64 asset_id = 8;booleanoptional int64 created_time = 10;booleanoptional int64 data_set_id = 13;booleanoptional string description = 4;booleanoptional string external_id = 2;booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 11;booleanhasName()optional string name = 3;booleanhasUnit()optional string unit = 7;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
-
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
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
map<string, string> metadata = 12; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 12; -
getMetadataOrDefault
map<string, string> metadata = 12; -
getMetadataOrThrow
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.
-