Class Trigger.Schedule (1.27.0)

public static final class Trigger.Schedule extends GeneratedMessageV3 implements Trigger.ScheduleOrBuilder

The scan is scheduled to run periodically.

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

Static Fields

CRON_FIELD_NUMBER

public static final int CRON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Trigger.Schedule getDefaultInstance()
Returns
TypeDescription
Trigger.Schedule

getDescriptor()

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

newBuilder()

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

newBuilder(Trigger.Schedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCron()

public String getCron()

Required. Cron schedule for running scans periodically.

To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

This field is required for Schedule scans.

string cron = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The cron.

getCronBytes()

public ByteString getCronBytes()

Required. Cron schedule for running scans periodically.

To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

This field is required for Schedule scans.

string cron = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for cron.

getDefaultInstanceForType()

public Trigger.Schedule getDefaultInstanceForType()
Returns
TypeDescription
Trigger.Schedule

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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