Package com.google.privacy.dlp.v2
Class DlpJob
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.privacy.dlp.v2.DlpJob
-
- All Implemented Interfaces:
DlpJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DlpJob extends com.google.protobuf.GeneratedMessageV3 implements DlpJobOrBuilder
Combines all of the information about a DLP job.
Protobuf typegoogle.privacy.dlp.v2.DlpJob- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDlpJob.BuilderCombines all of the information about a DLP job.static classDlpJob.DetailsCasestatic classDlpJob.JobStatePossible states of a job.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intERRORS_FIELD_NUMBERstatic intINSPECT_DETAILS_FIELD_NUMBERstatic intJOB_TRIGGER_NAME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intRISK_DETAILS_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Time when the job was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time when the job was created.static DlpJobgetDefaultInstance()DlpJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DlpJob.DetailsCasegetDetailsCase()com.google.protobuf.TimestampgetEndTime()Time when the job finished.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Time when the job finished.ErrorgetErrors(int index)A stream of errors encountered running the job.intgetErrorsCount()A stream of errors encountered running the job.List<Error>getErrorsList()A stream of errors encountered running the job.ErrorOrBuildergetErrorsOrBuilder(int index)A stream of errors encountered running the job.List<? extends ErrorOrBuilder>getErrorsOrBuilderList()A stream of errors encountered running the job.InspectDataSourceDetailsgetInspectDetails()Results from inspecting a data source.InspectDataSourceDetailsOrBuildergetInspectDetailsOrBuilder()Results from inspecting a data source.StringgetJobTriggerName()If created by a job trigger, the resource name of the trigger that instantiated the job.com.google.protobuf.ByteStringgetJobTriggerNameBytes()If created by a job trigger, the resource name of the trigger that instantiated the job.StringgetName()The server-assigned name.com.google.protobuf.ByteStringgetNameBytes()The server-assigned name.com.google.protobuf.Parser<DlpJob>getParserForType()AnalyzeDataSourceRiskDetailsgetRiskDetails()Results from analyzing risk of a data source.AnalyzeDataSourceRiskDetailsOrBuildergetRiskDetailsOrBuilder()Results from analyzing risk of a data source.intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()Time when the job started.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Time when the job started.DlpJob.JobStategetState()State of a job.intgetStateValue()State of a job.DlpJobTypegetType()The type of job.intgetTypeValue()The type of job.booleanhasCreateTime()Time when the job was created.booleanhasEndTime()Time when the job finished.inthashCode()booleanhasInspectDetails()Results from inspecting a data source.booleanhasRiskDetails()Results from analyzing risk of a data source.booleanhasStartTime()Time when the job started.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DlpJob.BuildernewBuilder()static DlpJob.BuildernewBuilder(DlpJob prototype)DlpJob.BuildernewBuilderForType()protected DlpJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DlpJobparseDelimitedFrom(InputStream input)static DlpJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DlpJobparseFrom(byte[] data)static DlpJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DlpJobparseFrom(com.google.protobuf.ByteString data)static DlpJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DlpJobparseFrom(com.google.protobuf.CodedInputStream input)static DlpJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DlpJobparseFrom(InputStream input)static DlpJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DlpJobparseFrom(ByteBuffer data)static DlpJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DlpJob>parser()DlpJob.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RISK_DETAILS_FIELD_NUMBER
public static final int RISK_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSPECT_DETAILS_FIELD_NUMBER
public static final int INSPECT_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JOB_TRIGGER_NAME_FIELD_NUMBER
public static final int JOB_TRIGGER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public DlpJob.DetailsCase getDetailsCase()
- Specified by:
getDetailsCasein interfaceDlpJobOrBuilder
-
getName
public String getName()
The server-assigned name.
string name = 1;- Specified by:
getNamein interfaceDlpJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The server-assigned name.
string name = 1;- Specified by:
getNameBytesin interfaceDlpJobOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;- Specified by:
getTypeValuein interfaceDlpJobOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public DlpJobType getType()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;- Specified by:
getTypein interfaceDlpJobOrBuilder- Returns:
- The type.
-
getStateValue
public int getStateValue()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;- Specified by:
getStateValuein interfaceDlpJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public DlpJob.JobState getState()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;- Specified by:
getStatein interfaceDlpJobOrBuilder- Returns:
- The state.
-
hasRiskDetails
public boolean hasRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;- Specified by:
hasRiskDetailsin interfaceDlpJobOrBuilder- Returns:
- Whether the riskDetails field is set.
-
getRiskDetails
public AnalyzeDataSourceRiskDetails getRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;- Specified by:
getRiskDetailsin interfaceDlpJobOrBuilder- Returns:
- The riskDetails.
-
getRiskDetailsOrBuilder
public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;- Specified by:
getRiskDetailsOrBuilderin interfaceDlpJobOrBuilder
-
hasInspectDetails
public boolean hasInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;- Specified by:
hasInspectDetailsin interfaceDlpJobOrBuilder- Returns:
- Whether the inspectDetails field is set.
-
getInspectDetails
public InspectDataSourceDetails getInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;- Specified by:
getInspectDetailsin interfaceDlpJobOrBuilder- Returns:
- The inspectDetails.
-
getInspectDetailsOrBuilder
public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;- Specified by:
getInspectDetailsOrBuilderin interfaceDlpJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceDlpJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceDlpJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceDlpJobOrBuilder
-
hasStartTime
public boolean hasStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;- Specified by:
hasStartTimein interfaceDlpJobOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;- Specified by:
getStartTimein interfaceDlpJobOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;- Specified by:
getStartTimeOrBuilderin interfaceDlpJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;- Specified by:
hasEndTimein interfaceDlpJobOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;- Specified by:
getEndTimein interfaceDlpJobOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;- Specified by:
getEndTimeOrBuilderin interfaceDlpJobOrBuilder
-
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;- Specified by:
getJobTriggerNamein interfaceDlpJobOrBuilder- Returns:
- The jobTriggerName.
-
getJobTriggerNameBytes
public 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;- Specified by:
getJobTriggerNameBytesin interfaceDlpJobOrBuilder- Returns:
- The bytes for jobTriggerName.
-
getErrorsList
public List<Error> getErrorsList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsListin interfaceDlpJobOrBuilder
-
getErrorsOrBuilderList
public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsOrBuilderListin interfaceDlpJobOrBuilder
-
getErrorsCount
public int getErrorsCount()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsCountin interfaceDlpJobOrBuilder
-
getErrors
public Error getErrors(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsin interfaceDlpJobOrBuilder
-
getErrorsOrBuilder
public ErrorOrBuilder getErrorsOrBuilder(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsOrBuilderin interfaceDlpJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DlpJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DlpJob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DlpJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DlpJob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DlpJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DlpJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DlpJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DlpJob.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DlpJob.Builder newBuilder()
-
newBuilder
public static DlpJob.Builder newBuilder(DlpJob prototype)
-
toBuilder
public DlpJob.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DlpJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DlpJob getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DlpJob> parser()
-
getParserForType
public com.google.protobuf.Parser<DlpJob> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DlpJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-