Package com.google.privacy.dlp.v2
Class DlpJob
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class DlpJob
extends com.google.protobuf.GeneratedMessage
implements DlpJobOrBuilder
Combines all of the information about a DLP job.Protobuf type
google.privacy.dlp.v2.DlpJob- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCombines all of the information about a DLP job.static enumstatic enumPossible states of a job.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActionDetails(int index) Events that should occur after the job has completed.intEvents that should occur after the job has completed.Events that should occur after the job has completed.getActionDetailsOrBuilder(int index) Events that should occur after the job has completed.List<? extends ActionDetailsOrBuilder>Events that should occur after the job has completed.com.google.protobuf.TimestampTime when the job was created.com.google.protobuf.TimestampOrBuilderTime when the job was created.static DlpJobstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTime when the job finished.com.google.protobuf.TimestampOrBuilderTime when the job finished.getErrors(int index) A stream of errors encountered running the job.intA stream of errors encountered running the job.A stream of errors encountered running the job.getErrorsOrBuilder(int index) A stream of errors encountered running the job.List<? extends ErrorOrBuilder>A stream of errors encountered running the job.Results from inspecting a data source.Results from inspecting a data source.If created by a job trigger, the resource name of the trigger that instantiated the job.com.google.protobuf.ByteStringIf created by a job trigger, the resource name of the trigger that instantiated the job.com.google.protobuf.TimestampTime when the job was last modified by the system.com.google.protobuf.TimestampOrBuilderTime when the job was last modified by the system.getName()The server-assigned name.com.google.protobuf.ByteStringThe server-assigned name.com.google.protobuf.Parser<DlpJob>Results from analyzing risk of a data source.Results from analyzing risk of a data source.intcom.google.protobuf.TimestampTime when the job started.com.google.protobuf.TimestampOrBuilderTime when the job started.getState()State of a job.intState of a job.getType()The type of job.intThe type of job.booleanTime when the job was created.booleanTime when the job finished.inthashCode()booleanResults from inspecting a data source.booleanTime when the job was last modified by the system.booleanResults from analyzing risk of a data source.booleanTime when the job started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DlpJob.Builderstatic DlpJob.BuildernewBuilder(DlpJob prototype) protected DlpJob.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
RISK_DETAILS_FIELD_NUMBER
public static final int RISK_DETAILS_FIELD_NUMBER- See Also:
-
INSPECT_DETAILS_FIELD_NUMBER
public static final int INSPECT_DETAILS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
LAST_MODIFIED_FIELD_NUMBER
public static final int LAST_MODIFIED_FIELD_NUMBER- See Also:
-
JOB_TRIGGER_NAME_FIELD_NUMBER
public static final int JOB_TRIGGER_NAME_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
ACTION_DETAILS_FIELD_NUMBER
public static final int ACTION_DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDetailsCase
- Specified by:
getDetailsCasein interfaceDlpJobOrBuilder
-
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
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
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
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;- Specified by:
getRiskDetailsin interfaceDlpJobOrBuilder- Returns:
- The riskDetails.
-
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
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;- Specified by:
getInspectDetailsin interfaceDlpJobOrBuilder- Returns:
- The inspectDetails.
-
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
-
hasLastModified
public boolean hasLastModified()Time when the job was last modified by the system.
.google.protobuf.Timestamp last_modified = 15;- Specified by:
hasLastModifiedin interfaceDlpJobOrBuilder- Returns:
- Whether the lastModified field is set.
-
getLastModified
public com.google.protobuf.Timestamp getLastModified()Time when the job was last modified by the system.
.google.protobuf.Timestamp last_modified = 15;- Specified by:
getLastModifiedin interfaceDlpJobOrBuilder- Returns:
- The lastModified.
-
getLastModifiedOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedOrBuilder()Time when the job was last modified by the system.
.google.protobuf.Timestamp last_modified = 15;- Specified by:
getLastModifiedOrBuilderin interfaceDlpJobOrBuilder
-
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
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsListin interfaceDlpJobOrBuilder
-
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
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsin interfaceDlpJobOrBuilder
-
getErrorsOrBuilder
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;- Specified by:
getErrorsOrBuilderin interfaceDlpJobOrBuilder
-
getActionDetailsList
Events that should occur after the job has completed.
repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;- Specified by:
getActionDetailsListin interfaceDlpJobOrBuilder
-
getActionDetailsOrBuilderList
Events that should occur after the job has completed.
repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;- Specified by:
getActionDetailsOrBuilderListin interfaceDlpJobOrBuilder
-
getActionDetailsCount
public int getActionDetailsCount()Events that should occur after the job has completed.
repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;- Specified by:
getActionDetailsCountin interfaceDlpJobOrBuilder
-
getActionDetails
Events that should occur after the job has completed.
repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;- Specified by:
getActionDetailsin interfaceDlpJobOrBuilder
-
getActionDetailsOrBuilder
Events that should occur after the job has completed.
repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;- Specified by:
getActionDetailsOrBuilderin interfaceDlpJobOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static DlpJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DlpJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DlpJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DlpJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-