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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 10;Asset.AggregatesgetAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;Asset.AggregatesOrBuildergetAggregatesOrBuilder().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;longgetCreatedTime()optional int64 created_time = 8;longgetDataSetId()optional int64 data_set_id = 13;StringgetDescription()optional string description = 6;com.google.protobuf.ByteStringgetDescriptionBytes()optional string description = 6;StringgetExternalId()optional string external_id = 2;com.google.protobuf.ByteStringgetExternalIdBytes()optional string external_id = 2;longgetId()optional int64 id = 1;StringgetLabels(int index)repeated string labels = 11;com.google.protobuf.ByteStringgetLabelsBytes(int index)repeated string labels = 11;intgetLabelsCount()repeated string labels = 11;List<String>getLabelsList()repeated string labels = 11;longgetLastUpdatedTime()optional int64 last_updated_time = 9;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 10;Map<String,String>getMetadataMap()map<string, string> metadata = 10;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 10;StringgetMetadataOrThrow(String key)map<string, string> metadata = 10;StringgetName()string name = 3;com.google.protobuf.ByteStringgetNameBytes()string name = 3;StringgetParentExternalId()optional string parent_external_id = 5;com.google.protobuf.ByteStringgetParentExternalIdBytes()optional string parent_external_id = 5;longgetParentId()optional int64 parent_id = 4;longgetRootId()optional int64 root_id = 7;StringgetRootName()The name of the root asset node in the hierarchy.com.google.protobuf.ByteStringgetRootNameBytes()The name of the root asset node in the hierarchy.StringgetSource()optional string source = 12;com.google.protobuf.ByteStringgetSourceBytes()optional string source = 12;booleanhasAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;booleanhasCreatedTime()optional int64 created_time = 8;booleanhasDataSetId()optional int64 data_set_id = 13;booleanhasDescription()optional string description = 6;booleanhasExternalId()optional string external_id = 2;booleanhasId()optional int64 id = 1;booleanhasLastUpdatedTime()optional int64 last_updated_time = 9;booleanhasParentExternalId()optional string parent_external_id = 5;booleanhasParentId()optional int64 parent_id = 4;booleanhasRootId()optional int64 root_id = 7;booleanhasRootName()The name of the root asset node in the hierarchy.booleanhasSource()optional string source = 12;-
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.
-
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
boolean containsMetadata(String key)
map<string, string> metadata = 10;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 10;
-
getLabelsList
List<String> getLabelsList()
repeated string labels = 11;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()
repeated string labels = 11;- Returns:
- The count of labels.
-
getLabels
String getLabels(int index)
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.beam.proto.Asset.Aggregates aggregates = 15;- Returns:
- Whether the aggregates field is set.
-
getAggregates
Asset.Aggregates getAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;- Returns:
- The aggregates.
-
getAggregatesOrBuilder
Asset.AggregatesOrBuilder getAggregatesOrBuilder()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
-
-