public final class DlpJob extends GeneratedMessageV3 implements DlpJobOrBuilder
Combines all of the information about a DLP job.Protobuf type
google.privacy.dlp.v2beta2.DlpJob| Modifier and Type | Class and Description |
|---|---|
static class |
DlpJob.Builder
Combines all of the information about a DLP job.
|
static class |
DlpJob.DetailsCase |
static class |
DlpJob.JobState
Protobuf enum
google.privacy.dlp.v2beta2.DlpJob.JobState |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_RESULTS_FIELD_NUMBER |
static int |
INSPECT_DETAILS_FIELD_NUMBER |
static int |
JOB_TRIGGER_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RISK_DETAILS_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Timestamp |
getCreateTime()
Time when the job was created.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Time when the job was created.
|
static DlpJob |
getDefaultInstance() |
DlpJob |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
DlpJob.DetailsCase |
getDetailsCase() |
Timestamp |
getEndTime()
Time when the job finished.
|
TimestampOrBuilder |
getEndTimeOrBuilder()
Time when the job finished.
|
Status |
getErrorResults(int index)
A stream of errors encountered running the job.
|
int |
getErrorResultsCount()
A stream of errors encountered running the job.
|
java.util.List<Status> |
getErrorResultsList()
A stream of errors encountered running the job.
|
StatusOrBuilder |
getErrorResultsOrBuilder(int index)
A stream of errors encountered running the job.
|
java.util.List<? extends StatusOrBuilder> |
getErrorResultsOrBuilderList()
A stream of errors encountered running the job.
|
InspectDataSourceDetails |
getInspectDetails()
Results from inspecting a data source.
|
InspectDataSourceDetailsOrBuilder |
getInspectDetailsOrBuilder()
Results from inspecting a data source.
|
java.lang.String |
getJobTriggerName()
If created by a job trigger, the resource name of the trigger that
instantiated the job.
|
ByteString |
getJobTriggerNameBytes()
If created by a job trigger, the resource name of the trigger that
instantiated the job.
|
java.lang.String |
getName()
The server-assigned name.
|
ByteString |
getNameBytes()
The server-assigned name.
|
Parser<DlpJob> |
getParserForType() |
AnalyzeDataSourceRiskDetails |
getRiskDetails()
Results from analyzing risk of a data source.
|
AnalyzeDataSourceRiskDetailsOrBuilder |
getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.
|
int |
getSerializedSize() |
Timestamp |
getStartTime()
Time when the job started.
|
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.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Time when the job was created.
|
boolean |
hasEndTime()
Time when the job finished.
|
int |
hashCode() |
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DlpJob.Builder |
newBuilder() |
static DlpJob.Builder |
newBuilder(DlpJob prototype) |
DlpJob.Builder |
newBuilderForType() |
protected DlpJob.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static DlpJob |
parseDelimitedFrom(java.io.InputStream input) |
static DlpJob |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DlpJob |
parseFrom(byte[] data) |
static DlpJob |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DlpJob |
parseFrom(java.nio.ByteBuffer data) |
static DlpJob |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static DlpJob |
parseFrom(ByteString data) |
static DlpJob |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DlpJob |
parseFrom(CodedInputStream input) |
static DlpJob |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DlpJob |
parseFrom(java.io.InputStream input) |
static DlpJob |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DlpJob> |
parser() |
DlpJob.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int RISK_DETAILS_FIELD_NUMBER
public static final int INSPECT_DETAILS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int ERROR_RESULTS_FIELD_NUMBER
public static final int JOB_TRIGGER_NAME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public DlpJob.DetailsCase getDetailsCase()
getDetailsCase in interface DlpJobOrBuilderpublic java.lang.String getName()
The server-assigned name.
string name = 1;getName in interface DlpJobOrBuilderpublic ByteString getNameBytes()
The server-assigned name.
string name = 1;getNameBytes in interface DlpJobOrBuilderpublic int getTypeValue()
The type of job.
.google.privacy.dlp.v2beta2.DlpJobType type = 2;getTypeValue in interface DlpJobOrBuilderpublic DlpJobType getType()
The type of job.
.google.privacy.dlp.v2beta2.DlpJobType type = 2;getType in interface DlpJobOrBuilderpublic int getStateValue()
State of a job.
.google.privacy.dlp.v2beta2.DlpJob.JobState state = 3;getStateValue in interface DlpJobOrBuilderpublic DlpJob.JobState getState()
State of a job.
.google.privacy.dlp.v2beta2.DlpJob.JobState state = 3;getState in interface DlpJobOrBuilderpublic boolean hasRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2beta2.AnalyzeDataSourceRiskDetails risk_details = 4;hasRiskDetails in interface DlpJobOrBuilderpublic AnalyzeDataSourceRiskDetails getRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2beta2.AnalyzeDataSourceRiskDetails risk_details = 4;getRiskDetails in interface DlpJobOrBuilderpublic AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2beta2.AnalyzeDataSourceRiskDetails risk_details = 4;getRiskDetailsOrBuilder in interface DlpJobOrBuilderpublic boolean hasInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2beta2.InspectDataSourceDetails inspect_details = 5;hasInspectDetails in interface DlpJobOrBuilderpublic InspectDataSourceDetails getInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2beta2.InspectDataSourceDetails inspect_details = 5;getInspectDetails in interface DlpJobOrBuilderpublic InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
Results from inspecting a data source.
.google.privacy.dlp.v2beta2.InspectDataSourceDetails inspect_details = 5;getInspectDetailsOrBuilder in interface DlpJobOrBuilderpublic boolean hasCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;hasCreateTime in interface DlpJobOrBuilderpublic Timestamp getCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;getCreateTime in interface DlpJobOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;getCreateTimeOrBuilder in interface DlpJobOrBuilderpublic boolean hasStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;hasStartTime in interface DlpJobOrBuilderpublic Timestamp getStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;getStartTime in interface DlpJobOrBuilderpublic TimestampOrBuilder getStartTimeOrBuilder()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;getStartTimeOrBuilder in interface DlpJobOrBuilderpublic boolean hasEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;hasEndTime in interface DlpJobOrBuilderpublic Timestamp getEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;getEndTime in interface DlpJobOrBuilderpublic TimestampOrBuilder getEndTimeOrBuilder()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;getEndTimeOrBuilder in interface DlpJobOrBuilderpublic java.util.List<Status> getErrorResultsList()
A stream of errors encountered running the job.
repeated .google.rpc.Status error_results = 9;getErrorResultsList in interface DlpJobOrBuilderpublic java.util.List<? extends StatusOrBuilder> getErrorResultsOrBuilderList()
A stream of errors encountered running the job.
repeated .google.rpc.Status error_results = 9;getErrorResultsOrBuilderList in interface DlpJobOrBuilderpublic int getErrorResultsCount()
A stream of errors encountered running the job.
repeated .google.rpc.Status error_results = 9;getErrorResultsCount in interface DlpJobOrBuilderpublic Status getErrorResults(int index)
A stream of errors encountered running the job.
repeated .google.rpc.Status error_results = 9;getErrorResults in interface DlpJobOrBuilderpublic StatusOrBuilder getErrorResultsOrBuilder(int index)
A stream of errors encountered running the job.
repeated .google.rpc.Status error_results = 9;getErrorResultsOrBuilder in interface DlpJobOrBuilderpublic java.lang.String getJobTriggerName()
If created by a job trigger, the resource name of the trigger that instantiated the job.
string job_trigger_name = 10;getJobTriggerName in interface DlpJobOrBuilderpublic ByteString getJobTriggerNameBytes()
If created by a job trigger, the resource name of the trigger that instantiated the job.
string job_trigger_name = 10;getJobTriggerNameBytes in interface DlpJobOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static DlpJob parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DlpJob parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DlpJob parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DlpJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DlpJob parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DlpJob parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DlpJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DlpJob.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DlpJob.Builder newBuilder()
public static DlpJob.Builder newBuilder(DlpJob prototype)
public DlpJob.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DlpJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static DlpJob getDefaultInstance()
public Parser<DlpJob> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public DlpJob getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder