Interface AssetOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Asset, Asset.Builder

    public interface AssetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 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.
      • 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.
      • 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;
      • getMetadataMap

        Map<String,​String> getMetadataMap()
        map<string, string> metadata = 10;
      • getMetadataOrDefault

        String getMetadataOrDefault​(String key,
                                    String defaultValue)
        map<string, string> metadata = 10;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
        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.
      • hasAggregates

        boolean hasAggregates()
        .com.cognite.client.dto.Asset.Aggregates aggregates = 14;
        Returns:
        Whether the aggregates field is set.
      • getAggregates

        Asset.Aggregates getAggregates()
        .com.cognite.client.dto.Asset.Aggregates aggregates = 14;
        Returns:
        The aggregates.
      • getAggregatesOrBuilder

        Asset.AggregatesOrBuilder getAggregatesOrBuilder()
        .com.cognite.client.dto.Asset.Aggregates aggregates = 14;