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;Int64ValuegetCreatedTime().google.protobuf.Int64Value created_time = 8;Int64ValueOrBuildergetCreatedTimeOrBuilder().google.protobuf.Int64Value created_time = 8;Int64ValuegetDataSetId().google.protobuf.Int64Value data_set_id = 14;Int64ValueOrBuildergetDataSetIdOrBuilder().google.protobuf.Int64Value data_set_id = 14;StringValuegetDescription().google.protobuf.StringValue description = 6;StringValueOrBuildergetDescriptionOrBuilder().google.protobuf.StringValue description = 6;StringValuegetExternalId().google.protobuf.StringValue external_id = 2;StringValueOrBuildergetExternalIdOrBuilder().google.protobuf.StringValue external_id = 2;longgetId()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;Int64ValuegetLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 9;Int64ValueOrBuildergetLastUpdatedTimeOrBuilder().google.protobuf.Int64Value 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;StringValuegetParentExternalId().google.protobuf.StringValue parent_external_id = 5;StringValueOrBuildergetParentExternalIdOrBuilder().google.protobuf.StringValue parent_external_id = 5;Int64ValuegetParentId().google.protobuf.Int64Value parent_id = 4;Int64ValueOrBuildergetParentIdOrBuilder().google.protobuf.Int64Value parent_id = 4;Int64ValuegetRootId().google.protobuf.Int64Value root_id = 7;Int64ValueOrBuildergetRootIdOrBuilder().google.protobuf.Int64Value root_id = 7;StringValuegetRootName().google.protobuf.StringValue root_name = 13;StringValueOrBuildergetRootNameOrBuilder().google.protobuf.StringValue root_name = 13;StringValuegetSource().google.protobuf.StringValue source = 12;StringValueOrBuildergetSourceOrBuilder().google.protobuf.StringValue source = 12;booleanhasAggregates().com.cognite.beam.proto.Asset.Aggregates aggregates = 15;booleanhasCreatedTime().google.protobuf.Int64Value created_time = 8;booleanhasDataSetId().google.protobuf.Int64Value data_set_id = 14;booleanhasDescription().google.protobuf.StringValue description = 6;booleanhasExternalId().google.protobuf.StringValue external_id = 2;booleanhasLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 9;booleanhasParentExternalId().google.protobuf.StringValue parent_external_id = 5;booleanhasParentId().google.protobuf.Int64Value parent_id = 4;booleanhasRootId().google.protobuf.Int64Value root_id = 7;booleanhasRootName().google.protobuf.StringValue root_name = 13;booleanhasSource().google.protobuf.StringValue source = 12;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
long getId()
int64 id = 1;- Returns:
- The id.
-
hasExternalId
boolean hasExternalId()
.google.protobuf.StringValue external_id = 2;- Returns:
- Whether the externalId field is set.
-
getExternalId
StringValue getExternalId()
.google.protobuf.StringValue external_id = 2;- Returns:
- The externalId.
-
getExternalIdOrBuilder
StringValueOrBuilder getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 2;
-
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()
.google.protobuf.Int64Value parent_id = 4;- Returns:
- Whether the parentId field is set.
-
getParentId
Int64Value getParentId()
.google.protobuf.Int64Value parent_id = 4;- Returns:
- The parentId.
-
getParentIdOrBuilder
Int64ValueOrBuilder getParentIdOrBuilder()
.google.protobuf.Int64Value parent_id = 4;
-
hasParentExternalId
boolean hasParentExternalId()
.google.protobuf.StringValue parent_external_id = 5;- Returns:
- Whether the parentExternalId field is set.
-
getParentExternalId
StringValue getParentExternalId()
.google.protobuf.StringValue parent_external_id = 5;- Returns:
- The parentExternalId.
-
getParentExternalIdOrBuilder
StringValueOrBuilder getParentExternalIdOrBuilder()
.google.protobuf.StringValue parent_external_id = 5;
-
hasDescription
boolean hasDescription()
.google.protobuf.StringValue description = 6;- Returns:
- Whether the description field is set.
-
getDescription
StringValue getDescription()
.google.protobuf.StringValue description = 6;- Returns:
- The description.
-
getDescriptionOrBuilder
StringValueOrBuilder getDescriptionOrBuilder()
.google.protobuf.StringValue description = 6;
-
hasRootId
boolean hasRootId()
.google.protobuf.Int64Value root_id = 7;- Returns:
- Whether the rootId field is set.
-
getRootId
Int64Value getRootId()
.google.protobuf.Int64Value root_id = 7;- Returns:
- The rootId.
-
getRootIdOrBuilder
Int64ValueOrBuilder getRootIdOrBuilder()
.google.protobuf.Int64Value root_id = 7;
-
hasCreatedTime
boolean hasCreatedTime()
.google.protobuf.Int64Value created_time = 8;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
Int64Value getCreatedTime()
.google.protobuf.Int64Value created_time = 8;- Returns:
- The createdTime.
-
getCreatedTimeOrBuilder
Int64ValueOrBuilder getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 8;
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 9;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
Int64Value getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 9;- Returns:
- The lastUpdatedTime.
-
getLastUpdatedTimeOrBuilder
Int64ValueOrBuilder getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 9;
-
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()
.google.protobuf.StringValue source = 12;- Returns:
- Whether the source field is set.
-
getSource
StringValue getSource()
.google.protobuf.StringValue source = 12;- Returns:
- The source.
-
getSourceOrBuilder
StringValueOrBuilder getSourceOrBuilder()
.google.protobuf.StringValue source = 12;
-
hasRootName
boolean hasRootName()
.google.protobuf.StringValue root_name = 13;- Returns:
- Whether the rootName field is set.
-
getRootName
StringValue getRootName()
.google.protobuf.StringValue root_name = 13;- Returns:
- The rootName.
-
getRootNameOrBuilder
StringValueOrBuilder getRootNameOrBuilder()
.google.protobuf.StringValue root_name = 13;
-
hasDataSetId
boolean hasDataSetId()
.google.protobuf.Int64Value data_set_id = 14;- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
Int64Value getDataSetId()
.google.protobuf.Int64Value data_set_id = 14;- Returns:
- The dataSetId.
-
getDataSetIdOrBuilder
Int64ValueOrBuilder getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 14;
-
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;
-
-