Class Trigger.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Trigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Trigger.Builder
Overrides

build()

public Trigger build()
Returns
TypeDescription
Trigger

buildPartial()

public Trigger buildPartial()
Returns
TypeDescription
Trigger

clear()

public Trigger.Builder clear()
Returns
TypeDescription
Trigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Trigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Trigger.Builder
Overrides

clearMode()

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

clearOnDemand()

public Trigger.Builder clearOnDemand()

The scan runs once via RunDataScan API.

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

Returns
TypeDescription
Trigger.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Trigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Trigger.Builder
Overrides

clearSchedule()

public Trigger.Builder clearSchedule()

The scan is scheduled to run periodically.

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

Returns
TypeDescription
Trigger.Builder

clone()

public Trigger.Builder clone()
Returns
TypeDescription
Trigger.Builder
Overrides

getDefaultInstanceForType()

public Trigger getDefaultInstanceForType()
Returns
TypeDescription
Trigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getOnDemandBuilder()

public Trigger.OnDemand.Builder getOnDemandBuilder()

The scan runs once via RunDataScan API.

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

Returns
TypeDescription
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
TypeDescription
Trigger.OnDemandOrBuilder

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.

getScheduleBuilder()

public Trigger.Schedule.Builder getScheduleBuilder()

The scan is scheduled to run periodically.

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

Returns
TypeDescription
Trigger.Schedule.Builder

getScheduleOrBuilder()

public Trigger.ScheduleOrBuilder getScheduleOrBuilder()

The scan is scheduled to run periodically.

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

Returns
TypeDescription
Trigger.ScheduleOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Trigger other)

public Trigger.Builder mergeFrom(Trigger other)
Parameter
NameDescription
otherTrigger
Returns
TypeDescription
Trigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Trigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trigger.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Trigger.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTrigger.OnDemand
Returns
TypeDescription
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
NameDescription
valueTrigger.Schedule
Returns
TypeDescription
Trigger.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Trigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Trigger.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Trigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrigger.OnDemand
Returns
TypeDescription
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
NameDescription
builderForValueTrigger.OnDemand.Builder
Returns
TypeDescription
Trigger.Builder

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

public Trigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTrigger.Schedule
Returns
TypeDescription
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
NameDescription
builderForValueTrigger.Schedule.Builder
Returns
TypeDescription
Trigger.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Trigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Trigger.Builder
Overrides