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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 8;longgetCreatedTime()optional int64 created_time = 6;StringgetDescription()optional string description = 4;com.google.protobuf.ByteStringgetDescriptionBytes()optional string description = 4;StringgetExternalId()optional string external_id = 2;com.google.protobuf.ByteStringgetExternalIdBytes()optional string external_id = 2;longgetId()optional int64 id = 1;longgetLastUpdatedTime()optional int64 last_updated_time = 7;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 8;Map<String,String>getMetadataMap()map<string, string> metadata = 8;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 8;StringgetMetadataOrThrow(String key)map<string, string> metadata = 8;StringgetName()optional string name = 3;com.google.protobuf.ByteStringgetNameBytes()optional string name = 3;booleangetWriteProtected()optional bool write_protected = 5;booleanhasCreatedTime()optional int64 created_time = 6;booleanhasDescription()optional string description = 4;booleanhasExternalId()optional string external_id = 2;booleanhasId()optional int64 id = 1;booleanhasLastUpdatedTime()optional int64 last_updated_time = 7;booleanhasName()optional string name = 3;booleanhasWriteProtected()optional bool write_protected = 5;-
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()
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
boolean containsMetadata(String key)
map<string, string> metadata = 8;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 8;
-
-