Interface ScheduleConfigOrBuilder (0.17.0)

public interface ScheduleConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTime()

public abstract Timestamp getEndTime()

Optional. Date that the schedule stops. If not specified, the schedule runs indefinitely.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Optional. Date that the schedule stops. If not specified, the schedule runs indefinitely.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getFrequency()

public abstract ScheduleConfig.Frequency getFrequency()

Required. Frequency of audit runs.

.google.cloud.auditmanager.v1.ScheduleConfig.Frequency frequency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ScheduleConfig.Frequency

The frequency.

getFrequencyValue()

public abstract int getFrequencyValue()

Required. Frequency of audit runs.

.google.cloud.auditmanager.v1.ScheduleConfig.Frequency frequency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for frequency.

getStartTime()

public abstract Timestamp getStartTime()

Required. Date and time when the first audit run is triggered. Subsequent runs are based on this time and the chosen frequency.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Required. Date and time when the first audit run is triggered. Subsequent runs are based on this time and the chosen frequency.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getTimeZone()

public abstract String getTimeZone()

Optional. Time zone for the audit schedule in IANA format (for example, America/New_York). The time zone is used to interpret the start_time and the end_time, and to calculate subsequent run dates. If not specified, the time zone default is UTC.

string time_zone = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public abstract ByteString getTimeZoneBytes()

Optional. Time zone for the audit schedule in IANA format (for example, America/New_York). The time zone is used to interpret the start_time and the end_time, and to calculate subsequent run dates. If not specified, the time zone default is UTC.

string time_zone = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for timeZone.

hasEndTime()

public abstract boolean hasEndTime()

Optional. Date that the schedule stops. If not specified, the schedule runs indefinitely.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Required. Date and time when the first audit run is triggered. Subsequent runs are based on this time and the chosen frequency.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startTime field is set.