Package com.cognite.client.dto
Interface TimeseriesMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeseriesMetadata
,TimeseriesMetadata.Builder
public interface TimeseriesMetadataOrBuilder 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 = 12;
Int64Value
getAssetId()
.google.protobuf.Int64Value asset_id = 8;
Int64ValueOrBuilder
getAssetIdOrBuilder()
.google.protobuf.Int64Value asset_id = 8;
Int64Value
getCreatedTime()
.google.protobuf.Int64Value created_time = 10;
Int64ValueOrBuilder
getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 10;
Int64Value
getDataSetId()
.google.protobuf.Int64Value data_set_id = 13;
Int64ValueOrBuilder
getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 13;
StringValue
getDescription()
.google.protobuf.StringValue description = 4;
StringValueOrBuilder
getDescriptionOrBuilder()
.google.protobuf.StringValue description = 4;
StringValue
getExternalId()
.google.protobuf.StringValue external_id = 2;
StringValueOrBuilder
getExternalIdOrBuilder()
.google.protobuf.StringValue external_id = 2;
Int64Value
getId()
.google.protobuf.Int64Value id = 1;
Int64ValueOrBuilder
getIdOrBuilder()
.google.protobuf.Int64Value id = 1;
boolean
getIsStep()
bool is_step = 6;
boolean
getIsString()
bool is_string = 5;
Int64Value
getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 11;
Int64ValueOrBuilder
getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 11;
Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
map<string, string> metadata = 12;
Map<String,String>
getMetadataMap()
map<string, string> metadata = 12;
String
getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 12;
String
getMetadataOrThrow(String key)
map<string, string> metadata = 12;
StringValue
getName()
.google.protobuf.StringValue name = 3;
StringValueOrBuilder
getNameOrBuilder()
.google.protobuf.StringValue name = 3;
long
getSecurityCategories(int index)
repeated int64 security_categories = 9;
int
getSecurityCategoriesCount()
repeated int64 security_categories = 9;
List<Long>
getSecurityCategoriesList()
repeated int64 security_categories = 9;
StringValue
getUnit()
.google.protobuf.StringValue unit = 7;
StringValueOrBuilder
getUnitOrBuilder()
.google.protobuf.StringValue unit = 7;
boolean
hasAssetId()
.google.protobuf.Int64Value asset_id = 8;
boolean
hasCreatedTime()
.google.protobuf.Int64Value created_time = 10;
boolean
hasDataSetId()
.google.protobuf.Int64Value data_set_id = 13;
boolean
hasDescription()
.google.protobuf.StringValue description = 4;
boolean
hasExternalId()
.google.protobuf.StringValue external_id = 2;
boolean
hasId()
.google.protobuf.Int64Value id = 1;
boolean
hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 11;
boolean
hasName()
.google.protobuf.StringValue name = 3;
boolean
hasUnit()
.google.protobuf.StringValue unit = 7;
-
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()
.google.protobuf.Int64Value id = 1;
- Returns:
- Whether the id field is set.
-
getId
Int64Value getId()
.google.protobuf.Int64Value id = 1;
- Returns:
- The id.
-
getIdOrBuilder
Int64ValueOrBuilder getIdOrBuilder()
.google.protobuf.Int64Value id = 1;
-
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;
-
hasName
boolean hasName()
.google.protobuf.StringValue name = 3;
- Returns:
- Whether the name field is set.
-
getName
StringValue getName()
.google.protobuf.StringValue name = 3;
- Returns:
- The name.
-
getNameOrBuilder
StringValueOrBuilder getNameOrBuilder()
.google.protobuf.StringValue name = 3;
-
hasDescription
boolean hasDescription()
.google.protobuf.StringValue description = 4;
- Returns:
- Whether the description field is set.
-
getDescription
StringValue getDescription()
.google.protobuf.StringValue description = 4;
- Returns:
- The description.
-
getDescriptionOrBuilder
StringValueOrBuilder getDescriptionOrBuilder()
.google.protobuf.StringValue description = 4;
-
getIsString
boolean getIsString()
bool is_string = 5;
- Returns:
- The isString.
-
getIsStep
boolean getIsStep()
bool is_step = 6;
- Returns:
- The isStep.
-
hasUnit
boolean hasUnit()
.google.protobuf.StringValue unit = 7;
- Returns:
- Whether the unit field is set.
-
getUnit
StringValue getUnit()
.google.protobuf.StringValue unit = 7;
- Returns:
- The unit.
-
getUnitOrBuilder
StringValueOrBuilder getUnitOrBuilder()
.google.protobuf.StringValue unit = 7;
-
hasAssetId
boolean hasAssetId()
.google.protobuf.Int64Value asset_id = 8;
- Returns:
- Whether the assetId field is set.
-
getAssetId
Int64Value getAssetId()
.google.protobuf.Int64Value asset_id = 8;
- Returns:
- The assetId.
-
getAssetIdOrBuilder
Int64ValueOrBuilder getAssetIdOrBuilder()
.google.protobuf.Int64Value asset_id = 8;
-
getSecurityCategoriesList
List<Long> getSecurityCategoriesList()
repeated int64 security_categories = 9;
- Returns:
- A list containing the securityCategories.
-
getSecurityCategoriesCount
int getSecurityCategoriesCount()
repeated int64 security_categories = 9;
- Returns:
- The count of securityCategories.
-
getSecurityCategories
long getSecurityCategories(int index)
repeated int64 security_categories = 9;
- Parameters:
index
- The index of the element to return.- Returns:
- The securityCategories at the given index.
-
hasCreatedTime
boolean hasCreatedTime()
.google.protobuf.Int64Value created_time = 10;
- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
Int64Value getCreatedTime()
.google.protobuf.Int64Value created_time = 10;
- Returns:
- The createdTime.
-
getCreatedTimeOrBuilder
Int64ValueOrBuilder getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 10;
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 11;
- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
Int64Value getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 11;
- Returns:
- The lastUpdatedTime.
-
getLastUpdatedTimeOrBuilder
Int64ValueOrBuilder getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 11;
-
getMetadataCount
int getMetadataCount()
map<string, string> metadata = 12;
-
containsMetadata
boolean containsMetadata(String key)
map<string, string> metadata = 12;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 12;
-
hasDataSetId
boolean hasDataSetId()
.google.protobuf.Int64Value data_set_id = 13;
- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
Int64Value getDataSetId()
.google.protobuf.Int64Value data_set_id = 13;
- Returns:
- The dataSetId.
-
getDataSetIdOrBuilder
Int64ValueOrBuilder getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 13;
-
-