Package com.cognite.v1.timeseries.proto
Class DataPointInsertionItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.v1.timeseries.proto.DataPointInsertionItem
-
- All Implemented Interfaces:
DataPointInsertionItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataPointInsertionItem extends com.google.protobuf.GeneratedMessageV3 implements DataPointInsertionItemOrBuilder
Protobuf typecom.cognite.v1.timeseries.proto.DataPointInsertionItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataPointInsertionItem.BuilderProtobuf typecom.cognite.v1.timeseries.proto.DataPointInsertionItemstatic classDataPointInsertionItem.DatapointTypeCasestatic classDataPointInsertionItem.IdOrExternalIdCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEXTERNALID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNUMERICDATAPOINTS_FIELD_NUMBERstatic intSTRINGDATAPOINTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DataPointInsertionItem.DatapointTypeCasegetDatapointTypeCase()static DataPointInsertionItemgetDefaultInstance()DataPointInsertionItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalId()string externalId = 2;com.google.protobuf.ByteStringgetExternalIdBytes()string externalId = 2;longgetId()int64 id = 1;DataPointInsertionItem.IdOrExternalIdCasegetIdOrExternalIdCase()NumericDatapointsgetNumericDatapoints().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;NumericDatapointsOrBuildergetNumericDatapointsOrBuilder().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;com.google.protobuf.Parser<DataPointInsertionItem>getParserForType()intgetSerializedSize()StringDatapointsgetStringDatapoints().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;StringDatapointsOrBuildergetStringDatapointsOrBuilder().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasExternalId()string externalId = 2;inthashCode()booleanhasId()int64 id = 1;booleanhasNumericDatapoints().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;booleanhasStringDatapoints().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataPointInsertionItem.BuildernewBuilder()static DataPointInsertionItem.BuildernewBuilder(DataPointInsertionItem prototype)DataPointInsertionItem.BuildernewBuilderForType()protected DataPointInsertionItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataPointInsertionItemparseDelimitedFrom(InputStream input)static DataPointInsertionItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointInsertionItemparseFrom(byte[] data)static DataPointInsertionItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointInsertionItemparseFrom(com.google.protobuf.ByteString data)static DataPointInsertionItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointInsertionItemparseFrom(com.google.protobuf.CodedInputStream input)static DataPointInsertionItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointInsertionItemparseFrom(InputStream input)static DataPointInsertionItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointInsertionItemparseFrom(ByteBuffer data)static DataPointInsertionItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataPointInsertionItem>parser()DataPointInsertionItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNALID_FIELD_NUMBER
public static final int EXTERNALID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMERICDATAPOINTS_FIELD_NUMBER
public static final int NUMERICDATAPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRINGDATAPOINTS_FIELD_NUMBER
public static final int STRINGDATAPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIdOrExternalIdCase
public DataPointInsertionItem.IdOrExternalIdCase getIdOrExternalIdCase()
- Specified by:
getIdOrExternalIdCasein interfaceDataPointInsertionItemOrBuilder
-
getDatapointTypeCase
public DataPointInsertionItem.DatapointTypeCase getDatapointTypeCase()
- Specified by:
getDatapointTypeCasein interfaceDataPointInsertionItemOrBuilder
-
hasId
public boolean hasId()
int64 id = 1;- Specified by:
hasIdin interfaceDataPointInsertionItemOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
int64 id = 1;- Specified by:
getIdin interfaceDataPointInsertionItemOrBuilder- Returns:
- The id.
-
hasExternalId
public boolean hasExternalId()
string externalId = 2;- Specified by:
hasExternalIdin interfaceDataPointInsertionItemOrBuilder- Returns:
- Whether the externalId field is set.
-
getExternalId
public String getExternalId()
string externalId = 2;- Specified by:
getExternalIdin interfaceDataPointInsertionItemOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
string externalId = 2;- Specified by:
getExternalIdBytesin interfaceDataPointInsertionItemOrBuilder- Returns:
- The bytes for externalId.
-
hasNumericDatapoints
public boolean hasNumericDatapoints()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
hasNumericDatapointsin interfaceDataPointInsertionItemOrBuilder- Returns:
- Whether the numericDatapoints field is set.
-
getNumericDatapoints
public NumericDatapoints getNumericDatapoints()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
getNumericDatapointsin interfaceDataPointInsertionItemOrBuilder- Returns:
- The numericDatapoints.
-
getNumericDatapointsOrBuilder
public NumericDatapointsOrBuilder getNumericDatapointsOrBuilder()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
getNumericDatapointsOrBuilderin interfaceDataPointInsertionItemOrBuilder
-
hasStringDatapoints
public boolean hasStringDatapoints()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
hasStringDatapointsin interfaceDataPointInsertionItemOrBuilder- Returns:
- Whether the stringDatapoints field is set.
-
getStringDatapoints
public StringDatapoints getStringDatapoints()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
getStringDatapointsin interfaceDataPointInsertionItemOrBuilder- Returns:
- The stringDatapoints.
-
getStringDatapointsOrBuilder
public StringDatapointsOrBuilder getStringDatapointsOrBuilder()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
getStringDatapointsOrBuilderin interfaceDataPointInsertionItemOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataPointInsertionItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointInsertionItem parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointInsertionItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataPointInsertionItem parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataPointInsertionItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointInsertionItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointInsertionItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataPointInsertionItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataPointInsertionItem.Builder newBuilder()
-
newBuilder
public static DataPointInsertionItem.Builder newBuilder(DataPointInsertionItem prototype)
-
toBuilder
public DataPointInsertionItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataPointInsertionItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataPointInsertionItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataPointInsertionItem> parser()
-
getParserForType
public com.google.protobuf.Parser<DataPointInsertionItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataPointInsertionItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-