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
Static Methods
getDefaultInstance()
public static Trigger.Schedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Trigger.Schedule.Builder newBuilder()
Returns
newBuilder(Trigger.Schedule prototype)
public static Trigger.Schedule.Builder newBuilder(Trigger.Schedule prototype)
Parameter
Returns
public static Trigger.Schedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trigger.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Trigger.Schedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Trigger.Schedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trigger.Schedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Trigger.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trigger.Schedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trigger.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Trigger.Schedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Trigger.Schedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCron()
Required. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running
scans periodically.
To explicitly set a timezone to 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. 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
Type | Description |
String | The cron.
|
getCronBytes()
public ByteString getCronBytes()
Required. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running
scans periodically.
To explicitly set a timezone to 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. 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
getDefaultInstanceForType()
public Trigger.Schedule getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Trigger.Schedule> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Trigger.Schedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Trigger.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Trigger.Schedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions