Class JobTrigger.Trigger (3.17.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
TypeDescription
int

SCHEDULE_FIELD_NUMBER

public static final int SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobTrigger.Trigger getDefaultInstance()
Returns
TypeDescription
JobTrigger.Trigger

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static JobTrigger.Trigger.Builder newBuilder()
Returns
TypeDescription
JobTrigger.Trigger.Builder

newBuilder(JobTrigger.Trigger prototype)

public static JobTrigger.Trigger.Builder newBuilder(JobTrigger.Trigger prototype)
Parameter
NameDescription
prototypeJobTrigger.Trigger
Returns
TypeDescription
JobTrigger.Trigger.Builder

parseDelimitedFrom(InputStream input)

public static JobTrigger.Trigger parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobTrigger.Trigger parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobTrigger.Trigger parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobTrigger.Trigger parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobTrigger.Trigger parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobTrigger.Trigger parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobTrigger.Trigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobTrigger.Trigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobTrigger.Trigger getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ManualOrBuilder

getParserForType()

public Parser<JobTrigger.Trigger> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ScheduleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTriggerCase()

public JobTrigger.Trigger.TriggerCase getTriggerCase()
Returns
TypeDescription
JobTrigger.Trigger.TriggerCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasManual()

public boolean hasManual()

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

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the schedule field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobTrigger.Trigger.Builder newBuilderForType()
Returns
TypeDescription
JobTrigger.Trigger.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobTrigger.Trigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobTrigger.Trigger.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobTrigger.Trigger.Builder toBuilder()
Returns
TypeDescription
JobTrigger.Trigger.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException