Package com.cognite.client.dto
Class Relationship
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.client.dto.Relationship
-
- All Implemented Interfaces:
RelationshipOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Relationship extends com.google.protobuf.GeneratedMessageV3 implements RelationshipOrBuilder
Protobuf typecom.cognite.beam.proto.Relationship- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelationship.BuilderProtobuf typecom.cognite.beam.proto.Relationshipstatic classRelationship.ResourceTypeProtobuf enumcom.cognite.beam.proto.Relationship.ResourceType-
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 intCONFIDENCE_FIELD_NUMBERstatic intCREATED_TIME_FIELD_NUMBERstatic intDATA_SET_ID_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intEXTERNAL_ID_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLAST_UPDATED_TIME_FIELD_NUMBERstatic intSOURCE_EXTERNAL_ID_FIELD_NUMBERstatic intSOURCE_TYPE_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intTARGET_EXTERNAL_ID_FIELD_NUMBERstatic intTARGET_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)FloatValuegetConfidence().google.protobuf.FloatValue confidence = 8;FloatValueOrBuildergetConfidenceOrBuilder().google.protobuf.FloatValue confidence = 8;Int64ValuegetCreatedTime().google.protobuf.Int64Value created_time = 11;Int64ValueOrBuildergetCreatedTimeOrBuilder().google.protobuf.Int64Value created_time = 11;Int64ValuegetDataSetId().google.protobuf.Int64Value data_set_id = 9;Int64ValueOrBuildergetDataSetIdOrBuilder().google.protobuf.Int64Value data_set_id = 9;static RelationshipgetDefaultInstance()RelationshipgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Int64ValuegetEndTime().google.protobuf.Int64Value end_time = 7;Int64ValueOrBuildergetEndTimeOrBuilder().google.protobuf.Int64Value end_time = 7;StringgetExternalId()string external_id = 1;com.google.protobuf.ByteStringgetExternalIdBytes()string external_id = 1;StringgetLabels(int index)repeated string labels = 10;com.google.protobuf.ByteStringgetLabelsBytes(int index)repeated string labels = 10;intgetLabelsCount()repeated string labels = 10;com.google.protobuf.ProtocolStringListgetLabelsList()repeated string labels = 10;Int64ValuegetLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 12;Int64ValueOrBuildergetLastUpdatedTimeOrBuilder().google.protobuf.Int64Value last_updated_time = 12;com.google.protobuf.Parser<Relationship>getParserForType()intgetSerializedSize()StringgetSourceExternalId()string source_external_id = 2;com.google.protobuf.ByteStringgetSourceExternalIdBytes()string source_external_id = 2;Relationship.ResourceTypegetSourceType().com.cognite.beam.proto.Relationship.ResourceType source_type = 3;intgetSourceTypeValue().com.cognite.beam.proto.Relationship.ResourceType source_type = 3;Int64ValuegetStartTime().google.protobuf.Int64Value start_time = 6;Int64ValueOrBuildergetStartTimeOrBuilder().google.protobuf.Int64Value start_time = 6;StringgetTargetExternalId()string target_external_id = 4;com.google.protobuf.ByteStringgetTargetExternalIdBytes()string target_external_id = 4;Relationship.ResourceTypegetTargetType().com.cognite.beam.proto.Relationship.ResourceType target_type = 5;intgetTargetTypeValue().com.cognite.beam.proto.Relationship.ResourceType target_type = 5;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConfidence().google.protobuf.FloatValue confidence = 8;booleanhasCreatedTime().google.protobuf.Int64Value created_time = 11;booleanhasDataSetId().google.protobuf.Int64Value data_set_id = 9;booleanhasEndTime().google.protobuf.Int64Value end_time = 7;inthashCode()booleanhasLastUpdatedTime().google.protobuf.Int64Value last_updated_time = 12;booleanhasStartTime().google.protobuf.Int64Value start_time = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Relationship.BuildernewBuilder()static Relationship.BuildernewBuilder(Relationship prototype)Relationship.BuildernewBuilderForType()protected Relationship.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RelationshipparseDelimitedFrom(InputStream input)static RelationshipparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelationshipparseFrom(byte[] data)static RelationshipparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelationshipparseFrom(com.google.protobuf.ByteString data)static RelationshipparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelationshipparseFrom(com.google.protobuf.CodedInputStream input)static RelationshipparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelationshipparseFrom(InputStream input)static RelationshipparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelationshipparseFrom(ByteBuffer data)static RelationshipparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Relationship>parser()Relationship.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, 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
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_EXTERNAL_ID_FIELD_NUMBER
public static final int SOURCE_EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_EXTERNAL_ID_FIELD_NUMBER
public static final int TARGET_EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_TYPE_FIELD_NUMBER
public static final int TARGET_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENCE_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SET_ID_FIELD_NUMBER
public static final int DATA_SET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_TIME_FIELD_NUMBER
public static final int CREATED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATED_TIME_FIELD_NUMBER
public static final int LAST_UPDATED_TIME_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
-
getExternalId
public String getExternalId()
string external_id = 1;- Specified by:
getExternalIdin interfaceRelationshipOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
string external_id = 1;- Specified by:
getExternalIdBytesin interfaceRelationshipOrBuilder- Returns:
- The bytes for externalId.
-
getSourceExternalId
public String getSourceExternalId()
string source_external_id = 2;- Specified by:
getSourceExternalIdin interfaceRelationshipOrBuilder- Returns:
- The sourceExternalId.
-
getSourceExternalIdBytes
public com.google.protobuf.ByteString getSourceExternalIdBytes()
string source_external_id = 2;- Specified by:
getSourceExternalIdBytesin interfaceRelationshipOrBuilder- Returns:
- The bytes for sourceExternalId.
-
getSourceTypeValue
public int getSourceTypeValue()
.com.cognite.beam.proto.Relationship.ResourceType source_type = 3;- Specified by:
getSourceTypeValuein interfaceRelationshipOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
public Relationship.ResourceType getSourceType()
.com.cognite.beam.proto.Relationship.ResourceType source_type = 3;- Specified by:
getSourceTypein interfaceRelationshipOrBuilder- Returns:
- The sourceType.
-
getTargetExternalId
public String getTargetExternalId()
string target_external_id = 4;- Specified by:
getTargetExternalIdin interfaceRelationshipOrBuilder- Returns:
- The targetExternalId.
-
getTargetExternalIdBytes
public com.google.protobuf.ByteString getTargetExternalIdBytes()
string target_external_id = 4;- Specified by:
getTargetExternalIdBytesin interfaceRelationshipOrBuilder- Returns:
- The bytes for targetExternalId.
-
getTargetTypeValue
public int getTargetTypeValue()
.com.cognite.beam.proto.Relationship.ResourceType target_type = 5;- Specified by:
getTargetTypeValuein interfaceRelationshipOrBuilder- Returns:
- The enum numeric value on the wire for targetType.
-
getTargetType
public Relationship.ResourceType getTargetType()
.com.cognite.beam.proto.Relationship.ResourceType target_type = 5;- Specified by:
getTargetTypein interfaceRelationshipOrBuilder- Returns:
- The targetType.
-
hasStartTime
public boolean hasStartTime()
.google.protobuf.Int64Value start_time = 6;- Specified by:
hasStartTimein interfaceRelationshipOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public Int64Value getStartTime()
.google.protobuf.Int64Value start_time = 6;- Specified by:
getStartTimein interfaceRelationshipOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public Int64ValueOrBuilder getStartTimeOrBuilder()
.google.protobuf.Int64Value start_time = 6;- Specified by:
getStartTimeOrBuilderin interfaceRelationshipOrBuilder
-
hasEndTime
public boolean hasEndTime()
.google.protobuf.Int64Value end_time = 7;- Specified by:
hasEndTimein interfaceRelationshipOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public Int64Value getEndTime()
.google.protobuf.Int64Value end_time = 7;- Specified by:
getEndTimein interfaceRelationshipOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public Int64ValueOrBuilder getEndTimeOrBuilder()
.google.protobuf.Int64Value end_time = 7;- Specified by:
getEndTimeOrBuilderin interfaceRelationshipOrBuilder
-
hasConfidence
public boolean hasConfidence()
.google.protobuf.FloatValue confidence = 8;- Specified by:
hasConfidencein interfaceRelationshipOrBuilder- Returns:
- Whether the confidence field is set.
-
getConfidence
public FloatValue getConfidence()
.google.protobuf.FloatValue confidence = 8;- Specified by:
getConfidencein interfaceRelationshipOrBuilder- Returns:
- The confidence.
-
getConfidenceOrBuilder
public FloatValueOrBuilder getConfidenceOrBuilder()
.google.protobuf.FloatValue confidence = 8;- Specified by:
getConfidenceOrBuilderin interfaceRelationshipOrBuilder
-
hasDataSetId
public boolean hasDataSetId()
.google.protobuf.Int64Value data_set_id = 9;- Specified by:
hasDataSetIdin interfaceRelationshipOrBuilder- Returns:
- Whether the dataSetId field is set.
-
getDataSetId
public Int64Value getDataSetId()
.google.protobuf.Int64Value data_set_id = 9;- Specified by:
getDataSetIdin interfaceRelationshipOrBuilder- Returns:
- The dataSetId.
-
getDataSetIdOrBuilder
public Int64ValueOrBuilder getDataSetIdOrBuilder()
.google.protobuf.Int64Value data_set_id = 9;- Specified by:
getDataSetIdOrBuilderin interfaceRelationshipOrBuilder
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
repeated string labels = 10;- Specified by:
getLabelsListin interfaceRelationshipOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
repeated string labels = 10;- Specified by:
getLabelsCountin interfaceRelationshipOrBuilder- Returns:
- The count of labels.
-
getLabels
public String getLabels(int index)
repeated string labels = 10;- Specified by:
getLabelsin interfaceRelationshipOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
repeated string labels = 10;- Specified by:
getLabelsBytesin interfaceRelationshipOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
hasCreatedTime
public boolean hasCreatedTime()
.google.protobuf.Int64Value created_time = 11;- Specified by:
hasCreatedTimein interfaceRelationshipOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public Int64Value getCreatedTime()
.google.protobuf.Int64Value created_time = 11;- Specified by:
getCreatedTimein interfaceRelationshipOrBuilder- Returns:
- The createdTime.
-
getCreatedTimeOrBuilder
public Int64ValueOrBuilder getCreatedTimeOrBuilder()
.google.protobuf.Int64Value created_time = 11;- Specified by:
getCreatedTimeOrBuilderin interfaceRelationshipOrBuilder
-
hasLastUpdatedTime
public boolean hasLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;- Specified by:
hasLastUpdatedTimein interfaceRelationshipOrBuilder- Returns:
- Whether the lastUpdatedTime field is set.
-
getLastUpdatedTime
public Int64Value getLastUpdatedTime()
.google.protobuf.Int64Value last_updated_time = 12;- Specified by:
getLastUpdatedTimein interfaceRelationshipOrBuilder- Returns:
- The lastUpdatedTime.
-
getLastUpdatedTimeOrBuilder
public Int64ValueOrBuilder getLastUpdatedTimeOrBuilder()
.google.protobuf.Int64Value last_updated_time = 12;- Specified by:
getLastUpdatedTimeOrBuilderin interfaceRelationshipOrBuilder
-
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 Relationship parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Relationship parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Relationship parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Relationship parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Relationship parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Relationship parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Relationship parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Relationship.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Relationship.Builder newBuilder()
-
newBuilder
public static Relationship.Builder newBuilder(Relationship prototype)
-
toBuilder
public Relationship.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Relationship.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Relationship getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Relationship> parser()
-
getParserForType
public com.google.protobuf.Parser<Relationship> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Relationship getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-