public
final
class
DlpJob
extends
GeneratedMessageV3
implements
DlpJobOrBuilder
Combines all of the information about a DLP job.
Protobuf type google.privacy.dlp.v2.DlpJob
Static Fields
CREATE_TIME_FIELD_NUMBER
public
static
final
int
CREATE_TIME_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public
static
final
int
END_TIME_FIELD_NUMBER
Field Value
ERRORS_FIELD_NUMBER
public
static
final
int
ERRORS_FIELD_NUMBER
Field Value
INSPECT_DETAILS_FIELD_NUMBER
public
static
final
int
INSPECT_DETAILS_FIELD_NUMBER
Field Value
JOB_TRIGGER_NAME_FIELD_NUMBER
public
static
final
int
JOB_TRIGGER_NAME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
Field Value
RISK_DETAILS_FIELD_NUMBER
public
static
final
int
RISK_DETAILS_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public
static
final
int
START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public
static
final
int
STATE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public
static
final
int
TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public
static
DlpJob
getDefaultInstance
()
Returns
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Returns
newBuilder()
public
static
DlpJob
.
Builder
newBuilder
()
Returns
newBuilder(DlpJob prototype)
public
static
DlpJob
.
Builder
newBuilder
(
DlpJob
prototype
)
Parameter
Returns
public
static
DlpJob
parseDelimitedFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
DlpJob
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public
static
DlpJob
parseFrom
(
byte
[]
data
)
Parameter
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
DlpJob
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public
static
DlpJob
parseFrom
(
ByteString
data
)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
DlpJob
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
DlpJob
parseFrom
(
CodedInputStream
input
)
Parameter
Returns
Exceptions
public
static
DlpJob
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
DlpJob
parseFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
DlpJob
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public
static
DlpJob
parseFrom
(
ByteBuffer
data
)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
DlpJob
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parser()
public
static
Parser<DlpJob>
parser
()
Returns
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
Parameter
Returns
Overrides
getCreateTime()
public
Timestamp
getCreateTime
()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
Returns
getCreateTimeOrBuilder()
public
TimestampOrBuilder
getCreateTimeOrBuilder
()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
Returns
getDefaultInstanceForType()
public
DlpJob
getDefaultInstanceForType
()
Returns
getDetailsCase()
public
DlpJob
.
DetailsCase
getDetailsCase
()
Returns
getEndTime()
public
Timestamp
getEndTime
()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
Returns
getEndTimeOrBuilder()
public
TimestampOrBuilder
getEndTimeOrBuilder
()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
Returns
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
Returns
getErrorsCount()
public
int
getErrorsCount
()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
Returns
getErrorsList()
public
List<Error>
getErrorsList
()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
Returns
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
Returns
getErrorsOrBuilderList()
public
List
< ?
extends
ErrorOrBuilder
>
getErrorsOrBuilderList
()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
Returns
getInspectDetails()
public
InspectDataSourceDetails
getInspectDetails
()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
Returns
getInspectDetailsOrBuilder()
public
InspectDataSourceDetailsOrBuilder
getInspectDetailsOrBuilder
()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
Returns
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
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 Type |
Description |
ByteString
|
The bytes for jobTriggerName.
|
getName()
The server-assigned name.
string name = 1;
Returns
getNameBytes()
public
ByteString
getNameBytes
()
The server-assigned name.
string name = 1;
Returns
getParserForType()
public
Parser<DlpJob>
getParserForType
()
Returns
Overrides
getRiskDetails()
public
AnalyzeDataSourceRiskDetails
getRiskDetails
()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
Returns
getRiskDetailsOrBuilder()
public
AnalyzeDataSourceRiskDetailsOrBuilder
getRiskDetailsOrBuilder
()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
Returns
getSerializedSize()
public
int
getSerializedSize
()
Returns
Overrides
getStartTime()
public
Timestamp
getStartTime
()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
Returns
getStartTimeOrBuilder()
public
TimestampOrBuilder
getStartTimeOrBuilder
()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
Returns
getState()
public
DlpJob
.
JobState
getState
()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
Returns
getStateValue()
public
int
getStateValue
()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
Returns Type |
Description |
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
getTypeValue()
public
int
getTypeValue
()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
Returns Type |
Description |
int
|
The enum numeric value on the wire for type.
|
getUnknownFields()
public
final
UnknownFieldSet
getUnknownFields
()
Returns
Overrides
hasCreateTime()
public
boolean
hasCreateTime
()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
Returns Type |
Description |
boolean
|
Whether the createTime field is set.
|
hasEndTime()
public
boolean
hasEndTime
()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
Returns Type |
Description |
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 Type |
Description |
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 Type |
Description |
boolean
|
Whether the riskDetails field is set.
|
hasStartTime()
public
boolean
hasStartTime
()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
Returns Type |
Description |
boolean
|
Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Returns
Overrides
isInitialized()
public
final
boolean
isInitialized
()
Returns
Overrides
newBuilderForType()
public
DlpJob
.
Builder
newBuilderForType
()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
DlpJob
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
Parameter
Returns
Overrides
toBuilder()
public
DlpJob
.
Builder
toBuilder
()
Returns
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)
Parameter
Overrides
Exceptions