Class Trigger.OneTime (1.86.0)

public static final class Trigger.OneTime extends GeneratedMessage implements Trigger.OneTimeOrBuilder

The scan runs once using create API.

Protobuf type google.cloud.dataplex.v1.Trigger.OneTime

Static Fields

TTL_AFTER_SCAN_COMPLETION_FIELD_NUMBER

public static final int TTL_AFTER_SCAN_COMPLETION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Trigger.OneTime getDefaultInstance()
Returns
Type Description
Trigger.OneTime

getDescriptor()

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

newBuilder()

public static Trigger.OneTime.Builder newBuilder()
Returns
Type Description
Trigger.OneTime.Builder

newBuilder(Trigger.OneTime prototype)

public static Trigger.OneTime.Builder newBuilder(Trigger.OneTime prototype)
Parameter
Name Description
prototype Trigger.OneTime
Returns
Type Description
Trigger.OneTime.Builder

parseDelimitedFrom(InputStream input)

public static Trigger.OneTime parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Trigger.OneTime parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Trigger.OneTime parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Trigger.OneTime parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Trigger.OneTime parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Trigger.OneTime parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Trigger.OneTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trigger.OneTime
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Trigger.OneTime> parser()
Returns
Type Description
Parser<OneTime>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Trigger.OneTime getDefaultInstanceForType()
Returns
Type Description
Trigger.OneTime

getParserForType()

public Parser<Trigger.OneTime> getParserForType()
Returns
Type Description
Parser<OneTime>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTtlAfterScanCompletion()

public Duration getTtlAfterScanCompletion()

Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The ttlAfterScanCompletion.

getTtlAfterScanCompletionOrBuilder()

public DurationOrBuilder getTtlAfterScanCompletionOrBuilder()

Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasTtlAfterScanCompletion()

public boolean hasTtlAfterScanCompletion()

Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.

.google.protobuf.Duration ttl_after_scan_completion = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ttlAfterScanCompletion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Trigger.OneTime.Builder newBuilderForType()
Returns
Type Description
Trigger.OneTime.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Trigger.OneTime.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Trigger.OneTime.Builder
Overrides

toBuilder()

public Trigger.OneTime.Builder toBuilder()
Returns
Type Description
Trigger.OneTime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException