public final class Schedule extends GeneratedMessageV3 implements ScheduleOrBuilder
The schedule for the report
Protobuf type google.ads.admanager.v1.Schedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
END_DATE_FIELD_NUMBER
public static final int END_DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MONTHLY_SCHEDULE_FIELD_NUMBER
public static final int MONTHLY_SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_DATE_FIELD_NUMBER
public static final int START_DATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WEEKLY_SCHEDULE_FIELD_NUMBER
public static final int WEEKLY_SCHEDULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Schedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Schedule.Builder newBuilder()
newBuilder(Schedule prototype)
public static Schedule.Builder newBuilder(Schedule prototype)
Parameter |
Name |
Description |
prototype |
Schedule
|
public static Schedule parseDelimitedFrom(InputStream input)
public static Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Schedule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Schedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Schedule parseFrom(CodedInputStream input)
public static Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Schedule parseFrom(InputStream input)
public static Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Schedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Schedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Schedule getDefaultInstanceForType()
getEndDate()
Date for the final run of the report.
.google.type.Date end_date = 2;
Returns |
Type |
Description |
com.google.type.Date |
The endDate.
|
getEndDateOrBuilder()
public DateOrBuilder getEndDateOrBuilder()
Date for the final run of the report.
.google.type.Date end_date = 2;
Returns |
Type |
Description |
com.google.type.DateOrBuilder |
|
getFrequency()
public Schedule.Frequency getFrequency()
Frequency to run report.
.google.ads.admanager.v1.Schedule.Frequency frequency = 3;
getFrequencyScheduleCase()
public Schedule.FrequencyScheduleCase getFrequencyScheduleCase()
getFrequencyValue()
public int getFrequencyValue()
Frequency to run report.
.google.ads.admanager.v1.Schedule.Frequency frequency = 3;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for frequency.
|
getMonthlySchedule()
public Schedule.MonthlySchedule getMonthlySchedule()
Days of month to schedule report run.
.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;
getMonthlyScheduleOrBuilder()
public Schedule.MonthlyScheduleOrBuilder getMonthlyScheduleOrBuilder()
Days of month to schedule report run.
.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;
getParserForType()
public Parser<Schedule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartDate()
public Date getStartDate()
Date for the first run of the report.
.google.type.Date start_date = 1;
Returns |
Type |
Description |
com.google.type.Date |
The startDate.
|
getStartDateOrBuilder()
public DateOrBuilder getStartDateOrBuilder()
Date for the first run of the report.
.google.type.Date start_date = 1;
Returns |
Type |
Description |
com.google.type.DateOrBuilder |
|
getStartTime()
public TimeOfDay getStartTime()
Indicates start time for schedule to run
Will use the time_zone from ReportDefinition
. Defaults
to the publisher's time zone if not specified.
For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this
will be the time of day that the first report will run on the first day.
For example, if the start time is 2:00 PM, and the frequency is
THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM,
10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM,
2:00 PM, 10:00 PM.
.google.type.TimeOfDay start_time = 4;
Returns |
Type |
Description |
com.google.type.TimeOfDay |
The startTime.
|
getStartTimeOrBuilder()
public TimeOfDayOrBuilder getStartTimeOrBuilder()
Indicates start time for schedule to run
Will use the time_zone from ReportDefinition
. Defaults
to the publisher's time zone if not specified.
For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this
will be the time of day that the first report will run on the first day.
For example, if the start time is 2:00 PM, and the frequency is
THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM,
10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM,
2:00 PM, 10:00 PM.
.google.type.TimeOfDay start_time = 4;
Returns |
Type |
Description |
com.google.type.TimeOfDayOrBuilder |
|
getWeeklySchedule()
public Schedule.WeeklySchedule getWeeklySchedule()
Days of week to schedule report run.
.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;
getWeeklyScheduleOrBuilder()
public Schedule.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder()
Days of week to schedule report run.
.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;
hasEndDate()
public boolean hasEndDate()
Date for the final run of the report.
.google.type.Date end_date = 2;
Returns |
Type |
Description |
boolean |
Whether the endDate field is set.
|
hasMonthlySchedule()
public boolean hasMonthlySchedule()
Days of month to schedule report run.
.google.ads.admanager.v1.Schedule.MonthlySchedule monthly_schedule = 7;
Returns |
Type |
Description |
boolean |
Whether the monthlySchedule field is set.
|
hasStartDate()
public boolean hasStartDate()
Date for the first run of the report.
.google.type.Date start_date = 1;
Returns |
Type |
Description |
boolean |
Whether the startDate field is set.
|
hasStartTime()
public boolean hasStartTime()
Indicates start time for schedule to run
Will use the time_zone from ReportDefinition
. Defaults
to the publisher's time zone if not specified.
For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this
will be the time of day that the first report will run on the first day.
For example, if the start time is 2:00 PM, and the frequency is
THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM,
10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM,
2:00 PM, 10:00 PM.
.google.type.TimeOfDay start_time = 4;
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
hasWeeklySchedule()
public boolean hasWeeklySchedule()
Days of week to schedule report run.
.google.ads.admanager.v1.Schedule.WeeklySchedule weekly_schedule = 6;
Returns |
Type |
Description |
boolean |
Whether the weeklySchedule field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Schedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Schedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides