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 type com.cognite.client.dto.ThreeDModelRevision
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • FILE_ID_FIELD_NUMBER

      public static final int FILE_ID_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • THUMBNAIL_THREED_FILE_ID_FIELD_NUMBER

      public static final int THUMBNAIL_THREED_FILE_ID_FIELD_NUMBER
      See Also:
    • THUMBNAIL_URL_FIELD_NUMBER

      public static final int THUMBNAIL_URL_FIELD_NUMBER
      See Also:
    • ASSET_MAPPING_COUNT_FIELD_NUMBER

      public static final int ASSET_MAPPING_COUNT_FIELD_NUMBER
      See Also:
    • CREATED_TIME_FIELD_NUMBER

      public static final int CREATED_TIME_FIELD_NUMBER
      See Also:
    • PUBLISHED_FIELD_NUMBER

      public static final int PUBLISHED_FIELD_NUMBER
      See Also:
    • CAMERA_FIELD_NUMBER

      public static final int CAMERA_FIELD_NUMBER
      See Also:
    • ROTATION_FIELD_NUMBER

      public static final int ROTATION_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasId

      public boolean hasId()
      optional int64 id = 1;
      Specified by:
      hasId in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
      optional int64 id = 1;
      Specified by:
      getId in interface ThreeDModelRevisionOrBuilder
      Returns:
      The id.
    • hasFileId

      public boolean hasFileId()
      optional int64 file_id = 2;
      Specified by:
      hasFileId in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the fileId field is set.
    • getFileId

      public long getFileId()
      optional int64 file_id = 2;
      Specified by:
      getFileId in interface ThreeDModelRevisionOrBuilder
      Returns:
      The fileId.
    • hasStatus

      public boolean hasStatus()
      optional string status = 3;
      Specified by:
      hasStatus in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
      optional string status = 3;
      Specified by:
      getStatus in interface ThreeDModelRevisionOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
      optional string status = 3;
      Specified by:
      getStatusBytes in interface ThreeDModelRevisionOrBuilder
      Returns:
      The bytes for status.
    • hasThumbnailThreedFileId

      public boolean hasThumbnailThreedFileId()
      optional int64 thumbnail_threed_file_id = 4;
      Specified by:
      hasThumbnailThreedFileId in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the thumbnailThreedFileId field is set.
    • getThumbnailThreedFileId

      public long getThumbnailThreedFileId()
      optional int64 thumbnail_threed_file_id = 4;
      Specified by:
      getThumbnailThreedFileId in interface ThreeDModelRevisionOrBuilder
      Returns:
      The thumbnailThreedFileId.
    • hasThumbnailURL

      public boolean hasThumbnailURL()
      optional string thumbnail_URL = 5;
      Specified by:
      hasThumbnailURL in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the thumbnailURL field is set.
    • getThumbnailURL

      public String getThumbnailURL()
      optional string thumbnail_URL = 5;
      Specified by:
      getThumbnailURL in interface ThreeDModelRevisionOrBuilder
      Returns:
      The thumbnailURL.
    • getThumbnailURLBytes

      public com.google.protobuf.ByteString getThumbnailURLBytes()
      optional string thumbnail_URL = 5;
      Specified by:
      getThumbnailURLBytes in interface ThreeDModelRevisionOrBuilder
      Returns:
      The bytes for thumbnailURL.
    • hasAssetMappingCount

      public boolean hasAssetMappingCount()
      optional int64 asset_mapping_count = 6;
      Specified by:
      hasAssetMappingCount in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the assetMappingCount field is set.
    • getAssetMappingCount

      public long getAssetMappingCount()
      optional int64 asset_mapping_count = 6;
      Specified by:
      getAssetMappingCount in interface ThreeDModelRevisionOrBuilder
      Returns:
      The assetMappingCount.
    • hasCreatedTime

      public boolean hasCreatedTime()
      optional int64 created_time = 7;
      Specified by:
      hasCreatedTime in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the createdTime field is set.
    • getCreatedTime

      public long getCreatedTime()
      optional int64 created_time = 7;
      Specified by:
      getCreatedTime in interface ThreeDModelRevisionOrBuilder
      Returns:
      The createdTime.
    • hasPublished

      public boolean hasPublished()
      optional bool published = 8;
      Specified by:
      hasPublished in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the published field is set.
    • getPublished

      public boolean getPublished()
      optional bool published = 8;
      Specified by:
      getPublished in interface ThreeDModelRevisionOrBuilder
      Returns:
      The published.
    • hasCamera

      public boolean hasCamera()
      optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;
      Specified by:
      hasCamera in interface ThreeDModelRevisionOrBuilder
      Returns:
      Whether the camera field is set.
    • getCamera

      public ThreeDModelRevision.Camera getCamera()
      optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;
      Specified by:
      getCamera in interface ThreeDModelRevisionOrBuilder
      Returns:
      The camera.
    • getCameraOrBuilder

      public ThreeDModelRevision.CameraOrBuilder getCameraOrBuilder()
      optional .com.cognite.client.dto.ThreeDModelRevision.Camera camera = 9;
      Specified by:
      getCameraOrBuilder in interface ThreeDModelRevisionOrBuilder
    • getRotationList

      public List<Double> getRotationList()
      repeated double rotation = 10;
      Specified by:
      getRotationList in interface ThreeDModelRevisionOrBuilder
      Returns:
      A list containing the rotation.
    • getRotationCount

      public int getRotationCount()
      repeated double rotation = 10;
      Specified by:
      getRotationCount in interface ThreeDModelRevisionOrBuilder
      Returns:
      The count of rotation.
    • getRotation

      public double getRotation(int index)
      repeated double rotation = 10;
      Specified by:
      getRotation in interface ThreeDModelRevisionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The rotation at the given index.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: ThreeDModelRevisionOrBuilder
      map<string, string> metadata = 11;
      Specified by:
      getMetadataCount in interface ThreeDModelRevisionOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
      map<string, string> metadata = 11;
      Specified by:
      containsMetadata in interface ThreeDModelRevisionOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface ThreeDModelRevisionOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
      map<string, string> metadata = 11;
      Specified by:
      getMetadataMap in interface ThreeDModelRevisionOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
      map<string, string> metadata = 11;
      Specified by:
      getMetadataOrDefault in interface ThreeDModelRevisionOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
      map<string, string> metadata = 11;
      Specified by:
      getMetadataOrThrow in interface ThreeDModelRevisionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ThreeDModelRevision.Builder newBuilder()
    • newBuilder

      public static ThreeDModelRevision.Builder newBuilder(ThreeDModelRevision prototype)
    • toBuilder

      public ThreeDModelRevision.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ThreeDModelRevision.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ThreeDModelRevision getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder