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