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 boolean
containsMetadata(String key)
map<string, string> metadata = 10;
Asset.Aggregates
getAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
Asset.AggregatesOrBuilder
getAggregatesOrBuilder()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
Int64Value
getCreatedTime()
.google.protobuf.Int64Value created_time = 8;
Int64ValueOrBuilder
getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 8;
Int64Value
getDataSetId()
.google.protobuf.Int64Value data_set_id = 14;
Int64ValueOrBuilder
getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 14;
StringValue
getDescription()
.google.protobuf.StringValue description = 6;
StringValueOrBuilder
getDescriptionOrBuilder()
.google.protobuf.StringValue description = 6;
StringValue
getExternalId()
.google.protobuf.StringValue external_id = 2;
StringValueOrBuilder
getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 2;
long
getId()
int64 id = 1;
String
getLabels(int index)
repeated string labels = 11;
com.google.protobuf.ByteString
getLabelsBytes(int index)
repeated string labels = 11;
int
getLabelsCount()
repeated string labels = 11;
List<String>
getLabelsList()
repeated string labels = 11;
Int64Value
getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 9;
Int64ValueOrBuilder
getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 9;
Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
map<string, string> metadata = 10;
Map<String,String>
getMetadataMap()
map<string, string> metadata = 10;
String
getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 10;
String
getMetadataOrThrow(String key)
map<string, string> metadata = 10;
String
getName()
string name = 3;
com.google.protobuf.ByteString
getNameBytes()
string name = 3;
StringValue
getParentExternalId()
.google.protobuf.StringValue parent_external_id = 5;
StringValueOrBuilder
getParentExternalIdOrBuilder()
.google.protobuf.StringValue parent_external_id = 5;
Int64Value
getParentId()
.google.protobuf.Int64Value parent_id = 4;
Int64ValueOrBuilder
getParentIdOrBuilder()
.google.protobuf.Int64Value parent_id = 4;
Int64Value
getRootId()
.google.protobuf.Int64Value root_id = 7;
Int64ValueOrBuilder
getRootIdOrBuilder()
.google.protobuf.Int64Value root_id = 7;
StringValue
getRootName()
.google.protobuf.StringValue root_name = 13;
StringValueOrBuilder
getRootNameOrBuilder()
.google.protobuf.StringValue root_name = 13;
StringValue
getSource()
.google.protobuf.StringValue source = 12;
StringValueOrBuilder
getSourceOrBuilder()
.google.protobuf.StringValue source = 12;
boolean
hasAggregates()
.com.cognite.beam.proto.Asset.Aggregates aggregates = 15;
boolean
hasCreatedTime()
.google.protobuf.Int64Value created_time = 8;
boolean
hasDataSetId()
.google.protobuf.Int64Value data_set_id = 14;
boolean
hasDescription()
.google.protobuf.StringValue description = 6;
boolean
hasExternalId()
.google.protobuf.StringValue external_id = 2;
boolean
hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 9;
boolean
hasParentExternalId()
.google.protobuf.StringValue parent_external_id = 5;
boolean
hasParentId()
.google.protobuf.Int64Value parent_id = 4;
boolean
hasRootId()
.google.protobuf.Int64Value root_id = 7;
boolean
hasRootName()
.google.protobuf.StringValue root_name = 13;
boolean
hasSource()
.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;
-
-