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 booleancontainsMetadata(String key)map<string, string> metadata = 12;Int64ValuegetAssetId().google.protobuf.Int64Value asset_id = 8;Int64ValueOrBuildergetAssetIdOrBuilder().google.protobuf.Int64Value asset_id = 8;Int64ValuegetCreatedTime().google.protobuf.Int64Value created_time = 10;Int64ValueOrBuildergetCreatedTimeOrBuilder().google.protobuf.Int64Value created_time = 10;Int64ValuegetDataSetId().google.protobuf.Int64Value data_set_id = 13;Int64ValueOrBuildergetDataSetIdOrBuilder().google.protobuf.Int64Value data_set_id = 13;StringValuegetDescription().google.protobuf.StringValue description = 4;StringValueOrBuildergetDescriptionOrBuilder().google.protobuf.StringValue description = 4;StringValuegetExternalId().google.protobuf.StringValue external_id = 2;StringValueOrBuildergetExternalIdOrBuilder().google.protobuf.StringValue external_id = 2;Int64ValuegetId().google.protobuf.Int64Value id = 1;Int64ValueOrBuildergetIdOrBuilder().google.protobuf.Int64Value id = 1;booleangetIsStep()bool is_step = 6;booleangetIsString()bool is_string = 5;Int64ValuegetLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 11;Int64ValueOrBuildergetLastUpdatedTimeOrBuilder().google.protobuf.Int64Value last_updated_time = 11;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 12;Map<String,String>getMetadataMap()map<string, string> metadata = 12;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 12;StringgetMetadataOrThrow(String key)map<string, string> metadata = 12;StringValuegetName().google.protobuf.StringValue name = 3;StringValueOrBuildergetNameOrBuilder().google.protobuf.StringValue name = 3;longgetSecurityCategories(int index)repeated int64 security_categories = 9;intgetSecurityCategoriesCount()repeated int64 security_categories = 9;List<Long>getSecurityCategoriesList()repeated int64 security_categories = 9;StringValuegetUnit().google.protobuf.StringValue unit = 7;StringValueOrBuildergetUnitOrBuilder().google.protobuf.StringValue unit = 7;booleanhasAssetId().google.protobuf.Int64Value asset_id = 8;booleanhasCreatedTime().google.protobuf.Int64Value created_time = 10;booleanhasDataSetId().google.protobuf.Int64Value data_set_id = 13;booleanhasDescription().google.protobuf.StringValue description = 4;booleanhasExternalId().google.protobuf.StringValue external_id = 2;booleanhasId().google.protobuf.Int64Value id = 1;booleanhasLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 11;booleanhasName().google.protobuf.StringValue name = 3;booleanhasUnit().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;
-
-