Package com.cognite.client.dto
Interface AssetLookupOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssetLookup,AssetLookup.Builder
public interface AssetLookupOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 10;.com.cognite.client.dto.Asset.Aggregates aggregates = 15;.com.cognite.client.dto.Asset.Aggregates aggregates = 15;longoptional int64 created_time = 8;longoptional int64 data_set_id = 13;optional string description = 6;com.google.protobuf.ByteStringoptional string description = 6;optional string external_id = 2;com.google.protobuf.ByteStringoptional string external_id = 2;longgetId()optional int64 id = 1;getLabels(int index) repeated string labels = 11;com.google.protobuf.ByteStringgetLabelsBytes(int index) repeated string labels = 11;intrepeated string labels = 11;repeated string labels = 11;longoptional int64 last_updated_time = 9;Deprecated.intmap<string, string> metadata = 10;map<string, string> metadata = 10;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 10;getMetadataOrThrow(String key) map<string, string> metadata = 10;getName()string name = 3;com.google.protobuf.ByteStringstring name = 3;optional string parent_external_id = 5;com.google.protobuf.ByteStringoptional string parent_external_id = 5;longoptional int64 parent_id = 4;longoptional int64 root_id = 7;The name of the root asset node in the hierarchy.com.google.protobuf.ByteStringThe name of the root asset node in the hierarchy.optional string source = 12;com.google.protobuf.ByteStringoptional string source = 12;boolean.com.cognite.client.dto.Asset.Aggregates aggregates = 15;booleanoptional int64 created_time = 8;booleanoptional int64 data_set_id = 13;booleanoptional string description = 6;booleanoptional string external_id = 2;booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 9;booleanoptional string parent_external_id = 5;booleanoptional int64 parent_id = 4;booleanoptional int64 root_id = 7;booleanThe name of the root asset node in the hierarchy.booleanoptional string source = 12;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.
-
getName
String getName()string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 3;- Returns:
- The bytes for name.
-
hasParentId
boolean hasParentId()optional int64 parent_id = 4;- Returns:
- Whether the parentId field is set.
-
getParentId
long getParentId()optional int64 parent_id = 4;- Returns:
- The parentId.
-
hasParentExternalId
boolean hasParentExternalId()optional string parent_external_id = 5;- Returns:
- Whether the parentExternalId field is set.
-
getParentExternalId
String getParentExternalId()optional string parent_external_id = 5;- Returns:
- The parentExternalId.
-
getParentExternalIdBytes
com.google.protobuf.ByteString getParentExternalIdBytes()optional string parent_external_id = 5;- Returns:
- The bytes for parentExternalId.
-
hasDescription
boolean hasDescription()optional string description = 6;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()optional string description = 6;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()optional string description = 6;- Returns:
- The bytes for description.
-
hasRootId
boolean hasRootId()optional int64 root_id = 7;- Returns:
- Whether the rootId field is set.
-
getRootId
long getRootId()optional int64 root_id = 7;- Returns:
- The rootId.
-
hasCreatedTime
boolean hasCreatedTime()optional int64 created_time = 8;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
long getCreatedTime()optional int64 created_time = 8;- Returns:
- The createdTime.
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()optional int64 last_updated_time = 9;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
long getLastUpdatedTime()optional int64 last_updated_time = 9;- Returns:
- The lastUpdatedTime.
-
getMetadataCount
int getMetadataCount()map<string, string> metadata = 10; -
containsMetadata
map<string, string> metadata = 10; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 10; -
getMetadataOrDefault
map<string, string> metadata = 10; -
getMetadataOrThrow
map<string, string> metadata = 10; -
getLabelsList
repeated string labels = 11;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()repeated string labels = 11;- Returns:
- The count of labels.
-
getLabels
repeated string labels = 11;- 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 = 11;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
hasSource
boolean hasSource()optional string source = 12;- Returns:
- Whether the source field is set.
-
getSource
String getSource()optional string source = 12;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()optional string source = 12;- Returns:
- The bytes for source.
-
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.
-
hasRootName
boolean hasRootName()The name of the root asset node in the hierarchy.
optional string root_name = 14;- Returns:
- Whether the rootName field is set.
-
getRootName
String getRootName()The name of the root asset node in the hierarchy.
optional string root_name = 14;- Returns:
- The rootName.
-
getRootNameBytes
com.google.protobuf.ByteString getRootNameBytes()The name of the root asset node in the hierarchy.
optional string root_name = 14;- Returns:
- The bytes for rootName.
-
hasAggregates
boolean hasAggregates().com.cognite.client.dto.Asset.Aggregates aggregates = 15;- Returns:
- Whether the aggregates field is set.
-
getAggregates
Asset.Aggregates getAggregates().com.cognite.client.dto.Asset.Aggregates aggregates = 15;- Returns:
- The aggregates.
-
getAggregatesOrBuilder
Asset.AggregatesOrBuilder getAggregatesOrBuilder().com.cognite.client.dto.Asset.Aggregates aggregates = 15;
-