Class JobTrigger.Trigger (3.46.0)

public static final class JobTrigger.Trigger extends GeneratedMessageV3 implements JobTrigger.TriggerOrBuilder

What event needs to occur for a new job to be started.

Protobuf type google.privacy.dlp.v2.JobTrigger.Trigger

Static Fields

MANUAL_FIELD_NUMBER

public static final int MANUAL_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULE_FIELD_NUMBER

public static final int SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobTrigger.Trigger getDefaultInstance()
Returns
Type Description
JobTrigger.Trigger

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static JobTrigger.Trigger.Builder newBuilder()
Returns
Type Description
JobTrigger.Trigger.Builder

newBuilder(JobTrigger.Trigger prototype)

public static JobTrigger.Trigger.Builder newBuilder(JobTrigger.Trigger prototype)
Parameter
Name Description
prototype JobTrigger.Trigger
Returns
Type Description
JobTrigger.Trigger.Builder

parseDelimitedFrom(InputStream input)

public static JobTrigger.Trigger parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobTrigger.Trigger parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobTrigger.Trigger parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobTrigger.Trigger parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobTrigger.Trigger parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobTrigger.Trigger parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobTrigger.Trigger> parser()
Returns
Type Description
Parser<Trigger>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JobTrigger.Trigger getDefaultInstanceForType()
Returns
Type Description
JobTrigger.Trigger

getManual()

public Manual getManual()

For use with hybrid jobs. Jobs must be manually created and finished.

.google.privacy.dlp.v2.Manual manual = 2;

Returns
Type Description
Manual

The manual.

getManualOrBuilder()

public ManualOrBuilder getManualOrBuilder()

For use with hybrid jobs. Jobs must be manually created and finished.

.google.privacy.dlp.v2.Manual manual = 2;

Returns
Type Description
ManualOrBuilder

getParserForType()

public Parser<JobTrigger.Trigger> getParserForType()
Returns
Type Description
Parser<Trigger>
Overrides

getSchedule()

public Schedule getSchedule()

Create a job on a repeating basis based on the elapse of time.

.google.privacy.dlp.v2.Schedule schedule = 1;

Returns
Type Description
Schedule

The schedule.

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Create a job on a repeating basis based on the elapse of time.

.google.privacy.dlp.v2.Schedule schedule = 1;

Returns
Type Description
ScheduleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTriggerCase()

public JobTrigger.Trigger.TriggerCase getTriggerCase()
Returns
Type Description
JobTrigger.Trigger.TriggerCase

hasManual()

public boolean hasManual()

For use with hybrid jobs. Jobs must be manually created and finished.

.google.privacy.dlp.v2.Manual manual = 2;

Returns
Type Description
boolean

Whether the manual field is set.

hasSchedule()

public boolean hasSchedule()

Create a job on a repeating basis based on the elapse of time.

.google.privacy.dlp.v2.Schedule schedule = 1;

Returns
Type Description
boolean

Whether the schedule field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobTrigger.Trigger.Builder newBuilderForType()
Returns
Type Description
JobTrigger.Trigger.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobTrigger.Trigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobTrigger.Trigger.Builder toBuilder()
Returns
Type Description
JobTrigger.Trigger.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException