Package com.cognite.client.dto
Class ThreeDModelRevision
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.client.dto.ThreeDModelRevision
-
- All Implemented Interfaces:
ThreeDModelRevisionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ThreeDModelRevision extends com.google.protobuf.GeneratedMessageV3 implements ThreeDModelRevisionOrBuilder
Protobuf typecom.cognite.client.dto.ThreeDModelRevision- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreeDModelRevision.BuilderProtobuf typecom.cognite.client.dto.ThreeDModelRevisionstatic classThreeDModelRevision.CameraProtobuf typecom.cognite.client.dto.ThreeDModelRevision.Camerastatic interfaceThreeDModelRevision.CameraOrBuilder-
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 intASSET_MAPPING_COUNT_FIELD_NUMBERstatic intCAMERA_FIELD_NUMBERstatic intCREATED_TIME_FIELD_NUMBERstatic intFILE_ID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intPUBLISHED_FIELD_NUMBERstatic intROTATION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTHUMBNAIL_THREED_FILE_ID_FIELD_NUMBERstatic intTHUMBNAIL_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)map<string, string> metadata = 11;booleanequals(Object obj)longgetAssetMappingCount()optional int64 asset_mapping_count = 6;ThreeDModelRevision.CameragetCamera()optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;ThreeDModelRevision.CameraOrBuildergetCameraOrBuilder()optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;longgetCreatedTime()optional int64 created_time = 7;static ThreeDModelRevisiongetDefaultInstance()ThreeDModelRevisiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetFileId()optional int64 file_id = 2;longgetId()optional int64 id = 1;Map<String,String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 11;Map<String,String>getMetadataMap()map<string, string> metadata = 11;StringgetMetadataOrDefault(String key, String defaultValue)map<string, string> metadata = 11;StringgetMetadataOrThrow(String key)map<string, string> metadata = 11;com.google.protobuf.Parser<ThreeDModelRevision>getParserForType()booleangetPublished()optional bool published = 8;doublegetRotation(int index)repeated double rotation = 10;intgetRotationCount()repeated double rotation = 10;List<Double>getRotationList()repeated double rotation = 10;intgetSerializedSize()StringgetStatus()optional string status = 3;com.google.protobuf.ByteStringgetStatusBytes()optional string status = 3;longgetThumbnailThreedFileId()optional int64 thumbnail_threed_file_id = 4;StringgetThumbnailURL()optional string thumbnail_URL = 5;com.google.protobuf.ByteStringgetThumbnailURLBytes()optional string thumbnail_URL = 5;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAssetMappingCount()optional int64 asset_mapping_count = 6;booleanhasCamera()optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;booleanhasCreatedTime()optional int64 created_time = 7;booleanhasFileId()optional int64 file_id = 2;inthashCode()booleanhasId()optional int64 id = 1;booleanhasPublished()optional bool published = 8;booleanhasStatus()optional string status = 3;booleanhasThumbnailThreedFileId()optional int64 thumbnail_threed_file_id = 4;booleanhasThumbnailURL()optional string thumbnail_URL = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ThreeDModelRevision.BuildernewBuilder()static ThreeDModelRevision.BuildernewBuilder(ThreeDModelRevision prototype)ThreeDModelRevision.BuildernewBuilderForType()protected ThreeDModelRevision.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ThreeDModelRevisionparseDelimitedFrom(InputStream input)static ThreeDModelRevisionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThreeDModelRevisionparseFrom(byte[] data)static ThreeDModelRevisionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThreeDModelRevisionparseFrom(com.google.protobuf.ByteString data)static ThreeDModelRevisionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThreeDModelRevisionparseFrom(com.google.protobuf.CodedInputStream input)static ThreeDModelRevisionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThreeDModelRevisionparseFrom(InputStream input)static ThreeDModelRevisionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ThreeDModelRevisionparseFrom(ByteBuffer data)static ThreeDModelRevisionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ThreeDModelRevision>parser()ThreeDModelRevision.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, 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
-
FILE_ID_FIELD_NUMBER
public static final int FILE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THUMBNAIL_THREED_FILE_ID_FIELD_NUMBER
public static final int THUMBNAIL_THREED_FILE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THUMBNAIL_URL_FIELD_NUMBER
public static final int THUMBNAIL_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSET_MAPPING_COUNT_FIELD_NUMBER
public static final int ASSET_MAPPING_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_TIME_FIELD_NUMBER
public static final int CREATED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISHED_FIELD_NUMBER
public static final int PUBLISHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CAMERA_FIELD_NUMBER
public static final int CAMERA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROTATION_FIELD_NUMBER
public static final int ROTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
optional int64 id = 1;- Specified by:
hasIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
optional int64 id = 1;- Specified by:
getIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- The id.
-
hasFileId
public boolean hasFileId()
optional int64 file_id = 2;- Specified by:
hasFileIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the fileId field is set.
-
getFileId
public long getFileId()
optional int64 file_id = 2;- Specified by:
getFileIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- The fileId.
-
hasStatus
public boolean hasStatus()
optional string status = 3;- Specified by:
hasStatusin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
optional string status = 3;- Specified by:
getStatusin interfaceThreeDModelRevisionOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
optional string status = 3;- Specified by:
getStatusBytesin interfaceThreeDModelRevisionOrBuilder- Returns:
- The bytes for status.
-
hasThumbnailThreedFileId
public boolean hasThumbnailThreedFileId()
optional int64 thumbnail_threed_file_id = 4;- Specified by:
hasThumbnailThreedFileIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the thumbnailThreedFileId field is set.
-
getThumbnailThreedFileId
public long getThumbnailThreedFileId()
optional int64 thumbnail_threed_file_id = 4;- Specified by:
getThumbnailThreedFileIdin interfaceThreeDModelRevisionOrBuilder- Returns:
- The thumbnailThreedFileId.
-
hasThumbnailURL
public boolean hasThumbnailURL()
optional string thumbnail_URL = 5;- Specified by:
hasThumbnailURLin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the thumbnailURL field is set.
-
getThumbnailURL
public String getThumbnailURL()
optional string thumbnail_URL = 5;- Specified by:
getThumbnailURLin interfaceThreeDModelRevisionOrBuilder- Returns:
- The thumbnailURL.
-
getThumbnailURLBytes
public com.google.protobuf.ByteString getThumbnailURLBytes()
optional string thumbnail_URL = 5;- Specified by:
getThumbnailURLBytesin interfaceThreeDModelRevisionOrBuilder- Returns:
- The bytes for thumbnailURL.
-
hasAssetMappingCount
public boolean hasAssetMappingCount()
optional int64 asset_mapping_count = 6;- Specified by:
hasAssetMappingCountin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the assetMappingCount field is set.
-
getAssetMappingCount
public long getAssetMappingCount()
optional int64 asset_mapping_count = 6;- Specified by:
getAssetMappingCountin interfaceThreeDModelRevisionOrBuilder- Returns:
- The assetMappingCount.
-
hasCreatedTime
public boolean hasCreatedTime()
optional int64 created_time = 7;- Specified by:
hasCreatedTimein interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public long getCreatedTime()
optional int64 created_time = 7;- Specified by:
getCreatedTimein interfaceThreeDModelRevisionOrBuilder- Returns:
- The createdTime.
-
hasPublished
public boolean hasPublished()
optional bool published = 8;- Specified by:
hasPublishedin interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the published field is set.
-
getPublished
public boolean getPublished()
optional bool published = 8;- Specified by:
getPublishedin interfaceThreeDModelRevisionOrBuilder- Returns:
- The published.
-
hasCamera
public boolean hasCamera()
optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;- Specified by:
hasCamerain interfaceThreeDModelRevisionOrBuilder- Returns:
- Whether the camera field is set.
-
getCamera
public ThreeDModelRevision.Camera getCamera()
optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;- Specified by:
getCamerain interfaceThreeDModelRevisionOrBuilder- Returns:
- The camera.
-
getCameraOrBuilder
public ThreeDModelRevision.CameraOrBuilder getCameraOrBuilder()
optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;- Specified by:
getCameraOrBuilderin interfaceThreeDModelRevisionOrBuilder
-
getRotationList
public List<Double> getRotationList()
repeated double rotation = 10;- Specified by:
getRotationListin interfaceThreeDModelRevisionOrBuilder- Returns:
- A list containing the rotation.
-
getRotationCount
public int getRotationCount()
repeated double rotation = 10;- Specified by:
getRotationCountin interfaceThreeDModelRevisionOrBuilder- Returns:
- The count of rotation.
-
getRotation
public double getRotation(int index)
repeated double rotation = 10;- Specified by:
getRotationin interfaceThreeDModelRevisionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rotation at the given index.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:ThreeDModelRevisionOrBuildermap<string, string> metadata = 11;- Specified by:
getMetadataCountin interfaceThreeDModelRevisionOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
map<string, string> metadata = 11;- Specified by:
containsMetadatain interfaceThreeDModelRevisionOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceThreeDModelRevisionOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
map<string, string> metadata = 11;- Specified by:
getMetadataMapin interfaceThreeDModelRevisionOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
map<string, string> metadata = 11;- Specified by:
getMetadataOrDefaultin interfaceThreeDModelRevisionOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
map<string, string> metadata = 11;- Specified by:
getMetadataOrThrowin interfaceThreeDModelRevisionOrBuilder
-
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 ThreeDModelRevision parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThreeDModelRevision parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ThreeDModelRevision parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ThreeDModelRevision parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ThreeDModelRevision parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ThreeDModelRevision parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ThreeDModelRevision parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ThreeDModelRevision.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ThreeDModelRevision.Builder newBuilder()
-
newBuilder
public static ThreeDModelRevision.Builder newBuilder(ThreeDModelRevision prototype)
-
toBuilder
public ThreeDModelRevision.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ThreeDModelRevision.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ThreeDModelRevision getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ThreeDModelRevision> parser()
-
getParserForType
public com.google.protobuf.Parser<ThreeDModelRevision> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ThreeDModelRevision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-