public final class DlpJob extends GeneratedMessageV3 implements DlpJobOrBuilder
Combines all of the information about a DLP job.Protobuf type
google.privacy.dlp.v2.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.v2.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 |
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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.
|
Error |
getErrors(int index)
A stream of errors encountered running the job.
|
int |
getErrorsCount()
A stream of errors encountered running the job.
|
java.util.List<Error> |
getErrorsList()
A stream of errors encountered running the job.
|
ErrorOrBuilder |
getErrorsOrBuilder(int index)
A stream of errors encountered running the job.
|
java.util.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.
|
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 JOB_TRIGGER_NAME_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public DlpJob.DetailsCase getDetailsCase()
getDetailsCase
in interface DlpJobOrBuilder
public java.lang.String getName()
The server-assigned name.
string name = 1;
getName
in interface DlpJobOrBuilder
public ByteString getNameBytes()
The server-assigned name.
string name = 1;
getNameBytes
in interface DlpJobOrBuilder
public int getTypeValue()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
getTypeValue
in interface DlpJobOrBuilder
public DlpJobType getType()
The type of job.
.google.privacy.dlp.v2.DlpJobType type = 2;
getType
in interface DlpJobOrBuilder
public int getStateValue()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
getStateValue
in interface DlpJobOrBuilder
public DlpJob.JobState getState()
State of a job.
.google.privacy.dlp.v2.DlpJob.JobState state = 3;
getState
in interface DlpJobOrBuilder
public boolean hasRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
hasRiskDetails
in interface DlpJobOrBuilder
public AnalyzeDataSourceRiskDetails getRiskDetails()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
getRiskDetails
in interface DlpJobOrBuilder
public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()
Results from analyzing risk of a data source.
.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;
getRiskDetailsOrBuilder
in interface DlpJobOrBuilder
public boolean hasInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
hasInspectDetails
in interface DlpJobOrBuilder
public InspectDataSourceDetails getInspectDetails()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
getInspectDetails
in interface DlpJobOrBuilder
public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()
Results from inspecting a data source.
.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;
getInspectDetailsOrBuilder
in interface DlpJobOrBuilder
public boolean hasCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
hasCreateTime
in interface DlpJobOrBuilder
public Timestamp getCreateTime()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
getCreateTime
in interface DlpJobOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Time when the job was created.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder
in interface DlpJobOrBuilder
public boolean hasStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
hasStartTime
in interface DlpJobOrBuilder
public Timestamp getStartTime()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
getStartTime
in interface DlpJobOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
Time when the job started.
.google.protobuf.Timestamp start_time = 7;
getStartTimeOrBuilder
in interface DlpJobOrBuilder
public boolean hasEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
hasEndTime
in interface DlpJobOrBuilder
public Timestamp getEndTime()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
getEndTime
in interface DlpJobOrBuilder
public TimestampOrBuilder getEndTimeOrBuilder()
Time when the job finished.
.google.protobuf.Timestamp end_time = 8;
getEndTimeOrBuilder
in interface DlpJobOrBuilder
public 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 DlpJobOrBuilder
public 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 DlpJobOrBuilder
public java.util.List<Error> getErrorsList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
getErrorsList
in interface DlpJobOrBuilder
public java.util.List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
getErrorsOrBuilderList
in interface DlpJobOrBuilder
public int getErrorsCount()
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
getErrorsCount
in interface DlpJobOrBuilder
public Error getErrors(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
getErrors
in interface DlpJobOrBuilder
public ErrorOrBuilder getErrorsOrBuilder(int index)
A stream of errors encountered running the job.
repeated .google.privacy.dlp.v2.Error errors = 11;
getErrorsOrBuilder
in interface DlpJobOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static DlpJob parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DlpJob parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DlpJob parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DlpJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DlpJob parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DlpJob parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DlpJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DlpJob.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DlpJob.Builder newBuilder()
public static DlpJob.Builder newBuilder(DlpJob prototype)
public DlpJob.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DlpJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static DlpJob getDefaultInstance()
public Parser<DlpJob> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DlpJob getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder