Class Transformation.Job.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>
com.cognite.client.dto.Transformation.Job.Builder
All Implemented Interfaces:
Transformation.JobOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Transformation.Job

public static final class Transformation.Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder> implements Transformation.JobOrBuilder
Protobuf type com.cognite.client.dto.Transformation.Job
  • Method Details

    • 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.Builder<Transformation.Job.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>
    • getDefaultInstanceForType

      public Transformation.Job getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Transformation.Job build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Transformation.Job buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Transformation.Job.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transformation.Job.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>
    • mergeFrom

      public Transformation.Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Transformation.Job.Builder>
      Throws:
      IOException
    • getId

      public int getId()
      int32 id = 1;
      Specified by:
      getId in interface Transformation.JobOrBuilder
      Returns:
      The id.
    • setId

      public Transformation.Job.Builder setId(int value)
      int32 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Transformation.Job.Builder clearId()
      int32 id = 1;
      Returns:
      This builder for chaining.
    • getUuid

      public String getUuid()
      string uuid = 2;
      Specified by:
      getUuid in interface Transformation.JobOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
      string uuid = 2;
      Specified by:
      getUuidBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for uuid.
    • setUuid

      public Transformation.Job.Builder setUuid(String value)
      string uuid = 2;
      Parameters:
      value - The uuid to set.
      Returns:
      This builder for chaining.
    • clearUuid

      public Transformation.Job.Builder clearUuid()
      string uuid = 2;
      Returns:
      This builder for chaining.
    • setUuidBytes

      public Transformation.Job.Builder setUuidBytes(com.google.protobuf.ByteString value)
      string uuid = 2;
      Parameters:
      value - The bytes for uuid to set.
      Returns:
      This builder for chaining.
    • getTransformationId

      public int getTransformationId()
      int32 transformation_id = 3;
      Specified by:
      getTransformationId in interface Transformation.JobOrBuilder
      Returns:
      The transformationId.
    • setTransformationId

      public Transformation.Job.Builder setTransformationId(int value)
      int32 transformation_id = 3;
      Parameters:
      value - The transformationId to set.
      Returns:
      This builder for chaining.
    • clearTransformationId

      public Transformation.Job.Builder clearTransformationId()
      int32 transformation_id = 3;
      Returns:
      This builder for chaining.
    • getTransformationExternalId

      public String getTransformationExternalId()
      string transformation_external_id = 4;
      Specified by:
      getTransformationExternalId in interface Transformation.JobOrBuilder
      Returns:
      The transformationExternalId.
    • getTransformationExternalIdBytes

      public com.google.protobuf.ByteString getTransformationExternalIdBytes()
      string transformation_external_id = 4;
      Specified by:
      getTransformationExternalIdBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for transformationExternalId.
    • setTransformationExternalId

      public Transformation.Job.Builder setTransformationExternalId(String value)
      string transformation_external_id = 4;
      Parameters:
      value - The transformationExternalId to set.
      Returns:
      This builder for chaining.
    • clearTransformationExternalId

      public Transformation.Job.Builder clearTransformationExternalId()
      string transformation_external_id = 4;
      Returns:
      This builder for chaining.
    • setTransformationExternalIdBytes

      public Transformation.Job.Builder setTransformationExternalIdBytes(com.google.protobuf.ByteString value)
      string transformation_external_id = 4;
      Parameters:
      value - The bytes for transformationExternalId to set.
      Returns:
      This builder for chaining.
    • getSourceProject

      public String getSourceProject()
      string source_project = 5;
      Specified by:
      getSourceProject in interface Transformation.JobOrBuilder
      Returns:
      The sourceProject.
    • getSourceProjectBytes

      public com.google.protobuf.ByteString getSourceProjectBytes()
      string source_project = 5;
      Specified by:
      getSourceProjectBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for sourceProject.
    • setSourceProject

      public Transformation.Job.Builder setSourceProject(String value)
      string source_project = 5;
      Parameters:
      value - The sourceProject to set.
      Returns:
      This builder for chaining.
    • clearSourceProject

      public Transformation.Job.Builder clearSourceProject()
      string source_project = 5;
      Returns:
      This builder for chaining.
    • setSourceProjectBytes

      public Transformation.Job.Builder setSourceProjectBytes(com.google.protobuf.ByteString value)
      string source_project = 5;
      Parameters:
      value - The bytes for sourceProject to set.
      Returns:
      This builder for chaining.
    • getDestinationProject

      public String getDestinationProject()
      string destination_project = 6;
      Specified by:
      getDestinationProject in interface Transformation.JobOrBuilder
      Returns:
      The destinationProject.
    • getDestinationProjectBytes

      public com.google.protobuf.ByteString getDestinationProjectBytes()
      string destination_project = 6;
      Specified by:
      getDestinationProjectBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for destinationProject.
    • setDestinationProject

      public Transformation.Job.Builder setDestinationProject(String value)
      string destination_project = 6;
      Parameters:
      value - The destinationProject to set.
      Returns:
      This builder for chaining.
    • clearDestinationProject

      public Transformation.Job.Builder clearDestinationProject()
      string destination_project = 6;
      Returns:
      This builder for chaining.
    • setDestinationProjectBytes

      public Transformation.Job.Builder setDestinationProjectBytes(com.google.protobuf.ByteString value)
      string destination_project = 6;
      Parameters:
      value - The bytes for destinationProject to set.
      Returns:
      This builder for chaining.
    • hasDestination

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

      public Transformation.Destination getDestination()
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
      Specified by:
      getDestination in interface Transformation.JobOrBuilder
      Returns:
      The destination.
    • setDestination

      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
    • setDestination

      public Transformation.Job.Builder setDestination(Transformation.Destination.Builder builderForValue)
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
    • mergeDestination

      public Transformation.Job.Builder mergeDestination(Transformation.Destination value)
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
    • clearDestination

      public Transformation.Job.Builder clearDestination()
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
    • getDestinationBuilder

      public Transformation.Destination.Builder getDestinationBuilder()
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
    • getDestinationOrBuilder

      public Transformation.DestinationOrBuilder getDestinationOrBuilder()
      optional .com.cognite.client.dto.Transformation.Destination destination = 7;
      Specified by:
      getDestinationOrBuilder in interface Transformation.JobOrBuilder
    • getConflictMode

      public String getConflictMode()
      string conflict_mode = 8;
      Specified by:
      getConflictMode in interface Transformation.JobOrBuilder
      Returns:
      The conflictMode.
    • getConflictModeBytes

      public com.google.protobuf.ByteString getConflictModeBytes()
      string conflict_mode = 8;
      Specified by:
      getConflictModeBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for conflictMode.
    • setConflictMode

      public Transformation.Job.Builder setConflictMode(String value)
      string conflict_mode = 8;
      Parameters:
      value - The conflictMode to set.
      Returns:
      This builder for chaining.
    • clearConflictMode

      public Transformation.Job.Builder clearConflictMode()
      string conflict_mode = 8;
      Returns:
      This builder for chaining.
    • setConflictModeBytes

      public Transformation.Job.Builder setConflictModeBytes(com.google.protobuf.ByteString value)
      string conflict_mode = 8;
      Parameters:
      value - The bytes for conflictMode to set.
      Returns:
      This builder for chaining.
    • getQuery

      public String getQuery()
      string query = 9;
      Specified by:
      getQuery in interface Transformation.JobOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
      string query = 9;
      Specified by:
      getQueryBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for query.
    • setQuery

      public Transformation.Job.Builder setQuery(String value)
      string query = 9;
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

      public Transformation.Job.Builder clearQuery()
      string query = 9;
      Returns:
      This builder for chaining.
    • setQueryBytes

      public Transformation.Job.Builder setQueryBytes(com.google.protobuf.ByteString value)
      string query = 9;
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • hasCreatedTime

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

      public long getCreatedTime()
      optional int64 created_time = 10;
      Specified by:
      getCreatedTime in interface Transformation.JobOrBuilder
      Returns:
      The createdTime.
    • setCreatedTime

      public Transformation.Job.Builder setCreatedTime(long value)
      optional int64 created_time = 10;
      Parameters:
      value - The createdTime to set.
      Returns:
      This builder for chaining.
    • clearCreatedTime

      public Transformation.Job.Builder clearCreatedTime()
      optional int64 created_time = 10;
      Returns:
      This builder for chaining.
    • hasStartedTime

      public boolean hasStartedTime()
      optional int64 started_time = 11;
      Specified by:
      hasStartedTime in interface Transformation.JobOrBuilder
      Returns:
      Whether the startedTime field is set.
    • getStartedTime

      public long getStartedTime()
      optional int64 started_time = 11;
      Specified by:
      getStartedTime in interface Transformation.JobOrBuilder
      Returns:
      The startedTime.
    • setStartedTime

      public Transformation.Job.Builder setStartedTime(long value)
      optional int64 started_time = 11;
      Parameters:
      value - The startedTime to set.
      Returns:
      This builder for chaining.
    • clearStartedTime

      public Transformation.Job.Builder clearStartedTime()
      optional int64 started_time = 11;
      Returns:
      This builder for chaining.
    • hasFinishedTime

      public boolean hasFinishedTime()
      optional int64 finished_time = 12;
      Specified by:
      hasFinishedTime in interface Transformation.JobOrBuilder
      Returns:
      Whether the finishedTime field is set.
    • getFinishedTime

      public long getFinishedTime()
      optional int64 finished_time = 12;
      Specified by:
      getFinishedTime in interface Transformation.JobOrBuilder
      Returns:
      The finishedTime.
    • setFinishedTime

      public Transformation.Job.Builder setFinishedTime(long value)
      optional int64 finished_time = 12;
      Parameters:
      value - The finishedTime to set.
      Returns:
      This builder for chaining.
    • clearFinishedTime

      public Transformation.Job.Builder clearFinishedTime()
      optional int64 finished_time = 12;
      Returns:
      This builder for chaining.
    • hasLastSeenTime

      public boolean hasLastSeenTime()
      optional int64 last_seen_time = 13;
      Specified by:
      hasLastSeenTime in interface Transformation.JobOrBuilder
      Returns:
      Whether the lastSeenTime field is set.
    • getLastSeenTime

      public long getLastSeenTime()
      optional int64 last_seen_time = 13;
      Specified by:
      getLastSeenTime in interface Transformation.JobOrBuilder
      Returns:
      The lastSeenTime.
    • setLastSeenTime

      public Transformation.Job.Builder setLastSeenTime(long value)
      optional int64 last_seen_time = 13;
      Parameters:
      value - The lastSeenTime to set.
      Returns:
      This builder for chaining.
    • clearLastSeenTime

      public Transformation.Job.Builder clearLastSeenTime()
      optional int64 last_seen_time = 13;
      Returns:
      This builder for chaining.
    • hasError

      public boolean hasError()
      optional string error = 14;
      Specified by:
      hasError in interface Transformation.JobOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public String getError()
      optional string error = 14;
      Specified by:
      getError in interface Transformation.JobOrBuilder
      Returns:
      The error.
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
      optional string error = 14;
      Specified by:
      getErrorBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for error.
    • setError

      public Transformation.Job.Builder setError(String value)
      optional string error = 14;
      Parameters:
      value - The error to set.
      Returns:
      This builder for chaining.
    • clearError

      public Transformation.Job.Builder clearError()
      optional string error = 14;
      Returns:
      This builder for chaining.
    • setErrorBytes

      public Transformation.Job.Builder setErrorBytes(com.google.protobuf.ByteString value)
      optional string error = 14;
      Parameters:
      value - The bytes for error to set.
      Returns:
      This builder for chaining.
    • getIgnoreNullFields

      public boolean getIgnoreNullFields()
      bool ignore_null_fields = 15;
      Specified by:
      getIgnoreNullFields in interface Transformation.JobOrBuilder
      Returns:
      The ignoreNullFields.
    • setIgnoreNullFields

      public Transformation.Job.Builder setIgnoreNullFields(boolean value)
      bool ignore_null_fields = 15;
      Parameters:
      value - The ignoreNullFields to set.
      Returns:
      This builder for chaining.
    • clearIgnoreNullFields

      public Transformation.Job.Builder clearIgnoreNullFields()
      bool ignore_null_fields = 15;
      Returns:
      This builder for chaining.
    • getStatus

      public String getStatus()
      string status = 16;
      Specified by:
      getStatus in interface Transformation.JobOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
      string status = 16;
      Specified by:
      getStatusBytes in interface Transformation.JobOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public Transformation.Job.Builder setStatus(String value)
      string status = 16;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public Transformation.Job.Builder clearStatus()
      string status = 16;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public Transformation.Job.Builder setStatusBytes(com.google.protobuf.ByteString value)
      string status = 16;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Transformation.Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>
    • mergeUnknownFields

      public final Transformation.Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Transformation.Job.Builder>