proto.com.cognite.client.dto.EventOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdf-sdk-java Show documentation
Show all versions of cdf-sdk-java Show documentation
Java SDK for reading and writing from/to CDF resources.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: event.proto
package com.cognite.client.dto;
public interface EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.cognite.beam.proto.Event)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* optional int64 id = 1;
* @return The id.
*/
long getId();
/**
* optional string external_id = 2;
* @return Whether the externalId field is set.
*/
boolean hasExternalId();
/**
* optional string external_id = 2;
* @return The externalId.
*/
java.lang.String getExternalId();
/**
* optional string external_id = 2;
* @return The bytes for externalId.
*/
com.google.protobuf.ByteString
getExternalIdBytes();
/**
* optional int64 start_time = 3;
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* optional int64 start_time = 3;
* @return The startTime.
*/
long getStartTime();
/**
* optional int64 end_time = 4;
* @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
* optional int64 end_time = 4;
* @return The endTime.
*/
long getEndTime();
/**
* optional string description = 5;
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
* optional string description = 5;
* @return The description.
*/
java.lang.String getDescription();
/**
* optional string description = 5;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* optional string type = 6;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* optional string type = 6;
* @return The type.
*/
java.lang.String getType();
/**
* optional string type = 6;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* optional string subtype = 7;
* @return Whether the subtype field is set.
*/
boolean hasSubtype();
/**
* optional string subtype = 7;
* @return The subtype.
*/
java.lang.String getSubtype();
/**
* optional string subtype = 7;
* @return The bytes for subtype.
*/
com.google.protobuf.ByteString
getSubtypeBytes();
/**
* repeated int64 asset_ids = 8;
* @return A list containing the assetIds.
*/
java.util.List getAssetIdsList();
/**
* repeated int64 asset_ids = 8;
* @return The count of assetIds.
*/
int getAssetIdsCount();
/**
* repeated int64 asset_ids = 8;
* @param index The index of the element to return.
* @return The assetIds at the given index.
*/
long getAssetIds(int index);
/**
* optional int64 created_time = 9;
* @return Whether the createdTime field is set.
*/
boolean hasCreatedTime();
/**
* optional int64 created_time = 9;
* @return The createdTime.
*/
long getCreatedTime();
/**
* optional int64 last_updated_time = 10;
* @return Whether the lastUpdatedTime field is set.
*/
boolean hasLastUpdatedTime();
/**
* optional int64 last_updated_time = 10;
* @return The lastUpdatedTime.
*/
long getLastUpdatedTime();
/**
* map<string, string> metadata = 11;
*/
int getMetadataCount();
/**
* map<string, string> metadata = 11;
*/
boolean containsMetadata(
java.lang.String key);
/**
* Use {@link #getMetadataMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getMetadata();
/**
* map<string, string> metadata = 11;
*/
java.util.Map
getMetadataMap();
/**
* map<string, string> metadata = 11;
*/
java.lang.String getMetadataOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> metadata = 11;
*/
java.lang.String getMetadataOrThrow(
java.lang.String key);
/**
* optional string source = 13;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* optional string source = 13;
* @return The source.
*/
java.lang.String getSource();
/**
* optional string source = 13;
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
* optional int64 data_set_id = 14;
* @return Whether the dataSetId field is set.
*/
boolean hasDataSetId();
/**
* optional int64 data_set_id = 14;
* @return The dataSetId.
*/
long getDataSetId();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy