Class DlpJob (3.32.0)

public final class DlpJob extends GeneratedMessageV3 implements DlpJobOrBuilder

Combines all of the information about a DLP job.

Protobuf type google.privacy.dlp.v2.DlpJob

Implements

DlpJobOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_DETAILS_FIELD_NUMBER

public static final int INSPECT_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_TRIGGER_NAME_FIELD_NUMBER

public static final int JOB_TRIGGER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RISK_DETAILS_FIELD_NUMBER

public static final int RISK_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DlpJob getDefaultInstance()
Returns
TypeDescription
DlpJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DlpJob.Builder newBuilder()
Returns
TypeDescription
DlpJob.Builder

newBuilder(DlpJob prototype)

public static DlpJob.Builder newBuilder(DlpJob prototype)
Parameter
NameDescription
prototypeDlpJob
Returns
TypeDescription
DlpJob.Builder

parseDelimitedFrom(InputStream input)

public static DlpJob parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DlpJob parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DlpJob parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DlpJob parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DlpJob parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DlpJob parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DlpJob
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DlpJob> parser()
Returns
TypeDescription
Parser<DlpJob>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DlpJob getDefaultInstanceForType()
Returns
TypeDescription
DlpJob

getDetailsCase()

public DlpJob.DetailsCase getDetailsCase()
Returns
TypeDescription
DlpJob.DetailsCase

getEndTime()

public Timestamp getEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getErrors(int index)

public Error getErrors(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsCount()

public int getErrorsCount()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
int

getErrorsList()

public List<Error> getErrorsList()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getInspectDetails()

public InspectDataSourceDetails getInspectDetails()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
InspectDataSourceDetails

The inspectDetails.

getInspectDetailsOrBuilder()

public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
InspectDataSourceDetailsOrBuilder

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;

Returns
TypeDescription
String

The jobTriggerName.

getJobTriggerNameBytes()

public ByteString getJobTriggerNameBytes()

If created by a job trigger, the resource name of the trigger that instantiated the job.

string job_trigger_name = 10;

Returns
TypeDescription
ByteString

The bytes for jobTriggerName.

getName()

public String getName()

The server-assigned name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The server-assigned name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DlpJob> getParserForType()
Returns
TypeDescription
Parser<DlpJob>
Overrides

getRiskDetails()

public AnalyzeDataSourceRiskDetails getRiskDetails()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
AnalyzeDataSourceRiskDetails

The riskDetails.

getRiskDetailsOrBuilder()

public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
AnalyzeDataSourceRiskDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getState()

public DlpJob.JobState getState()

State of a job.

.google.privacy.dlp.v2.DlpJob.JobState state = 3;

Returns
TypeDescription
DlpJob.JobState

The state.

getStateValue()

public int getStateValue()

State of a job.

.google.privacy.dlp.v2.DlpJob.JobState state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getType()

public DlpJobType getType()

The type of job.

.google.privacy.dlp.v2.DlpJobType type = 2;

Returns
TypeDescription
DlpJobType

The type.

getTypeValue()

public int getTypeValue()

The type of job.

.google.privacy.dlp.v2.DlpJobType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasCreateTime()

public boolean hasCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasInspectDetails()

public boolean hasInspectDetails()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
boolean

Whether the inspectDetails field is set.

hasRiskDetails()

public boolean hasRiskDetails()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
boolean

Whether the riskDetails field is set.

hasStartTime()

public boolean hasStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DlpJob.Builder newBuilderForType()
Returns
TypeDescription
DlpJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DlpJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DlpJob.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DlpJob.Builder toBuilder()
Returns
TypeDescription
DlpJob.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException