Class Trigger.Builder (1.46.0)

public static final class Trigger.Builder extends GeneratedMessageV3.Builder<Trigger.Builder> implements TriggerOrBuilder

DataScan scheduling and trigger settings.

Protobuf type google.cloud.dataplex.v1.Trigger

Implements

TriggerOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Trigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Trigger.Builder
Overrides

build()

public Trigger build()
Returns
Type Description
Trigger

buildPartial()

public Trigger buildPartial()
Returns
Type Description
Trigger

clear()

public Trigger.Builder clear()
Returns
Type Description
Trigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Trigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Trigger.Builder
Overrides

clearMode()

public Trigger.Builder clearMode()
Returns
Type Description
Trigger.Builder

clearOnDemand()

public Trigger.Builder clearOnDemand()

The scan runs once via RunDataScan API.

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

Returns
Type Description
Trigger.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Trigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Trigger.Builder
Overrides

clearSchedule()

public Trigger.Builder clearSchedule()

The scan is scheduled to run periodically.

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

Returns
Type Description
Trigger.Builder

clone()

public Trigger.Builder clone()
Returns
Type Description
Trigger.Builder
Overrides

getDefaultInstanceForType()

public Trigger getDefaultInstanceForType()
Returns
Type Description
Trigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModeCase()

public Trigger.ModeCase getModeCase()
Returns
Type Description
Trigger.ModeCase

getOnDemand()

public Trigger.OnDemand getOnDemand()

The scan runs once via RunDataScan API.

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

Returns
Type Description
Trigger.OnDemand

The onDemand.

getOnDemandBuilder()

public Trigger.OnDemand.Builder getOnDemandBuilder()

The scan runs once via RunDataScan API.

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

Returns
Type Description
Trigger.OnDemand.Builder

getOnDemandOrBuilder()

public Trigger.OnDemandOrBuilder getOnDemandOrBuilder()

The scan runs once via RunDataScan API.

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

Returns
Type Description
Trigger.OnDemandOrBuilder

getSchedule()

public Trigger.Schedule getSchedule()

The scan is scheduled to run periodically.

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

Returns
Type Description
Trigger.Schedule

The schedule.

getScheduleBuilder()

public Trigger.Schedule.Builder getScheduleBuilder()

The scan is scheduled to run periodically.

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

Returns
Type Description
Trigger.Schedule.Builder

getScheduleOrBuilder()

public Trigger.ScheduleOrBuilder getScheduleOrBuilder()

The scan is scheduled to run periodically.

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

Returns
Type Description
Trigger.ScheduleOrBuilder

hasOnDemand()

public boolean hasOnDemand()

The scan runs once via RunDataScan API.

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

Returns
Type Description
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
Type Description
boolean

Whether the schedule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Trigger other)

public Trigger.Builder mergeFrom(Trigger other)
Parameter
Name Description
other Trigger
Returns
Type Description
Trigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Trigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Trigger.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Trigger.Builder
Overrides

mergeOnDemand(Trigger.OnDemand value)

public Trigger.Builder mergeOnDemand(Trigger.OnDemand value)

The scan runs once via RunDataScan API.

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

Parameter
Name Description
value Trigger.OnDemand
Returns
Type Description
Trigger.Builder

mergeSchedule(Trigger.Schedule value)

public Trigger.Builder mergeSchedule(Trigger.Schedule value)

The scan is scheduled to run periodically.

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

Parameter
Name Description
value Trigger.Schedule
Returns
Type Description
Trigger.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Trigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Trigger.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Trigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Trigger.Builder
Overrides

setOnDemand(Trigger.OnDemand value)

public Trigger.Builder setOnDemand(Trigger.OnDemand value)

The scan runs once via RunDataScan API.

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

Parameter
Name Description
value Trigger.OnDemand
Returns
Type Description
Trigger.Builder

setOnDemand(Trigger.OnDemand.Builder builderForValue)

public Trigger.Builder setOnDemand(Trigger.OnDemand.Builder builderForValue)

The scan runs once via RunDataScan API.

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

Parameter
Name Description
builderForValue Trigger.OnDemand.Builder
Returns
Type Description
Trigger.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Trigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Trigger.Builder
Overrides

setSchedule(Trigger.Schedule value)

public Trigger.Builder setSchedule(Trigger.Schedule value)

The scan is scheduled to run periodically.

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

Parameter
Name Description
value Trigger.Schedule
Returns
Type Description
Trigger.Builder

setSchedule(Trigger.Schedule.Builder builderForValue)

public Trigger.Builder setSchedule(Trigger.Schedule.Builder builderForValue)

The scan is scheduled to run periodically.

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

Parameter
Name Description
builderForValue Trigger.Schedule.Builder
Returns
Type Description
Trigger.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Trigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Trigger.Builder
Overrides