Package com.google.privacy.dlp.v2
Interface DlpJobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DlpJob
,DlpJob.Builder
public interface DlpJobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Time when the job was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the job was created.DlpJob.DetailsCase
getDetailsCase()
com.google.protobuf.Timestamp
getEndTime()
Time when the job finished.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Time when the job finished.Error
getErrors(int index)
A stream of errors encountered running the job.int
getErrorsCount()
A stream of errors encountered running the job.List<Error>
getErrorsList()
A stream of errors encountered running the job.ErrorOrBuilder
getErrorsOrBuilder(int index)
A stream of errors encountered running the job.List<? extends ErrorOrBuilder>
getErrorsOrBuilderList()
A stream of errors encountered running the job.InspectDataSourceDetails
getInspectDetails()
Results from inspecting a data source.InspectDataSourceDetailsOrBuilder
getInspectDetailsOrBuilder()
Results from inspecting a data source.String
getJobTriggerName()
If created by a job trigger, the resource name of the trigger that instantiated the job.com.google.protobuf.ByteString
getJobTriggerNameBytes()
If created by a job trigger, the resource name of the trigger that instantiated the job.String
getName()
The server-assigned name.com.google.protobuf.ByteString
getNameBytes()
The server-assigned name.AnalyzeDataSourceRiskDetails
getRiskDetails()
Results from analyzing risk of a data source.AnalyzeDataSourceRiskDetailsOrBuilder
getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.com.google.protobuf.Timestamp
getStartTime()
Time when the job started.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Time when the job started.DlpJob.JobState
getState()
State of a job.int
getStateValue()
State of a job.DlpJobType
getType()
The type of job.int
getTypeValue()
The type of job.boolean
hasCreateTime()
Time when the job was created.boolean
hasEndTime()
Time when the job finished.boolean
hasInspectDetails()
Results from inspecting a data source.boolean
hasRiskDetails()
Results from analyzing risk of a data source.boolean
hasStartTime()
Time when the job started.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The server-assigned name.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The server-assigned name.
string name = 1;
- Returns:
- The bytes for name.
-
getTypeValue
int getTypeValue()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
- Returns:
- The enum numeric value on the wire for type.
-
getType
DlpJobType getType()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
- Returns:
- The type.
-
getStateValue
int getStateValue()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
- Returns:
- The enum numeric value on the wire for state.
-
getState
DlpJob.JobState getState()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
- Returns:
- The state.
-
hasRiskDetails
boolean hasRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
- Returns:
- Whether the riskDetails field is set.
-
getRiskDetails
AnalyzeDataSourceRiskDetails getRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
- Returns:
- The riskDetails.
-
getRiskDetailsOrBuilder
AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
-
hasInspectDetails
boolean hasInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
- Returns:
- Whether the inspectDetails field is set.
-
getInspectDetails
InspectDataSourceDetails getInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
- Returns:
- The inspectDetails.
-
getInspectDetailsOrBuilder
InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
-
hasCreateTime
boolean hasCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
-
hasStartTime
boolean hasStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
-
hasEndTime
boolean hasEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
-
getJobTriggerName
String getJobTriggerName()
If created by a job trigger, the resource name of the trigger that instantiated the job.
string job_trigger_name = 10;
- Returns:
- The jobTriggerName.
-
getJobTriggerNameBytes
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;
- Returns:
- The bytes for jobTriggerName.
-
getErrorsList
List<Error> getErrorsList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
-
getErrors
Error getErrors(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
-
getErrorsCount
int getErrorsCount()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
-
getErrorsOrBuilderList
List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
-
getErrorsOrBuilder
ErrorOrBuilder getErrorsOrBuilder(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
-
getDetailsCase
DlpJob.DetailsCase getDetailsCase()
-
-