Class DlpJob

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DlpJob
All Implemented Interfaces:
DlpJobOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DlpJob extends com.google.protobuf.GeneratedMessage implements DlpJobOrBuilder
 Combines all of the information about a DLP job.
 
Protobuf type google.privacy.dlp.v2.DlpJob
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • RISK_DETAILS_FIELD_NUMBER

      public static final int RISK_DETAILS_FIELD_NUMBER
      See Also:
    • INSPECT_DETAILS_FIELD_NUMBER

      public static final int INSPECT_DETAILS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • LAST_MODIFIED_FIELD_NUMBER

      public static final int LAST_MODIFIED_FIELD_NUMBER
      See Also:
    • JOB_TRIGGER_NAME_FIELD_NUMBER

      public static final int JOB_TRIGGER_NAME_FIELD_NUMBER
      See Also:
    • ERRORS_FIELD_NUMBER

      public static final int ERRORS_FIELD_NUMBER
      See Also:
    • ACTION_DETAILS_FIELD_NUMBER

      public static final int ACTION_DETAILS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDetailsCase

      public DlpJob.DetailsCase getDetailsCase()
      Specified by:
      getDetailsCase in interface DlpJobOrBuilder
    • getName

      public String getName()
       The server-assigned name.
       
      string name = 1;
      Specified by:
      getName in interface DlpJobOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The server-assigned name.
       
      string name = 1;
      Specified by:
      getNameBytes in interface DlpJobOrBuilder
      Returns:
      The bytes for name.
    • getTypeValue

      public int getTypeValue()
       The type of job.
       
      .google.privacy.dlp.v2.DlpJobType type = 2;
      Specified by:
      getTypeValue in interface DlpJobOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public DlpJobType getType()
       The type of job.
       
      .google.privacy.dlp.v2.DlpJobType type = 2;
      Specified by:
      getType in interface DlpJobOrBuilder
      Returns:
      The type.
    • getStateValue

      public int getStateValue()
       State of a job.
       
      .google.privacy.dlp.v2.DlpJob.JobState state = 3;
      Specified by:
      getStateValue in interface DlpJobOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public DlpJob.JobState getState()
       State of a job.
       
      .google.privacy.dlp.v2.DlpJob.JobState state = 3;
      Specified by:
      getState in interface DlpJobOrBuilder
      Returns:
      The state.
    • hasRiskDetails

      public boolean hasRiskDetails()
       Results from analyzing risk of a data source.
       
      .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
      Specified by:
      hasRiskDetails in interface DlpJobOrBuilder
      Returns:
      Whether the riskDetails field is set.
    • getRiskDetails

      public AnalyzeDataSourceRiskDetails getRiskDetails()
       Results from analyzing risk of a data source.
       
      .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
      Specified by:
      getRiskDetails in interface DlpJobOrBuilder
      Returns:
      The riskDetails.
    • getRiskDetailsOrBuilder

      public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()
       Results from analyzing risk of a data source.
       
      .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
      Specified by:
      getRiskDetailsOrBuilder in interface DlpJobOrBuilder
    • hasInspectDetails

      public boolean hasInspectDetails()
       Results from inspecting a data source.
       
      .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
      Specified by:
      hasInspectDetails in interface DlpJobOrBuilder
      Returns:
      Whether the inspectDetails field is set.
    • getInspectDetails

      public InspectDataSourceDetails getInspectDetails()
       Results from inspecting a data source.
       
      .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
      Specified by:
      getInspectDetails in interface DlpJobOrBuilder
      Returns:
      The inspectDetails.
    • getInspectDetailsOrBuilder

      public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
       Results from inspecting a data source.
       
      .google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
      Specified by:
      getInspectDetailsOrBuilder in interface DlpJobOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Time when the job was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface DlpJobOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Time when the job was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTime in interface DlpJobOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Time when the job was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface DlpJobOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Time when the job started.
       
      .google.protobuf.Timestamp start_time = 7;
      Specified by:
      hasStartTime in interface DlpJobOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Time when the job started.
       
      .google.protobuf.Timestamp start_time = 7;
      Specified by:
      getStartTime in interface DlpJobOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Time when the job started.
       
      .google.protobuf.Timestamp start_time = 7;
      Specified by:
      getStartTimeOrBuilder in interface DlpJobOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Time when the job finished.
       
      .google.protobuf.Timestamp end_time = 8;
      Specified by:
      hasEndTime in interface DlpJobOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Time when the job finished.
       
      .google.protobuf.Timestamp end_time = 8;
      Specified by:
      getEndTime in interface DlpJobOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Time when the job finished.
       
      .google.protobuf.Timestamp end_time = 8;
      Specified by:
      getEndTimeOrBuilder in interface DlpJobOrBuilder
    • hasLastModified

      public boolean hasLastModified()
       Time when the job was last modified by the system.
       
      .google.protobuf.Timestamp last_modified = 15;
      Specified by:
      hasLastModified in interface DlpJobOrBuilder
      Returns:
      Whether the lastModified field is set.
    • getLastModified

      public com.google.protobuf.Timestamp getLastModified()
       Time when the job was last modified by the system.
       
      .google.protobuf.Timestamp last_modified = 15;
      Specified by:
      getLastModified in interface DlpJobOrBuilder
      Returns:
      The lastModified.
    • getLastModifiedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastModifiedOrBuilder()
       Time when the job was last modified by the system.
       
      .google.protobuf.Timestamp last_modified = 15;
      Specified by:
      getLastModifiedOrBuilder in interface DlpJobOrBuilder
    • getJobTriggerName

      public String getJobTriggerName()
       If created by a job trigger, the resource name of the trigger that
       instantiated the job.
       
      string job_trigger_name = 10;
      Specified by:
      getJobTriggerName in interface DlpJobOrBuilder
      Returns:
      The jobTriggerName.
    • getJobTriggerNameBytes

      public com.google.protobuf.ByteString getJobTriggerNameBytes()
       If created by a job trigger, the resource name of the trigger that
       instantiated the job.
       
      string job_trigger_name = 10;
      Specified by:
      getJobTriggerNameBytes in interface DlpJobOrBuilder
      Returns:
      The bytes for jobTriggerName.
    • getErrorsList

      public List<Error> getErrorsList()
       A stream of errors encountered running the job.
       
      repeated .google.privacy.dlp.v2.Error errors = 11;
      Specified by:
      getErrorsList in interface DlpJobOrBuilder
    • getErrorsOrBuilderList

      public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
       A stream of errors encountered running the job.
       
      repeated .google.privacy.dlp.v2.Error errors = 11;
      Specified by:
      getErrorsOrBuilderList in interface DlpJobOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       A stream of errors encountered running the job.
       
      repeated .google.privacy.dlp.v2.Error errors = 11;
      Specified by:
      getErrorsCount in interface DlpJobOrBuilder
    • getErrors

      public Error getErrors(int index)
       A stream of errors encountered running the job.
       
      repeated .google.privacy.dlp.v2.Error errors = 11;
      Specified by:
      getErrors in interface DlpJobOrBuilder
    • getErrorsOrBuilder

      public ErrorOrBuilder getErrorsOrBuilder(int index)
       A stream of errors encountered running the job.
       
      repeated .google.privacy.dlp.v2.Error errors = 11;
      Specified by:
      getErrorsOrBuilder in interface DlpJobOrBuilder
    • getActionDetailsList

      public List<ActionDetails> getActionDetailsList()
       Events that should occur after the job has completed.
       
      repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;
      Specified by:
      getActionDetailsList in interface DlpJobOrBuilder
    • getActionDetailsOrBuilderList

      public List<? extends ActionDetailsOrBuilder> getActionDetailsOrBuilderList()
       Events that should occur after the job has completed.
       
      repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;
      Specified by:
      getActionDetailsOrBuilderList in interface DlpJobOrBuilder
    • getActionDetailsCount

      public int getActionDetailsCount()
       Events that should occur after the job has completed.
       
      repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;
      Specified by:
      getActionDetailsCount in interface DlpJobOrBuilder
    • getActionDetails

      public ActionDetails getActionDetails(int index)
       Events that should occur after the job has completed.
       
      repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;
      Specified by:
      getActionDetails in interface DlpJobOrBuilder
    • getActionDetailsOrBuilder

      public ActionDetailsOrBuilder getActionDetailsOrBuilder(int index)
       Events that should occur after the job has completed.
       
      repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;
      Specified by:
      getActionDetailsOrBuilder in interface DlpJobOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 DlpJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DlpJob.Builder newBuilder()
    • newBuilder

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

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

      protected DlpJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DlpJob getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DlpJob> 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.GeneratedMessage
    • getDefaultInstanceForType

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