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