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

proto.com.cognite.client.dto.TimeseriesPoint 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;

/**
 * 
 *The time series data point. This is the read-version of the data point which includes aggregate information.
 * 
* * Protobuf type {@code com.cognite.beam.proto.TimeseriesPoint} */ public final class TimeseriesPoint extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.cognite.beam.proto.TimeseriesPoint) TimeseriesPointOrBuilder { private static final long serialVersionUID = 0L; // Use TimeseriesPoint.newBuilder() to construct. private TimeseriesPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeseriesPoint() { externalId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TimeseriesPoint(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeseriesPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { id_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; externalId_ = s; break; } case 24: { bitField0_ |= 0x00000002; isStep_ = input.readBool(); break; } case 32: { timestamp_ = input.readInt64(); break; } case 41: { datapointType_ = input.readDouble(); datapointTypeCase_ = 5; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); datapointTypeCase_ = 6; datapointType_ = s; break; } case 58: { com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder subBuilder = null; if (datapointTypeCase_ == 7) { subBuilder = ((com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_).toBuilder(); } datapointType_ = input.readMessage(com.cognite.client.dto.TimeseriesPoint.Aggregates.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_); datapointType_ = subBuilder.buildPartial(); } datapointTypeCase_ = 7; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.cognite.client.dto.TimeseriesPoint.class, com.cognite.client.dto.TimeseriesPoint.Builder.class); } public interface AggregatesOrBuilder extends // @@protoc_insertion_point(interface_extends:com.cognite.beam.proto.TimeseriesPoint.Aggregates) com.google.protobuf.MessageOrBuilder { /** * optional double average = 1; * @return Whether the average field is set. */ boolean hasAverage(); /** * optional double average = 1; * @return The average. */ double getAverage(); /** * optional double max = 2; * @return Whether the max field is set. */ boolean hasMax(); /** * optional double max = 2; * @return The max. */ double getMax(); /** * optional double min = 3; * @return Whether the min field is set. */ boolean hasMin(); /** * optional double min = 3; * @return The min. */ double getMin(); /** * optional int64 count = 4; * @return Whether the count field is set. */ boolean hasCount(); /** * optional int64 count = 4; * @return The count. */ long getCount(); /** * optional double sum = 5; * @return Whether the sum field is set. */ boolean hasSum(); /** * optional double sum = 5; * @return The sum. */ double getSum(); /** * optional double interpolation = 6; * @return Whether the interpolation field is set. */ boolean hasInterpolation(); /** * optional double interpolation = 6; * @return The interpolation. */ double getInterpolation(); /** * optional double step_interpolation = 7; * @return Whether the stepInterpolation field is set. */ boolean hasStepInterpolation(); /** * optional double step_interpolation = 7; * @return The stepInterpolation. */ double getStepInterpolation(); /** * optional double continuous_variance = 8; * @return Whether the continuousVariance field is set. */ boolean hasContinuousVariance(); /** * optional double continuous_variance = 8; * @return The continuousVariance. */ double getContinuousVariance(); /** * optional double discrete_variance = 9; * @return Whether the discreteVariance field is set. */ boolean hasDiscreteVariance(); /** * optional double discrete_variance = 9; * @return The discreteVariance. */ double getDiscreteVariance(); /** * optional double total_variation = 10; * @return Whether the totalVariation field is set. */ boolean hasTotalVariation(); /** * optional double total_variation = 10; * @return The totalVariation. */ double getTotalVariation(); } /** * Protobuf type {@code com.cognite.beam.proto.TimeseriesPoint.Aggregates} */ public static final class Aggregates extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.cognite.beam.proto.TimeseriesPoint.Aggregates) AggregatesOrBuilder { private static final long serialVersionUID = 0L; // Use Aggregates.newBuilder() to construct. private Aggregates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Aggregates() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Aggregates(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Aggregates( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 9: { bitField0_ |= 0x00000001; average_ = input.readDouble(); break; } case 17: { bitField0_ |= 0x00000002; max_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; min_ = input.readDouble(); break; } case 32: { bitField0_ |= 0x00000008; count_ = input.readInt64(); break; } case 41: { bitField0_ |= 0x00000010; sum_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; interpolation_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000040; stepInterpolation_ = input.readDouble(); break; } case 65: { bitField0_ |= 0x00000080; continuousVariance_ = input.readDouble(); break; } case 73: { bitField0_ |= 0x00000100; discreteVariance_ = input.readDouble(); break; } case 81: { bitField0_ |= 0x00000200; totalVariation_ = input.readDouble(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_Aggregates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_Aggregates_fieldAccessorTable .ensureFieldAccessorsInitialized( com.cognite.client.dto.TimeseriesPoint.Aggregates.class, com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder.class); } private int bitField0_; public static final int AVERAGE_FIELD_NUMBER = 1; private double average_; /** * optional double average = 1; * @return Whether the average field is set. */ @java.lang.Override public boolean hasAverage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double average = 1; * @return The average. */ @java.lang.Override public double getAverage() { return average_; } public static final int MAX_FIELD_NUMBER = 2; private double max_; /** * optional double max = 2; * @return Whether the max field is set. */ @java.lang.Override public boolean hasMax() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double max = 2; * @return The max. */ @java.lang.Override public double getMax() { return max_; } public static final int MIN_FIELD_NUMBER = 3; private double min_; /** * optional double min = 3; * @return Whether the min field is set. */ @java.lang.Override public boolean hasMin() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double min = 3; * @return The min. */ @java.lang.Override public double getMin() { return min_; } public static final int COUNT_FIELD_NUMBER = 4; private long count_; /** * optional int64 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 count = 4; * @return The count. */ @java.lang.Override public long getCount() { return count_; } public static final int SUM_FIELD_NUMBER = 5; private double sum_; /** * optional double sum = 5; * @return Whether the sum field is set. */ @java.lang.Override public boolean hasSum() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double sum = 5; * @return The sum. */ @java.lang.Override public double getSum() { return sum_; } public static final int INTERPOLATION_FIELD_NUMBER = 6; private double interpolation_; /** * optional double interpolation = 6; * @return Whether the interpolation field is set. */ @java.lang.Override public boolean hasInterpolation() { return ((bitField0_ & 0x00000020) != 0); } /** * optional double interpolation = 6; * @return The interpolation. */ @java.lang.Override public double getInterpolation() { return interpolation_; } public static final int STEP_INTERPOLATION_FIELD_NUMBER = 7; private double stepInterpolation_; /** * optional double step_interpolation = 7; * @return Whether the stepInterpolation field is set. */ @java.lang.Override public boolean hasStepInterpolation() { return ((bitField0_ & 0x00000040) != 0); } /** * optional double step_interpolation = 7; * @return The stepInterpolation. */ @java.lang.Override public double getStepInterpolation() { return stepInterpolation_; } public static final int CONTINUOUS_VARIANCE_FIELD_NUMBER = 8; private double continuousVariance_; /** * optional double continuous_variance = 8; * @return Whether the continuousVariance field is set. */ @java.lang.Override public boolean hasContinuousVariance() { return ((bitField0_ & 0x00000080) != 0); } /** * optional double continuous_variance = 8; * @return The continuousVariance. */ @java.lang.Override public double getContinuousVariance() { return continuousVariance_; } public static final int DISCRETE_VARIANCE_FIELD_NUMBER = 9; private double discreteVariance_; /** * optional double discrete_variance = 9; * @return Whether the discreteVariance field is set. */ @java.lang.Override public boolean hasDiscreteVariance() { return ((bitField0_ & 0x00000100) != 0); } /** * optional double discrete_variance = 9; * @return The discreteVariance. */ @java.lang.Override public double getDiscreteVariance() { return discreteVariance_; } public static final int TOTAL_VARIATION_FIELD_NUMBER = 10; private double totalVariation_; /** * optional double total_variation = 10; * @return Whether the totalVariation field is set. */ @java.lang.Override public boolean hasTotalVariation() { return ((bitField0_ & 0x00000200) != 0); } /** * optional double total_variation = 10; * @return The totalVariation. */ @java.lang.Override public double getTotalVariation() { return totalVariation_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeDouble(1, average_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeDouble(2, max_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeDouble(3, min_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, count_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeDouble(5, sum_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeDouble(6, interpolation_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeDouble(7, stepInterpolation_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeDouble(8, continuousVariance_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeDouble(9, discreteVariance_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeDouble(10, totalVariation_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, average_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, max_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, min_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, count_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, sum_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, interpolation_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, stepInterpolation_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, continuousVariance_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, discreteVariance_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, totalVariation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.cognite.client.dto.TimeseriesPoint.Aggregates)) { return super.equals(obj); } com.cognite.client.dto.TimeseriesPoint.Aggregates other = (com.cognite.client.dto.TimeseriesPoint.Aggregates) obj; if (hasAverage() != other.hasAverage()) return false; if (hasAverage()) { if (java.lang.Double.doubleToLongBits(getAverage()) != java.lang.Double.doubleToLongBits( other.getAverage())) return false; } if (hasMax() != other.hasMax()) return false; if (hasMax()) { if (java.lang.Double.doubleToLongBits(getMax()) != java.lang.Double.doubleToLongBits( other.getMax())) return false; } if (hasMin() != other.hasMin()) return false; if (hasMin()) { if (java.lang.Double.doubleToLongBits(getMin()) != java.lang.Double.doubleToLongBits( other.getMin())) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (hasSum() != other.hasSum()) return false; if (hasSum()) { if (java.lang.Double.doubleToLongBits(getSum()) != java.lang.Double.doubleToLongBits( other.getSum())) return false; } if (hasInterpolation() != other.hasInterpolation()) return false; if (hasInterpolation()) { if (java.lang.Double.doubleToLongBits(getInterpolation()) != java.lang.Double.doubleToLongBits( other.getInterpolation())) return false; } if (hasStepInterpolation() != other.hasStepInterpolation()) return false; if (hasStepInterpolation()) { if (java.lang.Double.doubleToLongBits(getStepInterpolation()) != java.lang.Double.doubleToLongBits( other.getStepInterpolation())) return false; } if (hasContinuousVariance() != other.hasContinuousVariance()) return false; if (hasContinuousVariance()) { if (java.lang.Double.doubleToLongBits(getContinuousVariance()) != java.lang.Double.doubleToLongBits( other.getContinuousVariance())) return false; } if (hasDiscreteVariance() != other.hasDiscreteVariance()) return false; if (hasDiscreteVariance()) { if (java.lang.Double.doubleToLongBits(getDiscreteVariance()) != java.lang.Double.doubleToLongBits( other.getDiscreteVariance())) return false; } if (hasTotalVariation() != other.hasTotalVariation()) return false; if (hasTotalVariation()) { if (java.lang.Double.doubleToLongBits(getTotalVariation()) != java.lang.Double.doubleToLongBits( other.getTotalVariation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAverage()) { hash = (37 * hash) + AVERAGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAverage())); } if (hasMax()) { hash = (37 * hash) + MAX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMax())); } if (hasMin()) { hash = (37 * hash) + MIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMin())); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSum())); } if (hasInterpolation()) { hash = (37 * hash) + INTERPOLATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getInterpolation())); } if (hasStepInterpolation()) { hash = (37 * hash) + STEP_INTERPOLATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getStepInterpolation())); } if (hasContinuousVariance()) { hash = (37 * hash) + CONTINUOUS_VARIANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getContinuousVariance())); } if (hasDiscreteVariance()) { hash = (37 * hash) + DISCRETE_VARIANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDiscreteVariance())); } if (hasTotalVariation()) { hash = (37 * hash) + TOTAL_VARIATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTotalVariation())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.cognite.client.dto.TimeseriesPoint.Aggregates prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.cognite.beam.proto.TimeseriesPoint.Aggregates} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.cognite.beam.proto.TimeseriesPoint.Aggregates) com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_Aggregates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_Aggregates_fieldAccessorTable .ensureFieldAccessorsInitialized( com.cognite.client.dto.TimeseriesPoint.Aggregates.class, com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder.class); } // Construct using com.cognite.client.dto.TimeseriesPoint.Aggregates.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); average_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); max_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); min_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); count_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); sum_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); interpolation_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); stepInterpolation_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); continuousVariance_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); discreteVariance_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); totalVariation_ = 0D; bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_Aggregates_descriptor; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates getDefaultInstanceForType() { return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates build() { com.cognite.client.dto.TimeseriesPoint.Aggregates result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates buildPartial() { com.cognite.client.dto.TimeseriesPoint.Aggregates result = new com.cognite.client.dto.TimeseriesPoint.Aggregates(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.average_ = average_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.max_ = max_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.min_ = min_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.sum_ = sum_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.interpolation_ = interpolation_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.stepInterpolation_ = stepInterpolation_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.continuousVariance_ = continuousVariance_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.discreteVariance_ = discreteVariance_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.totalVariation_ = totalVariation_; to_bitField0_ |= 0x00000200; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.cognite.client.dto.TimeseriesPoint.Aggregates) { return mergeFrom((com.cognite.client.dto.TimeseriesPoint.Aggregates)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.cognite.client.dto.TimeseriesPoint.Aggregates other) { if (other == com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance()) return this; if (other.hasAverage()) { setAverage(other.getAverage()); } if (other.hasMax()) { setMax(other.getMax()); } if (other.hasMin()) { setMin(other.getMin()); } if (other.hasCount()) { setCount(other.getCount()); } if (other.hasSum()) { setSum(other.getSum()); } if (other.hasInterpolation()) { setInterpolation(other.getInterpolation()); } if (other.hasStepInterpolation()) { setStepInterpolation(other.getStepInterpolation()); } if (other.hasContinuousVariance()) { setContinuousVariance(other.getContinuousVariance()); } if (other.hasDiscreteVariance()) { setDiscreteVariance(other.getDiscreteVariance()); } if (other.hasTotalVariation()) { setTotalVariation(other.getTotalVariation()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.cognite.client.dto.TimeseriesPoint.Aggregates parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.cognite.client.dto.TimeseriesPoint.Aggregates) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double average_ ; /** * optional double average = 1; * @return Whether the average field is set. */ @java.lang.Override public boolean hasAverage() { return ((bitField0_ & 0x00000001) != 0); } /** * optional double average = 1; * @return The average. */ @java.lang.Override public double getAverage() { return average_; } /** * optional double average = 1; * @param value The average to set. * @return This builder for chaining. */ public Builder setAverage(double value) { bitField0_ |= 0x00000001; average_ = value; onChanged(); return this; } /** * optional double average = 1; * @return This builder for chaining. */ public Builder clearAverage() { bitField0_ = (bitField0_ & ~0x00000001); average_ = 0D; onChanged(); return this; } private double max_ ; /** * optional double max = 2; * @return Whether the max field is set. */ @java.lang.Override public boolean hasMax() { return ((bitField0_ & 0x00000002) != 0); } /** * optional double max = 2; * @return The max. */ @java.lang.Override public double getMax() { return max_; } /** * optional double max = 2; * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(double value) { bitField0_ |= 0x00000002; max_ = value; onChanged(); return this; } /** * optional double max = 2; * @return This builder for chaining. */ public Builder clearMax() { bitField0_ = (bitField0_ & ~0x00000002); max_ = 0D; onChanged(); return this; } private double min_ ; /** * optional double min = 3; * @return Whether the min field is set. */ @java.lang.Override public boolean hasMin() { return ((bitField0_ & 0x00000004) != 0); } /** * optional double min = 3; * @return The min. */ @java.lang.Override public double getMin() { return min_; } /** * optional double min = 3; * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(double value) { bitField0_ |= 0x00000004; min_ = value; onChanged(); return this; } /** * optional double min = 3; * @return This builder for chaining. */ public Builder clearMin() { bitField0_ = (bitField0_ & ~0x00000004); min_ = 0D; onChanged(); return this; } private long count_ ; /** * optional int64 count = 4; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 count = 4; * @return The count. */ @java.lang.Override public long getCount() { return count_; } /** * optional int64 count = 4; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { bitField0_ |= 0x00000008; count_ = value; onChanged(); return this; } /** * optional int64 count = 4; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000008); count_ = 0L; onChanged(); return this; } private double sum_ ; /** * optional double sum = 5; * @return Whether the sum field is set. */ @java.lang.Override public boolean hasSum() { return ((bitField0_ & 0x00000010) != 0); } /** * optional double sum = 5; * @return The sum. */ @java.lang.Override public double getSum() { return sum_; } /** * optional double sum = 5; * @param value The sum to set. * @return This builder for chaining. */ public Builder setSum(double value) { bitField0_ |= 0x00000010; sum_ = value; onChanged(); return this; } /** * optional double sum = 5; * @return This builder for chaining. */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000010); sum_ = 0D; onChanged(); return this; } private double interpolation_ ; /** * optional double interpolation = 6; * @return Whether the interpolation field is set. */ @java.lang.Override public boolean hasInterpolation() { return ((bitField0_ & 0x00000020) != 0); } /** * optional double interpolation = 6; * @return The interpolation. */ @java.lang.Override public double getInterpolation() { return interpolation_; } /** * optional double interpolation = 6; * @param value The interpolation to set. * @return This builder for chaining. */ public Builder setInterpolation(double value) { bitField0_ |= 0x00000020; interpolation_ = value; onChanged(); return this; } /** * optional double interpolation = 6; * @return This builder for chaining. */ public Builder clearInterpolation() { bitField0_ = (bitField0_ & ~0x00000020); interpolation_ = 0D; onChanged(); return this; } private double stepInterpolation_ ; /** * optional double step_interpolation = 7; * @return Whether the stepInterpolation field is set. */ @java.lang.Override public boolean hasStepInterpolation() { return ((bitField0_ & 0x00000040) != 0); } /** * optional double step_interpolation = 7; * @return The stepInterpolation. */ @java.lang.Override public double getStepInterpolation() { return stepInterpolation_; } /** * optional double step_interpolation = 7; * @param value The stepInterpolation to set. * @return This builder for chaining. */ public Builder setStepInterpolation(double value) { bitField0_ |= 0x00000040; stepInterpolation_ = value; onChanged(); return this; } /** * optional double step_interpolation = 7; * @return This builder for chaining. */ public Builder clearStepInterpolation() { bitField0_ = (bitField0_ & ~0x00000040); stepInterpolation_ = 0D; onChanged(); return this; } private double continuousVariance_ ; /** * optional double continuous_variance = 8; * @return Whether the continuousVariance field is set. */ @java.lang.Override public boolean hasContinuousVariance() { return ((bitField0_ & 0x00000080) != 0); } /** * optional double continuous_variance = 8; * @return The continuousVariance. */ @java.lang.Override public double getContinuousVariance() { return continuousVariance_; } /** * optional double continuous_variance = 8; * @param value The continuousVariance to set. * @return This builder for chaining. */ public Builder setContinuousVariance(double value) { bitField0_ |= 0x00000080; continuousVariance_ = value; onChanged(); return this; } /** * optional double continuous_variance = 8; * @return This builder for chaining. */ public Builder clearContinuousVariance() { bitField0_ = (bitField0_ & ~0x00000080); continuousVariance_ = 0D; onChanged(); return this; } private double discreteVariance_ ; /** * optional double discrete_variance = 9; * @return Whether the discreteVariance field is set. */ @java.lang.Override public boolean hasDiscreteVariance() { return ((bitField0_ & 0x00000100) != 0); } /** * optional double discrete_variance = 9; * @return The discreteVariance. */ @java.lang.Override public double getDiscreteVariance() { return discreteVariance_; } /** * optional double discrete_variance = 9; * @param value The discreteVariance to set. * @return This builder for chaining. */ public Builder setDiscreteVariance(double value) { bitField0_ |= 0x00000100; discreteVariance_ = value; onChanged(); return this; } /** * optional double discrete_variance = 9; * @return This builder for chaining. */ public Builder clearDiscreteVariance() { bitField0_ = (bitField0_ & ~0x00000100); discreteVariance_ = 0D; onChanged(); return this; } private double totalVariation_ ; /** * optional double total_variation = 10; * @return Whether the totalVariation field is set. */ @java.lang.Override public boolean hasTotalVariation() { return ((bitField0_ & 0x00000200) != 0); } /** * optional double total_variation = 10; * @return The totalVariation. */ @java.lang.Override public double getTotalVariation() { return totalVariation_; } /** * optional double total_variation = 10; * @param value The totalVariation to set. * @return This builder for chaining. */ public Builder setTotalVariation(double value) { bitField0_ |= 0x00000200; totalVariation_ = value; onChanged(); return this; } /** * optional double total_variation = 10; * @return This builder for chaining. */ public Builder clearTotalVariation() { bitField0_ = (bitField0_ & ~0x00000200); totalVariation_ = 0D; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.cognite.beam.proto.TimeseriesPoint.Aggregates) } // @@protoc_insertion_point(class_scope:com.cognite.beam.proto.TimeseriesPoint.Aggregates) private static final com.cognite.client.dto.TimeseriesPoint.Aggregates DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.cognite.client.dto.TimeseriesPoint.Aggregates(); } public static com.cognite.client.dto.TimeseriesPoint.Aggregates getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Aggregates parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Aggregates(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int datapointTypeCase_ = 0; private java.lang.Object datapointType_; public enum DatapointTypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE_NUM(5), VALUE_STRING(6), VALUE_AGGREGATES(7), DATAPOINTTYPE_NOT_SET(0); private final int value; private DatapointTypeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DatapointTypeCase valueOf(int value) { return forNumber(value); } public static DatapointTypeCase forNumber(int value) { switch (value) { case 5: return VALUE_NUM; case 6: return VALUE_STRING; case 7: return VALUE_AGGREGATES; case 0: return DATAPOINTTYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DatapointTypeCase getDatapointTypeCase() { return DatapointTypeCase.forNumber( datapointTypeCase_); } public static final int ID_FIELD_NUMBER = 1; private long id_; /** * int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** * optional string external_id = 2; * @return Whether the externalId field is set. */ @java.lang.Override public boolean hasExternalId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string external_id = 2; * @return The externalId. */ @java.lang.Override public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** * optional string external_id = 2; * @return The bytes for externalId. */ @java.lang.Override public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IS_STEP_FIELD_NUMBER = 3; private boolean isStep_; /** * optional bool is_step = 3; * @return Whether the isStep field is set. */ @java.lang.Override public boolean hasIsStep() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool is_step = 3; * @return The isStep. */ @java.lang.Override public boolean getIsStep() { return isStep_; } public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** * int64 timestamp = 4; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } public static final int VALUE_NUM_FIELD_NUMBER = 5; /** * double value_num = 5; * @return Whether the valueNum field is set. */ @java.lang.Override public boolean hasValueNum() { return datapointTypeCase_ == 5; } /** * double value_num = 5; * @return The valueNum. */ @java.lang.Override public double getValueNum() { if (datapointTypeCase_ == 5) { return (java.lang.Double) datapointType_; } return 0D; } public static final int VALUE_STRING_FIELD_NUMBER = 6; /** * string value_string = 6; * @return Whether the valueString field is set. */ public boolean hasValueString() { return datapointTypeCase_ == 6; } /** * string value_string = 6; * @return The valueString. */ public java.lang.String getValueString() { java.lang.Object ref = ""; if (datapointTypeCase_ == 6) { ref = datapointType_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (datapointTypeCase_ == 6) { datapointType_ = s; } return s; } } /** * string value_string = 6; * @return The bytes for valueString. */ public com.google.protobuf.ByteString getValueStringBytes() { java.lang.Object ref = ""; if (datapointTypeCase_ == 6) { ref = datapointType_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (datapointTypeCase_ == 6) { datapointType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_AGGREGATES_FIELD_NUMBER = 7; /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; * @return Whether the valueAggregates field is set. */ @java.lang.Override public boolean hasValueAggregates() { return datapointTypeCase_ == 7; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; * @return The valueAggregates. */ @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates getValueAggregates() { if (datapointTypeCase_ == 7) { return (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_; } return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder getValueAggregatesOrBuilder() { if (datapointTypeCase_ == 7) { return (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_; } return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (id_ != 0L) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(3, isStep_); } if (timestamp_ != 0L) { output.writeInt64(4, timestamp_); } if (datapointTypeCase_ == 5) { output.writeDouble( 5, (double)((java.lang.Double) datapointType_)); } if (datapointTypeCase_ == 6) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, datapointType_); } if (datapointTypeCase_ == 7) { output.writeMessage(7, (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, id_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isStep_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, timestamp_); } if (datapointTypeCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize( 5, (double)((java.lang.Double) datapointType_)); } if (datapointTypeCase_ == 6) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, datapointType_); } if (datapointTypeCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.cognite.client.dto.TimeseriesPoint)) { return super.equals(obj); } com.cognite.client.dto.TimeseriesPoint other = (com.cognite.client.dto.TimeseriesPoint) obj; if (getId() != other.getId()) return false; if (hasExternalId() != other.hasExternalId()) return false; if (hasExternalId()) { if (!getExternalId() .equals(other.getExternalId())) return false; } if (hasIsStep() != other.hasIsStep()) return false; if (hasIsStep()) { if (getIsStep() != other.getIsStep()) return false; } if (getTimestamp() != other.getTimestamp()) return false; if (!getDatapointTypeCase().equals(other.getDatapointTypeCase())) return false; switch (datapointTypeCase_) { case 5: if (java.lang.Double.doubleToLongBits(getValueNum()) != java.lang.Double.doubleToLongBits( other.getValueNum())) return false; break; case 6: if (!getValueString() .equals(other.getValueString())) return false; break; case 7: if (!getValueAggregates() .equals(other.getValueAggregates())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); if (hasExternalId()) { hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER; hash = (53 * hash) + getExternalId().hashCode(); } if (hasIsStep()) { hash = (37 * hash) + IS_STEP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsStep()); } hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); switch (datapointTypeCase_) { case 5: hash = (37 * hash) + VALUE_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getValueNum())); break; case 6: hash = (37 * hash) + VALUE_STRING_FIELD_NUMBER; hash = (53 * hash) + getValueString().hashCode(); break; case 7: hash = (37 * hash) + VALUE_AGGREGATES_FIELD_NUMBER; hash = (53 * hash) + getValueAggregates().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.cognite.client.dto.TimeseriesPoint parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.cognite.client.dto.TimeseriesPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.cognite.client.dto.TimeseriesPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   *The time series data point. This is the read-version of the data point which includes aggregate information.
   * 
* * Protobuf type {@code com.cognite.beam.proto.TimeseriesPoint} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.cognite.beam.proto.TimeseriesPoint) com.cognite.client.dto.TimeseriesPointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.cognite.client.dto.TimeseriesPoint.class, com.cognite.client.dto.TimeseriesPoint.Builder.class); } // Construct using com.cognite.client.dto.TimeseriesPoint.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; externalId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); isStep_ = false; bitField0_ = (bitField0_ & ~0x00000002); timestamp_ = 0L; datapointTypeCase_ = 0; datapointType_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.cognite.client.dto.Timeseries.internal_static_com_cognite_beam_proto_TimeseriesPoint_descriptor; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint getDefaultInstanceForType() { return com.cognite.client.dto.TimeseriesPoint.getDefaultInstance(); } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint build() { com.cognite.client.dto.TimeseriesPoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint buildPartial() { com.cognite.client.dto.TimeseriesPoint result = new com.cognite.client.dto.TimeseriesPoint(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.id_ = id_; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.externalId_ = externalId_; if (((from_bitField0_ & 0x00000002) != 0)) { result.isStep_ = isStep_; to_bitField0_ |= 0x00000002; } result.timestamp_ = timestamp_; if (datapointTypeCase_ == 5) { result.datapointType_ = datapointType_; } if (datapointTypeCase_ == 6) { result.datapointType_ = datapointType_; } if (datapointTypeCase_ == 7) { if (valueAggregatesBuilder_ == null) { result.datapointType_ = datapointType_; } else { result.datapointType_ = valueAggregatesBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.datapointTypeCase_ = datapointTypeCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.cognite.client.dto.TimeseriesPoint) { return mergeFrom((com.cognite.client.dto.TimeseriesPoint)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.cognite.client.dto.TimeseriesPoint other) { if (other == com.cognite.client.dto.TimeseriesPoint.getDefaultInstance()) return this; if (other.getId() != 0L) { setId(other.getId()); } if (other.hasExternalId()) { bitField0_ |= 0x00000001; externalId_ = other.externalId_; onChanged(); } if (other.hasIsStep()) { setIsStep(other.getIsStep()); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } switch (other.getDatapointTypeCase()) { case VALUE_NUM: { setValueNum(other.getValueNum()); break; } case VALUE_STRING: { datapointTypeCase_ = 6; datapointType_ = other.datapointType_; onChanged(); break; } case VALUE_AGGREGATES: { mergeValueAggregates(other.getValueAggregates()); break; } case DATAPOINTTYPE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.cognite.client.dto.TimeseriesPoint parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.cognite.client.dto.TimeseriesPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int datapointTypeCase_ = 0; private java.lang.Object datapointType_; public DatapointTypeCase getDatapointTypeCase() { return DatapointTypeCase.forNumber( datapointTypeCase_); } public Builder clearDatapointType() { datapointTypeCase_ = 0; datapointType_ = null; onChanged(); return this; } private int bitField0_; private long id_ ; /** * int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * int64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { id_ = value; onChanged(); return this; } /** * int64 id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = 0L; onChanged(); return this; } private java.lang.Object externalId_ = ""; /** * optional string external_id = 2; * @return Whether the externalId field is set. */ public boolean hasExternalId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string external_id = 2; * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string external_id = 2; * @return The bytes for externalId. */ public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); externalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string external_id = 2; * @param value The externalId to set. * @return This builder for chaining. */ public Builder setExternalId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; externalId_ = value; onChanged(); return this; } /** * optional string external_id = 2; * @return This builder for chaining. */ public Builder clearExternalId() { bitField0_ = (bitField0_ & ~0x00000001); externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** * optional string external_id = 2; * @param value The bytes for externalId to set. * @return This builder for chaining. */ public Builder setExternalIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; externalId_ = value; onChanged(); return this; } private boolean isStep_ ; /** * optional bool is_step = 3; * @return Whether the isStep field is set. */ @java.lang.Override public boolean hasIsStep() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool is_step = 3; * @return The isStep. */ @java.lang.Override public boolean getIsStep() { return isStep_; } /** * optional bool is_step = 3; * @param value The isStep to set. * @return This builder for chaining. */ public Builder setIsStep(boolean value) { bitField0_ |= 0x00000002; isStep_ = value; onChanged(); return this; } /** * optional bool is_step = 3; * @return This builder for chaining. */ public Builder clearIsStep() { bitField0_ = (bitField0_ & ~0x00000002); isStep_ = false; onChanged(); return this; } private long timestamp_ ; /** * int64 timestamp = 4; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** * int64 timestamp = 4; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * int64 timestamp = 4; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } /** * double value_num = 5; * @return Whether the valueNum field is set. */ public boolean hasValueNum() { return datapointTypeCase_ == 5; } /** * double value_num = 5; * @return The valueNum. */ public double getValueNum() { if (datapointTypeCase_ == 5) { return (java.lang.Double) datapointType_; } return 0D; } /** * double value_num = 5; * @param value The valueNum to set. * @return This builder for chaining. */ public Builder setValueNum(double value) { datapointTypeCase_ = 5; datapointType_ = value; onChanged(); return this; } /** * double value_num = 5; * @return This builder for chaining. */ public Builder clearValueNum() { if (datapointTypeCase_ == 5) { datapointTypeCase_ = 0; datapointType_ = null; onChanged(); } return this; } /** * string value_string = 6; * @return Whether the valueString field is set. */ @java.lang.Override public boolean hasValueString() { return datapointTypeCase_ == 6; } /** * string value_string = 6; * @return The valueString. */ @java.lang.Override public java.lang.String getValueString() { java.lang.Object ref = ""; if (datapointTypeCase_ == 6) { ref = datapointType_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (datapointTypeCase_ == 6) { datapointType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string value_string = 6; * @return The bytes for valueString. */ @java.lang.Override public com.google.protobuf.ByteString getValueStringBytes() { java.lang.Object ref = ""; if (datapointTypeCase_ == 6) { ref = datapointType_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (datapointTypeCase_ == 6) { datapointType_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string value_string = 6; * @param value The valueString to set. * @return This builder for chaining. */ public Builder setValueString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } datapointTypeCase_ = 6; datapointType_ = value; onChanged(); return this; } /** * string value_string = 6; * @return This builder for chaining. */ public Builder clearValueString() { if (datapointTypeCase_ == 6) { datapointTypeCase_ = 0; datapointType_ = null; onChanged(); } return this; } /** * string value_string = 6; * @param value The bytes for valueString to set. * @return This builder for chaining. */ public Builder setValueStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); datapointTypeCase_ = 6; datapointType_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.cognite.client.dto.TimeseriesPoint.Aggregates, com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder, com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder> valueAggregatesBuilder_; /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; * @return Whether the valueAggregates field is set. */ @java.lang.Override public boolean hasValueAggregates() { return datapointTypeCase_ == 7; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; * @return The valueAggregates. */ @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.Aggregates getValueAggregates() { if (valueAggregatesBuilder_ == null) { if (datapointTypeCase_ == 7) { return (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_; } return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } else { if (datapointTypeCase_ == 7) { return valueAggregatesBuilder_.getMessage(); } return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ public Builder setValueAggregates(com.cognite.client.dto.TimeseriesPoint.Aggregates value) { if (valueAggregatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } datapointType_ = value; onChanged(); } else { valueAggregatesBuilder_.setMessage(value); } datapointTypeCase_ = 7; return this; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ public Builder setValueAggregates( com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder builderForValue) { if (valueAggregatesBuilder_ == null) { datapointType_ = builderForValue.build(); onChanged(); } else { valueAggregatesBuilder_.setMessage(builderForValue.build()); } datapointTypeCase_ = 7; return this; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ public Builder mergeValueAggregates(com.cognite.client.dto.TimeseriesPoint.Aggregates value) { if (valueAggregatesBuilder_ == null) { if (datapointTypeCase_ == 7 && datapointType_ != com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance()) { datapointType_ = com.cognite.client.dto.TimeseriesPoint.Aggregates.newBuilder((com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_) .mergeFrom(value).buildPartial(); } else { datapointType_ = value; } onChanged(); } else { if (datapointTypeCase_ == 7) { valueAggregatesBuilder_.mergeFrom(value); } valueAggregatesBuilder_.setMessage(value); } datapointTypeCase_ = 7; return this; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ public Builder clearValueAggregates() { if (valueAggregatesBuilder_ == null) { if (datapointTypeCase_ == 7) { datapointTypeCase_ = 0; datapointType_ = null; onChanged(); } } else { if (datapointTypeCase_ == 7) { datapointTypeCase_ = 0; datapointType_ = null; } valueAggregatesBuilder_.clear(); } return this; } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ public com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder getValueAggregatesBuilder() { return getValueAggregatesFieldBuilder().getBuilder(); } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ @java.lang.Override public com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder getValueAggregatesOrBuilder() { if ((datapointTypeCase_ == 7) && (valueAggregatesBuilder_ != null)) { return valueAggregatesBuilder_.getMessageOrBuilder(); } else { if (datapointTypeCase_ == 7) { return (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_; } return com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } } /** * .com.cognite.beam.proto.TimeseriesPoint.Aggregates value_aggregates = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.cognite.client.dto.TimeseriesPoint.Aggregates, com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder, com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder> getValueAggregatesFieldBuilder() { if (valueAggregatesBuilder_ == null) { if (!(datapointTypeCase_ == 7)) { datapointType_ = com.cognite.client.dto.TimeseriesPoint.Aggregates.getDefaultInstance(); } valueAggregatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.cognite.client.dto.TimeseriesPoint.Aggregates, com.cognite.client.dto.TimeseriesPoint.Aggregates.Builder, com.cognite.client.dto.TimeseriesPoint.AggregatesOrBuilder>( (com.cognite.client.dto.TimeseriesPoint.Aggregates) datapointType_, getParentForChildren(), isClean()); datapointType_ = null; } datapointTypeCase_ = 7; onChanged();; return valueAggregatesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.cognite.beam.proto.TimeseriesPoint) } // @@protoc_insertion_point(class_scope:com.cognite.beam.proto.TimeseriesPoint) private static final com.cognite.client.dto.TimeseriesPoint DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.cognite.client.dto.TimeseriesPoint(); } public static com.cognite.client.dto.TimeseriesPoint getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimeseriesPoint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeseriesPoint(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.cognite.client.dto.TimeseriesPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy