Class Trigger (1.16.0)

public final class Trigger extends GeneratedMessageV3 implements TriggerOrBuilder

DataScan scheduling and trigger settings.

Protobuf type google.cloud.dataplex.v1.Trigger

Implements

TriggerOrBuilder

Static Fields

ON_DEMAND_FIELD_NUMBER

public static final int ON_DEMAND_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 Trigger getDefaultInstance()
Returns
TypeDescription
Trigger

getDescriptor()

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

newBuilder()

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

newBuilder(Trigger prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Trigger getDefaultInstanceForType()
Returns
TypeDescription
Trigger

getModeCase()

public Trigger.ModeCase getModeCase()
Returns
TypeDescription
Trigger.ModeCase

getOnDemand()

public Trigger.OnDemand getOnDemand()

The scan runs once via RunDataScan API.

.google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100;

Returns
TypeDescription
Trigger.OnDemand

The onDemand.

getOnDemandOrBuilder()

public Trigger.OnDemandOrBuilder getOnDemandOrBuilder()

The scan runs once via RunDataScan API.

.google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100;

Returns
TypeDescription
Trigger.OnDemandOrBuilder

getParserForType()

public Parser<Trigger> getParserForType()
Returns
TypeDescription
Parser<Trigger>
Overrides

getSchedule()

public Trigger.Schedule getSchedule()

The scan is scheduled to run periodically.

.google.cloud.dataplex.v1.Trigger.Schedule schedule = 101;

Returns
TypeDescription
Trigger.Schedule

The schedule.

getScheduleOrBuilder()

public Trigger.ScheduleOrBuilder getScheduleOrBuilder()

The scan is scheduled to run periodically.

.google.cloud.dataplex.v1.Trigger.Schedule schedule = 101;

Returns
TypeDescription
Trigger.ScheduleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasOnDemand()

public boolean hasOnDemand()

The scan runs once via RunDataScan API.

.google.cloud.dataplex.v1.Trigger.OnDemand on_demand = 100;

Returns
TypeDescription
boolean

Whether the onDemand field is set.

hasSchedule()

public boolean hasSchedule()

The scan is scheduled to run periodically.

.google.cloud.dataplex.v1.Trigger.Schedule schedule = 101;

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 Trigger.Builder newBuilderForType()
Returns
TypeDescription
Trigger.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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