Package com.cognite.client.dto
Interface EventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) map<string, string> metadata = 11;longgetAssetIds(int index) repeated int64 asset_ids = 8;intrepeated int64 asset_ids = 8;repeated int64 asset_ids = 8;longoptional int64 created_time = 9;longoptional int64 data_set_id = 14;optional string description = 5;com.google.protobuf.ByteStringoptional string description = 5;longoptional int64 end_time = 4;optional string external_id = 2;com.google.protobuf.ByteStringoptional string external_id = 2;longgetId()optional int64 id = 1;longoptional int64 last_updated_time = 10;Deprecated.intmap<string, string> metadata = 11;map<string, string> metadata = 11;getMetadataOrDefault(String key, String defaultValue) map<string, string> metadata = 11;getMetadataOrThrow(String key) map<string, string> metadata = 11;optional string source = 13;com.google.protobuf.ByteStringoptional string source = 13;longoptional int64 start_time = 3;optional string subtype = 7;com.google.protobuf.ByteStringoptional string subtype = 7;getType()optional string type = 6;com.google.protobuf.ByteStringoptional string type = 6;booleanoptional int64 created_time = 9;booleanoptional int64 data_set_id = 14;booleanoptional string description = 5;booleanoptional int64 end_time = 4;booleanoptional string external_id = 2;booleanhasId()optional int64 id = 1;booleanoptional int64 last_updated_time = 10;booleanoptional string source = 13;booleanoptional int64 start_time = 3;booleanoptional string subtype = 7;booleanhasType()optional string type = 6;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.
-
hasStartTime
boolean hasStartTime()optional int64 start_time = 3;- Returns:
- Whether the startTime field is set.
-
getStartTime
long getStartTime()optional int64 start_time = 3;- Returns:
- The startTime.
-
hasEndTime
boolean hasEndTime()optional int64 end_time = 4;- Returns:
- Whether the endTime field is set.
-
getEndTime
long getEndTime()optional int64 end_time = 4;- Returns:
- The endTime.
-
hasDescription
boolean hasDescription()optional string description = 5;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()optional string description = 5;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()optional string description = 5;- Returns:
- The bytes for description.
-
hasType
boolean hasType()optional string type = 6;- Returns:
- Whether the type field is set.
-
getType
String getType()optional string type = 6;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()optional string type = 6;- Returns:
- The bytes for type.
-
hasSubtype
boolean hasSubtype()optional string subtype = 7;- Returns:
- Whether the subtype field is set.
-
getSubtype
String getSubtype()optional string subtype = 7;- Returns:
- The subtype.
-
getSubtypeBytes
com.google.protobuf.ByteString getSubtypeBytes()optional string subtype = 7;- Returns:
- The bytes for subtype.
-
getAssetIdsList
repeated int64 asset_ids = 8;- Returns:
- A list containing the assetIds.
-
getAssetIdsCount
int getAssetIdsCount()repeated int64 asset_ids = 8;- Returns:
- The count of assetIds.
-
getAssetIds
long getAssetIds(int index) repeated int64 asset_ids = 8;- Parameters:
index- The index of the element to return.- Returns:
- The assetIds at the given index.
-
hasCreatedTime
boolean hasCreatedTime()optional int64 created_time = 9;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
long getCreatedTime()optional int64 created_time = 9;- Returns:
- The createdTime.
-
hasLastUpdatedTime
boolean hasLastUpdatedTime()optional int64 last_updated_time = 10;- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
long getLastUpdatedTime()optional int64 last_updated_time = 10;- Returns:
- The lastUpdatedTime.
-
getMetadataCount
int getMetadataCount()map<string, string> metadata = 11; -
containsMetadata
map<string, string> metadata = 11; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
map<string, string> metadata = 11; -
getMetadataOrDefault
map<string, string> metadata = 11; -
getMetadataOrThrow
map<string, string> metadata = 11; -
hasSource
boolean hasSource()optional string source = 13;- Returns:
- Whether the source field is set.
-
getSource
String getSource()optional string source = 13;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()optional string source = 13;- Returns:
- The bytes for source.
-
hasDataSetId
boolean hasDataSetId()optional int64 data_set_id = 14;- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
long getDataSetId()optional int64 data_set_id = 14;- Returns:
- The dataSetId.
-