public final class JobTrigger extends com.google.protobuf.GeneratedMessageV3 implements JobTriggerOrBuilder
Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.Protobuf type
google.privacy.dlp.v2.JobTrigger| Modifier and Type | Class and Description |
|---|---|
static class |
JobTrigger.Builder
Contains a configuration to make dlp api calls on a repeating basis.
|
static class |
JobTrigger.JobCase |
static class |
JobTrigger.Status
Whether the trigger is currently active.
|
static class |
JobTrigger.Trigger
What event needs to occur for a new job to be started.
|
static interface |
JobTrigger.TriggerOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ERRORS_FIELD_NUMBER |
static int |
INSPECT_JOB_FIELD_NUMBER |
static int |
LAST_RUN_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TRIGGERS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static JobTrigger |
getDefaultInstance() |
JobTrigger |
getDefaultInstanceForType() |
String |
getDescription()
User provided description (max 256 chars)
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User provided description (max 256 chars)
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Display name (max 100 chars)
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name (max 100 chars)
|
Error |
getErrors(int index)
Output only.
|
int |
getErrorsCount()
Output only.
|
List<Error> |
getErrorsList()
Output only.
|
ErrorOrBuilder |
getErrorsOrBuilder(int index)
Output only.
|
List<? extends ErrorOrBuilder> |
getErrorsOrBuilderList()
Output only.
|
InspectJobConfig |
getInspectJob()
For inspect jobs, a snapshot of the configuration.
|
InspectJobConfigOrBuilder |
getInspectJobOrBuilder()
For inspect jobs, a snapshot of the configuration.
|
JobTrigger.JobCase |
getJobCase() |
com.google.protobuf.Timestamp |
getLastRunTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastRunTimeOrBuilder()
Output only.
|
String |
getName()
Unique resource name for the triggeredJob, assigned by the service when the
triggeredJob is created, for example
`projects/dlp-test-project/jobTriggers/53234423`.
|
com.google.protobuf.ByteString |
getNameBytes()
Unique resource name for the triggeredJob, assigned by the service when the
triggeredJob is created, for example
`projects/dlp-test-project/jobTriggers/53234423`.
|
com.google.protobuf.Parser<JobTrigger> |
getParserForType() |
int |
getSerializedSize() |
JobTrigger.Status |
getStatus()
Required.
|
int |
getStatusValue()
Required.
|
JobTrigger.Trigger |
getTriggers(int index)
A list of triggers which will be OR'ed together.
|
int |
getTriggersCount()
A list of triggers which will be OR'ed together.
|
List<JobTrigger.Trigger> |
getTriggersList()
A list of triggers which will be OR'ed together.
|
JobTrigger.TriggerOrBuilder |
getTriggersOrBuilder(int index)
A list of triggers which will be OR'ed together.
|
List<? extends JobTrigger.TriggerOrBuilder> |
getTriggersOrBuilderList()
A list of triggers which will be OR'ed together.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasInspectJob()
For inspect jobs, a snapshot of the configuration.
|
boolean |
hasLastRunTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static JobTrigger.Builder |
newBuilder() |
static JobTrigger.Builder |
newBuilder(JobTrigger prototype) |
JobTrigger.Builder |
newBuilderForType() |
protected JobTrigger.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static JobTrigger |
parseDelimitedFrom(InputStream input) |
static JobTrigger |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobTrigger |
parseFrom(byte[] data) |
static JobTrigger |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobTrigger |
parseFrom(ByteBuffer data) |
static JobTrigger |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobTrigger |
parseFrom(com.google.protobuf.ByteString data) |
static JobTrigger |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobTrigger |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JobTrigger |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobTrigger |
parseFrom(InputStream input) |
static JobTrigger |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JobTrigger> |
parser() |
JobTrigger.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int INSPECT_JOB_FIELD_NUMBER
public static final int TRIGGERS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LAST_RUN_TIME_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public JobTrigger.JobCase getJobCase()
getJobCase in interface JobTriggerOrBuilderpublic String getName()
Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.
string name = 1;getName in interface JobTriggerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`.
string name = 1;getNameBytes in interface JobTriggerOrBuilderpublic String getDisplayName()
Display name (max 100 chars)
string display_name = 2;getDisplayName in interface JobTriggerOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name (max 100 chars)
string display_name = 2;getDisplayNameBytes in interface JobTriggerOrBuilderpublic String getDescription()
User provided description (max 256 chars)
string description = 3;getDescription in interface JobTriggerOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
User provided description (max 256 chars)
string description = 3;getDescriptionBytes in interface JobTriggerOrBuilderpublic boolean hasInspectJob()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;hasInspectJob in interface JobTriggerOrBuilderpublic InspectJobConfig getInspectJob()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;getInspectJob in interface JobTriggerOrBuilderpublic InspectJobConfigOrBuilder getInspectJobOrBuilder()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;getInspectJobOrBuilder in interface JobTriggerOrBuilderpublic List<JobTrigger.Trigger> getTriggersList()
A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.
repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;getTriggersList in interface JobTriggerOrBuilderpublic List<? extends JobTrigger.TriggerOrBuilder> getTriggersOrBuilderList()
A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.
repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;getTriggersOrBuilderList in interface JobTriggerOrBuilderpublic int getTriggersCount()
A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.
repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;getTriggersCount in interface JobTriggerOrBuilderpublic JobTrigger.Trigger getTriggers(int index)
A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.
repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;getTriggers in interface JobTriggerOrBuilderpublic JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index)
A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.
repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;getTriggersOrBuilder in interface JobTriggerOrBuilderpublic List<Error> getErrorsList()
Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsList in interface JobTriggerOrBuilderpublic List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsOrBuilderList in interface JobTriggerOrBuilderpublic int getErrorsCount()
Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsCount in interface JobTriggerOrBuilderpublic Error getErrors(int index)
Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrors in interface JobTriggerOrBuilderpublic ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsOrBuilder in interface JobTriggerOrBuilderpublic boolean hasCreateTime()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface JobTriggerOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface JobTriggerOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface JobTriggerOrBuilderpublic boolean hasUpdateTime()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface JobTriggerOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface JobTriggerOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface JobTriggerOrBuilderpublic boolean hasLastRunTime()
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastRunTime in interface JobTriggerOrBuilderpublic com.google.protobuf.Timestamp getLastRunTime()
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastRunTime in interface JobTriggerOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastRunTimeOrBuilder in interface JobTriggerOrBuilderpublic int getStatusValue()
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
getStatusValue in interface JobTriggerOrBuilderpublic JobTrigger.Status getStatus()
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
getStatus in interface JobTriggerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static JobTrigger parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobTrigger parseFrom(InputStream input) throws IOException
IOExceptionpublic static JobTrigger parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobTrigger parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JobTrigger parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobTrigger parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JobTrigger parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic JobTrigger.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static JobTrigger.Builder newBuilder()
public static JobTrigger.Builder newBuilder(JobTrigger prototype)
public JobTrigger.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected JobTrigger.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static JobTrigger getDefaultInstance()
public static com.google.protobuf.Parser<JobTrigger> parser()
public com.google.protobuf.Parser<JobTrigger> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public JobTrigger getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.