Class Transformation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.Transformation
All Implemented Interfaces:
TransformationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class Transformation extends com.google.protobuf.GeneratedMessageV3 implements TransformationOrBuilder
Protobuf type com.cognite.client.dto.Transformation
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • QUERY_FIELD_NUMBER

      public static final int QUERY_FIELD_NUMBER
      See Also:
    • DESTINATION_FIELD_NUMBER

      public static final int DESTINATION_FIELD_NUMBER
      See Also:
    • CONFLICT_MODE_FIELD_NUMBER

      public static final int CONFLICT_MODE_FIELD_NUMBER
      See Also:
    • IS_PUBLIC_FIELD_NUMBER

      public static final int IS_PUBLIC_FIELD_NUMBER
      See Also:
    • SOURCE_API_KEY_FIELD_NUMBER

      public static final int SOURCE_API_KEY_FIELD_NUMBER
      See Also:
    • DESTINATION_API_KEY_FIELD_NUMBER

      public static final int DESTINATION_API_KEY_FIELD_NUMBER
      See Also:
    • SOURCE_OIDC_CREDENTIALS_FIELD_NUMBER

      public static final int SOURCE_OIDC_CREDENTIALS_FIELD_NUMBER
      See Also:
    • DESTINATION_OIDC_CREDENTIALS_FIELD_NUMBER

      public static final int DESTINATION_OIDC_CREDENTIALS_FIELD_NUMBER
      See Also:
    • EXTERNAL_ID_FIELD_NUMBER

      public static final int EXTERNAL_ID_FIELD_NUMBER
      See Also:
    • IGNORE_NULL_FIELDS_FIELD_NUMBER

      public static final int IGNORE_NULL_FIELDS_FIELD_NUMBER
      See Also:
    • DATA_SET_ID_FIELD_NUMBER

      public static final int DATA_SET_ID_FIELD_NUMBER
      See Also:
    • BLOCKED_FIELD_NUMBER

      public static final int BLOCKED_FIELD_NUMBER
      See Also:
    • CREATED_TIME_FIELD_NUMBER

      public static final int CREATED_TIME_FIELD_NUMBER
      See Also:
    • LAST_UPDATED_TIME_FIELD_NUMBER

      public static final int LAST_UPDATED_TIME_FIELD_NUMBER
      See Also:
    • OWNER_FIELD_NUMBER

      public static final int OWNER_FIELD_NUMBER
      See Also:
    • LAST_FINISHED_JOB_FIELD_NUMBER

      public static final int LAST_FINISHED_JOB_FIELD_NUMBER
      See Also:
    • RUNNING_JOB_FIELD_NUMBER

      public static final int RUNNING_JOB_FIELD_NUMBER
      See Also:
    • SCHEDULE_FIELD_NUMBER

      public static final int SCHEDULE_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()
    • 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 TransformationOrBuilder
      Returns:
      Whether the id field is set.
    • getId

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

      public String getName()
      string name = 2;
      Specified by:
      getName in interface TransformationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 2;
      Specified by:
      getNameBytes in interface TransformationOrBuilder
      Returns:
      The bytes for name.
    • hasQuery

      public boolean hasQuery()
      optional string query = 3;
      Specified by:
      hasQuery in interface TransformationOrBuilder
      Returns:
      Whether the query field is set.
    • getQuery

      public String getQuery()
      optional string query = 3;
      Specified by:
      getQuery in interface TransformationOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
      optional string query = 3;
      Specified by:
      getQueryBytes in interface TransformationOrBuilder
      Returns:
      The bytes for query.
    • hasDestination

      public boolean hasDestination()
      optional .com.cognite.client.dto.Transformation.Destination destination = 4;
      Specified by:
      hasDestination in interface TransformationOrBuilder
      Returns:
      Whether the destination field is set.
    • getDestination

      public Transformation.Destination getDestination()
      optional .com.cognite.client.dto.Transformation.Destination destination = 4;
      Specified by:
      getDestination in interface TransformationOrBuilder
      Returns:
      The destination.
    • getDestinationOrBuilder

      public Transformation.DestinationOrBuilder getDestinationOrBuilder()
      optional .com.cognite.client.dto.Transformation.Destination destination = 4;
      Specified by:
      getDestinationOrBuilder in interface TransformationOrBuilder
    • hasConflictMode

      public boolean hasConflictMode()
      optional string conflict_mode = 5;
      Specified by:
      hasConflictMode in interface TransformationOrBuilder
      Returns:
      Whether the conflictMode field is set.
    • getConflictMode

      public String getConflictMode()
      optional string conflict_mode = 5;
      Specified by:
      getConflictMode in interface TransformationOrBuilder
      Returns:
      The conflictMode.
    • getConflictModeBytes

      public com.google.protobuf.ByteString getConflictModeBytes()
      optional string conflict_mode = 5;
      Specified by:
      getConflictModeBytes in interface TransformationOrBuilder
      Returns:
      The bytes for conflictMode.
    • hasIsPublic

      public boolean hasIsPublic()
      optional bool is_public = 6;
      Specified by:
      hasIsPublic in interface TransformationOrBuilder
      Returns:
      Whether the isPublic field is set.
    • getIsPublic

      public boolean getIsPublic()
      optional bool is_public = 6;
      Specified by:
      getIsPublic in interface TransformationOrBuilder
      Returns:
      The isPublic.
    • hasSourceApiKey

      public boolean hasSourceApiKey()
      optional string source_api_key = 7;
      Specified by:
      hasSourceApiKey in interface TransformationOrBuilder
      Returns:
      Whether the sourceApiKey field is set.
    • getSourceApiKey

      public String getSourceApiKey()
      optional string source_api_key = 7;
      Specified by:
      getSourceApiKey in interface TransformationOrBuilder
      Returns:
      The sourceApiKey.
    • getSourceApiKeyBytes

      public com.google.protobuf.ByteString getSourceApiKeyBytes()
      optional string source_api_key = 7;
      Specified by:
      getSourceApiKeyBytes in interface TransformationOrBuilder
      Returns:
      The bytes for sourceApiKey.
    • hasDestinationApiKey

      public boolean hasDestinationApiKey()
      optional string destination_api_key = 8;
      Specified by:
      hasDestinationApiKey in interface TransformationOrBuilder
      Returns:
      Whether the destinationApiKey field is set.
    • getDestinationApiKey

      public String getDestinationApiKey()
      optional string destination_api_key = 8;
      Specified by:
      getDestinationApiKey in interface TransformationOrBuilder
      Returns:
      The destinationApiKey.
    • getDestinationApiKeyBytes

      public com.google.protobuf.ByteString getDestinationApiKeyBytes()
      optional string destination_api_key = 8;
      Specified by:
      getDestinationApiKeyBytes in interface TransformationOrBuilder
      Returns:
      The bytes for destinationApiKey.
    • hasSourceOidcCredentials

      public boolean hasSourceOidcCredentials()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials source_oidc_credentials = 9;
      Specified by:
      hasSourceOidcCredentials in interface TransformationOrBuilder
      Returns:
      Whether the sourceOidcCredentials field is set.
    • getSourceOidcCredentials

      public Transformation.FlatOidcCredentials getSourceOidcCredentials()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials source_oidc_credentials = 9;
      Specified by:
      getSourceOidcCredentials in interface TransformationOrBuilder
      Returns:
      The sourceOidcCredentials.
    • getSourceOidcCredentialsOrBuilder

      public Transformation.FlatOidcCredentialsOrBuilder getSourceOidcCredentialsOrBuilder()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials source_oidc_credentials = 9;
      Specified by:
      getSourceOidcCredentialsOrBuilder in interface TransformationOrBuilder
    • hasDestinationOidcCredentials

      public boolean hasDestinationOidcCredentials()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials destination_oidc_credentials = 10;
      Specified by:
      hasDestinationOidcCredentials in interface TransformationOrBuilder
      Returns:
      Whether the destinationOidcCredentials field is set.
    • getDestinationOidcCredentials

      public Transformation.FlatOidcCredentials getDestinationOidcCredentials()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials destination_oidc_credentials = 10;
      Specified by:
      getDestinationOidcCredentials in interface TransformationOrBuilder
      Returns:
      The destinationOidcCredentials.
    • getDestinationOidcCredentialsOrBuilder

      public Transformation.FlatOidcCredentialsOrBuilder getDestinationOidcCredentialsOrBuilder()
      optional .com.cognite.client.dto.Transformation.FlatOidcCredentials destination_oidc_credentials = 10;
      Specified by:
      getDestinationOidcCredentialsOrBuilder in interface TransformationOrBuilder
    • getExternalId

      public String getExternalId()
      string external_id = 11;
      Specified by:
      getExternalId in interface TransformationOrBuilder
      Returns:
      The externalId.
    • getExternalIdBytes

      public com.google.protobuf.ByteString getExternalIdBytes()
      string external_id = 11;
      Specified by:
      getExternalIdBytes in interface TransformationOrBuilder
      Returns:
      The bytes for externalId.
    • getIgnoreNullFields

      public boolean getIgnoreNullFields()
      bool ignore_null_fields = 12;
      Specified by:
      getIgnoreNullFields in interface TransformationOrBuilder
      Returns:
      The ignoreNullFields.
    • hasDataSetId

      public boolean hasDataSetId()
      optional int64 data_set_id = 13;
      Specified by:
      hasDataSetId in interface TransformationOrBuilder
      Returns:
      Whether the dataSetId field is set.
    • getDataSetId

      public long getDataSetId()
      optional int64 data_set_id = 13;
      Specified by:
      getDataSetId in interface TransformationOrBuilder
      Returns:
      The dataSetId.
    • hasBlocked

      public boolean hasBlocked()
      optional .com.cognite.client.dto.Transformation.TransformBlockedInfo blocked = 14;
      Specified by:
      hasBlocked in interface TransformationOrBuilder
      Returns:
      Whether the blocked field is set.
    • getBlocked

      optional .com.cognite.client.dto.Transformation.TransformBlockedInfo blocked = 14;
      Specified by:
      getBlocked in interface TransformationOrBuilder
      Returns:
      The blocked.
    • getBlockedOrBuilder

      public Transformation.TransformBlockedInfoOrBuilder getBlockedOrBuilder()
      optional .com.cognite.client.dto.Transformation.TransformBlockedInfo blocked = 14;
      Specified by:
      getBlockedOrBuilder in interface TransformationOrBuilder
    • hasCreatedTime

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

      public long getCreatedTime()
      optional int64 created_time = 15;
      Specified by:
      getCreatedTime in interface TransformationOrBuilder
      Returns:
      The createdTime.
    • hasLastUpdatedTime

      public boolean hasLastUpdatedTime()
      optional int64 last_updated_time = 16;
      Specified by:
      hasLastUpdatedTime in interface TransformationOrBuilder
      Returns:
      Whether the lastUpdatedTime field is set.
    • getLastUpdatedTime

      public long getLastUpdatedTime()
      optional int64 last_updated_time = 16;
      Specified by:
      getLastUpdatedTime in interface TransformationOrBuilder
      Returns:
      The lastUpdatedTime.
    • hasOwner

      public boolean hasOwner()
      optional .com.cognite.client.dto.Transformation.Owner owner = 17;
      Specified by:
      hasOwner in interface TransformationOrBuilder
      Returns:
      Whether the owner field is set.
    • getOwner

      public Transformation.Owner getOwner()
      optional .com.cognite.client.dto.Transformation.Owner owner = 17;
      Specified by:
      getOwner in interface TransformationOrBuilder
      Returns:
      The owner.
    • getOwnerOrBuilder

      public Transformation.OwnerOrBuilder getOwnerOrBuilder()
      optional .com.cognite.client.dto.Transformation.Owner owner = 17;
      Specified by:
      getOwnerOrBuilder in interface TransformationOrBuilder
    • hasLastFinishedJob

      public boolean hasLastFinishedJob()
      optional .com.cognite.client.dto.Transformation.Job last_finished_job = 18;
      Specified by:
      hasLastFinishedJob in interface TransformationOrBuilder
      Returns:
      Whether the lastFinishedJob field is set.
    • getLastFinishedJob

      public Transformation.Job getLastFinishedJob()
      optional .com.cognite.client.dto.Transformation.Job last_finished_job = 18;
      Specified by:
      getLastFinishedJob in interface TransformationOrBuilder
      Returns:
      The lastFinishedJob.
    • getLastFinishedJobOrBuilder

      public Transformation.JobOrBuilder getLastFinishedJobOrBuilder()
      optional .com.cognite.client.dto.Transformation.Job last_finished_job = 18;
      Specified by:
      getLastFinishedJobOrBuilder in interface TransformationOrBuilder
    • hasRunningJob

      public boolean hasRunningJob()
      optional .com.cognite.client.dto.Transformation.Job running_job = 19;
      Specified by:
      hasRunningJob in interface TransformationOrBuilder
      Returns:
      Whether the runningJob field is set.
    • getRunningJob

      public Transformation.Job getRunningJob()
      optional .com.cognite.client.dto.Transformation.Job running_job = 19;
      Specified by:
      getRunningJob in interface TransformationOrBuilder
      Returns:
      The runningJob.
    • getRunningJobOrBuilder

      public Transformation.JobOrBuilder getRunningJobOrBuilder()
      optional .com.cognite.client.dto.Transformation.Job running_job = 19;
      Specified by:
      getRunningJobOrBuilder in interface TransformationOrBuilder
    • hasSchedule

      public boolean hasSchedule()
      optional .com.cognite.client.dto.Transformation.Schedule schedule = 20;
      Specified by:
      hasSchedule in interface TransformationOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public Transformation.Schedule getSchedule()
      optional .com.cognite.client.dto.Transformation.Schedule schedule = 20;
      Specified by:
      getSchedule in interface TransformationOrBuilder
      Returns:
      The schedule.
    • getScheduleOrBuilder

      public Transformation.ScheduleOrBuilder getScheduleOrBuilder()
      optional .com.cognite.client.dto.Transformation.Schedule schedule = 20;
      Specified by:
      getScheduleOrBuilder in interface TransformationOrBuilder
    • 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 Transformation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Transformation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Transformation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Transformation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Transformation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Transformation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Transformation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Transformation.Builder newBuilder()
    • newBuilder

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

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

      protected Transformation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Transformation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Transformation> parser()
    • getParserForType

      public com.google.protobuf.Parser<Transformation> 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 Transformation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder