Package com.cognite.client.dto
Interface DataSetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSet,DataSet.Builder
public interface DataSetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 8;longoptional int64 created_time = 6;optional string description = 4;com.google.protobuf.ByteStringoptional string description = 4;optional string external_id = 2;com.google.protobuf.ByteStringoptional string external_id = 2;longgetId()optional int64 id = 1;longoptional int64 last_updated_time = 7;Deprecated.intmap<string, string> metadata = 8;map<string, string> metadata = 8;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 8;getMetadataOrThrow(String key) map<string, string> metadata = 8;getName()optional string name = 3;com.google.protobuf.ByteStringoptional string name = 3;booleanoptional bool write_protected = 5;booleanoptional int64 created_time = 6;booleanoptional string description = 4;booleanoptional string external_id = 2;booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 7;booleanhasName()optional string name = 3;booleanoptional bool write_protected = 5;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
hasDescription
boolean hasDescription()optional string description = 4;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()optional string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()optional string description = 4;- Returns:
- The bytes for description.
-
hasWriteProtected
boolean hasWriteProtected()optional bool write_protected = 5;- Returns:
- Whether the writeProtected field is set.
-
getWriteProtected
boolean getWriteProtected()optional bool write_protected = 5;- Returns:
- The writeProtected.
-
hasCreatedTime
boolean hasCreatedTime()optional int64 created_time = 6;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
long getCreatedTime()optional int64 created_time = 6;- Returns:
- The createdTime.
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()optional int64 last_updated_time = 7;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
long getLastUpdatedTime()optional int64 last_updated_time = 7;- Returns:
- The lastUpdatedTime.
-
getMetadataCount
int getMetadataCount()map<string, string> metadata = 8; -
containsMetadata
map<string, string> metadata = 8; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 8; -
getMetadataOrDefault
map<string, string> metadata = 8; -
getMetadataOrThrow
map<string, string> metadata = 8;
-