All Downloads are FREE. Search and download functionalities are using the official Maven repository.

proto.com.cognite.client.dto.TimeseriesMetadataOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: timeseries.proto

package com.cognite.client.dto;

public interface TimeseriesMetadataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.cognite.beam.proto.TimeseriesMetadata)
    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 string name = 3;
   * @return Whether the name field is set.
   */
  boolean hasName();
  /**
   * optional string name = 3;
   * @return The name.
   */
  java.lang.String getName();
  /**
   * optional string name = 3;
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * optional string description = 4;
   * @return Whether the description field is set.
   */
  boolean hasDescription();
  /**
   * optional string description = 4;
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   * optional string description = 4;
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString
      getDescriptionBytes();

  /**
   * bool is_string = 5;
   * @return The isString.
   */
  boolean getIsString();

  /**
   * bool is_step = 6;
   * @return The isStep.
   */
  boolean getIsStep();

  /**
   * optional string unit = 7;
   * @return Whether the unit field is set.
   */
  boolean hasUnit();
  /**
   * optional string unit = 7;
   * @return The unit.
   */
  java.lang.String getUnit();
  /**
   * optional string unit = 7;
   * @return The bytes for unit.
   */
  com.google.protobuf.ByteString
      getUnitBytes();

  /**
   * optional int64 asset_id = 8;
   * @return Whether the assetId field is set.
   */
  boolean hasAssetId();
  /**
   * optional int64 asset_id = 8;
   * @return The assetId.
   */
  long getAssetId();

  /**
   * repeated int64 security_categories = 9;
   * @return A list containing the securityCategories.
   */
  java.util.List getSecurityCategoriesList();
  /**
   * repeated int64 security_categories = 9;
   * @return The count of securityCategories.
   */
  int getSecurityCategoriesCount();
  /**
   * repeated int64 security_categories = 9;
   * @param index The index of the element to return.
   * @return The securityCategories at the given index.
   */
  long getSecurityCategories(int index);

  /**
   * optional int64 created_time = 10;
   * @return Whether the createdTime field is set.
   */
  boolean hasCreatedTime();
  /**
   * optional int64 created_time = 10;
   * @return The createdTime.
   */
  long getCreatedTime();

  /**
   * optional int64 last_updated_time = 11;
   * @return Whether the lastUpdatedTime field is set.
   */
  boolean hasLastUpdatedTime();
  /**
   * optional int64 last_updated_time = 11;
   * @return The lastUpdatedTime.
   */
  long getLastUpdatedTime();

  /**
   * map<string, string> metadata = 12;
   */
  int getMetadataCount();
  /**
   * map<string, string> metadata = 12;
   */
  boolean containsMetadata(
      java.lang.String key);
  /**
   * Use {@link #getMetadataMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getMetadata();
  /**
   * map<string, string> metadata = 12;
   */
  java.util.Map
  getMetadataMap();
  /**
   * map<string, string> metadata = 12;
   */

  java.lang.String getMetadataOrDefault(
      java.lang.String key,
      java.lang.String defaultValue);
  /**
   * map<string, string> metadata = 12;
   */

  java.lang.String getMetadataOrThrow(
      java.lang.String key);

  /**
   * optional int64 data_set_id = 13;
   * @return Whether the dataSetId field is set.
   */
  boolean hasDataSetId();
  /**
   * optional int64 data_set_id = 13;
   * @return The dataSetId.
   */
  long getDataSetId();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy