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 class
DlpJob.Builder
Combines all of the information about a DLP job.static class
DlpJob.DetailsCase
static class
DlpJob.JobState
Possible 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 int
CREATE_TIME_FIELD_NUMBER
static int
END_TIME_FIELD_NUMBER
static int
ERRORS_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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Time when the job was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the job was created.static DlpJob
getDefaultInstance()
DlpJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.com.google.protobuf.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()
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.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DlpJob.Builder
newBuilder()
static DlpJob.Builder
newBuilder(DlpJob prototype)
DlpJob.Builder
newBuilderForType()
protected DlpJob.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DlpJob
parseDelimitedFrom(InputStream input)
static DlpJob
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DlpJob
parseFrom(byte[] data)
static DlpJob
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DlpJob
parseFrom(com.google.protobuf.ByteString data)
static DlpJob
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DlpJob
parseFrom(com.google.protobuf.CodedInputStream input)
static DlpJob
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DlpJob
parseFrom(InputStream input)
static DlpJob
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DlpJob
parseFrom(ByteBuffer data)
static DlpJob
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DlpJob>
parser()
DlpJob.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public DlpJob.DetailsCase getDetailsCase()
- Specified by:
getDetailsCase
in interfaceDlpJobOrBuilder
-
getName
public String getName()
The server-assigned name.
string name = 1;
- Specified by:
getName
in interfaceDlpJobOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The server-assigned name.
string name = 1;
- Specified by:
getNameBytes
in interfaceDlpJobOrBuilder
- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
- Specified by:
getTypeValue
in 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:
getType
in interfaceDlpJobOrBuilder
- Returns:
- The type.
-
getStateValue
public int getStateValue()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
- Specified by:
getStateValue
in 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:
getState
in 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:
hasRiskDetails
in 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:
getRiskDetails
in 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:
getRiskDetailsOrBuilder
in interfaceDlpJobOrBuilder
-
hasInspectDetails
public boolean hasInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
- Specified by:
hasInspectDetails
in 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:
getInspectDetails
in interfaceDlpJobOrBuilder
- Returns:
- The inspectDetails.
-
getInspectDetailsOrBuilder
public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
- Specified by:
getInspectDetailsOrBuilder
in interfaceDlpJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceDlpJobOrBuilder
-
hasStartTime
public boolean hasStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
- Specified by:
hasStartTime
in 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:
getStartTime
in interfaceDlpJobOrBuilder
- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
- Specified by:
getStartTimeOrBuilder
in interfaceDlpJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
- Specified by:
hasEndTime
in 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:
getEndTime
in interfaceDlpJobOrBuilder
- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
- Specified by:
getEndTimeOrBuilder
in 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:
getJobTriggerName
in 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:
getJobTriggerNameBytes
in 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:
getErrorsList
in 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:
getErrorsOrBuilderList
in interfaceDlpJobOrBuilder
-
getErrorsCount
public int getErrorsCount()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
- Specified by:
getErrorsCount
in 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:
getErrors
in 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:
getErrorsOrBuilder
in interfaceDlpJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DlpJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DlpJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-