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
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobTrigger.Trigger getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobTrigger.Trigger.Builder newBuilder()
Returns
newBuilder(JobTrigger.Trigger prototype)
public static JobTrigger.Trigger.Builder newBuilder(JobTrigger.Trigger prototype)
Parameter
Returns
public static JobTrigger.Trigger parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobTrigger.Trigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobTrigger.Trigger parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobTrigger.Trigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobTrigger.Trigger parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobTrigger.Trigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobTrigger.Trigger parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobTrigger.Trigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobTrigger.Trigger parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobTrigger.Trigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobTrigger.Trigger parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobTrigger.Trigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobTrigger.Trigger> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public JobTrigger.Trigger getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<JobTrigger.Trigger> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTriggerCase()
public JobTrigger.Trigger.TriggerCase getTriggerCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobTrigger.Trigger.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobTrigger.Trigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobTrigger.Trigger.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions