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 |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Trigger.Schedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Trigger.Schedule.Builder newBuilder()
newBuilder(Trigger.Schedule prototype)
public static Trigger.Schedule.Builder newBuilder(Trigger.Schedule prototype)
public static Trigger.Schedule parseDelimitedFrom(InputStream input)
public static Trigger.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Trigger.Schedule parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Trigger.Schedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(CodedInputStream input)
public static Trigger.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(InputStream input)
public static Trigger.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Trigger.Schedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Trigger.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Trigger.Schedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
ByteString | The bytes for cron.
|
getDefaultInstanceForType()
public Trigger.Schedule getDefaultInstanceForType()
getParserForType()
public Parser<Trigger.Schedule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Trigger.Schedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Trigger.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Trigger.Schedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides